Linear.Matrix:det44 from linear-1.19.1.3

Percentage Accurate: 30.1% → 45.1%
Time: 39.8s
Alternatives: 30
Speedup: 5.6×

Specification

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

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

Sampling outcomes in binary64 precision:

Local Percentage Accuracy vs ?

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

Accuracy vs Speed?

Herbie found 30 alternatives:

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

Initial Program: 30.1% accurate, 1.0× speedup?

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

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

Alternative 1: 45.1% accurate, 2.1× 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(y1 \cdot i - y0 \cdot b\right) \cdot j\right)\right) \cdot x\\ t_2 := y2 \cdot k - y3 \cdot j\\ \mathbf{if}\;x \leq -1 \cdot 10^{+26}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;x \leq -3.5 \cdot 10^{-55}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y, k, j \cdot t\right) \cdot b\right) \cdot y4 - \left(y5 \cdot y0 - y4 \cdot y1\right) \cdot t\_2\\ \mathbf{elif}\;x \leq -1.12 \cdot 10^{-215}:\\ \;\;\;\;\mathsf{fma}\left(t \cdot z - y \cdot x, c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i\\ \mathbf{elif}\;x \leq -6 \cdot 10^{-296}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;x \leq 1.15 \cdot 10^{+78}:\\ \;\;\;\;\mathsf{fma}\left(k \cdot y - j \cdot t, i, \mathsf{fma}\left(-y0, t\_2, \left(y2 \cdot t - y3 \cdot y\right) \cdot a\right)\right) \cdot y5\\ \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 (* (- (* y1 i) (* y0 b)) j)))
          x))
        (t_2 (- (* y2 k) (* y3 j))))
   (if (<= x -1e+26)
     t_1
     (if (<= x -3.5e-55)
       (- (* (* (fma (- y) k (* j t)) b) y4) (* (- (* y5 y0) (* y4 y1)) t_2))
       (if (<= x -1.12e-215)
         (*
          (fma
           (- (* t z) (* y x))
           c
           (fma (- y5) (- (* j t) (* k y)) (* (- (* j x) (* k z)) y1)))
          i)
         (if (<= x -6e-296)
           t_1
           (if (<= x 1.15e+78)
             (*
              (fma
               (- (* k y) (* j t))
               i
               (fma (- y0) t_2 (* (- (* y2 t) (* y3 y)) a)))
              y5)
             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, (((y1 * i) - (y0 * b)) * j))) * x;
	double t_2 = (y2 * k) - (y3 * j);
	double tmp;
	if (x <= -1e+26) {
		tmp = t_1;
	} else if (x <= -3.5e-55) {
		tmp = ((fma(-y, k, (j * t)) * b) * y4) - (((y5 * y0) - (y4 * y1)) * t_2);
	} else if (x <= -1.12e-215) {
		tmp = fma(((t * z) - (y * x)), c, fma(-y5, ((j * t) - (k * y)), (((j * x) - (k * z)) * y1))) * i;
	} else if (x <= -6e-296) {
		tmp = t_1;
	} else if (x <= 1.15e+78) {
		tmp = fma(((k * y) - (j * t)), i, fma(-y0, t_2, (((y2 * t) - (y3 * y)) * a))) * y5;
	} 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(Float64(y1 * i) - Float64(y0 * b)) * j))) * x)
	t_2 = Float64(Float64(y2 * k) - Float64(y3 * j))
	tmp = 0.0
	if (x <= -1e+26)
		tmp = t_1;
	elseif (x <= -3.5e-55)
		tmp = Float64(Float64(Float64(fma(Float64(-y), k, Float64(j * t)) * b) * y4) - Float64(Float64(Float64(y5 * y0) - Float64(y4 * y1)) * t_2));
	elseif (x <= -1.12e-215)
		tmp = Float64(fma(Float64(Float64(t * z) - Float64(y * x)), c, fma(Float64(-y5), Float64(Float64(j * t) - Float64(k * y)), Float64(Float64(Float64(j * x) - Float64(k * z)) * y1))) * i);
	elseif (x <= -6e-296)
		tmp = t_1;
	elseif (x <= 1.15e+78)
		tmp = Float64(fma(Float64(Float64(k * y) - Float64(j * t)), i, fma(Float64(-y0), t_2, Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * a))) * y5);
	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[(N[(N[(y1 * i), $MachinePrecision] - N[(y0 * b), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -1e+26], t$95$1, If[LessEqual[x, -3.5e-55], N[(N[(N[(N[((-y) * k + N[(j * t), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision] * y4), $MachinePrecision] - N[(N[(N[(y5 * y0), $MachinePrecision] - N[(y4 * y1), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.12e-215], N[(N[(N[(N[(t * z), $MachinePrecision] - N[(y * x), $MachinePrecision]), $MachinePrecision] * c + N[((-y5) * N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision], If[LessEqual[x, -6e-296], t$95$1, If[LessEqual[x, 1.15e+78], N[(N[(N[(N[(k * y), $MachinePrecision] - N[(j * t), $MachinePrecision]), $MachinePrecision] * i + N[((-y0) * t$95$2 + N[(N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y5), $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(y1 \cdot i - y0 \cdot b\right) \cdot j\right)\right) \cdot x\\
t_2 := y2 \cdot k - y3 \cdot j\\
\mathbf{if}\;x \leq -1 \cdot 10^{+26}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;x \leq -3.5 \cdot 10^{-55}:\\
\;\;\;\;\left(\mathsf{fma}\left(-y, k, j \cdot t\right) \cdot b\right) \cdot y4 - \left(y5 \cdot y0 - y4 \cdot y1\right) \cdot t\_2\\

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

\mathbf{elif}\;x \leq -6 \cdot 10^{-296}:\\
\;\;\;\;t\_1\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if x < -1.00000000000000005e26 or -1.12e-215 < x < -5.9999999999999995e-296 or 1.1500000000000001e78 < x

    1. Initial program 30.6%

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

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

    if -1.00000000000000005e26 < x < -3.50000000000000025e-55

    1. Initial program 37.3%

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

        \[\leadsto \color{blue}{\left(\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} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(\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} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    5. Applied rewrites74.0%

      \[\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} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    6. Taylor expanded in y0 around inf

      \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    7. Step-by-step derivation
      1. Applied rewrites48.1%

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

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

          \[\leadsto \left(b \cdot y4\right) \cdot \color{blue}{\mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
        2. Step-by-step derivation
          1. Applied rewrites79.5%

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

          if -3.50000000000000025e-55 < x < -1.12e-215

          1. Initial program 41.6%

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

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

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

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

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

          if -5.9999999999999995e-296 < x < 1.1500000000000001e78

          1. Initial program 31.5%

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

            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(j \cdot t - k \cdot y\right), i, \mathsf{fma}\left(-y0, k \cdot y2 - j \cdot y3, \left(t \cdot y2 - y \cdot y3\right) \cdot a\right)\right) \cdot y5} \]
        3. Recombined 4 regimes into one program.
        4. Final simplification63.2%

          \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -1 \cdot 10^{+26}:\\ \;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(y1 \cdot i - y0 \cdot b\right) \cdot j\right)\right) \cdot x\\ \mathbf{elif}\;x \leq -3.5 \cdot 10^{-55}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y, k, j \cdot t\right) \cdot b\right) \cdot y4 - \left(y5 \cdot y0 - y4 \cdot y1\right) \cdot \left(y2 \cdot k - y3 \cdot j\right)\\ \mathbf{elif}\;x \leq -1.12 \cdot 10^{-215}:\\ \;\;\;\;\mathsf{fma}\left(t \cdot z - y \cdot x, c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i\\ \mathbf{elif}\;x \leq -6 \cdot 10^{-296}:\\ \;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(y1 \cdot i - y0 \cdot b\right) \cdot j\right)\right) \cdot x\\ \mathbf{elif}\;x \leq 1.15 \cdot 10^{+78}:\\ \;\;\;\;\mathsf{fma}\left(k \cdot y - j \cdot t, i, \mathsf{fma}\left(-y0, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\right) \cdot a\right)\right) \cdot y5\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(y1 \cdot i - y0 \cdot b\right) \cdot j\right)\right) \cdot x\\ \end{array} \]
        5. Add Preprocessing

        Alternative 2: 56.0% accurate, 0.5× speedup?

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

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

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

          1. Initial program 0.0%

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

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

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

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

            \[\leadsto \color{blue}{\mathsf{fma}\left(b \cdot a - c \cdot i, y, \mathsf{fma}\left(c \cdot y0 - y1 \cdot a, y2, \left(-j\right) \cdot \left(y0 \cdot b - i \cdot y1\right)\right)\right) \cdot x} \]
        3. Recombined 2 regimes into one program.
        4. Final simplification61.6%

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

        Alternative 3: 46.0% accurate, 2.0× speedup?

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

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

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

          if -1.61999999999999998e133 < y5 < -1.55000000000000009e-78

          1. Initial program 34.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 rewrites58.0%

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

          if -1.55000000000000009e-78 < y5 < -1.9e-276

          1. Initial program 32.5%

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

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

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

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

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

          if -1.9e-276 < y5 < 8.0000000000000003e-27

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

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

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

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

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

          if 8.0000000000000003e-27 < y5 < 1.2e16

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

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

          if 1.2e16 < y5 < 1.3000000000000001e140

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

            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), k, \mathsf{fma}\left(b \cdot a - c \cdot i, x, \left(c \cdot y4 - y5 \cdot a\right) \cdot y3\right)\right) \cdot y} \]
        3. Recombined 6 regimes into one program.
        4. Final simplification63.0%

          \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -1.62 \cdot 10^{+133}:\\ \;\;\;\;\mathsf{fma}\left(k \cdot y - j \cdot t, i, \mathsf{fma}\left(-y0, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\right) \cdot a\right)\right) \cdot y5\\ \mathbf{elif}\;y5 \leq -1.55 \cdot 10^{-78}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\ \mathbf{elif}\;y5 \leq -1.9 \cdot 10^{-276}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \mathbf{elif}\;y5 \leq 8 \cdot 10^{-27}:\\ \;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(y1 \cdot i - y0 \cdot b\right) \cdot j\right)\right) \cdot x\\ \mathbf{elif}\;y5 \leq 1.2 \cdot 10^{+16}:\\ \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\ \mathbf{elif}\;y5 \leq 1.3 \cdot 10^{+140}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(k \cdot y - j \cdot t, i, \mathsf{fma}\left(-y0, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\right) \cdot a\right)\right) \cdot y5\\ \end{array} \]
        5. Add Preprocessing

        Alternative 4: 43.2% accurate, 2.2× speedup?

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

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

            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(j \cdot t - k \cdot y\right), i, \mathsf{fma}\left(-y0, k \cdot y2 - j \cdot y3, \left(t \cdot y2 - y \cdot y3\right) \cdot a\right)\right) \cdot y5} \]
          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 rewrites62.1%

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

            if -3.40000000000000003e168 < k < -9.99999999999999997e-74

            1. Initial program 44.4%

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

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

                \[\leadsto \color{blue}{\left(\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} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
              2. lower-*.f64N/A

                \[\leadsto \color{blue}{\left(\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} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
            5. Applied rewrites56.9%

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

              \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
            7. Step-by-step derivation
              1. Applied rewrites48.8%

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

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

                  \[\leadsto \left(b \cdot y4\right) \cdot \color{blue}{\mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                2. Step-by-step derivation
                  1. Applied rewrites55.3%

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

                  if -9.99999999999999997e-74 < k < -1.0000000000000001e-192 or 4.00000000000000034e-86 < k < 6.7000000000000003e90

                  1. Initial program 30.3%

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

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

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

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

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

                  if -1.0000000000000001e-192 < k < 4.00000000000000034e-86

                  1. Initial program 33.9%

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

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

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

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

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

                  if 6.7000000000000003e90 < k

                  1. Initial program 23.4%

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

                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), y, \mathsf{fma}\left(y4 \cdot y1 - y0 \cdot y5, y2, \left(y0 \cdot b - i \cdot y1\right) \cdot z\right)\right) \cdot k} \]
                3. Recombined 5 regimes into one program.
                4. Final simplification56.1%

                  \[\leadsto \begin{array}{l} \mathbf{if}\;k \leq -3.4 \cdot 10^{+168}:\\ \;\;\;\;\left(\mathsf{fma}\left(i, y, \left(-y0\right) \cdot y2\right) \cdot k\right) \cdot y5\\ \mathbf{elif}\;k \leq -1 \cdot 10^{-73}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y, k, j \cdot t\right) \cdot b\right) \cdot y4 - \left(y5 \cdot y0 - y4 \cdot y1\right) \cdot \left(y2 \cdot k - y3 \cdot j\right)\\ \mathbf{elif}\;k \leq -1 \cdot 10^{-192}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \mathbf{elif}\;k \leq 4 \cdot 10^{-86}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\ \mathbf{elif}\;k \leq 6.7 \cdot 10^{+90}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k\\ \end{array} \]
                5. Add Preprocessing

                Alternative 5: 45.2% accurate, 2.5× speedup?

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

                  1. Initial program 29.0%

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

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

                  if -5.50000000000000002e31 < y2 < -3.59999999999999991e-306

                  1. Initial program 40.5%

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

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

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

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

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

                  if -3.59999999999999991e-306 < y2 < 6.00000000000000006e-23

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

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

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

                Alternative 6: 38.9% accurate, 2.5× speedup?

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

                  1. Initial program 11.1%

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

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

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

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

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

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

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

                    if -9.99999999999999955e282 < j < 1.5000000000000001e-221

                    1. Initial program 29.8%

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

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

                    if 1.5000000000000001e-221 < j < 7.2000000000000002e42

                    1. Initial program 44.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 a around inf

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

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

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

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

                    if 7.2000000000000002e42 < j < 1.6000000000000001e153

                    1. Initial program 22.6%

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

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

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

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

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

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

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

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

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

                        if 1.6000000000000001e153 < j

                        1. Initial program 31.0%

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

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

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

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

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

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

                          \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -1 \cdot 10^{+283}:\\ \;\;\;\;\mathsf{fma}\left(-t, y5, y1 \cdot x\right) \cdot \left(j \cdot i\right)\\ \mathbf{elif}\;j \leq 1.5 \cdot 10^{-221}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\ \mathbf{elif}\;j \leq 7.2 \cdot 10^{+42}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\ \mathbf{elif}\;j \leq 1.6 \cdot 10^{+153}:\\ \;\;\;\;\mathsf{fma}\left(c, z, \left(-y5\right) \cdot j\right) \cdot \left(i \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot j\right) \cdot y1\\ \end{array} \]
                        10. Add Preprocessing

                        Alternative 7: 39.2% accurate, 2.5× speedup?

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

                          1. Initial program 23.9%

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

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

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

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

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

                            \[\leadsto \left(-1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y2 \]
                          7. Step-by-step derivation
                            1. Applied rewrites51.9%

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

                            if -4.5000000000000002e101 < c < 3.9500000000000002e-265

                            1. Initial program 35.8%

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

                                \[\leadsto \color{blue}{\left(\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} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                              2. lower-*.f64N/A

                                \[\leadsto \color{blue}{\left(\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} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                            5. Applied rewrites42.9%

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

                              \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                            7. Step-by-step derivation
                              1. Applied rewrites36.7%

                                \[\leadsto \left(-y0 \cdot \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right)\right) \cdot b + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                              2. Applied rewrites39.6%

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

                              if 3.9500000000000002e-265 < c < 6.4999999999999996e89

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

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

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

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

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

                              if 6.4999999999999996e89 < c

                              1. Initial program 29.7%

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

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

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

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

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

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

                                  \[\leadsto \left(c \cdot \mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right)\right) \cdot i \]
                              8. Recombined 4 regimes into one program.
                              9. Final simplification50.1%

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

                              Alternative 8: 46.5% accurate, 2.7× speedup?

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

                                1. Initial program 22.0%

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

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

                                if -1.7e70 < y4 < 1.60000000000000005e84

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

                                  \[\leadsto \color{blue}{\mathsf{fma}\left(b \cdot a - c \cdot i, y, \mathsf{fma}\left(c \cdot y0 - y1 \cdot a, y2, \left(-j\right) \cdot \left(y0 \cdot b - i \cdot y1\right)\right)\right) \cdot x} \]
                              3. Recombined 2 regimes into one program.
                              4. Final simplification55.4%

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

                              Alternative 9: 41.7% accurate, 2.7× speedup?

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

                                1. Initial program 20.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 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)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                4. Step-by-step derivation
                                  1. *-commutativeN/A

                                    \[\leadsto \color{blue}{\left(\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} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                  2. lower-*.f64N/A

                                    \[\leadsto \color{blue}{\left(\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} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                5. Applied rewrites46.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} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                6. Taylor expanded in y0 around inf

                                  \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                7. Step-by-step derivation
                                  1. Applied rewrites55.4%

                                    \[\leadsto \left(-y0 \cdot \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right)\right) \cdot b + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                  2. Applied rewrites57.2%

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

                                  if -4.0000000000000002e-22 < y4 < 1.05000000000000005e99

                                  1. Initial program 39.4%

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

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

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

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

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

                                  if 1.05000000000000005e99 < y4

                                  1. Initial program 23.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 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)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                  4. Step-by-step derivation
                                    1. *-commutativeN/A

                                      \[\leadsto \color{blue}{\left(\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} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                    2. lower-*.f64N/A

                                      \[\leadsto \color{blue}{\left(\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} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                  5. Applied rewrites40.9%

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

                                    \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                  7. Step-by-step derivation
                                    1. Applied rewrites41.3%

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

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

                                        \[\leadsto \left(b \cdot y4\right) \cdot \color{blue}{\mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                      2. Step-by-step derivation
                                        1. Applied rewrites52.6%

                                          \[\leadsto \left(\mathsf{fma}\left(-y, k, t \cdot j\right) \cdot b\right) \cdot y4 + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                      3. Recombined 3 regimes into one program.
                                      4. Final simplification53.3%

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

                                      Alternative 10: 39.2% accurate, 2.9× speedup?

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

                                        1. Initial program 23.9%

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

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

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

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

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

                                          \[\leadsto \left(-1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y2 \]
                                        7. Step-by-step derivation
                                          1. Applied rewrites51.9%

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

                                          if -4.5000000000000002e101 < c < 1.94999999999999984e112

                                          1. Initial program 35.0%

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

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

                                              \[\leadsto \color{blue}{\left(\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} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                            2. lower-*.f64N/A

                                              \[\leadsto \color{blue}{\left(\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} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                          5. Applied rewrites42.3%

                                            \[\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} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                          6. Taylor expanded in y0 around inf

                                            \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                          7. Step-by-step derivation
                                            1. Applied rewrites39.3%

                                              \[\leadsto \left(-y0 \cdot \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right)\right) \cdot b + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                            2. Applied rewrites42.7%

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

                                            if 1.94999999999999984e112 < c

                                            1. Initial program 32.3%

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

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

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

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

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

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

                                                \[\leadsto \left(c \cdot \mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right)\right) \cdot i \]
                                            8. Recombined 3 regimes into one program.
                                            9. Final simplification47.4%

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

                                            Alternative 11: 37.1% accurate, 2.9× speedup?

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

                                              1. Initial program 27.4%

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

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

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

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

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

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

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

                                                if -1.25000000000000007e-33 < c < 1.59999999999999993e112

                                                1. Initial program 35.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 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)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                4. Step-by-step derivation
                                                  1. *-commutativeN/A

                                                    \[\leadsto \color{blue}{\left(\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} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                  2. lower-*.f64N/A

                                                    \[\leadsto \color{blue}{\left(\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} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                5. Applied rewrites41.8%

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

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

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

                                                  if 1.59999999999999993e112 < c

                                                  1. Initial program 32.3%

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

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

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

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

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

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

                                                      \[\leadsto \left(c \cdot \mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right)\right) \cdot i \]
                                                  8. Recombined 3 regimes into one program.
                                                  9. Final simplification45.1%

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

                                                  Alternative 12: 31.0% accurate, 3.1× speedup?

                                                  \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;i \leq -3.5 \cdot 10^{+75}:\\ \;\;\;\;\mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right) \cdot \left(i \cdot c\right)\\ \mathbf{elif}\;i \leq -3.35 \cdot 10^{-34}:\\ \;\;\;\;\left(\mathsf{fma}\left(-j, t, k \cdot y\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;i \leq -2.65 \cdot 10^{-218}:\\ \;\;\;\;\mathsf{fma}\left(y1, y4, \left(-y0\right) \cdot y5\right) \cdot \left(y2 \cdot k\right)\\ \mathbf{elif}\;i \leq 3.6 \cdot 10^{-295}:\\ \;\;\;\;\mathsf{fma}\left(b, y, \left(-y2\right) \cdot y1\right) \cdot \left(a \cdot x\right)\\ \mathbf{elif}\;i \leq 4.8 \cdot 10^{-157}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y3\right) \cdot y\right) \cdot a\right) \cdot y5\\ \mathbf{elif}\;i \leq 4.8 \cdot 10^{+41}:\\ \;\;\;\;\mathsf{fma}\left(a, y, \left(-y0\right) \cdot j\right) \cdot \left(b \cdot x\right)\\ \mathbf{elif}\;i \leq 1.9 \cdot 10^{+165}:\\ \;\;\;\;\mathsf{fma}\left(k, y5, \left(-x\right) \cdot c\right) \cdot \left(i \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(c, z, \left(-y5\right) \cdot j\right) \cdot \left(i \cdot t\right)\\ \end{array} \end{array} \]
                                                  (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                   :precision binary64
                                                   (if (<= i -3.5e+75)
                                                     (* (fma t z (* (- x) y)) (* i c))
                                                     (if (<= i -3.35e-34)
                                                       (* (* (fma (- j) t (* k y)) i) y5)
                                                       (if (<= i -2.65e-218)
                                                         (* (fma y1 y4 (* (- y0) y5)) (* y2 k))
                                                         (if (<= i 3.6e-295)
                                                           (* (fma b y (* (- y2) y1)) (* a x))
                                                           (if (<= i 4.8e-157)
                                                             (* (* (fma t y2 (* (- y3) y)) a) y5)
                                                             (if (<= i 4.8e+41)
                                                               (* (fma a y (* (- y0) j)) (* b x))
                                                               (if (<= i 1.9e+165)
                                                                 (* (fma k y5 (* (- x) c)) (* i y))
                                                                 (* (fma c z (* (- y5) j)) (* 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 (i <= -3.5e+75) {
                                                  		tmp = fma(t, z, (-x * y)) * (i * c);
                                                  	} else if (i <= -3.35e-34) {
                                                  		tmp = (fma(-j, t, (k * y)) * i) * y5;
                                                  	} else if (i <= -2.65e-218) {
                                                  		tmp = fma(y1, y4, (-y0 * y5)) * (y2 * k);
                                                  	} else if (i <= 3.6e-295) {
                                                  		tmp = fma(b, y, (-y2 * y1)) * (a * x);
                                                  	} else if (i <= 4.8e-157) {
                                                  		tmp = (fma(t, y2, (-y3 * y)) * a) * y5;
                                                  	} else if (i <= 4.8e+41) {
                                                  		tmp = fma(a, y, (-y0 * j)) * (b * x);
                                                  	} else if (i <= 1.9e+165) {
                                                  		tmp = fma(k, y5, (-x * c)) * (i * y);
                                                  	} else {
                                                  		tmp = fma(c, z, (-y5 * j)) * (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 (i <= -3.5e+75)
                                                  		tmp = Float64(fma(t, z, Float64(Float64(-x) * y)) * Float64(i * c));
                                                  	elseif (i <= -3.35e-34)
                                                  		tmp = Float64(Float64(fma(Float64(-j), t, Float64(k * y)) * i) * y5);
                                                  	elseif (i <= -2.65e-218)
                                                  		tmp = Float64(fma(y1, y4, Float64(Float64(-y0) * y5)) * Float64(y2 * k));
                                                  	elseif (i <= 3.6e-295)
                                                  		tmp = Float64(fma(b, y, Float64(Float64(-y2) * y1)) * Float64(a * x));
                                                  	elseif (i <= 4.8e-157)
                                                  		tmp = Float64(Float64(fma(t, y2, Float64(Float64(-y3) * y)) * a) * y5);
                                                  	elseif (i <= 4.8e+41)
                                                  		tmp = Float64(fma(a, y, Float64(Float64(-y0) * j)) * Float64(b * x));
                                                  	elseif (i <= 1.9e+165)
                                                  		tmp = Float64(fma(k, y5, Float64(Float64(-x) * c)) * Float64(i * y));
                                                  	else
                                                  		tmp = Float64(fma(c, z, Float64(Float64(-y5) * j)) * 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[i, -3.5e+75], N[(N[(t * z + N[((-x) * y), $MachinePrecision]), $MachinePrecision] * N[(i * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -3.35e-34], N[(N[(N[((-j) * t + N[(k * y), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[i, -2.65e-218], N[(N[(y1 * y4 + N[((-y0) * y5), $MachinePrecision]), $MachinePrecision] * N[(y2 * k), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 3.6e-295], N[(N[(b * y + N[((-y2) * y1), $MachinePrecision]), $MachinePrecision] * N[(a * x), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 4.8e-157], N[(N[(N[(t * y2 + N[((-y3) * y), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[i, 4.8e+41], N[(N[(a * y + N[((-y0) * j), $MachinePrecision]), $MachinePrecision] * N[(b * x), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.9e+165], N[(N[(k * y5 + N[((-x) * c), $MachinePrecision]), $MachinePrecision] * N[(i * y), $MachinePrecision]), $MachinePrecision], N[(N[(c * z + N[((-y5) * j), $MachinePrecision]), $MachinePrecision] * N[(i * t), $MachinePrecision]), $MachinePrecision]]]]]]]]
                                                  
                                                  \begin{array}{l}
                                                  
                                                  \\
                                                  \begin{array}{l}
                                                  \mathbf{if}\;i \leq -3.5 \cdot 10^{+75}:\\
                                                  \;\;\;\;\mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right) \cdot \left(i \cdot c\right)\\
                                                  
                                                  \mathbf{elif}\;i \leq -3.35 \cdot 10^{-34}:\\
                                                  \;\;\;\;\left(\mathsf{fma}\left(-j, t, k \cdot y\right) \cdot i\right) \cdot y5\\
                                                  
                                                  \mathbf{elif}\;i \leq -2.65 \cdot 10^{-218}:\\
                                                  \;\;\;\;\mathsf{fma}\left(y1, y4, \left(-y0\right) \cdot y5\right) \cdot \left(y2 \cdot k\right)\\
                                                  
                                                  \mathbf{elif}\;i \leq 3.6 \cdot 10^{-295}:\\
                                                  \;\;\;\;\mathsf{fma}\left(b, y, \left(-y2\right) \cdot y1\right) \cdot \left(a \cdot x\right)\\
                                                  
                                                  \mathbf{elif}\;i \leq 4.8 \cdot 10^{-157}:\\
                                                  \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y3\right) \cdot y\right) \cdot a\right) \cdot y5\\
                                                  
                                                  \mathbf{elif}\;i \leq 4.8 \cdot 10^{+41}:\\
                                                  \;\;\;\;\mathsf{fma}\left(a, y, \left(-y0\right) \cdot j\right) \cdot \left(b \cdot x\right)\\
                                                  
                                                  \mathbf{elif}\;i \leq 1.9 \cdot 10^{+165}:\\
                                                  \;\;\;\;\mathsf{fma}\left(k, y5, \left(-x\right) \cdot c\right) \cdot \left(i \cdot y\right)\\
                                                  
                                                  \mathbf{else}:\\
                                                  \;\;\;\;\mathsf{fma}\left(c, z, \left(-y5\right) \cdot j\right) \cdot \left(i \cdot t\right)\\
                                                  
                                                  
                                                  \end{array}
                                                  \end{array}
                                                  
                                                  Derivation
                                                  1. Split input into 8 regimes
                                                  2. if i < -3.4999999999999998e75

                                                    1. Initial program 25.2%

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

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

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

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

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

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

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

                                                      if -3.4999999999999998e75 < i < -3.3500000000000002e-34

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

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

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

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

                                                        if -3.3500000000000002e-34 < i < -2.65000000000000015e-218

                                                        1. Initial program 58.2%

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

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

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

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

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

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

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

                                                          if -2.65000000000000015e-218 < i < 3.6000000000000001e-295

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

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

                                                            \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                          7. Step-by-step derivation
                                                            1. Applied rewrites15.1%

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

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

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

                                                              if 3.6000000000000001e-295 < i < 4.8e-157

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

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

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

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

                                                                if 4.8e-157 < i < 4.8000000000000003e41

                                                                1. Initial program 22.3%

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

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

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

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

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

                                                                  \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                7. Step-by-step derivation
                                                                  1. Applied rewrites31.7%

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

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

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

                                                                    if 4.8000000000000003e41 < i < 1.89999999999999995e165

                                                                    1. Initial program 29.9%

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

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

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

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

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

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

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

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

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

                                                                        if 1.89999999999999995e165 < i

                                                                        1. Initial program 16.7%

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

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

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

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

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

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

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

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

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

                                                                            \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -3.5 \cdot 10^{+75}:\\ \;\;\;\;\mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right) \cdot \left(i \cdot c\right)\\ \mathbf{elif}\;i \leq -3.35 \cdot 10^{-34}:\\ \;\;\;\;\left(\mathsf{fma}\left(-j, t, k \cdot y\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;i \leq -2.65 \cdot 10^{-218}:\\ \;\;\;\;\mathsf{fma}\left(y1, y4, \left(-y0\right) \cdot y5\right) \cdot \left(y2 \cdot k\right)\\ \mathbf{elif}\;i \leq 3.6 \cdot 10^{-295}:\\ \;\;\;\;\mathsf{fma}\left(b, y, \left(-y2\right) \cdot y1\right) \cdot \left(a \cdot x\right)\\ \mathbf{elif}\;i \leq 4.8 \cdot 10^{-157}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y3\right) \cdot y\right) \cdot a\right) \cdot y5\\ \mathbf{elif}\;i \leq 4.8 \cdot 10^{+41}:\\ \;\;\;\;\mathsf{fma}\left(a, y, \left(-y0\right) \cdot j\right) \cdot \left(b \cdot x\right)\\ \mathbf{elif}\;i \leq 1.9 \cdot 10^{+165}:\\ \;\;\;\;\mathsf{fma}\left(k, y5, \left(-x\right) \cdot c\right) \cdot \left(i \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(c, z, \left(-y5\right) \cdot j\right) \cdot \left(i \cdot t\right)\\ \end{array} \]
                                                                          6. Add Preprocessing

                                                                          Alternative 13: 36.9% accurate, 3.3× speedup?

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

                                                                            1. Initial program 23.9%

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

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

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

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

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

                                                                              \[\leadsto \left(-1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y2 \]
                                                                            7. Step-by-step derivation
                                                                              1. Applied rewrites51.9%

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

                                                                              if -1.19999999999999994e101 < c < 6.2e16

                                                                              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 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)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                              4. Step-by-step derivation
                                                                                1. *-commutativeN/A

                                                                                  \[\leadsto \color{blue}{\left(\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} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                2. lower-*.f64N/A

                                                                                  \[\leadsto \color{blue}{\left(\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} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                              5. Applied rewrites42.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} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                              6. Taylor expanded in y0 around inf

                                                                                \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                              7. Step-by-step derivation
                                                                                1. Applied rewrites39.4%

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

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

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

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

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

                                                                                    if 6.2e16 < c

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

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

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

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

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

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

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

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

                                                                                    Alternative 14: 32.3% accurate, 3.7× speedup?

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

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

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

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

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

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

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

                                                                                        if -2.64999999999999998e73 < j < -7.2e-175

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

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

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

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

                                                                                          if -7.2e-175 < j < -3.99999999999999998e-243

                                                                                          1. Initial program 11.7%

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

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

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

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

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

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

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

                                                                                            if -3.99999999999999998e-243 < j < 3.2000000000000001e-215

                                                                                            1. Initial program 47.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 rewrites45.0%

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

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

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

                                                                                              if 3.2000000000000001e-215 < j < 1.30000000000000003e35

                                                                                              1. Initial program 45.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 x around inf

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

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

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

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

                                                                                                \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                              7. Step-by-step derivation
                                                                                                1. Applied rewrites13.0%

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

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

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

                                                                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -2.65 \cdot 10^{+73}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot j\right) \cdot y1\\ \mathbf{elif}\;j \leq -7.2 \cdot 10^{-175}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right) \cdot a\right) \cdot y1\\ \mathbf{elif}\;j \leq -4 \cdot 10^{-243}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right) \cdot c\right) \cdot i\\ \mathbf{elif}\;j \leq 3.2 \cdot 10^{-215}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y2\right) \cdot y5\\ \mathbf{elif}\;j \leq 1.3 \cdot 10^{+35}:\\ \;\;\;\;\mathsf{fma}\left(b, y, \left(-y2\right) \cdot y1\right) \cdot \left(a \cdot x\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot j\right) \cdot y1\\ \end{array} \]
                                                                                                6. Add Preprocessing

                                                                                                Alternative 15: 30.9% accurate, 3.7× speedup?

                                                                                                \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;i \leq -3.4 \cdot 10^{-60}:\\ \;\;\;\;\mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right) \cdot \left(i \cdot c\right)\\ \mathbf{elif}\;i \leq 3.6 \cdot 10^{-295}:\\ \;\;\;\;\mathsf{fma}\left(b, y, \left(-y2\right) \cdot y1\right) \cdot \left(a \cdot x\right)\\ \mathbf{elif}\;i \leq 4.8 \cdot 10^{-157}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y3\right) \cdot y\right) \cdot a\right) \cdot y5\\ \mathbf{elif}\;i \leq 4.8 \cdot 10^{+41}:\\ \;\;\;\;\mathsf{fma}\left(a, y, \left(-y0\right) \cdot j\right) \cdot \left(b \cdot x\right)\\ \mathbf{elif}\;i \leq 1.9 \cdot 10^{+165}:\\ \;\;\;\;\mathsf{fma}\left(k, y5, \left(-x\right) \cdot c\right) \cdot \left(i \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(c, z, \left(-y5\right) \cdot j\right) \cdot \left(i \cdot t\right)\\ \end{array} \end{array} \]
                                                                                                (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                 :precision binary64
                                                                                                 (if (<= i -3.4e-60)
                                                                                                   (* (fma t z (* (- x) y)) (* i c))
                                                                                                   (if (<= i 3.6e-295)
                                                                                                     (* (fma b y (* (- y2) y1)) (* a x))
                                                                                                     (if (<= i 4.8e-157)
                                                                                                       (* (* (fma t y2 (* (- y3) y)) a) y5)
                                                                                                       (if (<= i 4.8e+41)
                                                                                                         (* (fma a y (* (- y0) j)) (* b x))
                                                                                                         (if (<= i 1.9e+165)
                                                                                                           (* (fma k y5 (* (- x) c)) (* i y))
                                                                                                           (* (fma c z (* (- y5) j)) (* 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 (i <= -3.4e-60) {
                                                                                                		tmp = fma(t, z, (-x * y)) * (i * c);
                                                                                                	} else if (i <= 3.6e-295) {
                                                                                                		tmp = fma(b, y, (-y2 * y1)) * (a * x);
                                                                                                	} else if (i <= 4.8e-157) {
                                                                                                		tmp = (fma(t, y2, (-y3 * y)) * a) * y5;
                                                                                                	} else if (i <= 4.8e+41) {
                                                                                                		tmp = fma(a, y, (-y0 * j)) * (b * x);
                                                                                                	} else if (i <= 1.9e+165) {
                                                                                                		tmp = fma(k, y5, (-x * c)) * (i * y);
                                                                                                	} else {
                                                                                                		tmp = fma(c, z, (-y5 * j)) * (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 (i <= -3.4e-60)
                                                                                                		tmp = Float64(fma(t, z, Float64(Float64(-x) * y)) * Float64(i * c));
                                                                                                	elseif (i <= 3.6e-295)
                                                                                                		tmp = Float64(fma(b, y, Float64(Float64(-y2) * y1)) * Float64(a * x));
                                                                                                	elseif (i <= 4.8e-157)
                                                                                                		tmp = Float64(Float64(fma(t, y2, Float64(Float64(-y3) * y)) * a) * y5);
                                                                                                	elseif (i <= 4.8e+41)
                                                                                                		tmp = Float64(fma(a, y, Float64(Float64(-y0) * j)) * Float64(b * x));
                                                                                                	elseif (i <= 1.9e+165)
                                                                                                		tmp = Float64(fma(k, y5, Float64(Float64(-x) * c)) * Float64(i * y));
                                                                                                	else
                                                                                                		tmp = Float64(fma(c, z, Float64(Float64(-y5) * j)) * 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[i, -3.4e-60], N[(N[(t * z + N[((-x) * y), $MachinePrecision]), $MachinePrecision] * N[(i * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 3.6e-295], N[(N[(b * y + N[((-y2) * y1), $MachinePrecision]), $MachinePrecision] * N[(a * x), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 4.8e-157], N[(N[(N[(t * y2 + N[((-y3) * y), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[i, 4.8e+41], N[(N[(a * y + N[((-y0) * j), $MachinePrecision]), $MachinePrecision] * N[(b * x), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.9e+165], N[(N[(k * y5 + N[((-x) * c), $MachinePrecision]), $MachinePrecision] * N[(i * y), $MachinePrecision]), $MachinePrecision], N[(N[(c * z + N[((-y5) * j), $MachinePrecision]), $MachinePrecision] * N[(i * t), $MachinePrecision]), $MachinePrecision]]]]]]
                                                                                                
                                                                                                \begin{array}{l}
                                                                                                
                                                                                                \\
                                                                                                \begin{array}{l}
                                                                                                \mathbf{if}\;i \leq -3.4 \cdot 10^{-60}:\\
                                                                                                \;\;\;\;\mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right) \cdot \left(i \cdot c\right)\\
                                                                                                
                                                                                                \mathbf{elif}\;i \leq 3.6 \cdot 10^{-295}:\\
                                                                                                \;\;\;\;\mathsf{fma}\left(b, y, \left(-y2\right) \cdot y1\right) \cdot \left(a \cdot x\right)\\
                                                                                                
                                                                                                \mathbf{elif}\;i \leq 4.8 \cdot 10^{-157}:\\
                                                                                                \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y3\right) \cdot y\right) \cdot a\right) \cdot y5\\
                                                                                                
                                                                                                \mathbf{elif}\;i \leq 4.8 \cdot 10^{+41}:\\
                                                                                                \;\;\;\;\mathsf{fma}\left(a, y, \left(-y0\right) \cdot j\right) \cdot \left(b \cdot x\right)\\
                                                                                                
                                                                                                \mathbf{elif}\;i \leq 1.9 \cdot 10^{+165}:\\
                                                                                                \;\;\;\;\mathsf{fma}\left(k, y5, \left(-x\right) \cdot c\right) \cdot \left(i \cdot y\right)\\
                                                                                                
                                                                                                \mathbf{else}:\\
                                                                                                \;\;\;\;\mathsf{fma}\left(c, z, \left(-y5\right) \cdot j\right) \cdot \left(i \cdot t\right)\\
                                                                                                
                                                                                                
                                                                                                \end{array}
                                                                                                \end{array}
                                                                                                
                                                                                                Derivation
                                                                                                1. Split input into 6 regimes
                                                                                                2. if i < -3.40000000000000007e-60

                                                                                                  1. Initial program 31.2%

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

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

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

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

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

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

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

                                                                                                    if -3.40000000000000007e-60 < i < 3.6000000000000001e-295

                                                                                                    1. Initial program 49.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 rewrites40.9%

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

                                                                                                      \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                    7. Step-by-step derivation
                                                                                                      1. Applied rewrites14.9%

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

                                                                                                        \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(-1 \cdot \left(y1 \cdot y2\right) + b \cdot y\right)\right)} \]
                                                                                                      3. Step-by-step derivation
                                                                                                        1. Applied rewrites38.8%

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

                                                                                                        if 3.6000000000000001e-295 < i < 4.8e-157

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

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

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

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

                                                                                                          if 4.8e-157 < i < 4.8000000000000003e41

                                                                                                          1. Initial program 22.3%

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

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

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

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

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

                                                                                                            \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                          7. Step-by-step derivation
                                                                                                            1. Applied rewrites31.7%

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

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

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

                                                                                                              if 4.8000000000000003e41 < i < 1.89999999999999995e165

                                                                                                              1. Initial program 29.9%

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

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

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

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

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

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

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

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

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

                                                                                                                  if 1.89999999999999995e165 < i

                                                                                                                  1. Initial program 16.7%

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

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

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

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

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

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

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

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

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

                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -3.4 \cdot 10^{-60}:\\ \;\;\;\;\mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right) \cdot \left(i \cdot c\right)\\ \mathbf{elif}\;i \leq 3.6 \cdot 10^{-295}:\\ \;\;\;\;\mathsf{fma}\left(b, y, \left(-y2\right) \cdot y1\right) \cdot \left(a \cdot x\right)\\ \mathbf{elif}\;i \leq 4.8 \cdot 10^{-157}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y3\right) \cdot y\right) \cdot a\right) \cdot y5\\ \mathbf{elif}\;i \leq 4.8 \cdot 10^{+41}:\\ \;\;\;\;\mathsf{fma}\left(a, y, \left(-y0\right) \cdot j\right) \cdot \left(b \cdot x\right)\\ \mathbf{elif}\;i \leq 1.9 \cdot 10^{+165}:\\ \;\;\;\;\mathsf{fma}\left(k, y5, \left(-x\right) \cdot c\right) \cdot \left(i \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(c, z, \left(-y5\right) \cdot j\right) \cdot \left(i \cdot t\right)\\ \end{array} \]
                                                                                                                    6. Add Preprocessing

                                                                                                                    Alternative 16: 27.1% accurate, 3.7× speedup?

                                                                                                                    \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -1.65 \cdot 10^{+266}:\\ \;\;\;\;\mathsf{fma}\left(y, y5, \left(-z\right) \cdot y1\right) \cdot \left(k \cdot i\right)\\ \mathbf{elif}\;z \leq -1 \cdot 10^{+30}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot i\right) \cdot c\\ \mathbf{elif}\;z \leq -2.6 \cdot 10^{-172}:\\ \;\;\;\;\mathsf{fma}\left(-t, y5, y1 \cdot x\right) \cdot \left(j \cdot i\right)\\ \mathbf{elif}\;z \leq 10^{-230}:\\ \;\;\;\;\mathsf{fma}\left(k, y5, \left(-x\right) \cdot c\right) \cdot \left(i \cdot y\right)\\ \mathbf{elif}\;z \leq 1.35 \cdot 10^{+84}:\\ \;\;\;\;\mathsf{fma}\left(b, y, \left(-y2\right) \cdot y1\right) \cdot \left(a \cdot x\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(c \cdot z\right) \cdot i\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
                                                                                                                     (if (<= z -1.65e+266)
                                                                                                                       (* (fma y y5 (* (- z) y1)) (* k i))
                                                                                                                       (if (<= z -1e+30)
                                                                                                                         (* (* (* t z) i) c)
                                                                                                                         (if (<= z -2.6e-172)
                                                                                                                           (* (fma (- t) y5 (* y1 x)) (* j i))
                                                                                                                           (if (<= z 1e-230)
                                                                                                                             (* (fma k y5 (* (- x) c)) (* i y))
                                                                                                                             (if (<= z 1.35e+84)
                                                                                                                               (* (fma b y (* (- y2) y1)) (* a x))
                                                                                                                               (* (* (* c z) 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 (z <= -1.65e+266) {
                                                                                                                    		tmp = fma(y, y5, (-z * y1)) * (k * i);
                                                                                                                    	} else if (z <= -1e+30) {
                                                                                                                    		tmp = ((t * z) * i) * c;
                                                                                                                    	} else if (z <= -2.6e-172) {
                                                                                                                    		tmp = fma(-t, y5, (y1 * x)) * (j * i);
                                                                                                                    	} else if (z <= 1e-230) {
                                                                                                                    		tmp = fma(k, y5, (-x * c)) * (i * y);
                                                                                                                    	} else if (z <= 1.35e+84) {
                                                                                                                    		tmp = fma(b, y, (-y2 * y1)) * (a * x);
                                                                                                                    	} else {
                                                                                                                    		tmp = ((c * z) * 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 (z <= -1.65e+266)
                                                                                                                    		tmp = Float64(fma(y, y5, Float64(Float64(-z) * y1)) * Float64(k * i));
                                                                                                                    	elseif (z <= -1e+30)
                                                                                                                    		tmp = Float64(Float64(Float64(t * z) * i) * c);
                                                                                                                    	elseif (z <= -2.6e-172)
                                                                                                                    		tmp = Float64(fma(Float64(-t), y5, Float64(y1 * x)) * Float64(j * i));
                                                                                                                    	elseif (z <= 1e-230)
                                                                                                                    		tmp = Float64(fma(k, y5, Float64(Float64(-x) * c)) * Float64(i * y));
                                                                                                                    	elseif (z <= 1.35e+84)
                                                                                                                    		tmp = Float64(fma(b, y, Float64(Float64(-y2) * y1)) * Float64(a * x));
                                                                                                                    	else
                                                                                                                    		tmp = Float64(Float64(Float64(c * z) * 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[z, -1.65e+266], N[(N[(y * y5 + N[((-z) * y1), $MachinePrecision]), $MachinePrecision] * N[(k * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1e+30], N[(N[(N[(t * z), $MachinePrecision] * i), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[z, -2.6e-172], N[(N[((-t) * y5 + N[(y1 * x), $MachinePrecision]), $MachinePrecision] * N[(j * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1e-230], N[(N[(k * y5 + N[((-x) * c), $MachinePrecision]), $MachinePrecision] * N[(i * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.35e+84], N[(N[(b * y + N[((-y2) * y1), $MachinePrecision]), $MachinePrecision] * N[(a * x), $MachinePrecision]), $MachinePrecision], N[(N[(N[(c * z), $MachinePrecision] * i), $MachinePrecision] * t), $MachinePrecision]]]]]]
                                                                                                                    
                                                                                                                    \begin{array}{l}
                                                                                                                    
                                                                                                                    \\
                                                                                                                    \begin{array}{l}
                                                                                                                    \mathbf{if}\;z \leq -1.65 \cdot 10^{+266}:\\
                                                                                                                    \;\;\;\;\mathsf{fma}\left(y, y5, \left(-z\right) \cdot y1\right) \cdot \left(k \cdot i\right)\\
                                                                                                                    
                                                                                                                    \mathbf{elif}\;z \leq -1 \cdot 10^{+30}:\\
                                                                                                                    \;\;\;\;\left(\left(t \cdot z\right) \cdot i\right) \cdot c\\
                                                                                                                    
                                                                                                                    \mathbf{elif}\;z \leq -2.6 \cdot 10^{-172}:\\
                                                                                                                    \;\;\;\;\mathsf{fma}\left(-t, y5, y1 \cdot x\right) \cdot \left(j \cdot i\right)\\
                                                                                                                    
                                                                                                                    \mathbf{elif}\;z \leq 10^{-230}:\\
                                                                                                                    \;\;\;\;\mathsf{fma}\left(k, y5, \left(-x\right) \cdot c\right) \cdot \left(i \cdot y\right)\\
                                                                                                                    
                                                                                                                    \mathbf{elif}\;z \leq 1.35 \cdot 10^{+84}:\\
                                                                                                                    \;\;\;\;\mathsf{fma}\left(b, y, \left(-y2\right) \cdot y1\right) \cdot \left(a \cdot x\right)\\
                                                                                                                    
                                                                                                                    \mathbf{else}:\\
                                                                                                                    \;\;\;\;\left(\left(c \cdot z\right) \cdot i\right) \cdot t\\
                                                                                                                    
                                                                                                                    
                                                                                                                    \end{array}
                                                                                                                    \end{array}
                                                                                                                    
                                                                                                                    Derivation
                                                                                                                    1. Split input into 6 regimes
                                                                                                                    2. if z < -1.64999999999999992e266

                                                                                                                      1. Initial program 9.1%

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

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

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

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

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

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

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

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

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

                                                                                                                          if -1.64999999999999992e266 < z < -1e30

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

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

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

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

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

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

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

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

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

                                                                                                                              if -1e30 < z < -2.5999999999999998e-172

                                                                                                                              1. Initial program 36.4%

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

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

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

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

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

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

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

                                                                                                                                if -2.5999999999999998e-172 < z < 1.00000000000000005e-230

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

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

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

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

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

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

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

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

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

                                                                                                                                    if 1.00000000000000005e-230 < z < 1.35e84

                                                                                                                                    1. Initial program 38.6%

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

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

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

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

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

                                                                                                                                      \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                    7. Step-by-step derivation
                                                                                                                                      1. Applied rewrites25.7%

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

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

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

                                                                                                                                        if 1.35e84 < z

                                                                                                                                        1. Initial program 28.5%

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

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

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

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

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

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

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

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

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

                                                                                                                                                \[\leadsto \left(\left(c \cdot z\right) \cdot i\right) \cdot t \]
                                                                                                                                            3. Recombined 6 regimes into one program.
                                                                                                                                            4. Final simplification41.8%

                                                                                                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -1.65 \cdot 10^{+266}:\\ \;\;\;\;\mathsf{fma}\left(y, y5, \left(-z\right) \cdot y1\right) \cdot \left(k \cdot i\right)\\ \mathbf{elif}\;z \leq -1 \cdot 10^{+30}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot i\right) \cdot c\\ \mathbf{elif}\;z \leq -2.6 \cdot 10^{-172}:\\ \;\;\;\;\mathsf{fma}\left(-t, y5, y1 \cdot x\right) \cdot \left(j \cdot i\right)\\ \mathbf{elif}\;z \leq 10^{-230}:\\ \;\;\;\;\mathsf{fma}\left(k, y5, \left(-x\right) \cdot c\right) \cdot \left(i \cdot y\right)\\ \mathbf{elif}\;z \leq 1.35 \cdot 10^{+84}:\\ \;\;\;\;\mathsf{fma}\left(b, y, \left(-y2\right) \cdot y1\right) \cdot \left(a \cdot x\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(c \cdot z\right) \cdot i\right) \cdot t\\ \end{array} \]
                                                                                                                                            5. Add Preprocessing

                                                                                                                                            Alternative 17: 27.9% accurate, 3.7× speedup?

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

                                                                                                                                              1. Initial program 9.1%

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

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

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

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

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

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

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

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

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

                                                                                                                                                  if -1.64999999999999992e266 < z < -1e30

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

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

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

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

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

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

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

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

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

                                                                                                                                                      if -1e30 < z < -2.5999999999999998e-172 or 8.4999999999999998e-77 < z < 9e9

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

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

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

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

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

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

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

                                                                                                                                                        if -2.5999999999999998e-172 < z < 8.4999999999999998e-77

                                                                                                                                                        1. Initial program 39.8%

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

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

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

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

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

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

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

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

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

                                                                                                                                                            if 9e9 < z

                                                                                                                                                            1. Initial program 31.1%

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

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

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

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

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

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

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

                                                                                                                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -1.65 \cdot 10^{+266}:\\ \;\;\;\;\mathsf{fma}\left(y, y5, \left(-z\right) \cdot y1\right) \cdot \left(k \cdot i\right)\\ \mathbf{elif}\;z \leq -1 \cdot 10^{+30}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot i\right) \cdot c\\ \mathbf{elif}\;z \leq -2.6 \cdot 10^{-172}:\\ \;\;\;\;\mathsf{fma}\left(-t, y5, y1 \cdot x\right) \cdot \left(j \cdot i\right)\\ \mathbf{elif}\;z \leq 8.5 \cdot 10^{-77}:\\ \;\;\;\;\mathsf{fma}\left(k, y5, \left(-x\right) \cdot c\right) \cdot \left(i \cdot y\right)\\ \mathbf{elif}\;z \leq 9000000000:\\ \;\;\;\;\mathsf{fma}\left(-t, y5, y1 \cdot x\right) \cdot \left(j \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right) \cdot \left(i \cdot c\right)\\ \end{array} \]
                                                                                                                                                            10. Add Preprocessing

                                                                                                                                                            Alternative 18: 33.0% accurate, 4.2× speedup?

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

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

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

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

                                                                                                                                                                if -2.64999999999999998e73 < j < -8.4999999999999996e-174

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

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

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

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

                                                                                                                                                                  if -8.4999999999999996e-174 < j < 4.3000000000000001e-262

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

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

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

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

                                                                                                                                                                    if 4.3000000000000001e-262 < j < 2.19999999999999992e123

                                                                                                                                                                    1. Initial program 43.5%

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

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

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

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

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

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

                                                                                                                                                                        \[\leadsto \left(y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) \cdot x \]
                                                                                                                                                                    8. Recombined 4 regimes into one program.
                                                                                                                                                                    9. Final simplification46.3%

                                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -2.65 \cdot 10^{+73}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot j\right) \cdot y1\\ \mathbf{elif}\;j \leq -8.5 \cdot 10^{-174}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right) \cdot a\right) \cdot y1\\ \mathbf{elif}\;j \leq 4.3 \cdot 10^{-262}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y\right) \cdot x\\ \mathbf{elif}\;j \leq 2.2 \cdot 10^{+123}:\\ \;\;\;\;\left(\mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right) \cdot y2\right) \cdot x\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot j\right) \cdot y1\\ \end{array} \]
                                                                                                                                                                    10. Add Preprocessing

                                                                                                                                                                    Alternative 19: 30.6% accurate, 4.2× speedup?

                                                                                                                                                                    \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;i \leq -3.4 \cdot 10^{-60}:\\ \;\;\;\;\mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right) \cdot \left(i \cdot c\right)\\ \mathbf{elif}\;i \leq 9.6 \cdot 10^{-238}:\\ \;\;\;\;\mathsf{fma}\left(b, y, \left(-y2\right) \cdot y1\right) \cdot \left(a \cdot x\right)\\ \mathbf{elif}\;i \leq 4.8 \cdot 10^{+41}:\\ \;\;\;\;\mathsf{fma}\left(a, y, \left(-y0\right) \cdot j\right) \cdot \left(b \cdot x\right)\\ \mathbf{elif}\;i \leq 1.9 \cdot 10^{+165}:\\ \;\;\;\;\mathsf{fma}\left(k, y5, \left(-x\right) \cdot c\right) \cdot \left(i \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(c, z, \left(-y5\right) \cdot j\right) \cdot \left(i \cdot t\right)\\ \end{array} \end{array} \]
                                                                                                                                                                    (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                     :precision binary64
                                                                                                                                                                     (if (<= i -3.4e-60)
                                                                                                                                                                       (* (fma t z (* (- x) y)) (* i c))
                                                                                                                                                                       (if (<= i 9.6e-238)
                                                                                                                                                                         (* (fma b y (* (- y2) y1)) (* a x))
                                                                                                                                                                         (if (<= i 4.8e+41)
                                                                                                                                                                           (* (fma a y (* (- y0) j)) (* b x))
                                                                                                                                                                           (if (<= i 1.9e+165)
                                                                                                                                                                             (* (fma k y5 (* (- x) c)) (* i y))
                                                                                                                                                                             (* (fma c z (* (- y5) j)) (* 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 (i <= -3.4e-60) {
                                                                                                                                                                    		tmp = fma(t, z, (-x * y)) * (i * c);
                                                                                                                                                                    	} else if (i <= 9.6e-238) {
                                                                                                                                                                    		tmp = fma(b, y, (-y2 * y1)) * (a * x);
                                                                                                                                                                    	} else if (i <= 4.8e+41) {
                                                                                                                                                                    		tmp = fma(a, y, (-y0 * j)) * (b * x);
                                                                                                                                                                    	} else if (i <= 1.9e+165) {
                                                                                                                                                                    		tmp = fma(k, y5, (-x * c)) * (i * y);
                                                                                                                                                                    	} else {
                                                                                                                                                                    		tmp = fma(c, z, (-y5 * j)) * (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 (i <= -3.4e-60)
                                                                                                                                                                    		tmp = Float64(fma(t, z, Float64(Float64(-x) * y)) * Float64(i * c));
                                                                                                                                                                    	elseif (i <= 9.6e-238)
                                                                                                                                                                    		tmp = Float64(fma(b, y, Float64(Float64(-y2) * y1)) * Float64(a * x));
                                                                                                                                                                    	elseif (i <= 4.8e+41)
                                                                                                                                                                    		tmp = Float64(fma(a, y, Float64(Float64(-y0) * j)) * Float64(b * x));
                                                                                                                                                                    	elseif (i <= 1.9e+165)
                                                                                                                                                                    		tmp = Float64(fma(k, y5, Float64(Float64(-x) * c)) * Float64(i * y));
                                                                                                                                                                    	else
                                                                                                                                                                    		tmp = Float64(fma(c, z, Float64(Float64(-y5) * j)) * 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[i, -3.4e-60], N[(N[(t * z + N[((-x) * y), $MachinePrecision]), $MachinePrecision] * N[(i * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 9.6e-238], N[(N[(b * y + N[((-y2) * y1), $MachinePrecision]), $MachinePrecision] * N[(a * x), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 4.8e+41], N[(N[(a * y + N[((-y0) * j), $MachinePrecision]), $MachinePrecision] * N[(b * x), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.9e+165], N[(N[(k * y5 + N[((-x) * c), $MachinePrecision]), $MachinePrecision] * N[(i * y), $MachinePrecision]), $MachinePrecision], N[(N[(c * z + N[((-y5) * j), $MachinePrecision]), $MachinePrecision] * N[(i * t), $MachinePrecision]), $MachinePrecision]]]]]
                                                                                                                                                                    
                                                                                                                                                                    \begin{array}{l}
                                                                                                                                                                    
                                                                                                                                                                    \\
                                                                                                                                                                    \begin{array}{l}
                                                                                                                                                                    \mathbf{if}\;i \leq -3.4 \cdot 10^{-60}:\\
                                                                                                                                                                    \;\;\;\;\mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right) \cdot \left(i \cdot c\right)\\
                                                                                                                                                                    
                                                                                                                                                                    \mathbf{elif}\;i \leq 9.6 \cdot 10^{-238}:\\
                                                                                                                                                                    \;\;\;\;\mathsf{fma}\left(b, y, \left(-y2\right) \cdot y1\right) \cdot \left(a \cdot x\right)\\
                                                                                                                                                                    
                                                                                                                                                                    \mathbf{elif}\;i \leq 4.8 \cdot 10^{+41}:\\
                                                                                                                                                                    \;\;\;\;\mathsf{fma}\left(a, y, \left(-y0\right) \cdot j\right) \cdot \left(b \cdot x\right)\\
                                                                                                                                                                    
                                                                                                                                                                    \mathbf{elif}\;i \leq 1.9 \cdot 10^{+165}:\\
                                                                                                                                                                    \;\;\;\;\mathsf{fma}\left(k, y5, \left(-x\right) \cdot c\right) \cdot \left(i \cdot y\right)\\
                                                                                                                                                                    
                                                                                                                                                                    \mathbf{else}:\\
                                                                                                                                                                    \;\;\;\;\mathsf{fma}\left(c, z, \left(-y5\right) \cdot j\right) \cdot \left(i \cdot t\right)\\
                                                                                                                                                                    
                                                                                                                                                                    
                                                                                                                                                                    \end{array}
                                                                                                                                                                    \end{array}
                                                                                                                                                                    
                                                                                                                                                                    Derivation
                                                                                                                                                                    1. Split input into 5 regimes
                                                                                                                                                                    2. if i < -3.40000000000000007e-60

                                                                                                                                                                      1. Initial program 31.2%

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

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

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

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

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

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

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

                                                                                                                                                                        if -3.40000000000000007e-60 < i < 9.5999999999999994e-238

                                                                                                                                                                        1. Initial program 52.6%

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

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

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

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

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

                                                                                                                                                                          \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                          1. Applied rewrites14.0%

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

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

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

                                                                                                                                                                            if 9.5999999999999994e-238 < i < 4.8000000000000003e41

                                                                                                                                                                            1. Initial program 20.0%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                if 4.8000000000000003e41 < i < 1.89999999999999995e165

                                                                                                                                                                                1. Initial program 29.9%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                    if 1.89999999999999995e165 < i

                                                                                                                                                                                    1. Initial program 16.7%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                        \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -3.4 \cdot 10^{-60}:\\ \;\;\;\;\mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right) \cdot \left(i \cdot c\right)\\ \mathbf{elif}\;i \leq 9.6 \cdot 10^{-238}:\\ \;\;\;\;\mathsf{fma}\left(b, y, \left(-y2\right) \cdot y1\right) \cdot \left(a \cdot x\right)\\ \mathbf{elif}\;i \leq 4.8 \cdot 10^{+41}:\\ \;\;\;\;\mathsf{fma}\left(a, y, \left(-y0\right) \cdot j\right) \cdot \left(b \cdot x\right)\\ \mathbf{elif}\;i \leq 1.9 \cdot 10^{+165}:\\ \;\;\;\;\mathsf{fma}\left(k, y5, \left(-x\right) \cdot c\right) \cdot \left(i \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(c, z, \left(-y5\right) \cdot j\right) \cdot \left(i \cdot t\right)\\ \end{array} \]
                                                                                                                                                                                      6. Add Preprocessing

                                                                                                                                                                                      Alternative 20: 29.8% accurate, 4.2× speedup?

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

                                                                                                                                                                                        1. Initial program 28.4%

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

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

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

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

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

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

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

                                                                                                                                                                                          if -7.7e-59 < i < 5.6000000000000002e-151

                                                                                                                                                                                          1. Initial program 44.7%

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

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

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

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

                                                                                                                                                                                            if 5.6000000000000002e-151 < i < 1.6000000000000001e-55

                                                                                                                                                                                            1. Initial program 28.5%

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

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

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

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

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

                                                                                                                                                                                              \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                              1. Applied rewrites64.9%

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

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

                                                                                                                                                                                                  \[\leadsto -b \cdot \left(\left(j \cdot x\right) \cdot y0\right) \]

                                                                                                                                                                                                if 8e153 < i

                                                                                                                                                                                                1. Initial program 21.2%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -7.7 \cdot 10^{-59}:\\ \;\;\;\;\mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right) \cdot \left(i \cdot c\right)\\ \mathbf{elif}\;i \leq 5.6 \cdot 10^{-151}:\\ \;\;\;\;\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right) \cdot \left(y5 \cdot y3\right)\\ \mathbf{elif}\;i \leq 1.6 \cdot 10^{-55}:\\ \;\;\;\;-\left(\left(j \cdot x\right) \cdot y0\right) \cdot b\\ \mathbf{elif}\;i \leq 8 \cdot 10^{+153}:\\ \;\;\;\;\mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right) \cdot \left(i \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(c, z, \left(-y5\right) \cdot j\right) \cdot \left(i \cdot t\right)\\ \end{array} \]
                                                                                                                                                                                                  6. Add Preprocessing

                                                                                                                                                                                                  Alternative 21: 22.1% accurate, 4.8× speedup?

                                                                                                                                                                                                  \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -3 \cdot 10^{+41}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot i\right) \cdot c\\ \mathbf{elif}\;z \leq -1.22 \cdot 10^{-193}:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{elif}\;z \leq 2 \cdot 10^{-264}:\\ \;\;\;\;\left(\left(y2 \cdot k\right) \cdot y4\right) \cdot y1\\ \mathbf{elif}\;z \leq 3800000000000:\\ \;\;\;\;\left(-i\right) \cdot \left(\left(j \cdot t\right) \cdot y5\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(c \cdot z\right) \cdot i\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
                                                                                                                                                                                                   (if (<= z -3e+41)
                                                                                                                                                                                                     (* (* (* t z) i) c)
                                                                                                                                                                                                     (if (<= z -1.22e-193)
                                                                                                                                                                                                       (* (* (* j x) y1) i)
                                                                                                                                                                                                       (if (<= z 2e-264)
                                                                                                                                                                                                         (* (* (* y2 k) y4) y1)
                                                                                                                                                                                                         (if (<= z 3800000000000.0)
                                                                                                                                                                                                           (* (- i) (* (* j t) y5))
                                                                                                                                                                                                           (* (* (* c z) 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 (z <= -3e+41) {
                                                                                                                                                                                                  		tmp = ((t * z) * i) * c;
                                                                                                                                                                                                  	} else if (z <= -1.22e-193) {
                                                                                                                                                                                                  		tmp = ((j * x) * y1) * i;
                                                                                                                                                                                                  	} else if (z <= 2e-264) {
                                                                                                                                                                                                  		tmp = ((y2 * k) * y4) * y1;
                                                                                                                                                                                                  	} else if (z <= 3800000000000.0) {
                                                                                                                                                                                                  		tmp = -i * ((j * t) * y5);
                                                                                                                                                                                                  	} else {
                                                                                                                                                                                                  		tmp = ((c * z) * i) * t;
                                                                                                                                                                                                  	}
                                                                                                                                                                                                  	return tmp;
                                                                                                                                                                                                  }
                                                                                                                                                                                                  
                                                                                                                                                                                                  real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                      real(8), intent (in) :: x
                                                                                                                                                                                                      real(8), intent (in) :: y
                                                                                                                                                                                                      real(8), intent (in) :: z
                                                                                                                                                                                                      real(8), intent (in) :: t
                                                                                                                                                                                                      real(8), intent (in) :: a
                                                                                                                                                                                                      real(8), intent (in) :: b
                                                                                                                                                                                                      real(8), intent (in) :: c
                                                                                                                                                                                                      real(8), intent (in) :: i
                                                                                                                                                                                                      real(8), intent (in) :: j
                                                                                                                                                                                                      real(8), intent (in) :: k
                                                                                                                                                                                                      real(8), intent (in) :: y0
                                                                                                                                                                                                      real(8), intent (in) :: y1
                                                                                                                                                                                                      real(8), intent (in) :: y2
                                                                                                                                                                                                      real(8), intent (in) :: y3
                                                                                                                                                                                                      real(8), intent (in) :: y4
                                                                                                                                                                                                      real(8), intent (in) :: y5
                                                                                                                                                                                                      real(8) :: tmp
                                                                                                                                                                                                      if (z <= (-3d+41)) then
                                                                                                                                                                                                          tmp = ((t * z) * i) * c
                                                                                                                                                                                                      else if (z <= (-1.22d-193)) then
                                                                                                                                                                                                          tmp = ((j * x) * y1) * i
                                                                                                                                                                                                      else if (z <= 2d-264) then
                                                                                                                                                                                                          tmp = ((y2 * k) * y4) * y1
                                                                                                                                                                                                      else if (z <= 3800000000000.0d0) then
                                                                                                                                                                                                          tmp = -i * ((j * t) * y5)
                                                                                                                                                                                                      else
                                                                                                                                                                                                          tmp = ((c * z) * i) * t
                                                                                                                                                                                                      end if
                                                                                                                                                                                                      code = tmp
                                                                                                                                                                                                  end function
                                                                                                                                                                                                  
                                                                                                                                                                                                  public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                  	double tmp;
                                                                                                                                                                                                  	if (z <= -3e+41) {
                                                                                                                                                                                                  		tmp = ((t * z) * i) * c;
                                                                                                                                                                                                  	} else if (z <= -1.22e-193) {
                                                                                                                                                                                                  		tmp = ((j * x) * y1) * i;
                                                                                                                                                                                                  	} else if (z <= 2e-264) {
                                                                                                                                                                                                  		tmp = ((y2 * k) * y4) * y1;
                                                                                                                                                                                                  	} else if (z <= 3800000000000.0) {
                                                                                                                                                                                                  		tmp = -i * ((j * t) * y5);
                                                                                                                                                                                                  	} else {
                                                                                                                                                                                                  		tmp = ((c * z) * i) * t;
                                                                                                                                                                                                  	}
                                                                                                                                                                                                  	return tmp;
                                                                                                                                                                                                  }
                                                                                                                                                                                                  
                                                                                                                                                                                                  def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                  	tmp = 0
                                                                                                                                                                                                  	if z <= -3e+41:
                                                                                                                                                                                                  		tmp = ((t * z) * i) * c
                                                                                                                                                                                                  	elif z <= -1.22e-193:
                                                                                                                                                                                                  		tmp = ((j * x) * y1) * i
                                                                                                                                                                                                  	elif z <= 2e-264:
                                                                                                                                                                                                  		tmp = ((y2 * k) * y4) * y1
                                                                                                                                                                                                  	elif z <= 3800000000000.0:
                                                                                                                                                                                                  		tmp = -i * ((j * t) * y5)
                                                                                                                                                                                                  	else:
                                                                                                                                                                                                  		tmp = ((c * z) * 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 (z <= -3e+41)
                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(t * z) * i) * c);
                                                                                                                                                                                                  	elseif (z <= -1.22e-193)
                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(j * x) * y1) * i);
                                                                                                                                                                                                  	elseif (z <= 2e-264)
                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(y2 * k) * y4) * y1);
                                                                                                                                                                                                  	elseif (z <= 3800000000000.0)
                                                                                                                                                                                                  		tmp = Float64(Float64(-i) * Float64(Float64(j * t) * y5));
                                                                                                                                                                                                  	else
                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(c * z) * i) * t);
                                                                                                                                                                                                  	end
                                                                                                                                                                                                  	return tmp
                                                                                                                                                                                                  end
                                                                                                                                                                                                  
                                                                                                                                                                                                  function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                  	tmp = 0.0;
                                                                                                                                                                                                  	if (z <= -3e+41)
                                                                                                                                                                                                  		tmp = ((t * z) * i) * c;
                                                                                                                                                                                                  	elseif (z <= -1.22e-193)
                                                                                                                                                                                                  		tmp = ((j * x) * y1) * i;
                                                                                                                                                                                                  	elseif (z <= 2e-264)
                                                                                                                                                                                                  		tmp = ((y2 * k) * y4) * y1;
                                                                                                                                                                                                  	elseif (z <= 3800000000000.0)
                                                                                                                                                                                                  		tmp = -i * ((j * t) * y5);
                                                                                                                                                                                                  	else
                                                                                                                                                                                                  		tmp = ((c * z) * i) * t;
                                                                                                                                                                                                  	end
                                                                                                                                                                                                  	tmp_2 = tmp;
                                                                                                                                                                                                  end
                                                                                                                                                                                                  
                                                                                                                                                                                                  code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -3e+41], N[(N[(N[(t * z), $MachinePrecision] * i), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[z, -1.22e-193], N[(N[(N[(j * x), $MachinePrecision] * y1), $MachinePrecision] * i), $MachinePrecision], If[LessEqual[z, 2e-264], N[(N[(N[(y2 * k), $MachinePrecision] * y4), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[z, 3800000000000.0], N[((-i) * N[(N[(j * t), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision], N[(N[(N[(c * z), $MachinePrecision] * i), $MachinePrecision] * t), $MachinePrecision]]]]]
                                                                                                                                                                                                  
                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                  
                                                                                                                                                                                                  \\
                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                  \mathbf{if}\;z \leq -3 \cdot 10^{+41}:\\
                                                                                                                                                                                                  \;\;\;\;\left(\left(t \cdot z\right) \cdot i\right) \cdot c\\
                                                                                                                                                                                                  
                                                                                                                                                                                                  \mathbf{elif}\;z \leq -1.22 \cdot 10^{-193}:\\
                                                                                                                                                                                                  \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\
                                                                                                                                                                                                  
                                                                                                                                                                                                  \mathbf{elif}\;z \leq 2 \cdot 10^{-264}:\\
                                                                                                                                                                                                  \;\;\;\;\left(\left(y2 \cdot k\right) \cdot y4\right) \cdot y1\\
                                                                                                                                                                                                  
                                                                                                                                                                                                  \mathbf{elif}\;z \leq 3800000000000:\\
                                                                                                                                                                                                  \;\;\;\;\left(-i\right) \cdot \left(\left(j \cdot t\right) \cdot y5\right)\\
                                                                                                                                                                                                  
                                                                                                                                                                                                  \mathbf{else}:\\
                                                                                                                                                                                                  \;\;\;\;\left(\left(c \cdot z\right) \cdot i\right) \cdot t\\
                                                                                                                                                                                                  
                                                                                                                                                                                                  
                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                  
                                                                                                                                                                                                  Derivation
                                                                                                                                                                                                  1. Split input into 5 regimes
                                                                                                                                                                                                  2. if z < -2.9999999999999998e41

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                        if -2.9999999999999998e41 < z < -1.21999999999999988e-193

                                                                                                                                                                                                        1. Initial program 36.2%

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

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

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

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

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

                                                                                                                                                                                                          \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                                          1. Applied rewrites49.7%

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

                                                                                                                                                                                                            \[\leadsto i \cdot \left(j \cdot \color{blue}{\left(x \cdot y1\right)}\right) \]
                                                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                                                            1. Applied rewrites36.9%

                                                                                                                                                                                                              \[\leadsto i \cdot \left(\left(j \cdot x\right) \cdot \color{blue}{y1}\right) \]

                                                                                                                                                                                                            if -1.21999999999999988e-193 < z < 2e-264

                                                                                                                                                                                                            1. Initial program 39.4%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                if 2e-264 < z < 3.8e12

                                                                                                                                                                                                                1. Initial program 40.2%

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

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                        \[\leadsto -i \cdot \left(\left(j \cdot t\right) \cdot y5\right) \]

                                                                                                                                                                                                                      if 3.8e12 < z

                                                                                                                                                                                                                      1. Initial program 28.7%

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

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                            \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -3 \cdot 10^{+41}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot i\right) \cdot c\\ \mathbf{elif}\;z \leq -1.22 \cdot 10^{-193}:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{elif}\;z \leq 2 \cdot 10^{-264}:\\ \;\;\;\;\left(\left(y2 \cdot k\right) \cdot y4\right) \cdot y1\\ \mathbf{elif}\;z \leq 3800000000000:\\ \;\;\;\;\left(-i\right) \cdot \left(\left(j \cdot t\right) \cdot y5\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(c \cdot z\right) \cdot i\right) \cdot t\\ \end{array} \]
                                                                                                                                                                                                                          5. Add Preprocessing

                                                                                                                                                                                                                          Alternative 22: 29.8% accurate, 4.8× speedup?

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

                                                                                                                                                                                                                            1. Initial program 26.9%

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

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

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

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

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

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

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

                                                                                                                                                                                                                              if -7.7e-59 < i < 5.6000000000000002e-151

                                                                                                                                                                                                                              1. Initial program 44.7%

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

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

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

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

                                                                                                                                                                                                                                if 5.6000000000000002e-151 < i < 1.6000000000000001e-55

                                                                                                                                                                                                                                1. Initial program 28.5%

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

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

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

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

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

                                                                                                                                                                                                                                  \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                                                                                                  1. Applied rewrites64.9%

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

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

                                                                                                                                                                                                                                      \[\leadsto -b \cdot \left(\left(j \cdot x\right) \cdot y0\right) \]
                                                                                                                                                                                                                                  4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                  5. Final simplification37.3%

                                                                                                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -7.7 \cdot 10^{-59}:\\ \;\;\;\;\mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right) \cdot \left(i \cdot c\right)\\ \mathbf{elif}\;i \leq 5.6 \cdot 10^{-151}:\\ \;\;\;\;\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right) \cdot \left(y5 \cdot y3\right)\\ \mathbf{elif}\;i \leq 1.6 \cdot 10^{-55}:\\ \;\;\;\;-\left(\left(j \cdot x\right) \cdot y0\right) \cdot b\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right) \cdot \left(i \cdot c\right)\\ \end{array} \]
                                                                                                                                                                                                                                  6. Add Preprocessing

                                                                                                                                                                                                                                  Alternative 23: 24.4% accurate, 4.8× speedup?

                                                                                                                                                                                                                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{if}\;z \leq -3 \cdot 10^{+41}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot i\right) \cdot c\\ \mathbf{elif}\;z \leq -1.2 \cdot 10^{-191}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 1.56 \cdot 10^{-35}:\\ \;\;\;\;\mathsf{fma}\left(i, k, \left(-a\right) \cdot y3\right) \cdot \left(y5 \cdot y\right)\\ \mathbf{elif}\;z \leq 820000000000:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(\left(c \cdot z\right) \cdot i\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 (* (* (* j x) y1) i)))
                                                                                                                                                                                                                                     (if (<= z -3e+41)
                                                                                                                                                                                                                                       (* (* (* t z) i) c)
                                                                                                                                                                                                                                       (if (<= z -1.2e-191)
                                                                                                                                                                                                                                         t_1
                                                                                                                                                                                                                                         (if (<= z 1.56e-35)
                                                                                                                                                                                                                                           (* (fma i k (* (- a) y3)) (* y5 y))
                                                                                                                                                                                                                                           (if (<= z 820000000000.0) t_1 (* (* (* c z) 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 t_1 = ((j * x) * y1) * i;
                                                                                                                                                                                                                                  	double tmp;
                                                                                                                                                                                                                                  	if (z <= -3e+41) {
                                                                                                                                                                                                                                  		tmp = ((t * z) * i) * c;
                                                                                                                                                                                                                                  	} else if (z <= -1.2e-191) {
                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                  	} else if (z <= 1.56e-35) {
                                                                                                                                                                                                                                  		tmp = fma(i, k, (-a * y3)) * (y5 * y);
                                                                                                                                                                                                                                  	} else if (z <= 820000000000.0) {
                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                  	} else {
                                                                                                                                                                                                                                  		tmp = ((c * z) * i) * 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(Float64(j * x) * y1) * i)
                                                                                                                                                                                                                                  	tmp = 0.0
                                                                                                                                                                                                                                  	if (z <= -3e+41)
                                                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(t * z) * i) * c);
                                                                                                                                                                                                                                  	elseif (z <= -1.2e-191)
                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                  	elseif (z <= 1.56e-35)
                                                                                                                                                                                                                                  		tmp = Float64(fma(i, k, Float64(Float64(-a) * y3)) * Float64(y5 * y));
                                                                                                                                                                                                                                  	elseif (z <= 820000000000.0)
                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                  	else
                                                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(c * z) * i) * 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[(N[(j * x), $MachinePrecision] * y1), $MachinePrecision] * i), $MachinePrecision]}, If[LessEqual[z, -3e+41], N[(N[(N[(t * z), $MachinePrecision] * i), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[z, -1.2e-191], t$95$1, If[LessEqual[z, 1.56e-35], N[(N[(i * k + N[((-a) * y3), $MachinePrecision]), $MachinePrecision] * N[(y5 * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 820000000000.0], t$95$1, N[(N[(N[(c * z), $MachinePrecision] * i), $MachinePrecision] * t), $MachinePrecision]]]]]]
                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                  \\
                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                  t_1 := \left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\
                                                                                                                                                                                                                                  \mathbf{if}\;z \leq -3 \cdot 10^{+41}:\\
                                                                                                                                                                                                                                  \;\;\;\;\left(\left(t \cdot z\right) \cdot i\right) \cdot c\\
                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                  \mathbf{elif}\;z \leq -1.2 \cdot 10^{-191}:\\
                                                                                                                                                                                                                                  \;\;\;\;t\_1\\
                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                  \mathbf{elif}\;z \leq 1.56 \cdot 10^{-35}:\\
                                                                                                                                                                                                                                  \;\;\;\;\mathsf{fma}\left(i, k, \left(-a\right) \cdot y3\right) \cdot \left(y5 \cdot y\right)\\
                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                  \mathbf{elif}\;z \leq 820000000000:\\
                                                                                                                                                                                                                                  \;\;\;\;t\_1\\
                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                  \mathbf{else}:\\
                                                                                                                                                                                                                                  \;\;\;\;\left(\left(c \cdot z\right) \cdot i\right) \cdot t\\
                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                  Derivation
                                                                                                                                                                                                                                  1. Split input into 4 regimes
                                                                                                                                                                                                                                  2. if z < -2.9999999999999998e41

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                        if -2.9999999999999998e41 < z < -1.2e-191 or 1.56e-35 < z < 8.2e11

                                                                                                                                                                                                                                        1. Initial program 33.6%

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

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

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

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

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

                                                                                                                                                                                                                                          \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                                                                          1. Applied rewrites49.1%

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

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

                                                                                                                                                                                                                                              \[\leadsto i \cdot \left(\left(j \cdot x\right) \cdot \color{blue}{y1}\right) \]

                                                                                                                                                                                                                                            if -1.2e-191 < z < 1.56e-35

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

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

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

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

                                                                                                                                                                                                                                              if 8.2e11 < z

                                                                                                                                                                                                                                              1. Initial program 29.9%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                      \[\leadsto \left(\left(c \cdot z\right) \cdot i\right) \cdot t \]
                                                                                                                                                                                                                                                  3. Recombined 4 regimes into one program.
                                                                                                                                                                                                                                                  4. Final simplification36.9%

                                                                                                                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -3 \cdot 10^{+41}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot i\right) \cdot c\\ \mathbf{elif}\;z \leq -1.2 \cdot 10^{-191}:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{elif}\;z \leq 1.56 \cdot 10^{-35}:\\ \;\;\;\;\mathsf{fma}\left(i, k, \left(-a\right) \cdot y3\right) \cdot \left(y5 \cdot y\right)\\ \mathbf{elif}\;z \leq 820000000000:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;\left(\left(c \cdot z\right) \cdot i\right) \cdot t\\ \end{array} \]
                                                                                                                                                                                                                                                  5. Add Preprocessing

                                                                                                                                                                                                                                                  Alternative 24: 22.0% accurate, 5.0× speedup?

                                                                                                                                                                                                                                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{if}\;z \leq -3 \cdot 10^{+41}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot i\right) \cdot c\\ \mathbf{elif}\;z \leq -1.2 \cdot 10^{-143}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 4 \cdot 10^{-34}:\\ \;\;\;\;\left(\left(-y4\right) \cdot \left(y3 \cdot j\right)\right) \cdot y1\\ \mathbf{elif}\;z \leq 820000000000:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(\left(c \cdot z\right) \cdot i\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 (* (* (* j x) y1) i)))
                                                                                                                                                                                                                                                     (if (<= z -3e+41)
                                                                                                                                                                                                                                                       (* (* (* t z) i) c)
                                                                                                                                                                                                                                                       (if (<= z -1.2e-143)
                                                                                                                                                                                                                                                         t_1
                                                                                                                                                                                                                                                         (if (<= z 4e-34)
                                                                                                                                                                                                                                                           (* (* (- y4) (* y3 j)) y1)
                                                                                                                                                                                                                                                           (if (<= z 820000000000.0) t_1 (* (* (* c z) 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 t_1 = ((j * x) * y1) * i;
                                                                                                                                                                                                                                                  	double tmp;
                                                                                                                                                                                                                                                  	if (z <= -3e+41) {
                                                                                                                                                                                                                                                  		tmp = ((t * z) * i) * c;
                                                                                                                                                                                                                                                  	} else if (z <= -1.2e-143) {
                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                  	} else if (z <= 4e-34) {
                                                                                                                                                                                                                                                  		tmp = (-y4 * (y3 * j)) * y1;
                                                                                                                                                                                                                                                  	} else if (z <= 820000000000.0) {
                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                  	} else {
                                                                                                                                                                                                                                                  		tmp = ((c * z) * i) * t;
                                                                                                                                                                                                                                                  	}
                                                                                                                                                                                                                                                  	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 = ((j * x) * y1) * i
                                                                                                                                                                                                                                                      if (z <= (-3d+41)) then
                                                                                                                                                                                                                                                          tmp = ((t * z) * i) * c
                                                                                                                                                                                                                                                      else if (z <= (-1.2d-143)) then
                                                                                                                                                                                                                                                          tmp = t_1
                                                                                                                                                                                                                                                      else if (z <= 4d-34) then
                                                                                                                                                                                                                                                          tmp = (-y4 * (y3 * j)) * y1
                                                                                                                                                                                                                                                      else if (z <= 820000000000.0d0) then
                                                                                                                                                                                                                                                          tmp = t_1
                                                                                                                                                                                                                                                      else
                                                                                                                                                                                                                                                          tmp = ((c * z) * i) * t
                                                                                                                                                                                                                                                      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 = ((j * x) * y1) * i;
                                                                                                                                                                                                                                                  	double tmp;
                                                                                                                                                                                                                                                  	if (z <= -3e+41) {
                                                                                                                                                                                                                                                  		tmp = ((t * z) * i) * c;
                                                                                                                                                                                                                                                  	} else if (z <= -1.2e-143) {
                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                  	} else if (z <= 4e-34) {
                                                                                                                                                                                                                                                  		tmp = (-y4 * (y3 * j)) * y1;
                                                                                                                                                                                                                                                  	} else if (z <= 820000000000.0) {
                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                  	} else {
                                                                                                                                                                                                                                                  		tmp = ((c * z) * i) * t;
                                                                                                                                                                                                                                                  	}
                                                                                                                                                                                                                                                  	return tmp;
                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                  	t_1 = ((j * x) * y1) * i
                                                                                                                                                                                                                                                  	tmp = 0
                                                                                                                                                                                                                                                  	if z <= -3e+41:
                                                                                                                                                                                                                                                  		tmp = ((t * z) * i) * c
                                                                                                                                                                                                                                                  	elif z <= -1.2e-143:
                                                                                                                                                                                                                                                  		tmp = t_1
                                                                                                                                                                                                                                                  	elif z <= 4e-34:
                                                                                                                                                                                                                                                  		tmp = (-y4 * (y3 * j)) * y1
                                                                                                                                                                                                                                                  	elif z <= 820000000000.0:
                                                                                                                                                                                                                                                  		tmp = t_1
                                                                                                                                                                                                                                                  	else:
                                                                                                                                                                                                                                                  		tmp = ((c * z) * i) * 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(Float64(j * x) * y1) * i)
                                                                                                                                                                                                                                                  	tmp = 0.0
                                                                                                                                                                                                                                                  	if (z <= -3e+41)
                                                                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(t * z) * i) * c);
                                                                                                                                                                                                                                                  	elseif (z <= -1.2e-143)
                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                  	elseif (z <= 4e-34)
                                                                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(-y4) * Float64(y3 * j)) * y1);
                                                                                                                                                                                                                                                  	elseif (z <= 820000000000.0)
                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                  	else
                                                                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(c * z) * i) * t);
                                                                                                                                                                                                                                                  	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 = ((j * x) * y1) * i;
                                                                                                                                                                                                                                                  	tmp = 0.0;
                                                                                                                                                                                                                                                  	if (z <= -3e+41)
                                                                                                                                                                                                                                                  		tmp = ((t * z) * i) * c;
                                                                                                                                                                                                                                                  	elseif (z <= -1.2e-143)
                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                  	elseif (z <= 4e-34)
                                                                                                                                                                                                                                                  		tmp = (-y4 * (y3 * j)) * y1;
                                                                                                                                                                                                                                                  	elseif (z <= 820000000000.0)
                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                  	else
                                                                                                                                                                                                                                                  		tmp = ((c * z) * i) * t;
                                                                                                                                                                                                                                                  	end
                                                                                                                                                                                                                                                  	tmp_2 = tmp;
                                                                                                                                                                                                                                                  end
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(j * x), $MachinePrecision] * y1), $MachinePrecision] * i), $MachinePrecision]}, If[LessEqual[z, -3e+41], N[(N[(N[(t * z), $MachinePrecision] * i), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[z, -1.2e-143], t$95$1, If[LessEqual[z, 4e-34], N[(N[((-y4) * N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[z, 820000000000.0], t$95$1, N[(N[(N[(c * z), $MachinePrecision] * i), $MachinePrecision] * t), $MachinePrecision]]]]]]
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  \\
                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                  t_1 := \left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\
                                                                                                                                                                                                                                                  \mathbf{if}\;z \leq -3 \cdot 10^{+41}:\\
                                                                                                                                                                                                                                                  \;\;\;\;\left(\left(t \cdot z\right) \cdot i\right) \cdot c\\
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  \mathbf{elif}\;z \leq -1.2 \cdot 10^{-143}:\\
                                                                                                                                                                                                                                                  \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  \mathbf{elif}\;z \leq 4 \cdot 10^{-34}:\\
                                                                                                                                                                                                                                                  \;\;\;\;\left(\left(-y4\right) \cdot \left(y3 \cdot j\right)\right) \cdot y1\\
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  \mathbf{elif}\;z \leq 820000000000:\\
                                                                                                                                                                                                                                                  \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  \mathbf{else}:\\
                                                                                                                                                                                                                                                  \;\;\;\;\left(\left(c \cdot z\right) \cdot i\right) \cdot t\\
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  Derivation
                                                                                                                                                                                                                                                  1. Split input into 4 regimes
                                                                                                                                                                                                                                                  2. if z < -2.9999999999999998e41

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                        if -2.9999999999999998e41 < z < -1.1999999999999999e-143 or 3.99999999999999971e-34 < z < 8.2e11

                                                                                                                                                                                                                                                        1. Initial program 33.7%

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                              \[\leadsto i \cdot \left(\left(j \cdot x\right) \cdot \color{blue}{y1}\right) \]

                                                                                                                                                                                                                                                            if -1.1999999999999999e-143 < z < 3.99999999999999971e-34

                                                                                                                                                                                                                                                            1. Initial program 40.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 rewrites41.4%

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

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

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

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

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

                                                                                                                                                                                                                                                                if 8.2e11 < z

                                                                                                                                                                                                                                                                1. Initial program 29.9%

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

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -3 \cdot 10^{+41}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot i\right) \cdot c\\ \mathbf{elif}\;z \leq -1.2 \cdot 10^{-143}:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{elif}\;z \leq 4 \cdot 10^{-34}:\\ \;\;\;\;\left(\left(-y4\right) \cdot \left(y3 \cdot j\right)\right) \cdot y1\\ \mathbf{elif}\;z \leq 820000000000:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;\left(\left(c \cdot z\right) \cdot i\right) \cdot t\\ \end{array} \]
                                                                                                                                                                                                                                                                    5. Add Preprocessing

                                                                                                                                                                                                                                                                    Alternative 25: 22.0% accurate, 5.0× speedup?

                                                                                                                                                                                                                                                                    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{if}\;z \leq -3 \cdot 10^{+41}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot i\right) \cdot c\\ \mathbf{elif}\;z \leq -1.16 \cdot 10^{-143}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 4 \cdot 10^{-34}:\\ \;\;\;\;\left(\left(\left(-y4\right) \cdot y3\right) \cdot j\right) \cdot y1\\ \mathbf{elif}\;z \leq 820000000000:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(\left(c \cdot z\right) \cdot i\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 (* (* (* j x) y1) i)))
                                                                                                                                                                                                                                                                       (if (<= z -3e+41)
                                                                                                                                                                                                                                                                         (* (* (* t z) i) c)
                                                                                                                                                                                                                                                                         (if (<= z -1.16e-143)
                                                                                                                                                                                                                                                                           t_1
                                                                                                                                                                                                                                                                           (if (<= z 4e-34)
                                                                                                                                                                                                                                                                             (* (* (* (- y4) y3) j) y1)
                                                                                                                                                                                                                                                                             (if (<= z 820000000000.0) t_1 (* (* (* c z) 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 t_1 = ((j * x) * y1) * i;
                                                                                                                                                                                                                                                                    	double tmp;
                                                                                                                                                                                                                                                                    	if (z <= -3e+41) {
                                                                                                                                                                                                                                                                    		tmp = ((t * z) * i) * c;
                                                                                                                                                                                                                                                                    	} else if (z <= -1.16e-143) {
                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                    	} else if (z <= 4e-34) {
                                                                                                                                                                                                                                                                    		tmp = ((-y4 * y3) * j) * y1;
                                                                                                                                                                                                                                                                    	} else if (z <= 820000000000.0) {
                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                    	} else {
                                                                                                                                                                                                                                                                    		tmp = ((c * z) * i) * t;
                                                                                                                                                                                                                                                                    	}
                                                                                                                                                                                                                                                                    	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 = ((j * x) * y1) * i
                                                                                                                                                                                                                                                                        if (z <= (-3d+41)) then
                                                                                                                                                                                                                                                                            tmp = ((t * z) * i) * c
                                                                                                                                                                                                                                                                        else if (z <= (-1.16d-143)) then
                                                                                                                                                                                                                                                                            tmp = t_1
                                                                                                                                                                                                                                                                        else if (z <= 4d-34) then
                                                                                                                                                                                                                                                                            tmp = ((-y4 * y3) * j) * y1
                                                                                                                                                                                                                                                                        else if (z <= 820000000000.0d0) then
                                                                                                                                                                                                                                                                            tmp = t_1
                                                                                                                                                                                                                                                                        else
                                                                                                                                                                                                                                                                            tmp = ((c * z) * i) * t
                                                                                                                                                                                                                                                                        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 = ((j * x) * y1) * i;
                                                                                                                                                                                                                                                                    	double tmp;
                                                                                                                                                                                                                                                                    	if (z <= -3e+41) {
                                                                                                                                                                                                                                                                    		tmp = ((t * z) * i) * c;
                                                                                                                                                                                                                                                                    	} else if (z <= -1.16e-143) {
                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                    	} else if (z <= 4e-34) {
                                                                                                                                                                                                                                                                    		tmp = ((-y4 * y3) * j) * y1;
                                                                                                                                                                                                                                                                    	} else if (z <= 820000000000.0) {
                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                    	} else {
                                                                                                                                                                                                                                                                    		tmp = ((c * z) * i) * t;
                                                                                                                                                                                                                                                                    	}
                                                                                                                                                                                                                                                                    	return tmp;
                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                    	t_1 = ((j * x) * y1) * i
                                                                                                                                                                                                                                                                    	tmp = 0
                                                                                                                                                                                                                                                                    	if z <= -3e+41:
                                                                                                                                                                                                                                                                    		tmp = ((t * z) * i) * c
                                                                                                                                                                                                                                                                    	elif z <= -1.16e-143:
                                                                                                                                                                                                                                                                    		tmp = t_1
                                                                                                                                                                                                                                                                    	elif z <= 4e-34:
                                                                                                                                                                                                                                                                    		tmp = ((-y4 * y3) * j) * y1
                                                                                                                                                                                                                                                                    	elif z <= 820000000000.0:
                                                                                                                                                                                                                                                                    		tmp = t_1
                                                                                                                                                                                                                                                                    	else:
                                                                                                                                                                                                                                                                    		tmp = ((c * z) * i) * 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(Float64(j * x) * y1) * i)
                                                                                                                                                                                                                                                                    	tmp = 0.0
                                                                                                                                                                                                                                                                    	if (z <= -3e+41)
                                                                                                                                                                                                                                                                    		tmp = Float64(Float64(Float64(t * z) * i) * c);
                                                                                                                                                                                                                                                                    	elseif (z <= -1.16e-143)
                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                    	elseif (z <= 4e-34)
                                                                                                                                                                                                                                                                    		tmp = Float64(Float64(Float64(Float64(-y4) * y3) * j) * y1);
                                                                                                                                                                                                                                                                    	elseif (z <= 820000000000.0)
                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                    	else
                                                                                                                                                                                                                                                                    		tmp = Float64(Float64(Float64(c * z) * i) * t);
                                                                                                                                                                                                                                                                    	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 = ((j * x) * y1) * i;
                                                                                                                                                                                                                                                                    	tmp = 0.0;
                                                                                                                                                                                                                                                                    	if (z <= -3e+41)
                                                                                                                                                                                                                                                                    		tmp = ((t * z) * i) * c;
                                                                                                                                                                                                                                                                    	elseif (z <= -1.16e-143)
                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                    	elseif (z <= 4e-34)
                                                                                                                                                                                                                                                                    		tmp = ((-y4 * y3) * j) * y1;
                                                                                                                                                                                                                                                                    	elseif (z <= 820000000000.0)
                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                    	else
                                                                                                                                                                                                                                                                    		tmp = ((c * z) * i) * t;
                                                                                                                                                                                                                                                                    	end
                                                                                                                                                                                                                                                                    	tmp_2 = tmp;
                                                                                                                                                                                                                                                                    end
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(j * x), $MachinePrecision] * y1), $MachinePrecision] * i), $MachinePrecision]}, If[LessEqual[z, -3e+41], N[(N[(N[(t * z), $MachinePrecision] * i), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[z, -1.16e-143], t$95$1, If[LessEqual[z, 4e-34], N[(N[(N[((-y4) * y3), $MachinePrecision] * j), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[z, 820000000000.0], t$95$1, N[(N[(N[(c * z), $MachinePrecision] * i), $MachinePrecision] * t), $MachinePrecision]]]]]]
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    \begin{array}{l}
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    \\
                                                                                                                                                                                                                                                                    \begin{array}{l}
                                                                                                                                                                                                                                                                    t_1 := \left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\
                                                                                                                                                                                                                                                                    \mathbf{if}\;z \leq -3 \cdot 10^{+41}:\\
                                                                                                                                                                                                                                                                    \;\;\;\;\left(\left(t \cdot z\right) \cdot i\right) \cdot c\\
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    \mathbf{elif}\;z \leq -1.16 \cdot 10^{-143}:\\
                                                                                                                                                                                                                                                                    \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    \mathbf{elif}\;z \leq 4 \cdot 10^{-34}:\\
                                                                                                                                                                                                                                                                    \;\;\;\;\left(\left(\left(-y4\right) \cdot y3\right) \cdot j\right) \cdot y1\\
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    \mathbf{elif}\;z \leq 820000000000:\\
                                                                                                                                                                                                                                                                    \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    \mathbf{else}:\\
                                                                                                                                                                                                                                                                    \;\;\;\;\left(\left(c \cdot z\right) \cdot i\right) \cdot t\\
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    \end{array}
                                                                                                                                                                                                                                                                    \end{array}
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    Derivation
                                                                                                                                                                                                                                                                    1. Split input into 4 regimes
                                                                                                                                                                                                                                                                    2. if z < -2.9999999999999998e41

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                          if -2.9999999999999998e41 < z < -1.16000000000000008e-143 or 3.99999999999999971e-34 < z < 8.2e11

                                                                                                                                                                                                                                                                          1. Initial program 33.7%

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                \[\leadsto i \cdot \left(\left(j \cdot x\right) \cdot \color{blue}{y1}\right) \]

                                                                                                                                                                                                                                                                              if -1.16000000000000008e-143 < z < 3.99999999999999971e-34

                                                                                                                                                                                                                                                                              1. Initial program 40.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 rewrites41.4%

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

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

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

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

                                                                                                                                                                                                                                                                                    \[\leadsto \left(y3 \cdot \mathsf{fma}\left(a, z, -j \cdot y4\right)\right) \cdot y1 \]
                                                                                                                                                                                                                                                                                  2. Taylor expanded in a 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 rewrites22.9%

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

                                                                                                                                                                                                                                                                                    if 8.2e11 < z

                                                                                                                                                                                                                                                                                    1. Initial program 29.9%

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

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -3 \cdot 10^{+41}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot i\right) \cdot c\\ \mathbf{elif}\;z \leq -1.16 \cdot 10^{-143}:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{elif}\;z \leq 4 \cdot 10^{-34}:\\ \;\;\;\;\left(\left(\left(-y4\right) \cdot y3\right) \cdot j\right) \cdot y1\\ \mathbf{elif}\;z \leq 820000000000:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;\left(\left(c \cdot z\right) \cdot i\right) \cdot t\\ \end{array} \]
                                                                                                                                                                                                                                                                                        5. Add Preprocessing

                                                                                                                                                                                                                                                                                        Alternative 26: 32.2% accurate, 5.6× speedup?

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

                                                                                                                                                                                                                                                                                          1. Initial program 30.0%

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

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

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

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

                                                                                                                                                                                                                                                                                            if -1600 < y5 < 2.4e17

                                                                                                                                                                                                                                                                                            1. Initial program 29.6%

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                              if 2.4e17 < y5

                                                                                                                                                                                                                                                                                              1. Initial program 42.1%

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

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

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

                                                                                                                                                                                                                                                                                                  \[\leadsto \left(i \cdot \mathsf{fma}\left(-j, t, k \cdot y\right)\right) \cdot y5 \]
                                                                                                                                                                                                                                                                                              8. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                                                              9. Final simplification41.0%

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

                                                                                                                                                                                                                                                                                              Alternative 27: 30.6% accurate, 5.6× speedup?

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

                                                                                                                                                                                                                                                                                                1. Initial program 30.0%

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

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

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

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

                                                                                                                                                                                                                                                                                                  if -1250 < y5 < 1.30000000000000005e-65

                                                                                                                                                                                                                                                                                                  1. Initial program 30.0%

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                    if 1.30000000000000005e-65 < y5

                                                                                                                                                                                                                                                                                                    1. Initial program 39.0%

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

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

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

                                                                                                                                                                                                                                                                                                        \[\leadsto \left(i \cdot \mathsf{fma}\left(-j, t, k \cdot y\right)\right) \cdot y5 \]
                                                                                                                                                                                                                                                                                                    8. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                                                                    9. Final simplification39.1%

                                                                                                                                                                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -1250:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y2\right) \cdot y5\\ \mathbf{elif}\;y5 \leq 1.3 \cdot 10^{-65}:\\ \;\;\;\;\mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right) \cdot \left(i \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-j, t, k \cdot y\right) \cdot i\right) \cdot y5\\ \end{array} \]
                                                                                                                                                                                                                                                                                                    10. Add Preprocessing

                                                                                                                                                                                                                                                                                                    Alternative 28: 21.9% accurate, 7.2× speedup?

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

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                          if -2.9999999999999998e41 < z < 8.2e11

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

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

                                                                                                                                                                                                                                                                                                            \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                            1. Applied rewrites28.9%

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

                                                                                                                                                                                                                                                                                                              \[\leadsto i \cdot \left(j \cdot \color{blue}{\left(x \cdot y1\right)}\right) \]
                                                                                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                              1. Applied rewrites20.9%

                                                                                                                                                                                                                                                                                                                \[\leadsto i \cdot \left(\left(j \cdot x\right) \cdot \color{blue}{y1}\right) \]

                                                                                                                                                                                                                                                                                                              if 8.2e11 < z

                                                                                                                                                                                                                                                                                                              1. Initial program 29.9%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(\left(c \cdot z\right) \cdot i\right) \cdot t \]
                                                                                                                                                                                                                                                                                                                  3. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                                                                                  4. Final simplification30.2%

                                                                                                                                                                                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -3 \cdot 10^{+41}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot i\right) \cdot c\\ \mathbf{elif}\;z \leq 820000000000:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;\left(\left(c \cdot z\right) \cdot i\right) \cdot t\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                  5. Add Preprocessing

                                                                                                                                                                                                                                                                                                                  Alternative 29: 18.6% accurate, 9.2× speedup?

                                                                                                                                                                                                                                                                                                                  \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -1 \cdot 10^{+58}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot i\right) \cdot c\\ \mathbf{else}:\\ \;\;\;\;\left(\left(i \cdot c\right) \cdot t\right) \cdot z\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                  (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                   :precision binary64
                                                                                                                                                                                                                                                                                                                   (if (<= z -1e+58) (* (* (* t z) i) c) (* (* (* i c) t) z)))
                                                                                                                                                                                                                                                                                                                  double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                  	double tmp;
                                                                                                                                                                                                                                                                                                                  	if (z <= -1e+58) {
                                                                                                                                                                                                                                                                                                                  		tmp = ((t * z) * i) * c;
                                                                                                                                                                                                                                                                                                                  	} else {
                                                                                                                                                                                                                                                                                                                  		tmp = ((i * c) * 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 (z <= (-1d+58)) then
                                                                                                                                                                                                                                                                                                                          tmp = ((t * z) * i) * c
                                                                                                                                                                                                                                                                                                                      else
                                                                                                                                                                                                                                                                                                                          tmp = ((i * c) * 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 (z <= -1e+58) {
                                                                                                                                                                                                                                                                                                                  		tmp = ((t * z) * i) * c;
                                                                                                                                                                                                                                                                                                                  	} else {
                                                                                                                                                                                                                                                                                                                  		tmp = ((i * c) * 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 z <= -1e+58:
                                                                                                                                                                                                                                                                                                                  		tmp = ((t * z) * i) * c
                                                                                                                                                                                                                                                                                                                  	else:
                                                                                                                                                                                                                                                                                                                  		tmp = ((i * c) * t) * z
                                                                                                                                                                                                                                                                                                                  	return tmp
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                  	tmp = 0.0
                                                                                                                                                                                                                                                                                                                  	if (z <= -1e+58)
                                                                                                                                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(t * z) * i) * c);
                                                                                                                                                                                                                                                                                                                  	else
                                                                                                                                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(i * c) * 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 (z <= -1e+58)
                                                                                                                                                                                                                                                                                                                  		tmp = ((t * z) * i) * c;
                                                                                                                                                                                                                                                                                                                  	else
                                                                                                                                                                                                                                                                                                                  		tmp = ((i * c) * 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[LessEqual[z, -1e+58], N[(N[(N[(t * z), $MachinePrecision] * i), $MachinePrecision] * c), $MachinePrecision], N[(N[(N[(i * c), $MachinePrecision] * t), $MachinePrecision] * z), $MachinePrecision]]
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  \\
                                                                                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                                                                                  \mathbf{if}\;z \leq -1 \cdot 10^{+58}:\\
                                                                                                                                                                                                                                                                                                                  \;\;\;\;\left(\left(t \cdot z\right) \cdot i\right) \cdot c\\
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                  \;\;\;\;\left(\left(i \cdot c\right) \cdot t\right) \cdot z\\
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  Derivation
                                                                                                                                                                                                                                                                                                                  1. Split input into 2 regimes
                                                                                                                                                                                                                                                                                                                  2. if z < -9.99999999999999944e57

                                                                                                                                                                                                                                                                                                                    1. Initial program 19.6%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                        if -9.99999999999999944e57 < z

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(\left(i \cdot c\right) \cdot t\right) \cdot z \]
                                                                                                                                                                                                                                                                                                                            3. Recombined 2 regimes into one program.
                                                                                                                                                                                                                                                                                                                            4. Final simplification23.9%

                                                                                                                                                                                                                                                                                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -1 \cdot 10^{+58}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot i\right) \cdot c\\ \mathbf{else}:\\ \;\;\;\;\left(\left(i \cdot c\right) \cdot t\right) \cdot z\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                            5. Add Preprocessing

                                                                                                                                                                                                                                                                                                                            Alternative 30: 17.3% accurate, 12.6× speedup?

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                  \[\leadsto c \cdot \left(i \cdot \color{blue}{\left(t \cdot z\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                2. Final simplification21.7%

                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(\left(t \cdot z\right) \cdot i\right) \cdot c \]
                                                                                                                                                                                                                                                                                                                                3. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                Developer Target 1: 27.4% accurate, 0.7× speedup?

                                                                                                                                                                                                                                                                                                                                \[\begin{array}{l} \\ \begin{array}{l} t_1 := y4 \cdot c - y5 \cdot a\\ t_2 := x \cdot y2 - z \cdot y3\\ t_3 := y2 \cdot t - y3 \cdot y\\ t_4 := k \cdot y2 - j \cdot y3\\ t_5 := y4 \cdot b - y5 \cdot i\\ t_6 := \left(j \cdot t - k \cdot y\right) \cdot t\_5\\ t_7 := b \cdot a - i \cdot c\\ t_8 := t\_7 \cdot \left(y \cdot x - t \cdot z\right)\\ t_9 := j \cdot x - k \cdot z\\ t_10 := \left(b \cdot y0 - i \cdot y1\right) \cdot t\_9\\ t_11 := t\_9 \cdot \left(y0 \cdot b - i \cdot y1\right)\\ t_12 := y4 \cdot y1 - y5 \cdot y0\\ t_13 := t\_4 \cdot t\_12\\ t_14 := \left(y2 \cdot k - y3 \cdot j\right) \cdot t\_12\\ t_15 := \left(\left(\left(\left(k \cdot y\right) \cdot \left(y5 \cdot i\right) - \left(y \cdot b\right) \cdot \left(y4 \cdot k\right)\right) - \left(y5 \cdot t\right) \cdot \left(i \cdot j\right)\right) - \left(t\_3 \cdot t\_1 - t\_14\right)\right) + \left(t\_8 - \left(t\_11 - \left(y2 \cdot x - y3 \cdot z\right) \cdot \left(c \cdot y0 - y1 \cdot a\right)\right)\right)\\ t_16 := \left(\left(t\_6 - \left(y3 \cdot y\right) \cdot \left(y5 \cdot a - y4 \cdot c\right)\right) + \left(\left(y5 \cdot a\right) \cdot \left(t \cdot y2\right) + t\_13\right)\right) + \left(t\_2 \cdot \left(c \cdot y0 - a \cdot y1\right) - \left(t\_10 - \left(y \cdot x - z \cdot t\right) \cdot t\_7\right)\right)\\ t_17 := t \cdot y2 - y \cdot y3\\ \mathbf{if}\;y4 < -7.206256231996481 \cdot 10^{+60}:\\ \;\;\;\;\left(t\_8 - \left(t\_11 - t\_6\right)\right) - \left(\frac{t\_3}{\frac{1}{t\_1}} - t\_14\right)\\ \mathbf{elif}\;y4 < -3.364603505246317 \cdot 10^{-66}:\\ \;\;\;\;\left(\left(\left(\left(t \cdot c\right) \cdot \left(i \cdot z\right) - \left(a \cdot t\right) \cdot \left(b \cdot z\right)\right) - \left(y \cdot c\right) \cdot \left(i \cdot x\right)\right) - t\_10\right) + \left(\left(y0 \cdot c - a \cdot y1\right) \cdot t\_2 - \left(t\_17 \cdot \left(y4 \cdot c - a \cdot y5\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot t\_4\right)\right)\\ \mathbf{elif}\;y4 < -1.2000065055686116 \cdot 10^{-105}:\\ \;\;\;\;t\_16\\ \mathbf{elif}\;y4 < 6.718963124057495 \cdot 10^{-279}:\\ \;\;\;\;t\_15\\ \mathbf{elif}\;y4 < 4.77962681403792 \cdot 10^{-222}:\\ \;\;\;\;t\_16\\ \mathbf{elif}\;y4 < 2.2852241541266835 \cdot 10^{-175}:\\ \;\;\;\;t\_15\\ \mathbf{else}:\\ \;\;\;\;\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(k \cdot \left(i \cdot \left(z \cdot y1\right)\right) - \left(j \cdot \left(i \cdot \left(x \cdot y1\right)\right) + y0 \cdot \left(k \cdot \left(z \cdot b\right)\right)\right)\right)\right) + \left(z \cdot \left(y3 \cdot \left(a \cdot y1\right)\right) - \left(y2 \cdot \left(x \cdot \left(a \cdot y1\right)\right) + y0 \cdot \left(z \cdot \left(c \cdot y3\right)\right)\right)\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot t\_5\right) - t\_17 \cdot t\_1\right) + t\_13\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                                (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                 :precision binary64
                                                                                                                                                                                                                                                                                                                                 (let* ((t_1 (- (* y4 c) (* y5 a)))
                                                                                                                                                                                                                                                                                                                                        (t_2 (- (* x y2) (* z y3)))
                                                                                                                                                                                                                                                                                                                                        (t_3 (- (* y2 t) (* y3 y)))
                                                                                                                                                                                                                                                                                                                                        (t_4 (- (* k y2) (* j y3)))
                                                                                                                                                                                                                                                                                                                                        (t_5 (- (* y4 b) (* y5 i)))
                                                                                                                                                                                                                                                                                                                                        (t_6 (* (- (* j t) (* k y)) t_5))
                                                                                                                                                                                                                                                                                                                                        (t_7 (- (* b a) (* i c)))
                                                                                                                                                                                                                                                                                                                                        (t_8 (* t_7 (- (* y x) (* t z))))
                                                                                                                                                                                                                                                                                                                                        (t_9 (- (* j x) (* k z)))
                                                                                                                                                                                                                                                                                                                                        (t_10 (* (- (* b y0) (* i y1)) t_9))
                                                                                                                                                                                                                                                                                                                                        (t_11 (* t_9 (- (* y0 b) (* i y1))))
                                                                                                                                                                                                                                                                                                                                        (t_12 (- (* y4 y1) (* y5 y0)))
                                                                                                                                                                                                                                                                                                                                        (t_13 (* t_4 t_12))
                                                                                                                                                                                                                                                                                                                                        (t_14 (* (- (* y2 k) (* y3 j)) t_12))
                                                                                                                                                                                                                                                                                                                                        (t_15
                                                                                                                                                                                                                                                                                                                                         (+
                                                                                                                                                                                                                                                                                                                                          (-
                                                                                                                                                                                                                                                                                                                                           (-
                                                                                                                                                                                                                                                                                                                                            (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k)))
                                                                                                                                                                                                                                                                                                                                            (* (* y5 t) (* i j)))
                                                                                                                                                                                                                                                                                                                                           (- (* t_3 t_1) t_14))
                                                                                                                                                                                                                                                                                                                                          (- t_8 (- t_11 (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))))
                                                                                                                                                                                                                                                                                                                                        (t_16
                                                                                                                                                                                                                                                                                                                                         (+
                                                                                                                                                                                                                                                                                                                                          (+
                                                                                                                                                                                                                                                                                                                                           (- t_6 (* (* y3 y) (- (* y5 a) (* y4 c))))
                                                                                                                                                                                                                                                                                                                                           (+ (* (* y5 a) (* t y2)) t_13))
                                                                                                                                                                                                                                                                                                                                          (-
                                                                                                                                                                                                                                                                                                                                           (* t_2 (- (* c y0) (* a y1)))
                                                                                                                                                                                                                                                                                                                                           (- t_10 (* (- (* y x) (* z t)) t_7)))))
                                                                                                                                                                                                                                                                                                                                        (t_17 (- (* t y2) (* y y3))))
                                                                                                                                                                                                                                                                                                                                   (if (< y4 -7.206256231996481e+60)
                                                                                                                                                                                                                                                                                                                                     (- (- t_8 (- t_11 t_6)) (- (/ t_3 (/ 1.0 t_1)) t_14))
                                                                                                                                                                                                                                                                                                                                     (if (< y4 -3.364603505246317e-66)
                                                                                                                                                                                                                                                                                                                                       (+
                                                                                                                                                                                                                                                                                                                                        (-
                                                                                                                                                                                                                                                                                                                                         (- (- (* (* t c) (* i z)) (* (* a t) (* b z))) (* (* y c) (* i x)))
                                                                                                                                                                                                                                                                                                                                         t_10)
                                                                                                                                                                                                                                                                                                                                        (-
                                                                                                                                                                                                                                                                                                                                         (* (- (* y0 c) (* a y1)) t_2)
                                                                                                                                                                                                                                                                                                                                         (- (* t_17 (- (* y4 c) (* a y5))) (* (- (* y1 y4) (* y5 y0)) t_4))))
                                                                                                                                                                                                                                                                                                                                       (if (< y4 -1.2000065055686116e-105)
                                                                                                                                                                                                                                                                                                                                         t_16
                                                                                                                                                                                                                                                                                                                                         (if (< y4 6.718963124057495e-279)
                                                                                                                                                                                                                                                                                                                                           t_15
                                                                                                                                                                                                                                                                                                                                           (if (< y4 4.77962681403792e-222)
                                                                                                                                                                                                                                                                                                                                             t_16
                                                                                                                                                                                                                                                                                                                                             (if (< y4 2.2852241541266835e-175)
                                                                                                                                                                                                                                                                                                                                               t_15
                                                                                                                                                                                                                                                                                                                                               (+
                                                                                                                                                                                                                                                                                                                                                (-
                                                                                                                                                                                                                                                                                                                                                 (+
                                                                                                                                                                                                                                                                                                                                                  (+
                                                                                                                                                                                                                                                                                                                                                   (-
                                                                                                                                                                                                                                                                                                                                                    (* (- (* x y) (* z t)) (- (* a b) (* c i)))
                                                                                                                                                                                                                                                                                                                                                    (-
                                                                                                                                                                                                                                                                                                                                                     (* k (* i (* z y1)))
                                                                                                                                                                                                                                                                                                                                                     (+ (* j (* i (* x y1))) (* y0 (* k (* z b))))))
                                                                                                                                                                                                                                                                                                                                                   (-
                                                                                                                                                                                                                                                                                                                                                    (* z (* y3 (* a y1)))
                                                                                                                                                                                                                                                                                                                                                    (+ (* y2 (* x (* a y1))) (* y0 (* z (* c y3))))))
                                                                                                                                                                                                                                                                                                                                                  (* (- (* t j) (* y k)) t_5))
                                                                                                                                                                                                                                                                                                                                                 (* t_17 t_1))
                                                                                                                                                                                                                                                                                                                                                t_13)))))))))
                                                                                                                                                                                                                                                                                                                                double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                	double t_1 = (y4 * c) - (y5 * a);
                                                                                                                                                                                                                                                                                                                                	double t_2 = (x * y2) - (z * y3);
                                                                                                                                                                                                                                                                                                                                	double t_3 = (y2 * t) - (y3 * y);
                                                                                                                                                                                                                                                                                                                                	double t_4 = (k * y2) - (j * y3);
                                                                                                                                                                                                                                                                                                                                	double t_5 = (y4 * b) - (y5 * i);
                                                                                                                                                                                                                                                                                                                                	double t_6 = ((j * t) - (k * y)) * t_5;
                                                                                                                                                                                                                                                                                                                                	double t_7 = (b * a) - (i * c);
                                                                                                                                                                                                                                                                                                                                	double t_8 = t_7 * ((y * x) - (t * z));
                                                                                                                                                                                                                                                                                                                                	double t_9 = (j * x) - (k * z);
                                                                                                                                                                                                                                                                                                                                	double t_10 = ((b * y0) - (i * y1)) * t_9;
                                                                                                                                                                                                                                                                                                                                	double t_11 = t_9 * ((y0 * b) - (i * y1));
                                                                                                                                                                                                                                                                                                                                	double t_12 = (y4 * y1) - (y5 * y0);
                                                                                                                                                                                                                                                                                                                                	double t_13 = t_4 * t_12;
                                                                                                                                                                                                                                                                                                                                	double t_14 = ((y2 * k) - (y3 * j)) * t_12;
                                                                                                                                                                                                                                                                                                                                	double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
                                                                                                                                                                                                                                                                                                                                	double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
                                                                                                                                                                                                                                                                                                                                	double t_17 = (t * y2) - (y * y3);
                                                                                                                                                                                                                                                                                                                                	double tmp;
                                                                                                                                                                                                                                                                                                                                	if (y4 < -7.206256231996481e+60) {
                                                                                                                                                                                                                                                                                                                                		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
                                                                                                                                                                                                                                                                                                                                	} else if (y4 < -3.364603505246317e-66) {
                                                                                                                                                                                                                                                                                                                                		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
                                                                                                                                                                                                                                                                                                                                	} else if (y4 < -1.2000065055686116e-105) {
                                                                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                	} else if (y4 < 6.718963124057495e-279) {
                                                                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                	} else if (y4 < 4.77962681403792e-222) {
                                                                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                	} else if (y4 < 2.2852241541266835e-175) {
                                                                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                	} else {
                                                                                                                                                                                                                                                                                                                                		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
                                                                                                                                                                                                                                                                                                                                	}
                                                                                                                                                                                                                                                                                                                                	return tmp;
                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: z
                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: t
                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: a
                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: b
                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: c
                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: i
                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: j
                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: k
                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                                    real(8) :: t_1
                                                                                                                                                                                                                                                                                                                                    real(8) :: t_10
                                                                                                                                                                                                                                                                                                                                    real(8) :: t_11
                                                                                                                                                                                                                                                                                                                                    real(8) :: t_12
                                                                                                                                                                                                                                                                                                                                    real(8) :: t_13
                                                                                                                                                                                                                                                                                                                                    real(8) :: t_14
                                                                                                                                                                                                                                                                                                                                    real(8) :: t_15
                                                                                                                                                                                                                                                                                                                                    real(8) :: t_16
                                                                                                                                                                                                                                                                                                                                    real(8) :: t_17
                                                                                                                                                                                                                                                                                                                                    real(8) :: t_2
                                                                                                                                                                                                                                                                                                                                    real(8) :: t_3
                                                                                                                                                                                                                                                                                                                                    real(8) :: t_4
                                                                                                                                                                                                                                                                                                                                    real(8) :: t_5
                                                                                                                                                                                                                                                                                                                                    real(8) :: t_6
                                                                                                                                                                                                                                                                                                                                    real(8) :: t_7
                                                                                                                                                                                                                                                                                                                                    real(8) :: t_8
                                                                                                                                                                                                                                                                                                                                    real(8) :: t_9
                                                                                                                                                                                                                                                                                                                                    real(8) :: tmp
                                                                                                                                                                                                                                                                                                                                    t_1 = (y4 * c) - (y5 * a)
                                                                                                                                                                                                                                                                                                                                    t_2 = (x * y2) - (z * y3)
                                                                                                                                                                                                                                                                                                                                    t_3 = (y2 * t) - (y3 * y)
                                                                                                                                                                                                                                                                                                                                    t_4 = (k * y2) - (j * y3)
                                                                                                                                                                                                                                                                                                                                    t_5 = (y4 * b) - (y5 * i)
                                                                                                                                                                                                                                                                                                                                    t_6 = ((j * t) - (k * y)) * t_5
                                                                                                                                                                                                                                                                                                                                    t_7 = (b * a) - (i * c)
                                                                                                                                                                                                                                                                                                                                    t_8 = t_7 * ((y * x) - (t * z))
                                                                                                                                                                                                                                                                                                                                    t_9 = (j * x) - (k * z)
                                                                                                                                                                                                                                                                                                                                    t_10 = ((b * y0) - (i * y1)) * t_9
                                                                                                                                                                                                                                                                                                                                    t_11 = t_9 * ((y0 * b) - (i * y1))
                                                                                                                                                                                                                                                                                                                                    t_12 = (y4 * y1) - (y5 * y0)
                                                                                                                                                                                                                                                                                                                                    t_13 = t_4 * t_12
                                                                                                                                                                                                                                                                                                                                    t_14 = ((y2 * k) - (y3 * j)) * t_12
                                                                                                                                                                                                                                                                                                                                    t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))))
                                                                                                                                                                                                                                                                                                                                    t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)))
                                                                                                                                                                                                                                                                                                                                    t_17 = (t * y2) - (y * y3)
                                                                                                                                                                                                                                                                                                                                    if (y4 < (-7.206256231996481d+60)) then
                                                                                                                                                                                                                                                                                                                                        tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0d0 / t_1)) - t_14)
                                                                                                                                                                                                                                                                                                                                    else if (y4 < (-3.364603505246317d-66)) then
                                                                                                                                                                                                                                                                                                                                        tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)))
                                                                                                                                                                                                                                                                                                                                    else if (y4 < (-1.2000065055686116d-105)) then
                                                                                                                                                                                                                                                                                                                                        tmp = t_16
                                                                                                                                                                                                                                                                                                                                    else if (y4 < 6.718963124057495d-279) then
                                                                                                                                                                                                                                                                                                                                        tmp = t_15
                                                                                                                                                                                                                                                                                                                                    else if (y4 < 4.77962681403792d-222) then
                                                                                                                                                                                                                                                                                                                                        tmp = t_16
                                                                                                                                                                                                                                                                                                                                    else if (y4 < 2.2852241541266835d-175) then
                                                                                                                                                                                                                                                                                                                                        tmp = t_15
                                                                                                                                                                                                                                                                                                                                    else
                                                                                                                                                                                                                                                                                                                                        tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13
                                                                                                                                                                                                                                                                                                                                    end if
                                                                                                                                                                                                                                                                                                                                    code = tmp
                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                	double t_1 = (y4 * c) - (y5 * a);
                                                                                                                                                                                                                                                                                                                                	double t_2 = (x * y2) - (z * y3);
                                                                                                                                                                                                                                                                                                                                	double t_3 = (y2 * t) - (y3 * y);
                                                                                                                                                                                                                                                                                                                                	double t_4 = (k * y2) - (j * y3);
                                                                                                                                                                                                                                                                                                                                	double t_5 = (y4 * b) - (y5 * i);
                                                                                                                                                                                                                                                                                                                                	double t_6 = ((j * t) - (k * y)) * t_5;
                                                                                                                                                                                                                                                                                                                                	double t_7 = (b * a) - (i * c);
                                                                                                                                                                                                                                                                                                                                	double t_8 = t_7 * ((y * x) - (t * z));
                                                                                                                                                                                                                                                                                                                                	double t_9 = (j * x) - (k * z);
                                                                                                                                                                                                                                                                                                                                	double t_10 = ((b * y0) - (i * y1)) * t_9;
                                                                                                                                                                                                                                                                                                                                	double t_11 = t_9 * ((y0 * b) - (i * y1));
                                                                                                                                                                                                                                                                                                                                	double t_12 = (y4 * y1) - (y5 * y0);
                                                                                                                                                                                                                                                                                                                                	double t_13 = t_4 * t_12;
                                                                                                                                                                                                                                                                                                                                	double t_14 = ((y2 * k) - (y3 * j)) * t_12;
                                                                                                                                                                                                                                                                                                                                	double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
                                                                                                                                                                                                                                                                                                                                	double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
                                                                                                                                                                                                                                                                                                                                	double t_17 = (t * y2) - (y * y3);
                                                                                                                                                                                                                                                                                                                                	double tmp;
                                                                                                                                                                                                                                                                                                                                	if (y4 < -7.206256231996481e+60) {
                                                                                                                                                                                                                                                                                                                                		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
                                                                                                                                                                                                                                                                                                                                	} else if (y4 < -3.364603505246317e-66) {
                                                                                                                                                                                                                                                                                                                                		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
                                                                                                                                                                                                                                                                                                                                	} else if (y4 < -1.2000065055686116e-105) {
                                                                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                	} else if (y4 < 6.718963124057495e-279) {
                                                                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                	} else if (y4 < 4.77962681403792e-222) {
                                                                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                	} else if (y4 < 2.2852241541266835e-175) {
                                                                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                	} else {
                                                                                                                                                                                                                                                                                                                                		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
                                                                                                                                                                                                                                                                                                                                	}
                                                                                                                                                                                                                                                                                                                                	return tmp;
                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                	t_1 = (y4 * c) - (y5 * a)
                                                                                                                                                                                                                                                                                                                                	t_2 = (x * y2) - (z * y3)
                                                                                                                                                                                                                                                                                                                                	t_3 = (y2 * t) - (y3 * y)
                                                                                                                                                                                                                                                                                                                                	t_4 = (k * y2) - (j * y3)
                                                                                                                                                                                                                                                                                                                                	t_5 = (y4 * b) - (y5 * i)
                                                                                                                                                                                                                                                                                                                                	t_6 = ((j * t) - (k * y)) * t_5
                                                                                                                                                                                                                                                                                                                                	t_7 = (b * a) - (i * c)
                                                                                                                                                                                                                                                                                                                                	t_8 = t_7 * ((y * x) - (t * z))
                                                                                                                                                                                                                                                                                                                                	t_9 = (j * x) - (k * z)
                                                                                                                                                                                                                                                                                                                                	t_10 = ((b * y0) - (i * y1)) * t_9
                                                                                                                                                                                                                                                                                                                                	t_11 = t_9 * ((y0 * b) - (i * y1))
                                                                                                                                                                                                                                                                                                                                	t_12 = (y4 * y1) - (y5 * y0)
                                                                                                                                                                                                                                                                                                                                	t_13 = t_4 * t_12
                                                                                                                                                                                                                                                                                                                                	t_14 = ((y2 * k) - (y3 * j)) * t_12
                                                                                                                                                                                                                                                                                                                                	t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))))
                                                                                                                                                                                                                                                                                                                                	t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)))
                                                                                                                                                                                                                                                                                                                                	t_17 = (t * y2) - (y * y3)
                                                                                                                                                                                                                                                                                                                                	tmp = 0
                                                                                                                                                                                                                                                                                                                                	if y4 < -7.206256231996481e+60:
                                                                                                                                                                                                                                                                                                                                		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14)
                                                                                                                                                                                                                                                                                                                                	elif y4 < -3.364603505246317e-66:
                                                                                                                                                                                                                                                                                                                                		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)))
                                                                                                                                                                                                                                                                                                                                	elif y4 < -1.2000065055686116e-105:
                                                                                                                                                                                                                                                                                                                                		tmp = t_16
                                                                                                                                                                                                                                                                                                                                	elif y4 < 6.718963124057495e-279:
                                                                                                                                                                                                                                                                                                                                		tmp = t_15
                                                                                                                                                                                                                                                                                                                                	elif y4 < 4.77962681403792e-222:
                                                                                                                                                                                                                                                                                                                                		tmp = t_16
                                                                                                                                                                                                                                                                                                                                	elif y4 < 2.2852241541266835e-175:
                                                                                                                                                                                                                                                                                                                                		tmp = t_15
                                                                                                                                                                                                                                                                                                                                	else:
                                                                                                                                                                                                                                                                                                                                		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13
                                                                                                                                                                                                                                                                                                                                	return tmp
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                	t_1 = Float64(Float64(y4 * c) - Float64(y5 * a))
                                                                                                                                                                                                                                                                                                                                	t_2 = Float64(Float64(x * y2) - Float64(z * y3))
                                                                                                                                                                                                                                                                                                                                	t_3 = Float64(Float64(y2 * t) - Float64(y3 * y))
                                                                                                                                                                                                                                                                                                                                	t_4 = Float64(Float64(k * y2) - Float64(j * y3))
                                                                                                                                                                                                                                                                                                                                	t_5 = Float64(Float64(y4 * b) - Float64(y5 * i))
                                                                                                                                                                                                                                                                                                                                	t_6 = Float64(Float64(Float64(j * t) - Float64(k * y)) * t_5)
                                                                                                                                                                                                                                                                                                                                	t_7 = Float64(Float64(b * a) - Float64(i * c))
                                                                                                                                                                                                                                                                                                                                	t_8 = Float64(t_7 * Float64(Float64(y * x) - Float64(t * z)))
                                                                                                                                                                                                                                                                                                                                	t_9 = Float64(Float64(j * x) - Float64(k * z))
                                                                                                                                                                                                                                                                                                                                	t_10 = Float64(Float64(Float64(b * y0) - Float64(i * y1)) * t_9)
                                                                                                                                                                                                                                                                                                                                	t_11 = Float64(t_9 * Float64(Float64(y0 * b) - Float64(i * y1)))
                                                                                                                                                                                                                                                                                                                                	t_12 = Float64(Float64(y4 * y1) - Float64(y5 * y0))
                                                                                                                                                                                                                                                                                                                                	t_13 = Float64(t_4 * t_12)
                                                                                                                                                                                                                                                                                                                                	t_14 = Float64(Float64(Float64(y2 * k) - Float64(y3 * j)) * t_12)
                                                                                                                                                                                                                                                                                                                                	t_15 = Float64(Float64(Float64(Float64(Float64(Float64(k * y) * Float64(y5 * i)) - Float64(Float64(y * b) * Float64(y4 * k))) - Float64(Float64(y5 * t) * Float64(i * j))) - Float64(Float64(t_3 * t_1) - t_14)) + Float64(t_8 - Float64(t_11 - Float64(Float64(Float64(y2 * x) - Float64(y3 * z)) * Float64(Float64(c * y0) - Float64(y1 * a))))))
                                                                                                                                                                                                                                                                                                                                	t_16 = Float64(Float64(Float64(t_6 - Float64(Float64(y3 * y) * Float64(Float64(y5 * a) - Float64(y4 * c)))) + Float64(Float64(Float64(y5 * a) * Float64(t * y2)) + t_13)) + Float64(Float64(t_2 * Float64(Float64(c * y0) - Float64(a * y1))) - Float64(t_10 - Float64(Float64(Float64(y * x) - Float64(z * t)) * t_7))))
                                                                                                                                                                                                                                                                                                                                	t_17 = Float64(Float64(t * y2) - Float64(y * y3))
                                                                                                                                                                                                                                                                                                                                	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                	if (y4 < -7.206256231996481e+60)
                                                                                                                                                                                                                                                                                                                                		tmp = Float64(Float64(t_8 - Float64(t_11 - t_6)) - Float64(Float64(t_3 / Float64(1.0 / t_1)) - t_14));
                                                                                                                                                                                                                                                                                                                                	elseif (y4 < -3.364603505246317e-66)
                                                                                                                                                                                                                                                                                                                                		tmp = Float64(Float64(Float64(Float64(Float64(Float64(t * c) * Float64(i * z)) - Float64(Float64(a * t) * Float64(b * z))) - Float64(Float64(y * c) * Float64(i * x))) - t_10) + Float64(Float64(Float64(Float64(y0 * c) - Float64(a * y1)) * t_2) - Float64(Float64(t_17 * Float64(Float64(y4 * c) - Float64(a * y5))) - Float64(Float64(Float64(y1 * y4) - Float64(y5 * y0)) * t_4))));
                                                                                                                                                                                                                                                                                                                                	elseif (y4 < -1.2000065055686116e-105)
                                                                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                	elseif (y4 < 6.718963124057495e-279)
                                                                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                	elseif (y4 < 4.77962681403792e-222)
                                                                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                	elseif (y4 < 2.2852241541266835e-175)
                                                                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                	else
                                                                                                                                                                                                                                                                                                                                		tmp = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(k * Float64(i * Float64(z * y1))) - Float64(Float64(j * Float64(i * Float64(x * y1))) + Float64(y0 * Float64(k * Float64(z * b)))))) + Float64(Float64(z * Float64(y3 * Float64(a * y1))) - Float64(Float64(y2 * Float64(x * Float64(a * y1))) + Float64(y0 * Float64(z * Float64(c * y3)))))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * t_5)) - Float64(t_17 * t_1)) + t_13);
                                                                                                                                                                                                                                                                                                                                	end
                                                                                                                                                                                                                                                                                                                                	return tmp
                                                                                                                                                                                                                                                                                                                                end
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                	t_1 = (y4 * c) - (y5 * a);
                                                                                                                                                                                                                                                                                                                                	t_2 = (x * y2) - (z * y3);
                                                                                                                                                                                                                                                                                                                                	t_3 = (y2 * t) - (y3 * y);
                                                                                                                                                                                                                                                                                                                                	t_4 = (k * y2) - (j * y3);
                                                                                                                                                                                                                                                                                                                                	t_5 = (y4 * b) - (y5 * i);
                                                                                                                                                                                                                                                                                                                                	t_6 = ((j * t) - (k * y)) * t_5;
                                                                                                                                                                                                                                                                                                                                	t_7 = (b * a) - (i * c);
                                                                                                                                                                                                                                                                                                                                	t_8 = t_7 * ((y * x) - (t * z));
                                                                                                                                                                                                                                                                                                                                	t_9 = (j * x) - (k * z);
                                                                                                                                                                                                                                                                                                                                	t_10 = ((b * y0) - (i * y1)) * t_9;
                                                                                                                                                                                                                                                                                                                                	t_11 = t_9 * ((y0 * b) - (i * y1));
                                                                                                                                                                                                                                                                                                                                	t_12 = (y4 * y1) - (y5 * y0);
                                                                                                                                                                                                                                                                                                                                	t_13 = t_4 * t_12;
                                                                                                                                                                                                                                                                                                                                	t_14 = ((y2 * k) - (y3 * j)) * t_12;
                                                                                                                                                                                                                                                                                                                                	t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
                                                                                                                                                                                                                                                                                                                                	t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
                                                                                                                                                                                                                                                                                                                                	t_17 = (t * y2) - (y * y3);
                                                                                                                                                                                                                                                                                                                                	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                                	if (y4 < -7.206256231996481e+60)
                                                                                                                                                                                                                                                                                                                                		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
                                                                                                                                                                                                                                                                                                                                	elseif (y4 < -3.364603505246317e-66)
                                                                                                                                                                                                                                                                                                                                		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
                                                                                                                                                                                                                                                                                                                                	elseif (y4 < -1.2000065055686116e-105)
                                                                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                	elseif (y4 < 6.718963124057495e-279)
                                                                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                	elseif (y4 < 4.77962681403792e-222)
                                                                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                	elseif (y4 < 2.2852241541266835e-175)
                                                                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                	else
                                                                                                                                                                                                                                                                                                                                		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
                                                                                                                                                                                                                                                                                                                                	end
                                                                                                                                                                                                                                                                                                                                	tmp_2 = tmp;
                                                                                                                                                                                                                                                                                                                                end
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]}, Block[{t$95$7 = N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(t$95$7 * N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * t$95$9), $MachinePrecision]}, Block[{t$95$11 = N[(t$95$9 * N[(N[(y0 * b), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$12 = N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$13 = N[(t$95$4 * t$95$12), $MachinePrecision]}, Block[{t$95$14 = N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * t$95$12), $MachinePrecision]}, Block[{t$95$15 = N[(N[(N[(N[(N[(N[(k * y), $MachinePrecision] * N[(y5 * i), $MachinePrecision]), $MachinePrecision] - N[(N[(y * b), $MachinePrecision] * N[(y4 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y5 * t), $MachinePrecision] * N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 * t$95$1), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision] + N[(t$95$8 - N[(t$95$11 - N[(N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$16 = N[(N[(N[(t$95$6 - N[(N[(y3 * y), $MachinePrecision] * N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y5 * a), $MachinePrecision] * N[(t * y2), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]), $MachinePrecision] + N[(N[(t$95$2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t$95$10 - N[(N[(N[(y * x), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$17 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, If[Less[y4, -7.206256231996481e+60], N[(N[(t$95$8 - N[(t$95$11 - t$95$6), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 / N[(1.0 / t$95$1), $MachinePrecision]), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision], If[Less[y4, -3.364603505246317e-66], N[(N[(N[(N[(N[(N[(t * c), $MachinePrecision] * N[(i * z), $MachinePrecision]), $MachinePrecision] - N[(N[(a * t), $MachinePrecision] * N[(b * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y * c), $MachinePrecision] * N[(i * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t$95$10), $MachinePrecision] + N[(N[(N[(N[(y0 * c), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision] - N[(N[(t$95$17 * N[(N[(y4 * c), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y1 * y4), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Less[y4, -1.2000065055686116e-105], t$95$16, If[Less[y4, 6.718963124057495e-279], t$95$15, If[Less[y4, 4.77962681403792e-222], t$95$16, If[Less[y4, 2.2852241541266835e-175], t$95$15, N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(k * N[(i * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(j * N[(i * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(k * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(y3 * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y2 * N[(x * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(z * N[(c * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]), $MachinePrecision] - N[(t$95$17 * t$95$1), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]]]
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                \\
                                                                                                                                                                                                                                                                                                                                \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                t_1 := y4 \cdot c - y5 \cdot a\\
                                                                                                                                                                                                                                                                                                                                t_2 := x \cdot y2 - z \cdot y3\\
                                                                                                                                                                                                                                                                                                                                t_3 := y2 \cdot t - y3 \cdot y\\
                                                                                                                                                                                                                                                                                                                                t_4 := k \cdot y2 - j \cdot y3\\
                                                                                                                                                                                                                                                                                                                                t_5 := y4 \cdot b - y5 \cdot i\\
                                                                                                                                                                                                                                                                                                                                t_6 := \left(j \cdot t - k \cdot y\right) \cdot t\_5\\
                                                                                                                                                                                                                                                                                                                                t_7 := b \cdot a - i \cdot c\\
                                                                                                                                                                                                                                                                                                                                t_8 := t\_7 \cdot \left(y \cdot x - t \cdot z\right)\\
                                                                                                                                                                                                                                                                                                                                t_9 := j \cdot x - k \cdot z\\
                                                                                                                                                                                                                                                                                                                                t_10 := \left(b \cdot y0 - i \cdot y1\right) \cdot t\_9\\
                                                                                                                                                                                                                                                                                                                                t_11 := t\_9 \cdot \left(y0 \cdot b - i \cdot y1\right)\\
                                                                                                                                                                                                                                                                                                                                t_12 := y4 \cdot y1 - y5 \cdot y0\\
                                                                                                                                                                                                                                                                                                                                t_13 := t\_4 \cdot t\_12\\
                                                                                                                                                                                                                                                                                                                                t_14 := \left(y2 \cdot k - y3 \cdot j\right) \cdot t\_12\\
                                                                                                                                                                                                                                                                                                                                t_15 := \left(\left(\left(\left(k \cdot y\right) \cdot \left(y5 \cdot i\right) - \left(y \cdot b\right) \cdot \left(y4 \cdot k\right)\right) - \left(y5 \cdot t\right) \cdot \left(i \cdot j\right)\right) - \left(t\_3 \cdot t\_1 - t\_14\right)\right) + \left(t\_8 - \left(t\_11 - \left(y2 \cdot x - y3 \cdot z\right) \cdot \left(c \cdot y0 - y1 \cdot a\right)\right)\right)\\
                                                                                                                                                                                                                                                                                                                                t_16 := \left(\left(t\_6 - \left(y3 \cdot y\right) \cdot \left(y5 \cdot a - y4 \cdot c\right)\right) + \left(\left(y5 \cdot a\right) \cdot \left(t \cdot y2\right) + t\_13\right)\right) + \left(t\_2 \cdot \left(c \cdot y0 - a \cdot y1\right) - \left(t\_10 - \left(y \cdot x - z \cdot t\right) \cdot t\_7\right)\right)\\
                                                                                                                                                                                                                                                                                                                                t_17 := t \cdot y2 - y \cdot y3\\
                                                                                                                                                                                                                                                                                                                                \mathbf{if}\;y4 < -7.206256231996481 \cdot 10^{+60}:\\
                                                                                                                                                                                                                                                                                                                                \;\;\;\;\left(t\_8 - \left(t\_11 - t\_6\right)\right) - \left(\frac{t\_3}{\frac{1}{t\_1}} - t\_14\right)\\
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                \mathbf{elif}\;y4 < -3.364603505246317 \cdot 10^{-66}:\\
                                                                                                                                                                                                                                                                                                                                \;\;\;\;\left(\left(\left(\left(t \cdot c\right) \cdot \left(i \cdot z\right) - \left(a \cdot t\right) \cdot \left(b \cdot z\right)\right) - \left(y \cdot c\right) \cdot \left(i \cdot x\right)\right) - t\_10\right) + \left(\left(y0 \cdot c - a \cdot y1\right) \cdot t\_2 - \left(t\_17 \cdot \left(y4 \cdot c - a \cdot y5\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot t\_4\right)\right)\\
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                \mathbf{elif}\;y4 < -1.2000065055686116 \cdot 10^{-105}:\\
                                                                                                                                                                                                                                                                                                                                \;\;\;\;t\_16\\
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                \mathbf{elif}\;y4 < 6.718963124057495 \cdot 10^{-279}:\\
                                                                                                                                                                                                                                                                                                                                \;\;\;\;t\_15\\
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                \mathbf{elif}\;y4 < 4.77962681403792 \cdot 10^{-222}:\\
                                                                                                                                                                                                                                                                                                                                \;\;\;\;t\_16\\
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                \mathbf{elif}\;y4 < 2.2852241541266835 \cdot 10^{-175}:\\
                                                                                                                                                                                                                                                                                                                                \;\;\;\;t\_15\\
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                \;\;\;\;\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(k \cdot \left(i \cdot \left(z \cdot y1\right)\right) - \left(j \cdot \left(i \cdot \left(x \cdot y1\right)\right) + y0 \cdot \left(k \cdot \left(z \cdot b\right)\right)\right)\right)\right) + \left(z \cdot \left(y3 \cdot \left(a \cdot y1\right)\right) - \left(y2 \cdot \left(x \cdot \left(a \cdot y1\right)\right) + y0 \cdot \left(z \cdot \left(c \cdot y3\right)\right)\right)\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot t\_5\right) - t\_17 \cdot t\_1\right) + t\_13\\
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                \end{array}
                                                                                                                                                                                                                                                                                                                                \end{array}
                                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                Reproduce

                                                                                                                                                                                                                                                                                                                                ?
                                                                                                                                                                                                                                                                                                                                herbie shell --seed 2024255 
                                                                                                                                                                                                                                                                                                                                (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)))))