Linear.Matrix:det44 from linear-1.19.1.3

Percentage Accurate: 28.9% → 45.2%
Time: 45.6s
Alternatives: 33
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 33 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: 28.9% 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.2% accurate, 2.2× speedup?

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

\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(i \cdot c - b \cdot a, t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z\\
t_2 := j \cdot t - k \cdot y\\
\mathbf{if}\;z \leq -2.5 \cdot 10^{+80}:\\
\;\;\;\;t\_1\\

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

\mathbf{elif}\;z \leq 4.3 \cdot 10^{-294}:\\
\;\;\;\;\mathsf{fma}\left(t\_2, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\

\mathbf{elif}\;z \leq 1.8 \cdot 10^{+64}:\\
\;\;\;\;\mathsf{fma}\left(-i, y1 \cdot z, \mathsf{fma}\left(y, \mathsf{fma}\left(-b, y4, y5 \cdot i\right), \mathsf{fma}\left(y2 \cdot y1, y4, \mathsf{fma}\left(b, z, \left(-y5\right) \cdot y2\right) \cdot y0\right)\right)\right) \cdot k\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if z < -2.4999999999999998e80 or 1.80000000000000007e64 < z

    1. Initial program 31.4%

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

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

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

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

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

    if -2.4999999999999998e80 < z < -3.5000000000000003e-30

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

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

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

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

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

    if -3.5000000000000003e-30 < z < 4.30000000000000019e-294

    1. Initial program 38.8%

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

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

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

        \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
    5. Applied rewrites50.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 4.30000000000000019e-294 < z < 1.80000000000000007e64

    1. Initial program 30.8%

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

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(-i, y1 \cdot z, \mathsf{fma}\left(y, \mathsf{fma}\left(-b, y4, i \cdot y5\right), \mathsf{fma}\left(y1 \cdot y2, y4, y0 \cdot \mathsf{fma}\left(b, z, -y2 \cdot y5\right)\right)\right)\right) \cdot k \]
    8. Recombined 4 regimes into one program.
    9. Final simplification61.0%

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

    Alternative 2: 55.7% accurate, 0.5× speedup?

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

        \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      2. Add Preprocessing
      3. Applied rewrites93.2%

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

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

      1. Initial program 0.0%

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

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

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

          \[\leadsto \mathsf{fma}\left(-i, y1 \cdot z, \mathsf{fma}\left(y, \mathsf{fma}\left(-b, y4, i \cdot y5\right), \mathsf{fma}\left(y1 \cdot y2, y4, y0 \cdot \mathsf{fma}\left(b, z, -y2 \cdot y5\right)\right)\right)\right) \cdot k \]
      8. Recombined 2 regimes into one program.
      9. Final simplification60.1%

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

      Alternative 3: 44.9% accurate, 2.1× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot t - k \cdot y\\ t_2 := y0 \cdot b - y1 \cdot i\\ t_3 := \mathsf{fma}\left(i \cdot c - b \cdot a, t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, t\_2 \cdot k\right)\right) \cdot z\\ \mathbf{if}\;z \leq -2.5 \cdot 10^{+80}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;z \leq -3.5 \cdot 10^{-30}:\\ \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(t\_1, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\ \mathbf{elif}\;z \leq -2.15 \cdot 10^{-252}:\\ \;\;\;\;\mathsf{fma}\left(t\_1, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\ \mathbf{elif}\;z \leq 1.24 \cdot 10^{-203}:\\ \;\;\;\;\mathsf{fma}\left(y2, \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right), \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y - \mathsf{fma}\left(-i, y1, y0 \cdot b\right) \cdot j\right) \cdot x\\ \mathbf{elif}\;z \leq 9.5 \cdot 10^{+54}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, t\_2 \cdot z\right)\right) \cdot k\\ \mathbf{else}:\\ \;\;\;\;t\_3\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
       :precision binary64
       (let* ((t_1 (- (* j t) (* k y)))
              (t_2 (- (* y0 b) (* y1 i)))
              (t_3
               (*
                (fma
                 (- (* i c) (* b a))
                 t
                 (fma (- y3) (- (* y0 c) (* y1 a)) (* t_2 k)))
                z)))
         (if (<= z -2.5e+80)
           t_3
           (if (<= z -3.5e-30)
             (*
              (fma (- (* y x) (* t z)) a (fma t_1 y4 (* (- (* k z) (* j x)) y0)))
              b)
             (if (<= z -2.15e-252)
               (*
                (fma
                 t_1
                 b
                 (fma (- (* y2 k) (* y3 j)) y1 (* (- (* y3 y) (* y2 t)) c)))
                y4)
               (if (<= z 1.24e-203)
                 (*
                  (fma
                   y2
                   (fma c y0 (* (- a) y1))
                   (- (* (fma a b (* (- c) i)) y) (* (fma (- i) y1 (* y0 b)) j)))
                  x)
                 (if (<= z 9.5e+54)
                   (*
                    (fma
                     (- (* y5 i) (* y4 b))
                     y
                     (fma (- (* y4 y1) (* y5 y0)) y2 (* t_2 z)))
                    k)
                   t_3)))))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
      	double t_1 = (j * t) - (k * y);
      	double t_2 = (y0 * b) - (y1 * i);
      	double t_3 = fma(((i * c) - (b * a)), t, fma(-y3, ((y0 * c) - (y1 * a)), (t_2 * k))) * z;
      	double tmp;
      	if (z <= -2.5e+80) {
      		tmp = t_3;
      	} else if (z <= -3.5e-30) {
      		tmp = fma(((y * x) - (t * z)), a, fma(t_1, y4, (((k * z) - (j * x)) * y0))) * b;
      	} else if (z <= -2.15e-252) {
      		tmp = fma(t_1, b, fma(((y2 * k) - (y3 * j)), y1, (((y3 * y) - (y2 * t)) * c))) * y4;
      	} else if (z <= 1.24e-203) {
      		tmp = fma(y2, fma(c, y0, (-a * y1)), ((fma(a, b, (-c * i)) * y) - (fma(-i, y1, (y0 * b)) * j))) * x;
      	} else if (z <= 9.5e+54) {
      		tmp = fma(((y5 * i) - (y4 * b)), y, fma(((y4 * y1) - (y5 * y0)), y2, (t_2 * z))) * k;
      	} else {
      		tmp = t_3;
      	}
      	return tmp;
      }
      
      function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
      	t_1 = Float64(Float64(j * t) - Float64(k * y))
      	t_2 = Float64(Float64(y0 * b) - Float64(y1 * i))
      	t_3 = Float64(fma(Float64(Float64(i * c) - Float64(b * a)), t, fma(Float64(-y3), Float64(Float64(y0 * c) - Float64(y1 * a)), Float64(t_2 * k))) * z)
      	tmp = 0.0
      	if (z <= -2.5e+80)
      		tmp = t_3;
      	elseif (z <= -3.5e-30)
      		tmp = Float64(fma(Float64(Float64(y * x) - Float64(t * z)), a, fma(t_1, y4, Float64(Float64(Float64(k * z) - Float64(j * x)) * y0))) * b);
      	elseif (z <= -2.15e-252)
      		tmp = Float64(fma(t_1, b, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y1, Float64(Float64(Float64(y3 * y) - Float64(y2 * t)) * c))) * y4);
      	elseif (z <= 1.24e-203)
      		tmp = Float64(fma(y2, fma(c, y0, Float64(Float64(-a) * y1)), Float64(Float64(fma(a, b, Float64(Float64(-c) * i)) * y) - Float64(fma(Float64(-i), y1, Float64(y0 * b)) * j))) * x);
      	elseif (z <= 9.5e+54)
      		tmp = Float64(fma(Float64(Float64(y5 * i) - Float64(y4 * b)), y, fma(Float64(Float64(y4 * y1) - Float64(y5 * y0)), y2, Float64(t_2 * z))) * k);
      	else
      		tmp = t_3;
      	end
      	return tmp
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(N[(N[(i * c), $MachinePrecision] - N[(b * a), $MachinePrecision]), $MachinePrecision] * t + N[((-y3) * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision] + N[(t$95$2 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]}, If[LessEqual[z, -2.5e+80], t$95$3, If[LessEqual[z, -3.5e-30], N[(N[(N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] * a + N[(t$95$1 * y4 + N[(N[(N[(k * z), $MachinePrecision] - N[(j * x), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[z, -2.15e-252], N[(N[(t$95$1 * b + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y1 + N[(N[(N[(y3 * y), $MachinePrecision] - N[(y2 * t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[z, 1.24e-203], N[(N[(y2 * N[(c * y0 + N[((-a) * y1), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(a * b + N[((-c) * i), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision] - N[(N[((-i) * y1 + N[(y0 * b), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[z, 9.5e+54], 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[(t$95$2 * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision], t$95$3]]]]]]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := j \cdot t - k \cdot y\\
      t_2 := y0 \cdot b - y1 \cdot i\\
      t_3 := \mathsf{fma}\left(i \cdot c - b \cdot a, t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, t\_2 \cdot k\right)\right) \cdot z\\
      \mathbf{if}\;z \leq -2.5 \cdot 10^{+80}:\\
      \;\;\;\;t\_3\\
      
      \mathbf{elif}\;z \leq -3.5 \cdot 10^{-30}:\\
      \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(t\_1, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\
      
      \mathbf{elif}\;z \leq -2.15 \cdot 10^{-252}:\\
      \;\;\;\;\mathsf{fma}\left(t\_1, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\
      
      \mathbf{elif}\;z \leq 1.24 \cdot 10^{-203}:\\
      \;\;\;\;\mathsf{fma}\left(y2, \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right), \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y - \mathsf{fma}\left(-i, y1, y0 \cdot b\right) \cdot j\right) \cdot x\\
      
      \mathbf{elif}\;z \leq 9.5 \cdot 10^{+54}:\\
      \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, t\_2 \cdot z\right)\right) \cdot k\\
      
      \mathbf{else}:\\
      \;\;\;\;t\_3\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 5 regimes
      2. if z < -2.4999999999999998e80 or 9.4999999999999999e54 < 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 z around inf

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

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

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

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

        if -2.4999999999999998e80 < z < -3.5000000000000003e-30

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

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

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

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

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

        if -3.5000000000000003e-30 < z < -2.14999999999999996e-252

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

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

        if -2.14999999999999996e-252 < z < 1.24e-203

        1. Initial program 41.8%

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

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

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

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

          \[\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} \]
        6. 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)} \]
        7. Step-by-step derivation
          1. lower-*.f64N/A

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

            \[\leadsto x \cdot \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)} \]
          3. lower-fma.f64N/A

            \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(y, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
          4. cancel-sign-sub-invN/A

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

            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \color{blue}{\mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \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) \]
          6. lower-*.f64N/A

            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right) \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) \]
          7. lower-neg.f64N/A

            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right)} \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) \]
          8. lower-*.f64N/A

            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), \color{blue}{y2 \cdot \left(c \cdot y0 - a \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
          9. cancel-sign-sub-invN/A

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

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

            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \color{blue}{\left(\mathsf{neg}\left(a\right)\right) \cdot y1}\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
          12. lower-neg.f64N/A

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

            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)\right) - \color{blue}{j \cdot \left(b \cdot y0 - i \cdot y1\right)}\right) \]
          14. cancel-sign-sub-invN/A

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

            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)\right) - j \cdot \color{blue}{\mathsf{fma}\left(b, y0, \left(\mathsf{neg}\left(i\right)\right) \cdot y1\right)}\right) \]
        8. Applied rewrites50.3%

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

          \[\leadsto x \cdot \left(y2 \cdot \left(-1 \cdot \left(a \cdot y1\right) + c \cdot y0\right)\right) + \color{blue}{x \cdot \left(y \cdot \left(-1 \cdot \left(c \cdot i\right) + a \cdot b\right) - j \cdot \left(-1 \cdot \left(i \cdot y1\right) + b \cdot y0\right)\right)} \]
        10. Step-by-step derivation
          1. Applied rewrites52.9%

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

          if 1.24e-203 < z < 9.4999999999999999e54

          1. Initial program 28.8%

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

            \[\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} \]
        11. Recombined 5 regimes into one program.
        12. Final simplification61.0%

          \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -2.5 \cdot 10^{+80}:\\ \;\;\;\;\mathsf{fma}\left(i \cdot c - b \cdot a, t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z\\ \mathbf{elif}\;z \leq -3.5 \cdot 10^{-30}:\\ \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\ \mathbf{elif}\;z \leq -2.15 \cdot 10^{-252}:\\ \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\ \mathbf{elif}\;z \leq 1.24 \cdot 10^{-203}:\\ \;\;\;\;\mathsf{fma}\left(y2, \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right), \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y - \mathsf{fma}\left(-i, y1, y0 \cdot b\right) \cdot j\right) \cdot x\\ \mathbf{elif}\;z \leq 9.5 \cdot 10^{+54}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(i \cdot c - b \cdot a, t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z\\ \end{array} \]
        13. Add Preprocessing

        Alternative 4: 39.3% accurate, 2.1× speedup?

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

          1. Initial program 29.2%

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

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

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

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

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

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

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

            if -2.5999999999999999e147 < t < 1.45e-109

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

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

            if 1.45e-109 < t < 115

            1. Initial program 42.7%

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

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

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

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

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

            if 115 < t < 8.9999999999999999e78

            1. Initial program 21.4%

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

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

                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
            5. Applied rewrites43.0%

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

              \[\leadsto \left(y0 \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
            7. Step-by-step derivation
              1. Applied rewrites72.2%

                \[\leadsto \left(y0 \cdot \left(\left(-c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
              2. Taylor expanded in y0 around inf

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

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

                if 8.9999999999999999e78 < t < 1.08000000000000001e207

                1. Initial program 24.2%

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

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

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

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

                  \[\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} \]
                6. 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)} \]
                7. Step-by-step derivation
                  1. lower-*.f64N/A

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

                    \[\leadsto x \cdot \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)} \]
                  3. lower-fma.f64N/A

                    \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(y, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                  4. cancel-sign-sub-invN/A

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

                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \color{blue}{\mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \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) \]
                  6. lower-*.f64N/A

                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right) \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) \]
                  7. lower-neg.f64N/A

                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right)} \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) \]
                  8. lower-*.f64N/A

                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), \color{blue}{y2 \cdot \left(c \cdot y0 - a \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                  9. cancel-sign-sub-invN/A

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

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

                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \color{blue}{\left(\mathsf{neg}\left(a\right)\right) \cdot y1}\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                  12. lower-neg.f64N/A

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

                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)\right) - \color{blue}{j \cdot \left(b \cdot y0 - i \cdot y1\right)}\right) \]
                  14. cancel-sign-sub-invN/A

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

                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)\right) - j \cdot \color{blue}{\mathsf{fma}\left(b, y0, \left(\mathsf{neg}\left(i\right)\right) \cdot y1\right)}\right) \]
                8. Applied rewrites60.3%

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

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

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

                  if 1.08000000000000001e207 < t

                  1. Initial program 20.8%

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

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

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

                      \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                  5. Applied rewrites41.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} \]
                  6. Taylor expanded in a around inf

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

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

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

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

                      \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -2.6 \cdot 10^{+147}:\\ \;\;\;\;\left(\left(j \cdot b - y2 \cdot c\right) \cdot t\right) \cdot y4\\ \mathbf{elif}\;t \leq 1.45 \cdot 10^{-109}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k\\ \mathbf{elif}\;t \leq 115:\\ \;\;\;\;\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}\;t \leq 9 \cdot 10^{+78}:\\ \;\;\;\;\mathsf{fma}\left(-c, z, y5 \cdot j\right) \cdot \left(y3 \cdot y0\right)\\ \mathbf{elif}\;t \leq 1.08 \cdot 10^{+207}:\\ \;\;\;\;\mathsf{fma}\left(y2, \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right), \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y - \mathsf{fma}\left(-i, y1, y0 \cdot b\right) \cdot j\right) \cdot x\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, t, y0 \cdot k\right) \cdot z\right) \cdot b\\ \end{array} \]
                    6. Add Preprocessing

                    Alternative 5: 36.8% accurate, 2.2× speedup?

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

                      1. Initial program 23.5%

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

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

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

                          \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                      5. Applied rewrites65.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} \]
                      6. Taylor expanded in a around inf

                        \[\leadsto \left(a \cdot \left(x \cdot y - t \cdot z\right)\right) \cdot b \]
                      7. Step-by-step derivation
                        1. Applied rewrites19.7%

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

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

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

                          if -3.6e228 < j < -9e3

                          1. Initial program 22.7%

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

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

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

                              \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                          5. Applied rewrites54.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} \]
                          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 \]
                          7. Step-by-step derivation
                            1. Applied rewrites64.0%

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

                            if -9e3 < j < 1.45000000000000002e-263

                            1. Initial program 32.7%

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

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

                            if 1.45000000000000002e-263 < j < 2.8499999999999998e-27

                            1. Initial program 42.0%

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

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

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

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

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

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

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

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

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

                                if 2.8499999999999998e-27 < j < 4.8000000000000002e48

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

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

                                if 4.8000000000000002e48 < j < 1.89999999999999995e142

                                1. Initial program 40.0%

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

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

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

                                    \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                5. Applied rewrites45.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} \]
                                6. 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)} \]
                                7. Step-by-step derivation
                                  1. lower-*.f64N/A

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

                                    \[\leadsto x \cdot \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)} \]
                                  3. lower-fma.f64N/A

                                    \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(y, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                  4. cancel-sign-sub-invN/A

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

                                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \color{blue}{\mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \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) \]
                                  6. lower-*.f64N/A

                                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right) \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) \]
                                  7. lower-neg.f64N/A

                                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right)} \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) \]
                                  8. lower-*.f64N/A

                                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), \color{blue}{y2 \cdot \left(c \cdot y0 - a \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                  9. cancel-sign-sub-invN/A

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

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

                                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \color{blue}{\left(\mathsf{neg}\left(a\right)\right) \cdot y1}\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                  12. lower-neg.f64N/A

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

                                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)\right) - \color{blue}{j \cdot \left(b \cdot y0 - i \cdot y1\right)}\right) \]
                                  14. cancel-sign-sub-invN/A

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

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

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

                                  \[\leadsto x \cdot \left(y2 \cdot \left(-1 \cdot \left(a \cdot y1\right) + c \cdot y0\right) - \color{blue}{j} \cdot \mathsf{fma}\left(b, y0, \left(\mathsf{neg}\left(i\right)\right) \cdot y1\right)\right) \]
                                10. Step-by-step derivation
                                  1. Applied rewrites70.5%

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

                                  if 1.89999999999999995e142 < j

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

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

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

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

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

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

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

                                    \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -3.6 \cdot 10^{+228}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot j\right) \cdot b\\ \mathbf{elif}\;j \leq -9000:\\ \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-z\right) \cdot k\right) \cdot \left(-y0\right)\right) \cdot b\\ \mathbf{elif}\;j \leq 1.45 \cdot 10^{-263}:\\ \;\;\;\;\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 2.85 \cdot 10^{-27}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, t, y0 \cdot k\right) \cdot z\right) \cdot b\\ \mathbf{elif}\;j \leq 4.8 \cdot 10^{+48}:\\ \;\;\;\;\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 1.9 \cdot 10^{+142}:\\ \;\;\;\;\left(\mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right) \cdot y2 - \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right) \cdot j\right) \cdot x\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, y2, j \cdot b\right) \cdot y4\right) \cdot t\\ \end{array} \]
                                  10. Add Preprocessing

                                  Alternative 6: 40.9% accurate, 2.3× speedup?

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

                                    1. Initial program 29.2%

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

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

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

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

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

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

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

                                      if -2.5999999999999999e147 < t < 2.25e-128

                                      1. Initial program 34.5%

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

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

                                      if 2.25e-128 < t < 1.20000000000000002e89

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

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

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

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

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

                                      if 1.20000000000000002e89 < t < 1.08000000000000001e207

                                      1. Initial program 28.6%

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

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

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

                                          \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                      5. Applied rewrites48.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} \]
                                      6. 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)} \]
                                      7. Step-by-step derivation
                                        1. lower-*.f64N/A

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

                                          \[\leadsto x \cdot \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)} \]
                                        3. lower-fma.f64N/A

                                          \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(y, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                        4. cancel-sign-sub-invN/A

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

                                          \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \color{blue}{\mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \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) \]
                                        6. lower-*.f64N/A

                                          \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right) \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) \]
                                        7. lower-neg.f64N/A

                                          \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right)} \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) \]
                                        8. lower-*.f64N/A

                                          \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), \color{blue}{y2 \cdot \left(c \cdot y0 - a \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                        9. cancel-sign-sub-invN/A

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

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

                                          \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \color{blue}{\left(\mathsf{neg}\left(a\right)\right) \cdot y1}\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                        12. lower-neg.f64N/A

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

                                          \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)\right) - \color{blue}{j \cdot \left(b \cdot y0 - i \cdot y1\right)}\right) \]
                                        14. cancel-sign-sub-invN/A

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

                                          \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)\right) - j \cdot \color{blue}{\mathsf{fma}\left(b, y0, \left(\mathsf{neg}\left(i\right)\right) \cdot y1\right)}\right) \]
                                      8. Applied rewrites66.9%

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

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

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

                                        if 1.08000000000000001e207 < t

                                        1. Initial program 20.8%

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

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

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

                                            \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                        5. Applied rewrites41.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} \]
                                        6. Taylor expanded in a around inf

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

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

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

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

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

                                          Alternative 7: 39.0% accurate, 2.3× speedup?

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

                                            1. Initial program 29.2%

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

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

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

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

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

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

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

                                              if -2.5999999999999999e147 < t < 5.00000000000000033e-38

                                              1. Initial program 35.2%

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

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

                                              if 5.00000000000000033e-38 < t < 8.9999999999999999e78

                                              1. Initial program 27.9%

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

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

                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                              5. Applied rewrites36.3%

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

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

                                                  \[\leadsto \left(y0 \cdot \left(\left(-c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]

                                                if 8.9999999999999999e78 < t < 1.08000000000000001e207

                                                1. Initial program 24.2%

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

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

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

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

                                                  \[\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} \]
                                                6. 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)} \]
                                                7. Step-by-step derivation
                                                  1. lower-*.f64N/A

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

                                                    \[\leadsto x \cdot \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)} \]
                                                  3. lower-fma.f64N/A

                                                    \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(y, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                  4. cancel-sign-sub-invN/A

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

                                                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \color{blue}{\mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \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) \]
                                                  6. lower-*.f64N/A

                                                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right) \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) \]
                                                  7. lower-neg.f64N/A

                                                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right)} \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) \]
                                                  8. lower-*.f64N/A

                                                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), \color{blue}{y2 \cdot \left(c \cdot y0 - a \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                  9. cancel-sign-sub-invN/A

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

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

                                                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \color{blue}{\left(\mathsf{neg}\left(a\right)\right) \cdot y1}\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                  12. lower-neg.f64N/A

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

                                                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)\right) - \color{blue}{j \cdot \left(b \cdot y0 - i \cdot y1\right)}\right) \]
                                                  14. cancel-sign-sub-invN/A

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

                                                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)\right) - j \cdot \color{blue}{\mathsf{fma}\left(b, y0, \left(\mathsf{neg}\left(i\right)\right) \cdot y1\right)}\right) \]
                                                8. Applied rewrites60.3%

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

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

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

                                                  if 1.08000000000000001e207 < t

                                                  1. Initial program 20.8%

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

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

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

                                                      \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                  5. Applied rewrites41.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} \]
                                                  6. Taylor expanded in a around inf

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

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

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

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

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

                                                    Alternative 8: 37.2% accurate, 2.3× speedup?

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

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

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

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

                                                          \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                      5. Applied rewrites56.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} \]
                                                      6. Taylor expanded in a around inf

                                                        \[\leadsto \left(a \cdot \left(x \cdot y - t \cdot z\right)\right) \cdot b \]
                                                      7. Step-by-step derivation
                                                        1. Applied rewrites36.1%

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

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

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

                                                          if -1.65e149 < y0 < -2.40000000000000023e43

                                                          1. Initial program 42.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 b around inf

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

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

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

                                                            \[\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} \]
                                                          6. 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)} \]
                                                          7. Step-by-step derivation
                                                            1. lower-*.f64N/A

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

                                                              \[\leadsto x \cdot \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)} \]
                                                            3. lower-fma.f64N/A

                                                              \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(y, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                            4. cancel-sign-sub-invN/A

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

                                                              \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \color{blue}{\mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \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) \]
                                                            6. lower-*.f64N/A

                                                              \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right) \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) \]
                                                            7. lower-neg.f64N/A

                                                              \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right)} \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) \]
                                                            8. lower-*.f64N/A

                                                              \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), \color{blue}{y2 \cdot \left(c \cdot y0 - a \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                            9. cancel-sign-sub-invN/A

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

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

                                                              \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \color{blue}{\left(\mathsf{neg}\left(a\right)\right) \cdot y1}\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                            12. lower-neg.f64N/A

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

                                                              \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)\right) - \color{blue}{j \cdot \left(b \cdot y0 - i \cdot y1\right)}\right) \]
                                                            14. cancel-sign-sub-invN/A

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

                                                              \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)\right) - j \cdot \color{blue}{\mathsf{fma}\left(b, y0, \left(\mathsf{neg}\left(i\right)\right) \cdot y1\right)}\right) \]
                                                          8. Applied rewrites50.1%

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

                                                            \[\leadsto x \cdot \left(y2 \cdot \left(-1 \cdot \left(a \cdot y1\right) + c \cdot y0\right) - \color{blue}{j} \cdot \mathsf{fma}\left(b, y0, \left(\mathsf{neg}\left(i\right)\right) \cdot y1\right)\right) \]
                                                          10. Step-by-step derivation
                                                            1. Applied rewrites54.2%

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

                                                            if -2.40000000000000023e43 < y0 < -7.1999999999999998e-241

                                                            1. Initial program 39.8%

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

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

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

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

                                                            1. Initial program 43.9%

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

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

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

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

                                                              \[\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} \]
                                                            6. 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)} \]
                                                            7. Step-by-step derivation
                                                              1. lower-*.f64N/A

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

                                                                \[\leadsto x \cdot \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)} \]
                                                              3. lower-fma.f64N/A

                                                                \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(y, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                              4. cancel-sign-sub-invN/A

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

                                                                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \color{blue}{\mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \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) \]
                                                              6. lower-*.f64N/A

                                                                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right) \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) \]
                                                              7. lower-neg.f64N/A

                                                                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right)} \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) \]
                                                              8. lower-*.f64N/A

                                                                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), \color{blue}{y2 \cdot \left(c \cdot y0 - a \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                              9. cancel-sign-sub-invN/A

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

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

                                                                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \color{blue}{\left(\mathsf{neg}\left(a\right)\right) \cdot y1}\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                              12. lower-neg.f64N/A

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

                                                                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)\right) - \color{blue}{j \cdot \left(b \cdot y0 - i \cdot y1\right)}\right) \]
                                                              14. cancel-sign-sub-invN/A

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

                                                                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)\right) - j \cdot \color{blue}{\mathsf{fma}\left(b, y0, \left(\mathsf{neg}\left(i\right)\right) \cdot y1\right)}\right) \]
                                                            8. Applied rewrites61.6%

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

                                                              \[\leadsto x \cdot \left(y2 \cdot \left(-1 \cdot \left(a \cdot y1\right) + c \cdot y0\right)\right) + \color{blue}{x \cdot \left(y \cdot \left(-1 \cdot \left(c \cdot i\right) + a \cdot b\right) - j \cdot \left(-1 \cdot \left(i \cdot y1\right) + b \cdot y0\right)\right)} \]
                                                            10. Step-by-step derivation
                                                              1. Applied rewrites61.6%

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

                                                              if 1.09999999999999997e-106 < y0 < 1.60000000000000009e33

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

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

                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                              5. Applied rewrites48.4%

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

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

                                                                  \[\leadsto \left(y0 \cdot \left(\left(-c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                2. Taylor expanded in y0 around inf

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

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

                                                                  if 1.60000000000000009e33 < y0

                                                                  1. Initial program 19.0%

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

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

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

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

                                                                    \[\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} \]
                                                                  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 \]
                                                                  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 \]
                                                                  8. Recombined 6 regimes into one program.
                                                                  9. Final simplification55.0%

                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -1.65 \cdot 10^{+149}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, t, y0 \cdot k\right) \cdot z\right) \cdot b\\ \mathbf{elif}\;y0 \leq -2.4 \cdot 10^{+43}:\\ \;\;\;\;\left(\mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right) \cdot y2 - \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right) \cdot j\right) \cdot x\\ \mathbf{elif}\;y0 \leq -7.2 \cdot 10^{-241}:\\ \;\;\;\;\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}\;y0 \leq 1.1 \cdot 10^{-106}:\\ \;\;\;\;\mathsf{fma}\left(y2, \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right), \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y - \mathsf{fma}\left(-i, y1, y0 \cdot b\right) \cdot j\right) \cdot x\\ \mathbf{elif}\;y0 \leq 1.6 \cdot 10^{+33}:\\ \;\;\;\;\mathsf{fma}\left(-c, z, y5 \cdot j\right) \cdot \left(y3 \cdot y0\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-z\right) \cdot k\right) \cdot \left(-y0\right)\right) \cdot b\\ \end{array} \]
                                                                  10. Add Preprocessing

                                                                  Alternative 9: 47.2% accurate, 2.5× speedup?

                                                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\ t_2 := y0 \cdot c - y1 \cdot a\\ \mathbf{if}\;b \leq -2.3 \cdot 10^{+36}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 8.6 \cdot 10^{-231}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(t\_2, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\ \mathbf{elif}\;b \leq 3.4 \cdot 10^{+74}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot y0 - y4 \cdot y1, j, \mathsf{fma}\left(-z, t\_2, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3\\ \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
                                                                             (- (* y x) (* t z))
                                                                             a
                                                                             (fma (- (* j t) (* k y)) y4 (* (- (* k z) (* j x)) y0)))
                                                                            b))
                                                                          (t_2 (- (* y0 c) (* y1 a))))
                                                                     (if (<= b -2.3e+36)
                                                                       t_1
                                                                       (if (<= b 8.6e-231)
                                                                         (*
                                                                          (fma (- (* y4 y1) (* y5 y0)) k (fma t_2 x (* (- (* y5 a) (* y4 c)) t)))
                                                                          y2)
                                                                         (if (<= b 3.4e+74)
                                                                           (*
                                                                            (fma
                                                                             (- (* y5 y0) (* y4 y1))
                                                                             j
                                                                             (fma (- z) t_2 (* (- (* y4 c) (* y5 a)) y)))
                                                                            y3)
                                                                           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(((y * x) - (t * z)), a, fma(((j * t) - (k * y)), y4, (((k * z) - (j * x)) * y0))) * b;
                                                                  	double t_2 = (y0 * c) - (y1 * a);
                                                                  	double tmp;
                                                                  	if (b <= -2.3e+36) {
                                                                  		tmp = t_1;
                                                                  	} else if (b <= 8.6e-231) {
                                                                  		tmp = fma(((y4 * y1) - (y5 * y0)), k, fma(t_2, x, (((y5 * a) - (y4 * c)) * t))) * y2;
                                                                  	} else if (b <= 3.4e+74) {
                                                                  		tmp = fma(((y5 * y0) - (y4 * y1)), j, fma(-z, t_2, (((y4 * c) - (y5 * a)) * y))) * y3;
                                                                  	} 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(y * x) - Float64(t * z)), a, fma(Float64(Float64(j * t) - Float64(k * y)), y4, Float64(Float64(Float64(k * z) - Float64(j * x)) * y0))) * b)
                                                                  	t_2 = Float64(Float64(y0 * c) - Float64(y1 * a))
                                                                  	tmp = 0.0
                                                                  	if (b <= -2.3e+36)
                                                                  		tmp = t_1;
                                                                  	elseif (b <= 8.6e-231)
                                                                  		tmp = Float64(fma(Float64(Float64(y4 * y1) - Float64(y5 * y0)), k, fma(t_2, x, Float64(Float64(Float64(y5 * a) - Float64(y4 * c)) * t))) * y2);
                                                                  	elseif (b <= 3.4e+74)
                                                                  		tmp = Float64(fma(Float64(Float64(y5 * y0) - Float64(y4 * y1)), j, fma(Float64(-z), t_2, Float64(Float64(Float64(y4 * c) - Float64(y5 * a)) * y))) * y3);
                                                                  	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[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] * a + N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * y4 + N[(N[(N[(k * z), $MachinePrecision] - N[(j * x), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -2.3e+36], t$95$1, If[LessEqual[b, 8.6e-231], N[(N[(N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * k + N[(t$95$2 * x + N[(N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[b, 3.4e+74], N[(N[(N[(N[(y5 * y0), $MachinePrecision] - N[(y4 * y1), $MachinePrecision]), $MachinePrecision] * j + N[((-z) * t$95$2 + N[(N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision], t$95$1]]]]]
                                                                  
                                                                  \begin{array}{l}
                                                                  
                                                                  \\
                                                                  \begin{array}{l}
                                                                  t_1 := \mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\
                                                                  t_2 := y0 \cdot c - y1 \cdot a\\
                                                                  \mathbf{if}\;b \leq -2.3 \cdot 10^{+36}:\\
                                                                  \;\;\;\;t\_1\\
                                                                  
                                                                  \mathbf{elif}\;b \leq 8.6 \cdot 10^{-231}:\\
                                                                  \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(t\_2, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\
                                                                  
                                                                  \mathbf{elif}\;b \leq 3.4 \cdot 10^{+74}:\\
                                                                  \;\;\;\;\mathsf{fma}\left(y5 \cdot y0 - y4 \cdot y1, j, \mathsf{fma}\left(-z, t\_2, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3\\
                                                                  
                                                                  \mathbf{else}:\\
                                                                  \;\;\;\;t\_1\\
                                                                  
                                                                  
                                                                  \end{array}
                                                                  \end{array}
                                                                  
                                                                  Derivation
                                                                  1. Split input into 3 regimes
                                                                  2. if b < -2.29999999999999996e36 or 3.3999999999999999e74 < b

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

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

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

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

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

                                                                    if -2.29999999999999996e36 < b < 8.59999999999999996e-231

                                                                    1. Initial program 34.6%

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

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

                                                                    if 8.59999999999999996e-231 < b < 3.3999999999999999e74

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

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

                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                    5. Applied rewrites52.4%

                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y0 \cdot y5\right), j, \mathsf{fma}\left(-z, c \cdot y0 - y1 \cdot a, \left(c \cdot y4 - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                  3. Recombined 3 regimes into one program.
                                                                  4. Final simplification58.6%

                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.3 \cdot 10^{+36}:\\ \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\ \mathbf{elif}\;b \leq 8.6 \cdot 10^{-231}:\\ \;\;\;\;\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}\;b \leq 3.4 \cdot 10^{+74}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot y0 - y4 \cdot y1, j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\ \end{array} \]
                                                                  5. Add Preprocessing

                                                                  Alternative 10: 34.4% accurate, 2.5× speedup?

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

                                                                    1. Initial program 0.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 rewrites50.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 i around inf

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

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

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

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

                                                                        if -3.69999999999999992e230 < y2 < -8.2000000000000003e-42 or 2.2499999999999999e-29 < y2 < 4.0999999999999999e117

                                                                        1. Initial program 37.9%

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

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

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

                                                                            \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                        5. Applied rewrites36.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} \]
                                                                        6. 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)} \]
                                                                        7. Step-by-step derivation
                                                                          1. lower-*.f64N/A

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

                                                                            \[\leadsto x \cdot \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)} \]
                                                                          3. lower-fma.f64N/A

                                                                            \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(y, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                                          4. cancel-sign-sub-invN/A

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

                                                                            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \color{blue}{\mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \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) \]
                                                                          6. lower-*.f64N/A

                                                                            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right) \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) \]
                                                                          7. lower-neg.f64N/A

                                                                            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right)} \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) \]
                                                                          8. lower-*.f64N/A

                                                                            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), \color{blue}{y2 \cdot \left(c \cdot y0 - a \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                                          9. cancel-sign-sub-invN/A

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

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

                                                                            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \color{blue}{\left(\mathsf{neg}\left(a\right)\right) \cdot y1}\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                                          12. lower-neg.f64N/A

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

                                                                            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)\right) - \color{blue}{j \cdot \left(b \cdot y0 - i \cdot y1\right)}\right) \]
                                                                          14. cancel-sign-sub-invN/A

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

                                                                            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)\right) - j \cdot \color{blue}{\mathsf{fma}\left(b, y0, \left(\mathsf{neg}\left(i\right)\right) \cdot y1\right)}\right) \]
                                                                        8. Applied rewrites47.0%

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

                                                                          \[\leadsto x \cdot \left(y2 \cdot \left(-1 \cdot \left(a \cdot y1\right) + c \cdot y0\right) - \color{blue}{j} \cdot \mathsf{fma}\left(b, y0, \left(\mathsf{neg}\left(i\right)\right) \cdot y1\right)\right) \]
                                                                        10. Step-by-step derivation
                                                                          1. Applied rewrites49.6%

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

                                                                          if -8.2000000000000003e-42 < y2 < -1.85e-192

                                                                          1. Initial program 43.4%

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

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

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

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

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

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

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

                                                                            if -1.85e-192 < y2 < 6.3999999999999999e-236

                                                                            1. Initial program 37.5%

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

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

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

                                                                                \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                            5. Applied rewrites63.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} \]
                                                                            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 \]
                                                                            7. Step-by-step derivation
                                                                              1. Applied rewrites58.2%

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

                                                                              if 6.3999999999999999e-236 < y2 < 2.2499999999999999e-29

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

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

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

                                                                                  \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                              5. Applied rewrites40.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} \]
                                                                              6. Taylor expanded in a around inf

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

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

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

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

                                                                                  if 4.0999999999999999e117 < y2

                                                                                  1. Initial program 16.9%

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

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

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

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

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

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

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

                                                                                      \[\leadsto \left(y2 \cdot \left(-1 \cdot \left(c \cdot t\right) + k \cdot y1\right)\right) \cdot y4 \]
                                                                                    3. Step-by-step derivation
                                                                                      1. Applied rewrites59.1%

                                                                                        \[\leadsto \left(y2 \cdot \mathsf{fma}\left(k, y1, -c \cdot t\right)\right) \cdot y4 \]
                                                                                    4. Recombined 6 regimes into one program.
                                                                                    5. Final simplification54.7%

                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -3.7 \cdot 10^{+230}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, x, y4 \cdot k\right) \cdot y2\right) \cdot y1\\ \mathbf{elif}\;y2 \leq -8.2 \cdot 10^{-42}:\\ \;\;\;\;\left(\mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right) \cdot y2 - \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right) \cdot j\right) \cdot x\\ \mathbf{elif}\;y2 \leq -1.85 \cdot 10^{-192}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot b\right) \cdot y4\\ \mathbf{elif}\;y2 \leq 6.4 \cdot 10^{-236}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-z\right) \cdot k\right) \cdot \left(-y0\right)\right) \cdot b\\ \mathbf{elif}\;y2 \leq 2.25 \cdot 10^{-29}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, t, y0 \cdot k\right) \cdot z\right) \cdot b\\ \mathbf{elif}\;y2 \leq 4.1 \cdot 10^{+117}:\\ \;\;\;\;\left(\mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right) \cdot y2 - \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right) \cdot j\right) \cdot x\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right) \cdot y2\right) \cdot y4\\ \end{array} \]
                                                                                    6. Add Preprocessing

                                                                                    Alternative 11: 39.1% accurate, 2.5× speedup?

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

                                                                                      1. Initial program 23.5%

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

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

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

                                                                                          \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                      5. Applied rewrites65.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} \]
                                                                                      6. Taylor expanded in a around inf

                                                                                        \[\leadsto \left(a \cdot \left(x \cdot y - t \cdot z\right)\right) \cdot b \]
                                                                                      7. Step-by-step derivation
                                                                                        1. Applied rewrites19.7%

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

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

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

                                                                                          if -3.6e228 < j < -9e3

                                                                                          1. Initial program 22.7%

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

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

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

                                                                                              \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                          5. Applied rewrites54.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} \]
                                                                                          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 \]
                                                                                          7. Step-by-step derivation
                                                                                            1. Applied rewrites64.0%

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

                                                                                            if -9e3 < j < 4.99999999999999957e28

                                                                                            1. Initial program 36.2%

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

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

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

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

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

                                                                                            if 4.99999999999999957e28 < j < 1.89999999999999995e142

                                                                                            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)} \]
                                                                                            4. Step-by-step derivation
                                                                                              1. *-commutativeN/A

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

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

                                                                                              \[\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} \]
                                                                                            6. 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)} \]
                                                                                            7. Step-by-step derivation
                                                                                              1. lower-*.f64N/A

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

                                                                                                \[\leadsto x \cdot \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)} \]
                                                                                              3. lower-fma.f64N/A

                                                                                                \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(y, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                                                              4. cancel-sign-sub-invN/A

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

                                                                                                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \color{blue}{\mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \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) \]
                                                                                              6. lower-*.f64N/A

                                                                                                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right) \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) \]
                                                                                              7. lower-neg.f64N/A

                                                                                                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right)} \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) \]
                                                                                              8. lower-*.f64N/A

                                                                                                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), \color{blue}{y2 \cdot \left(c \cdot y0 - a \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                                                              9. cancel-sign-sub-invN/A

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

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

                                                                                                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \color{blue}{\left(\mathsf{neg}\left(a\right)\right) \cdot y1}\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                                                              12. lower-neg.f64N/A

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

                                                                                                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)\right) - \color{blue}{j \cdot \left(b \cdot y0 - i \cdot y1\right)}\right) \]
                                                                                              14. cancel-sign-sub-invN/A

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

                                                                                                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)\right) - j \cdot \color{blue}{\mathsf{fma}\left(b, y0, \left(\mathsf{neg}\left(i\right)\right) \cdot y1\right)}\right) \]
                                                                                            8. Applied rewrites54.3%

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

                                                                                              \[\leadsto x \cdot \left(y2 \cdot \left(-1 \cdot \left(a \cdot y1\right) + c \cdot y0\right) - \color{blue}{j} \cdot \mathsf{fma}\left(b, y0, \left(\mathsf{neg}\left(i\right)\right) \cdot y1\right)\right) \]
                                                                                            10. Step-by-step derivation
                                                                                              1. Applied rewrites61.4%

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

                                                                                              if 1.89999999999999995e142 < j

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

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

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

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

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

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

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

                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -3.6 \cdot 10^{+228}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot j\right) \cdot b\\ \mathbf{elif}\;j \leq -9000:\\ \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-z\right) \cdot k\right) \cdot \left(-y0\right)\right) \cdot b\\ \mathbf{elif}\;j \leq 5 \cdot 10^{+28}:\\ \;\;\;\;\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.9 \cdot 10^{+142}:\\ \;\;\;\;\left(\mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right) \cdot y2 - \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right) \cdot j\right) \cdot x\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, y2, j \cdot b\right) \cdot y4\right) \cdot t\\ \end{array} \]
                                                                                              10. Add Preprocessing

                                                                                              Alternative 12: 46.9% accurate, 2.7× speedup?

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

                                                                                                1. Initial program 28.8%

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

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

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

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

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

                                                                                                if -2.29999999999999996e36 < b < 1.1500000000000001e38

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

                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.3 \cdot 10^{+36}:\\ \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\ \mathbf{elif}\;b \leq 1.15 \cdot 10^{+38}:\\ \;\;\;\;\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{else}:\\ \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\ \end{array} \]
                                                                                              5. Add Preprocessing

                                                                                              Alternative 13: 34.3% accurate, 2.9× speedup?

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

                                                                                                1. Initial program 34.8%

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

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

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

                                                                                                    \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                                5. Applied rewrites43.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} \]
                                                                                                6. 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)} \]
                                                                                                7. Step-by-step derivation
                                                                                                  1. lower-*.f64N/A

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

                                                                                                    \[\leadsto x \cdot \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)} \]
                                                                                                  3. lower-fma.f64N/A

                                                                                                    \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(y, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                                                                  4. cancel-sign-sub-invN/A

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

                                                                                                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \color{blue}{\mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \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) \]
                                                                                                  6. lower-*.f64N/A

                                                                                                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right) \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) \]
                                                                                                  7. lower-neg.f64N/A

                                                                                                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right)} \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) \]
                                                                                                  8. lower-*.f64N/A

                                                                                                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), \color{blue}{y2 \cdot \left(c \cdot y0 - a \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                                                                  9. cancel-sign-sub-invN/A

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

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

                                                                                                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \color{blue}{\left(\mathsf{neg}\left(a\right)\right) \cdot y1}\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                                                                  12. lower-neg.f64N/A

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

                                                                                                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)\right) - \color{blue}{j \cdot \left(b \cdot y0 - i \cdot y1\right)}\right) \]
                                                                                                  14. cancel-sign-sub-invN/A

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

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

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

                                                                                                  \[\leadsto x \cdot \left(y2 \cdot \left(-1 \cdot \left(a \cdot y1\right) + c \cdot y0\right)\right) + \color{blue}{x \cdot \left(y \cdot \left(-1 \cdot \left(c \cdot i\right) + a \cdot b\right) - j \cdot \left(-1 \cdot \left(i \cdot y1\right) + b \cdot y0\right)\right)} \]
                                                                                                10. Step-by-step derivation
                                                                                                  1. Applied rewrites49.9%

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

                                                                                                  if -1.5e-260 < y3 < 2.35000000000000011e-284

                                                                                                  1. Initial program 36.0%

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

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

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

                                                                                                      \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                                  5. Applied rewrites64.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} \]
                                                                                                  6. Taylor expanded in a around inf

                                                                                                    \[\leadsto \left(a \cdot \left(x \cdot y - t \cdot z\right)\right) \cdot b \]
                                                                                                  7. Step-by-step derivation
                                                                                                    1. Applied rewrites36.7%

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

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

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

                                                                                                      if 2.35000000000000011e-284 < y3 < 1.01999999999999998e-103

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

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

                                                                                                        \[\leadsto \left(b \cdot \left(j \cdot t - k \cdot y\right)\right) \cdot y4 \]
                                                                                                      7. Step-by-step derivation
                                                                                                        1. Applied rewrites48.2%

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

                                                                                                        if 1.01999999999999998e-103 < y3 < 3.60000000000000024e167

                                                                                                        1. Initial program 24.4%

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

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

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

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

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

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

                                                                                                            \[\leadsto y2 \cdot \color{blue}{\left(y4 \cdot \left(\left(-c \cdot t\right) + k \cdot y1\right)\right)} \]

                                                                                                          if 3.60000000000000024e167 < y3

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

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

                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                          5. Applied rewrites59.3%

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

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

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

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

                                                                                                          Alternative 14: 31.3% accurate, 3.1× speedup?

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

                                                                                                            1. Initial program 39.6%

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

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

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

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

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

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

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

                                                                                                              if -3.1999999999999999e100 < b < -4.35000000000000014e-13

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

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

                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                              5. Applied rewrites34.6%

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

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

                                                                                                                  \[\leadsto \left(y0 \cdot \left(\left(-c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                2. Taylor expanded in y0 around inf

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

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

                                                                                                                  if -4.35000000000000014e-13 < b < -8e-107

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

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

                                                                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                  5. Applied rewrites48.3%

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

                                                                                                                    \[\leadsto \left(y0 \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                  7. Step-by-step derivation
                                                                                                                    1. Applied rewrites22.6%

                                                                                                                      \[\leadsto \left(y0 \cdot \left(\left(-c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                    2. Taylor expanded in y4 around inf

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

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

                                                                                                                      if -8e-107 < b < 3.80000000000000004e-193

                                                                                                                      1. Initial program 33.8%

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

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

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

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

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

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

                                                                                                                          \[\leadsto y2 \cdot \color{blue}{\left(y4 \cdot \left(\left(-c \cdot t\right) + k \cdot y1\right)\right)} \]

                                                                                                                        if 3.80000000000000004e-193 < b < 2.8000000000000001e-87

                                                                                                                        1. Initial program 41.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 b around inf

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

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

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

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

                                                                                                                          \[\leadsto \left(a \cdot \left(x \cdot y - t \cdot z\right)\right) \cdot b \]
                                                                                                                        7. Step-by-step derivation
                                                                                                                          1. Applied rewrites19.2%

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

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

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

                                                                                                                            if 2.8000000000000001e-87 < b < 1.6000000000000001e72

                                                                                                                            1. Initial program 29.3%

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

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

                                                                                                                              if 1.6000000000000001e72 < b < 3.79999999999999989e110

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

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

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

                                                                                                                                  \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                                                              5. Applied rewrites85.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} \]
                                                                                                                              6. Taylor expanded in a around inf

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

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

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

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

                                                                                                                                  if 3.79999999999999989e110 < b

                                                                                                                                  1. Initial program 24.5%

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

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

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

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

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

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

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

                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -3.2 \cdot 10^{+100}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-z\right) \cdot t\right) \cdot b\right) \cdot a\\ \mathbf{elif}\;b \leq -4.35 \cdot 10^{-13}:\\ \;\;\;\;\mathsf{fma}\left(-c, z, y5 \cdot j\right) \cdot \left(y3 \cdot y0\right)\\ \mathbf{elif}\;b \leq -8 \cdot 10^{-107}:\\ \;\;\;\;\left(\mathsf{fma}\left(-j, y1, c \cdot y\right) \cdot y4\right) \cdot y3\\ \mathbf{elif}\;b \leq 3.8 \cdot 10^{-193}:\\ \;\;\;\;\left(\left(y1 \cdot k - c \cdot t\right) \cdot y4\right) \cdot y2\\ \mathbf{elif}\;b \leq 2.8 \cdot 10^{-87}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot j\right) \cdot b\\ \mathbf{elif}\;b \leq 1.6 \cdot 10^{+72}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right) \cdot a\right) \cdot y1\\ \mathbf{elif}\;b \leq 3.8 \cdot 10^{+110}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, t, y0 \cdot k\right) \cdot z\right) \cdot b\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot b\right) \cdot y4\\ \end{array} \]
                                                                                                                                  10. Add Preprocessing

                                                                                                                                  Alternative 15: 31.8% accurate, 3.6× speedup?

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

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

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

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

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

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

                                                                                                                                        if -3.2000000000000002e244 < y2 < -2.5e119

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

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

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

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

                                                                                                                                          if -2.5e119 < y2 < -5.00000000000000019e-43

                                                                                                                                          1. Initial program 43.6%

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

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

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

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

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

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

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

                                                                                                                                            if -5.00000000000000019e-43 < y2 < -1.85e-192

                                                                                                                                            1. Initial program 43.4%

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

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

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

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

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

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

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

                                                                                                                                              if -1.85e-192 < y2 < 2.9500000000000001e123

                                                                                                                                              1. Initial program 35.4%

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

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

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

                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                                                                              5. Applied rewrites49.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} \]
                                                                                                                                              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 \]
                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                1. Applied rewrites44.2%

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

                                                                                                                                                if 2.9500000000000001e123 < y2

                                                                                                                                                1. Initial program 18.1%

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

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

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

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

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

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

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

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

                                                                                                                                                      \[\leadsto \left(y2 \cdot \mathsf{fma}\left(k, y1, -c \cdot t\right)\right) \cdot y4 \]
                                                                                                                                                  4. Recombined 6 regimes into one program.
                                                                                                                                                  5. Final simplification52.2%

                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -3.2 \cdot 10^{+244}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, x, y4 \cdot k\right) \cdot y2\right) \cdot y1\\ \mathbf{elif}\;y2 \leq -2.5 \cdot 10^{+119}:\\ \;\;\;\;\left(y0 \cdot k\right) \cdot \mathsf{fma}\left(b, z, \left(-y5\right) \cdot y2\right)\\ \mathbf{elif}\;y2 \leq -5 \cdot 10^{-43}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, b, i \cdot c\right) \cdot z\right) \cdot t\\ \mathbf{elif}\;y2 \leq -1.85 \cdot 10^{-192}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot b\right) \cdot y4\\ \mathbf{elif}\;y2 \leq 2.95 \cdot 10^{+123}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-z\right) \cdot k\right) \cdot \left(-y0\right)\right) \cdot b\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right) \cdot y2\right) \cdot y4\\ \end{array} \]
                                                                                                                                                  6. Add Preprocessing

                                                                                                                                                  Alternative 16: 32.2% accurate, 3.7× speedup?

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

                                                                                                                                                    1. Initial program 39.6%

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

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

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

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

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

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

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

                                                                                                                                                      if -3.1999999999999999e100 < b < -4.35000000000000014e-13

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

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

                                                                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                      5. Applied rewrites34.6%

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

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

                                                                                                                                                          \[\leadsto \left(y0 \cdot \left(\left(-c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                        2. Taylor expanded in y0 around inf

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

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

                                                                                                                                                          if -4.35000000000000014e-13 < b < -8e-107

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

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

                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                          5. Applied rewrites48.3%

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

                                                                                                                                                            \[\leadsto \left(y0 \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                            1. Applied rewrites22.6%

                                                                                                                                                              \[\leadsto \left(y0 \cdot \left(\left(-c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                            2. Taylor expanded in y4 around inf

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

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

                                                                                                                                                              if -8e-107 < b < 7.60000000000000012e72

                                                                                                                                                              1. Initial program 33.6%

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

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

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

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

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

                                                                                                                                                                \[\leadsto \left(b \cdot \left(j \cdot t - k \cdot y\right)\right) \cdot y4 \]
                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                1. Applied rewrites14.6%

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

                                                                                                                                                                  \[\leadsto \left(y2 \cdot \left(-1 \cdot \left(c \cdot t\right) + k \cdot y1\right)\right) \cdot y4 \]
                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                  1. Applied rewrites40.1%

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

                                                                                                                                                                  if 7.60000000000000012e72 < b < 3.79999999999999989e110

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

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

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

                                                                                                                                                                      \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                                                                                                  5. Applied rewrites85.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} \]
                                                                                                                                                                  6. Taylor expanded in a around inf

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

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

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

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

                                                                                                                                                                      if 3.79999999999999989e110 < b

                                                                                                                                                                      1. Initial program 24.5%

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

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

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

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

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

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

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

                                                                                                                                                                        \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -3.2 \cdot 10^{+100}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-z\right) \cdot t\right) \cdot b\right) \cdot a\\ \mathbf{elif}\;b \leq -4.35 \cdot 10^{-13}:\\ \;\;\;\;\mathsf{fma}\left(-c, z, y5 \cdot j\right) \cdot \left(y3 \cdot y0\right)\\ \mathbf{elif}\;b \leq -8 \cdot 10^{-107}:\\ \;\;\;\;\left(\mathsf{fma}\left(-j, y1, c \cdot y\right) \cdot y4\right) \cdot y3\\ \mathbf{elif}\;b \leq 7.6 \cdot 10^{+72}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right) \cdot y2\right) \cdot y4\\ \mathbf{elif}\;b \leq 3.8 \cdot 10^{+110}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, t, y0 \cdot k\right) \cdot z\right) \cdot b\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot b\right) \cdot y4\\ \end{array} \]
                                                                                                                                                                      10. Add Preprocessing

                                                                                                                                                                      Alternative 17: 31.9% accurate, 3.7× speedup?

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

                                                                                                                                                                        1. Initial program 39.6%

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

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

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

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

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

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

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

                                                                                                                                                                          if -3.1999999999999999e100 < b < -4.35000000000000014e-13

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

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

                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                          5. Applied rewrites34.6%

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

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

                                                                                                                                                                              \[\leadsto \left(y0 \cdot \left(\left(-c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                            2. Taylor expanded in y0 around inf

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

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

                                                                                                                                                                              if -4.35000000000000014e-13 < b < -8e-107

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

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

                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                              5. Applied rewrites48.3%

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

                                                                                                                                                                                \[\leadsto \left(y0 \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                1. Applied rewrites22.6%

                                                                                                                                                                                  \[\leadsto \left(y0 \cdot \left(\left(-c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                                2. Taylor expanded in y4 around inf

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

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

                                                                                                                                                                                  if -8e-107 < b < 4.1e46

                                                                                                                                                                                  1. Initial program 34.9%

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

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

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

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

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

                                                                                                                                                                                    \[\leadsto \left(b \cdot \left(j \cdot t - k \cdot y\right)\right) \cdot y4 \]
                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                    1. Applied rewrites14.2%

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

                                                                                                                                                                                      \[\leadsto \left(y2 \cdot \left(-1 \cdot \left(c \cdot t\right) + k \cdot y1\right)\right) \cdot y4 \]
                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                      1. Applied rewrites40.7%

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

                                                                                                                                                                                      if 4.1e46 < b < 1.89999999999999983e159

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

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

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

                                                                                                                                                                                        if 1.89999999999999983e159 < b

                                                                                                                                                                                        1. Initial program 26.2%

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

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

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

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

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

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

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

                                                                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -3.2 \cdot 10^{+100}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-z\right) \cdot t\right) \cdot b\right) \cdot a\\ \mathbf{elif}\;b \leq -4.35 \cdot 10^{-13}:\\ \;\;\;\;\mathsf{fma}\left(-c, z, y5 \cdot j\right) \cdot \left(y3 \cdot y0\right)\\ \mathbf{elif}\;b \leq -8 \cdot 10^{-107}:\\ \;\;\;\;\left(\mathsf{fma}\left(-j, y1, c \cdot y\right) \cdot y4\right) \cdot y3\\ \mathbf{elif}\;b \leq 4.1 \cdot 10^{+46}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right) \cdot y2\right) \cdot y4\\ \mathbf{elif}\;b \leq 1.9 \cdot 10^{+159}:\\ \;\;\;\;\left(y0 \cdot k\right) \cdot \mathsf{fma}\left(b, z, \left(-y5\right) \cdot y2\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot b\right) \cdot y4\\ \end{array} \]
                                                                                                                                                                                        10. Add Preprocessing

                                                                                                                                                                                        Alternative 18: 31.3% accurate, 3.7× speedup?

                                                                                                                                                                                        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\mathsf{fma}\left(-a, b, i \cdot c\right) \cdot z\right) \cdot t\\ \mathbf{if}\;z \leq -2.75 \cdot 10^{+128}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -8.5 \cdot 10^{-266}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, y2, j \cdot b\right) \cdot y4\right) \cdot t\\ \mathbf{elif}\;z \leq 8.7 \cdot 10^{+52}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, x, y4 \cdot k\right) \cdot y2\right) \cdot y1\\ \mathbf{elif}\;z \leq 10^{+124}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 1.15 \cdot 10^{+235}:\\ \;\;\;\;\mathsf{fma}\left(-c, z, y5 \cdot j\right) \cdot \left(y3 \cdot y0\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-a, z, y4 \cdot j\right) \cdot \left(b \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 (- a) b (* i c)) z) t)))
                                                                                                                                                                                           (if (<= z -2.75e+128)
                                                                                                                                                                                             t_1
                                                                                                                                                                                             (if (<= z -8.5e-266)
                                                                                                                                                                                               (* (* (fma (- c) y2 (* j b)) y4) t)
                                                                                                                                                                                               (if (<= z 8.7e+52)
                                                                                                                                                                                                 (* (* (fma (- a) x (* y4 k)) y2) y1)
                                                                                                                                                                                                 (if (<= z 1e+124)
                                                                                                                                                                                                   t_1
                                                                                                                                                                                                   (if (<= z 1.15e+235)
                                                                                                                                                                                                     (* (fma (- c) z (* y5 j)) (* y3 y0))
                                                                                                                                                                                                     (* (fma (- a) z (* y4 j)) (* b 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(-a, b, (i * c)) * z) * t;
                                                                                                                                                                                        	double tmp;
                                                                                                                                                                                        	if (z <= -2.75e+128) {
                                                                                                                                                                                        		tmp = t_1;
                                                                                                                                                                                        	} else if (z <= -8.5e-266) {
                                                                                                                                                                                        		tmp = (fma(-c, y2, (j * b)) * y4) * t;
                                                                                                                                                                                        	} else if (z <= 8.7e+52) {
                                                                                                                                                                                        		tmp = (fma(-a, x, (y4 * k)) * y2) * y1;
                                                                                                                                                                                        	} else if (z <= 1e+124) {
                                                                                                                                                                                        		tmp = t_1;
                                                                                                                                                                                        	} else if (z <= 1.15e+235) {
                                                                                                                                                                                        		tmp = fma(-c, z, (y5 * j)) * (y3 * y0);
                                                                                                                                                                                        	} else {
                                                                                                                                                                                        		tmp = fma(-a, z, (y4 * j)) * (b * 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(fma(Float64(-a), b, Float64(i * c)) * z) * t)
                                                                                                                                                                                        	tmp = 0.0
                                                                                                                                                                                        	if (z <= -2.75e+128)
                                                                                                                                                                                        		tmp = t_1;
                                                                                                                                                                                        	elseif (z <= -8.5e-266)
                                                                                                                                                                                        		tmp = Float64(Float64(fma(Float64(-c), y2, Float64(j * b)) * y4) * t);
                                                                                                                                                                                        	elseif (z <= 8.7e+52)
                                                                                                                                                                                        		tmp = Float64(Float64(fma(Float64(-a), x, Float64(y4 * k)) * y2) * y1);
                                                                                                                                                                                        	elseif (z <= 1e+124)
                                                                                                                                                                                        		tmp = t_1;
                                                                                                                                                                                        	elseif (z <= 1.15e+235)
                                                                                                                                                                                        		tmp = Float64(fma(Float64(-c), z, Float64(y5 * j)) * Float64(y3 * y0));
                                                                                                                                                                                        	else
                                                                                                                                                                                        		tmp = Float64(fma(Float64(-a), z, Float64(y4 * j)) * Float64(b * 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[((-a) * b + N[(i * c), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision] * t), $MachinePrecision]}, If[LessEqual[z, -2.75e+128], t$95$1, If[LessEqual[z, -8.5e-266], N[(N[(N[((-c) * y2 + N[(j * b), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision] * t), $MachinePrecision], If[LessEqual[z, 8.7e+52], N[(N[(N[((-a) * x + N[(y4 * k), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[z, 1e+124], t$95$1, If[LessEqual[z, 1.15e+235], N[(N[((-c) * z + N[(y5 * j), $MachinePrecision]), $MachinePrecision] * N[(y3 * y0), $MachinePrecision]), $MachinePrecision], N[(N[((-a) * z + N[(y4 * j), $MachinePrecision]), $MachinePrecision] * N[(b * t), $MachinePrecision]), $MachinePrecision]]]]]]]
                                                                                                                                                                                        
                                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                                        
                                                                                                                                                                                        \\
                                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                                        t_1 := \left(\mathsf{fma}\left(-a, b, i \cdot c\right) \cdot z\right) \cdot t\\
                                                                                                                                                                                        \mathbf{if}\;z \leq -2.75 \cdot 10^{+128}:\\
                                                                                                                                                                                        \;\;\;\;t\_1\\
                                                                                                                                                                                        
                                                                                                                                                                                        \mathbf{elif}\;z \leq -8.5 \cdot 10^{-266}:\\
                                                                                                                                                                                        \;\;\;\;\left(\mathsf{fma}\left(-c, y2, j \cdot b\right) \cdot y4\right) \cdot t\\
                                                                                                                                                                                        
                                                                                                                                                                                        \mathbf{elif}\;z \leq 8.7 \cdot 10^{+52}:\\
                                                                                                                                                                                        \;\;\;\;\left(\mathsf{fma}\left(-a, x, y4 \cdot k\right) \cdot y2\right) \cdot y1\\
                                                                                                                                                                                        
                                                                                                                                                                                        \mathbf{elif}\;z \leq 10^{+124}:\\
                                                                                                                                                                                        \;\;\;\;t\_1\\
                                                                                                                                                                                        
                                                                                                                                                                                        \mathbf{elif}\;z \leq 1.15 \cdot 10^{+235}:\\
                                                                                                                                                                                        \;\;\;\;\mathsf{fma}\left(-c, z, y5 \cdot j\right) \cdot \left(y3 \cdot y0\right)\\
                                                                                                                                                                                        
                                                                                                                                                                                        \mathbf{else}:\\
                                                                                                                                                                                        \;\;\;\;\mathsf{fma}\left(-a, z, y4 \cdot j\right) \cdot \left(b \cdot t\right)\\
                                                                                                                                                                                        
                                                                                                                                                                                        
                                                                                                                                                                                        \end{array}
                                                                                                                                                                                        \end{array}
                                                                                                                                                                                        
                                                                                                                                                                                        Derivation
                                                                                                                                                                                        1. Split input into 5 regimes
                                                                                                                                                                                        2. if z < -2.7499999999999999e128 or 8.69999999999999994e52 < z < 9.99999999999999948e123

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

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

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

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

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

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

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

                                                                                                                                                                                            if -2.7499999999999999e128 < z < -8.5000000000000002e-266

                                                                                                                                                                                            1. Initial program 28.8%

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

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

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

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

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

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

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

                                                                                                                                                                                              if -8.5000000000000002e-266 < z < 8.69999999999999994e52

                                                                                                                                                                                              1. Initial program 33.8%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                  if 9.99999999999999948e123 < z < 1.15e235

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

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

                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                  5. Applied rewrites60.0%

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

                                                                                                                                                                                                    \[\leadsto \left(y0 \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                                    1. Applied rewrites63.9%

                                                                                                                                                                                                      \[\leadsto \left(y0 \cdot \left(\left(-c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                                                    2. Taylor expanded in y0 around inf

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

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

                                                                                                                                                                                                      if 1.15e235 < z

                                                                                                                                                                                                      1. Initial program 23.5%

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

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

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

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

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

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

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

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

                                                                                                                                                                                                            \[\leadsto \left(b \cdot t\right) \cdot \color{blue}{\mathsf{fma}\left(-a, z, j \cdot y4\right)} \]
                                                                                                                                                                                                        4. Recombined 5 regimes into one program.
                                                                                                                                                                                                        5. Final simplification49.0%

                                                                                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -2.75 \cdot 10^{+128}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, b, i \cdot c\right) \cdot z\right) \cdot t\\ \mathbf{elif}\;z \leq -8.5 \cdot 10^{-266}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, y2, j \cdot b\right) \cdot y4\right) \cdot t\\ \mathbf{elif}\;z \leq 8.7 \cdot 10^{+52}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, x, y4 \cdot k\right) \cdot y2\right) \cdot y1\\ \mathbf{elif}\;z \leq 10^{+124}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, b, i \cdot c\right) \cdot z\right) \cdot t\\ \mathbf{elif}\;z \leq 1.15 \cdot 10^{+235}:\\ \;\;\;\;\mathsf{fma}\left(-c, z, y5 \cdot j\right) \cdot \left(y3 \cdot y0\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-a, z, y4 \cdot j\right) \cdot \left(b \cdot t\right)\\ \end{array} \]
                                                                                                                                                                                                        6. Add Preprocessing

                                                                                                                                                                                                        Alternative 19: 28.7% accurate, 4.2× speedup?

                                                                                                                                                                                                        \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -5.6 \cdot 10^{+160}:\\ \;\;\;\;\left(\left(\left(-z\right) \cdot y0\right) \cdot c\right) \cdot y3\\ \mathbf{elif}\;z \leq -5 \cdot 10^{-204}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-z\right) \cdot k\right) \cdot y1\right) \cdot i\\ \mathbf{elif}\;z \leq 1.3 \cdot 10^{+50}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, x, y4 \cdot k\right) \cdot y2\right) \cdot y1\\ \mathbf{elif}\;z \leq 1.15 \cdot 10^{+235}:\\ \;\;\;\;\mathsf{fma}\left(-c, z, y5 \cdot j\right) \cdot \left(y3 \cdot y0\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-a, z, y4 \cdot j\right) \cdot \left(b \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 (<= z -5.6e+160)
                                                                                                                                                                                                           (* (* (* (- z) y0) c) y3)
                                                                                                                                                                                                           (if (<= z -5e-204)
                                                                                                                                                                                                             (* (* (fma j x (* (- z) k)) y1) i)
                                                                                                                                                                                                             (if (<= z 1.3e+50)
                                                                                                                                                                                                               (* (* (fma (- a) x (* y4 k)) y2) y1)
                                                                                                                                                                                                               (if (<= z 1.15e+235)
                                                                                                                                                                                                                 (* (fma (- c) z (* y5 j)) (* y3 y0))
                                                                                                                                                                                                                 (* (fma (- a) z (* y4 j)) (* b 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 <= -5.6e+160) {
                                                                                                                                                                                                        		tmp = ((-z * y0) * c) * y3;
                                                                                                                                                                                                        	} else if (z <= -5e-204) {
                                                                                                                                                                                                        		tmp = (fma(j, x, (-z * k)) * y1) * i;
                                                                                                                                                                                                        	} else if (z <= 1.3e+50) {
                                                                                                                                                                                                        		tmp = (fma(-a, x, (y4 * k)) * y2) * y1;
                                                                                                                                                                                                        	} else if (z <= 1.15e+235) {
                                                                                                                                                                                                        		tmp = fma(-c, z, (y5 * j)) * (y3 * y0);
                                                                                                                                                                                                        	} else {
                                                                                                                                                                                                        		tmp = fma(-a, z, (y4 * j)) * (b * 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 <= -5.6e+160)
                                                                                                                                                                                                        		tmp = Float64(Float64(Float64(Float64(-z) * y0) * c) * y3);
                                                                                                                                                                                                        	elseif (z <= -5e-204)
                                                                                                                                                                                                        		tmp = Float64(Float64(fma(j, x, Float64(Float64(-z) * k)) * y1) * i);
                                                                                                                                                                                                        	elseif (z <= 1.3e+50)
                                                                                                                                                                                                        		tmp = Float64(Float64(fma(Float64(-a), x, Float64(y4 * k)) * y2) * y1);
                                                                                                                                                                                                        	elseif (z <= 1.15e+235)
                                                                                                                                                                                                        		tmp = Float64(fma(Float64(-c), z, Float64(y5 * j)) * Float64(y3 * y0));
                                                                                                                                                                                                        	else
                                                                                                                                                                                                        		tmp = Float64(fma(Float64(-a), z, Float64(y4 * j)) * Float64(b * 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, -5.6e+160], N[(N[(N[((-z) * y0), $MachinePrecision] * c), $MachinePrecision] * y3), $MachinePrecision], If[LessEqual[z, -5e-204], N[(N[(N[(j * x + N[((-z) * k), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision] * i), $MachinePrecision], If[LessEqual[z, 1.3e+50], N[(N[(N[((-a) * x + N[(y4 * k), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[z, 1.15e+235], N[(N[((-c) * z + N[(y5 * j), $MachinePrecision]), $MachinePrecision] * N[(y3 * y0), $MachinePrecision]), $MachinePrecision], N[(N[((-a) * z + N[(y4 * j), $MachinePrecision]), $MachinePrecision] * N[(b * t), $MachinePrecision]), $MachinePrecision]]]]]
                                                                                                                                                                                                        
                                                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                                                        
                                                                                                                                                                                                        \\
                                                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                                                        \mathbf{if}\;z \leq -5.6 \cdot 10^{+160}:\\
                                                                                                                                                                                                        \;\;\;\;\left(\left(\left(-z\right) \cdot y0\right) \cdot c\right) \cdot y3\\
                                                                                                                                                                                                        
                                                                                                                                                                                                        \mathbf{elif}\;z \leq -5 \cdot 10^{-204}:\\
                                                                                                                                                                                                        \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-z\right) \cdot k\right) \cdot y1\right) \cdot i\\
                                                                                                                                                                                                        
                                                                                                                                                                                                        \mathbf{elif}\;z \leq 1.3 \cdot 10^{+50}:\\
                                                                                                                                                                                                        \;\;\;\;\left(\mathsf{fma}\left(-a, x, y4 \cdot k\right) \cdot y2\right) \cdot y1\\
                                                                                                                                                                                                        
                                                                                                                                                                                                        \mathbf{elif}\;z \leq 1.15 \cdot 10^{+235}:\\
                                                                                                                                                                                                        \;\;\;\;\mathsf{fma}\left(-c, z, y5 \cdot j\right) \cdot \left(y3 \cdot y0\right)\\
                                                                                                                                                                                                        
                                                                                                                                                                                                        \mathbf{else}:\\
                                                                                                                                                                                                        \;\;\;\;\mathsf{fma}\left(-a, z, y4 \cdot j\right) \cdot \left(b \cdot t\right)\\
                                                                                                                                                                                                        
                                                                                                                                                                                                        
                                                                                                                                                                                                        \end{array}
                                                                                                                                                                                                        \end{array}
                                                                                                                                                                                                        
                                                                                                                                                                                                        Derivation
                                                                                                                                                                                                        1. Split input into 5 regimes
                                                                                                                                                                                                        2. if z < -5.5999999999999999e160

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

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

                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                          5. Applied rewrites59.3%

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

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

                                                                                                                                                                                                              \[\leadsto \left(y0 \cdot \left(\left(-c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                                                            2. Taylor expanded in c around inf

                                                                                                                                                                                                              \[\leadsto \left(-1 \cdot \left(c \cdot \left(y0 \cdot z\right)\right)\right) \cdot y3 \]
                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                              1. Applied rewrites52.3%

                                                                                                                                                                                                                \[\leadsto \left(\left(-c\right) \cdot \left(y0 \cdot z\right)\right) \cdot y3 \]

                                                                                                                                                                                                              if -5.5999999999999999e160 < z < -5.0000000000000002e-204

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

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

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

                                                                                                                                                                                                                if -5.0000000000000002e-204 < z < 1.3000000000000001e50

                                                                                                                                                                                                                1. Initial program 34.6%

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                    if 1.3000000000000001e50 < z < 1.15e235

                                                                                                                                                                                                                    1. Initial program 30.2%

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

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

                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                    5. Applied rewrites52.7%

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

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

                                                                                                                                                                                                                        \[\leadsto \left(y0 \cdot \left(\left(-c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                                                                      2. Taylor expanded in y0 around inf

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

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

                                                                                                                                                                                                                        if 1.15e235 < z

                                                                                                                                                                                                                        1. Initial program 23.5%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                            \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -5.6 \cdot 10^{+160}:\\ \;\;\;\;\left(\left(\left(-z\right) \cdot y0\right) \cdot c\right) \cdot y3\\ \mathbf{elif}\;z \leq -5 \cdot 10^{-204}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-z\right) \cdot k\right) \cdot y1\right) \cdot i\\ \mathbf{elif}\;z \leq 1.3 \cdot 10^{+50}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, x, y4 \cdot k\right) \cdot y2\right) \cdot y1\\ \mathbf{elif}\;z \leq 1.15 \cdot 10^{+235}:\\ \;\;\;\;\mathsf{fma}\left(-c, z, y5 \cdot j\right) \cdot \left(y3 \cdot y0\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-a, z, y4 \cdot j\right) \cdot \left(b \cdot t\right)\\ \end{array} \]
                                                                                                                                                                                                                          6. Add Preprocessing

                                                                                                                                                                                                                          Alternative 20: 28.9% accurate, 4.2× speedup?

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

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

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

                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                            5. Applied rewrites59.3%

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

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

                                                                                                                                                                                                                                \[\leadsto \left(y0 \cdot \left(\left(-c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                                                                              2. Taylor expanded in c around inf

                                                                                                                                                                                                                                \[\leadsto \left(-1 \cdot \left(c \cdot \left(y0 \cdot z\right)\right)\right) \cdot y3 \]
                                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                                1. Applied rewrites52.3%

                                                                                                                                                                                                                                  \[\leadsto \left(\left(-c\right) \cdot \left(y0 \cdot z\right)\right) \cdot y3 \]

                                                                                                                                                                                                                                if -5.5999999999999999e160 < z < -5.0000000000000002e-204

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

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

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

                                                                                                                                                                                                                                  if -5.0000000000000002e-204 < z < 1.3000000000000001e50

                                                                                                                                                                                                                                  1. Initial program 34.6%

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                      if 1.3000000000000001e50 < z < 5.5999999999999997e234

                                                                                                                                                                                                                                      1. Initial program 30.2%

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

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

                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                      5. Applied rewrites52.7%

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

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

                                                                                                                                                                                                                                          \[\leadsto \left(y0 \cdot \left(\left(-c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                                                                                        2. Taylor expanded in y0 around inf

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

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

                                                                                                                                                                                                                                          if 5.5999999999999997e234 < z

                                                                                                                                                                                                                                          1. Initial program 23.5%

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                          Alternative 21: 28.6% accurate, 4.2× speedup?

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

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

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

                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                            5. Applied rewrites52.0%

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

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

                                                                                                                                                                                                                                                \[\leadsto \left(y0 \cdot \left(\left(-c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                                                                                              2. Taylor expanded in c around inf

                                                                                                                                                                                                                                                \[\leadsto \left(-1 \cdot \left(c \cdot \left(y0 \cdot z\right)\right)\right) \cdot y3 \]
                                                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                                                1. Applied rewrites52.4%

                                                                                                                                                                                                                                                  \[\leadsto \left(\left(-c\right) \cdot \left(y0 \cdot z\right)\right) \cdot y3 \]

                                                                                                                                                                                                                                                if -5.5999999999999999e160 < z < -5.0000000000000002e-204

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

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

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

                                                                                                                                                                                                                                                  if -5.0000000000000002e-204 < z < 1.3000000000000001e50

                                                                                                                                                                                                                                                  1. Initial program 34.6%

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                      if 1.3000000000000001e50 < z < 6.69999999999999973e224

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

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

                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                      5. Applied rewrites47.3%

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

                                                                                                                                                                                                                                                        \[\leadsto \left(y0 \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                                                                                                      7. Step-by-step derivation
                                                                                                                                                                                                                                                        1. Applied rewrites47.8%

                                                                                                                                                                                                                                                          \[\leadsto \left(y0 \cdot \left(\left(-c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                                                                                                        2. Taylor expanded in y0 around inf

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

                                                                                                                                                                                                                                                            \[\leadsto \left(y0 \cdot y3\right) \cdot \color{blue}{\mathsf{fma}\left(-c, z, j \cdot y5\right)} \]
                                                                                                                                                                                                                                                        4. Recombined 4 regimes into one program.
                                                                                                                                                                                                                                                        5. Final simplification45.1%

                                                                                                                                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -5.6 \cdot 10^{+160}:\\ \;\;\;\;\left(\left(\left(-z\right) \cdot y0\right) \cdot c\right) \cdot y3\\ \mathbf{elif}\;z \leq -5 \cdot 10^{-204}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-z\right) \cdot k\right) \cdot y1\right) \cdot i\\ \mathbf{elif}\;z \leq 1.3 \cdot 10^{+50}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, x, y4 \cdot k\right) \cdot y2\right) \cdot y1\\ \mathbf{elif}\;z \leq 6.7 \cdot 10^{+224}:\\ \;\;\;\;\mathsf{fma}\left(-c, z, y5 \cdot j\right) \cdot \left(y3 \cdot y0\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(\left(-z\right) \cdot y0\right) \cdot c\right) \cdot y3\\ \end{array} \]
                                                                                                                                                                                                                                                        6. Add Preprocessing

                                                                                                                                                                                                                                                        Alternative 22: 28.3% accurate, 4.2× speedup?

                                                                                                                                                                                                                                                        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(\left(-z\right) \cdot y0\right) \cdot c\right) \cdot y3\\ \mathbf{if}\;z \leq -5.6 \cdot 10^{+160}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -5 \cdot 10^{-204}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-z\right) \cdot k\right) \cdot y1\right) \cdot i\\ \mathbf{elif}\;z \leq 530000000000:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, x, y4 \cdot k\right) \cdot y2\right) \cdot y1\\ \mathbf{elif}\;z \leq 2.8 \cdot 10^{+118}:\\ \;\;\;\;\mathsf{fma}\left(i, y, \left(-y0\right) \cdot y2\right) \cdot \left(y5 \cdot k\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 (* (* (* (- z) y0) c) y3)))
                                                                                                                                                                                                                                                           (if (<= z -5.6e+160)
                                                                                                                                                                                                                                                             t_1
                                                                                                                                                                                                                                                             (if (<= z -5e-204)
                                                                                                                                                                                                                                                               (* (* (fma j x (* (- z) k)) y1) i)
                                                                                                                                                                                                                                                               (if (<= z 530000000000.0)
                                                                                                                                                                                                                                                                 (* (* (fma (- a) x (* y4 k)) y2) y1)
                                                                                                                                                                                                                                                                 (if (<= z 2.8e+118) (* (fma i y (* (- y0) y2)) (* y5 k)) 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 = ((-z * y0) * c) * y3;
                                                                                                                                                                                                                                                        	double tmp;
                                                                                                                                                                                                                                                        	if (z <= -5.6e+160) {
                                                                                                                                                                                                                                                        		tmp = t_1;
                                                                                                                                                                                                                                                        	} else if (z <= -5e-204) {
                                                                                                                                                                                                                                                        		tmp = (fma(j, x, (-z * k)) * y1) * i;
                                                                                                                                                                                                                                                        	} else if (z <= 530000000000.0) {
                                                                                                                                                                                                                                                        		tmp = (fma(-a, x, (y4 * k)) * y2) * y1;
                                                                                                                                                                                                                                                        	} else if (z <= 2.8e+118) {
                                                                                                                                                                                                                                                        		tmp = fma(i, y, (-y0 * y2)) * (y5 * k);
                                                                                                                                                                                                                                                        	} else {
                                                                                                                                                                                                                                                        		tmp = t_1;
                                                                                                                                                                                                                                                        	}
                                                                                                                                                                                                                                                        	return tmp;
                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                        function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                        	t_1 = Float64(Float64(Float64(Float64(-z) * y0) * c) * y3)
                                                                                                                                                                                                                                                        	tmp = 0.0
                                                                                                                                                                                                                                                        	if (z <= -5.6e+160)
                                                                                                                                                                                                                                                        		tmp = t_1;
                                                                                                                                                                                                                                                        	elseif (z <= -5e-204)
                                                                                                                                                                                                                                                        		tmp = Float64(Float64(fma(j, x, Float64(Float64(-z) * k)) * y1) * i);
                                                                                                                                                                                                                                                        	elseif (z <= 530000000000.0)
                                                                                                                                                                                                                                                        		tmp = Float64(Float64(fma(Float64(-a), x, Float64(y4 * k)) * y2) * y1);
                                                                                                                                                                                                                                                        	elseif (z <= 2.8e+118)
                                                                                                                                                                                                                                                        		tmp = Float64(fma(i, y, Float64(Float64(-y0) * y2)) * Float64(y5 * k));
                                                                                                                                                                                                                                                        	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[((-z) * y0), $MachinePrecision] * c), $MachinePrecision] * y3), $MachinePrecision]}, If[LessEqual[z, -5.6e+160], t$95$1, If[LessEqual[z, -5e-204], N[(N[(N[(j * x + N[((-z) * k), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision] * i), $MachinePrecision], If[LessEqual[z, 530000000000.0], N[(N[(N[((-a) * x + N[(y4 * k), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[z, 2.8e+118], N[(N[(i * y + N[((-y0) * y2), $MachinePrecision]), $MachinePrecision] * N[(y5 * k), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                        \\
                                                                                                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                                                                                                        t_1 := \left(\left(\left(-z\right) \cdot y0\right) \cdot c\right) \cdot y3\\
                                                                                                                                                                                                                                                        \mathbf{if}\;z \leq -5.6 \cdot 10^{+160}:\\
                                                                                                                                                                                                                                                        \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                        \mathbf{elif}\;z \leq -5 \cdot 10^{-204}:\\
                                                                                                                                                                                                                                                        \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-z\right) \cdot k\right) \cdot y1\right) \cdot i\\
                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                        \mathbf{elif}\;z \leq 530000000000:\\
                                                                                                                                                                                                                                                        \;\;\;\;\left(\mathsf{fma}\left(-a, x, y4 \cdot k\right) \cdot y2\right) \cdot y1\\
                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                        \mathbf{elif}\;z \leq 2.8 \cdot 10^{+118}:\\
                                                                                                                                                                                                                                                        \;\;\;\;\mathsf{fma}\left(i, y, \left(-y0\right) \cdot y2\right) \cdot \left(y5 \cdot k\right)\\
                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                        \mathbf{else}:\\
                                                                                                                                                                                                                                                        \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                        \end{array}
                                                                                                                                                                                                                                                        \end{array}
                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                        Derivation
                                                                                                                                                                                                                                                        1. Split input into 4 regimes
                                                                                                                                                                                                                                                        2. if z < -5.5999999999999999e160 or 2.79999999999999986e118 < z

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

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

                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                          5. Applied rewrites52.7%

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

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

                                                                                                                                                                                                                                                              \[\leadsto \left(y0 \cdot \left(\left(-c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                                                                                                            2. Taylor expanded in c around inf

                                                                                                                                                                                                                                                              \[\leadsto \left(-1 \cdot \left(c \cdot \left(y0 \cdot z\right)\right)\right) \cdot y3 \]
                                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                                              1. Applied rewrites49.3%

                                                                                                                                                                                                                                                                \[\leadsto \left(\left(-c\right) \cdot \left(y0 \cdot z\right)\right) \cdot y3 \]

                                                                                                                                                                                                                                                              if -5.5999999999999999e160 < z < -5.0000000000000002e-204

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

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

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

                                                                                                                                                                                                                                                                if -5.0000000000000002e-204 < z < 5.3e11

                                                                                                                                                                                                                                                                1. Initial program 34.0%

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

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

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

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

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

                                                                                                                                                                                                                                                                    if 5.3e11 < z < 2.79999999999999986e118

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

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

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

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

                                                                                                                                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -5.6 \cdot 10^{+160}:\\ \;\;\;\;\left(\left(\left(-z\right) \cdot y0\right) \cdot c\right) \cdot y3\\ \mathbf{elif}\;z \leq -5 \cdot 10^{-204}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-z\right) \cdot k\right) \cdot y1\right) \cdot i\\ \mathbf{elif}\;z \leq 530000000000:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, x, y4 \cdot k\right) \cdot y2\right) \cdot y1\\ \mathbf{elif}\;z \leq 2.8 \cdot 10^{+118}:\\ \;\;\;\;\mathsf{fma}\left(i, y, \left(-y0\right) \cdot y2\right) \cdot \left(y5 \cdot k\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(\left(-z\right) \cdot y0\right) \cdot c\right) \cdot y3\\ \end{array} \]
                                                                                                                                                                                                                                                                    10. Add Preprocessing

                                                                                                                                                                                                                                                                    Alternative 23: 30.6% accurate, 4.8× speedup?

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

                                                                                                                                                                                                                                                                      1. Initial program 39.6%

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                        if -3.1999999999999999e100 < b < -5.50000000000000025e-257

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

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

                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                        5. Applied rewrites38.1%

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

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

                                                                                                                                                                                                                                                                            \[\leadsto \left(y0 \cdot \left(\left(-c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                                                                                                                          2. Taylor expanded in y0 around inf

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

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

                                                                                                                                                                                                                                                                            if -5.50000000000000025e-257 < b < 7.49999999999999947e135

                                                                                                                                                                                                                                                                            1. Initial program 29.2%

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

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

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

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

                                                                                                                                                                                                                                                                              if 7.49999999999999947e135 < b

                                                                                                                                                                                                                                                                              1. Initial program 25.0%

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                              Alternative 24: 30.5% accurate, 4.8× speedup?

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                  if -8.0000000000000002e110 < y1 < 9.00000000000000009e-306

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                    if 9.00000000000000009e-306 < y1 < 1.3600000000000001e-18

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

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

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

                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                                                                                                                                                                                                                    5. Applied rewrites55.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} \]
                                                                                                                                                                                                                                                                                    6. 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)} \]
                                                                                                                                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                                                                                                                                      1. lower-*.f64N/A

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

                                                                                                                                                                                                                                                                                        \[\leadsto x \cdot \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)} \]
                                                                                                                                                                                                                                                                                      3. lower-fma.f64N/A

                                                                                                                                                                                                                                                                                        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(y, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                                                                                                                                                                                                                                                      4. cancel-sign-sub-invN/A

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

                                                                                                                                                                                                                                                                                        \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \color{blue}{\mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \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) \]
                                                                                                                                                                                                                                                                                      6. lower-*.f64N/A

                                                                                                                                                                                                                                                                                        \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right) \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) \]
                                                                                                                                                                                                                                                                                      7. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                        \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right)} \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) \]
                                                                                                                                                                                                                                                                                      8. lower-*.f64N/A

                                                                                                                                                                                                                                                                                        \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), \color{blue}{y2 \cdot \left(c \cdot y0 - a \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                                                                                                                                                                                                                                                      9. cancel-sign-sub-invN/A

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

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

                                                                                                                                                                                                                                                                                        \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \color{blue}{\left(\mathsf{neg}\left(a\right)\right) \cdot y1}\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                                                                                                                                                                                                                                                      12. lower-neg.f64N/A

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

                                                                                                                                                                                                                                                                                        \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)\right) - \color{blue}{j \cdot \left(b \cdot y0 - i \cdot y1\right)}\right) \]
                                                                                                                                                                                                                                                                                      14. cancel-sign-sub-invN/A

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

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

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

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

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

                                                                                                                                                                                                                                                                                      if 1.3600000000000001e-18 < y1

                                                                                                                                                                                                                                                                                      1. Initial program 25.7%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;y1 \leq -8 \cdot 10^{+110}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-z\right) \cdot k\right) \cdot y1\right) \cdot i\\ \mathbf{elif}\;y1 \leq 9 \cdot 10^{-306}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y2, y4, i \cdot z\right) \cdot c\right) \cdot t\\ \mathbf{elif}\;y1 \leq 1.36 \cdot 10^{-18}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y\right) \cdot x\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-b, y, y2 \cdot y1\right) \cdot \left(y4 \cdot k\right)\\ \end{array} \]
                                                                                                                                                                                                                                                                                        6. Add Preprocessing

                                                                                                                                                                                                                                                                                        Alternative 25: 28.2% accurate, 4.8× speedup?

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

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

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

                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                                          5. Applied rewrites50.7%

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

                                                                                                                                                                                                                                                                                            \[\leadsto \left(y0 \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                                                                                                            1. Applied rewrites46.4%

                                                                                                                                                                                                                                                                                              \[\leadsto \left(y0 \cdot \left(\left(-c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                                                                                                                                            2. Taylor expanded in c around inf

                                                                                                                                                                                                                                                                                              \[\leadsto \left(-1 \cdot \left(c \cdot \left(y0 \cdot z\right)\right)\right) \cdot y3 \]
                                                                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                                                                              1. Applied rewrites46.4%

                                                                                                                                                                                                                                                                                                \[\leadsto \left(\left(-c\right) \cdot \left(y0 \cdot z\right)\right) \cdot y3 \]

                                                                                                                                                                                                                                                                                              if -5.5999999999999999e160 < z < -5.0000000000000002e-204

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

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

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

                                                                                                                                                                                                                                                                                                if -5.0000000000000002e-204 < z < 1.35e73

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -5.6 \cdot 10^{+160}:\\ \;\;\;\;\left(\left(\left(-z\right) \cdot y0\right) \cdot c\right) \cdot y3\\ \mathbf{elif}\;z \leq -5 \cdot 10^{-204}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-z\right) \cdot k\right) \cdot y1\right) \cdot i\\ \mathbf{elif}\;z \leq 1.35 \cdot 10^{+73}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, x, y4 \cdot k\right) \cdot y2\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\left(\left(\left(-z\right) \cdot y0\right) \cdot c\right) \cdot y3\\ \end{array} \]
                                                                                                                                                                                                                                                                                                  6. Add Preprocessing

                                                                                                                                                                                                                                                                                                  Alternative 26: 21.8% accurate, 5.6× speedup?

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

                                                                                                                                                                                                                                                                                                    1. Initial program 30.4%

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

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

                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                                                    5. Applied rewrites51.4%

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

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

                                                                                                                                                                                                                                                                                                        \[\leadsto \left(y0 \cdot \left(\left(-c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                                                                                                                                                      2. Taylor expanded in c around inf

                                                                                                                                                                                                                                                                                                        \[\leadsto \left(-1 \cdot \left(c \cdot \left(y0 \cdot z\right)\right)\right) \cdot y3 \]
                                                                                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                        1. Applied rewrites48.1%

                                                                                                                                                                                                                                                                                                          \[\leadsto \left(\left(-c\right) \cdot \left(y0 \cdot z\right)\right) \cdot y3 \]

                                                                                                                                                                                                                                                                                                        if -2.0000000000000001e149 < z < 6.4999999999999996e23

                                                                                                                                                                                                                                                                                                        1. Initial program 32.6%

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                            \[\leadsto \left(b \cdot \left(j \cdot t\right)\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                            1. Applied rewrites25.3%

                                                                                                                                                                                                                                                                                                              \[\leadsto \left(\left(b \cdot j\right) \cdot t\right) \cdot y4 \]

                                                                                                                                                                                                                                                                                                            if 6.4999999999999996e23 < z < 1.4999999999999999e116

                                                                                                                                                                                                                                                                                                            1. Initial program 21.4%

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

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

                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                                                            5. Applied rewrites29.2%

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

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

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

                                                                                                                                                                                                                                                                                                                \[\leadsto -1 \cdot \left(a \cdot \color{blue}{\left(y \cdot \left(y3 \cdot y5\right)\right)}\right) \]
                                                                                                                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                1. Applied rewrites43.8%

                                                                                                                                                                                                                                                                                                                  \[\leadsto -a \cdot \left(\left(y \cdot y3\right) \cdot y5\right) \]
                                                                                                                                                                                                                                                                                                              4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                                                                              5. Final simplification33.1%

                                                                                                                                                                                                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -2 \cdot 10^{+149}:\\ \;\;\;\;\left(\left(\left(-z\right) \cdot y0\right) \cdot c\right) \cdot y3\\ \mathbf{elif}\;z \leq 6.5 \cdot 10^{+23}:\\ \;\;\;\;\left(\left(j \cdot b\right) \cdot t\right) \cdot y4\\ \mathbf{elif}\;z \leq 1.5 \cdot 10^{+116}:\\ \;\;\;\;\left(\left(\left(-y3\right) \cdot y\right) \cdot y5\right) \cdot a\\ \mathbf{else}:\\ \;\;\;\;\left(\left(\left(-z\right) \cdot y0\right) \cdot c\right) \cdot y3\\ \end{array} \]
                                                                                                                                                                                                                                                                                                              6. Add Preprocessing

                                                                                                                                                                                                                                                                                                              Alternative 27: 21.9% accurate, 5.6× speedup?

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

                                                                                                                                                                                                                                                                                                                1. Initial program 23.0%

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                      \[\leadsto i \cdot \left(\left(j \cdot x\right) \cdot y1\right) \]

                                                                                                                                                                                                                                                                                                                    if -7.9999999999999994e-40 < j < 1.49999999999999991e-224

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

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

                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                                                                    5. Applied rewrites30.7%

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

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

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

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

                                                                                                                                                                                                                                                                                                                          \[\leadsto y \cdot \left(c \cdot \left(y3 \cdot \color{blue}{y4}\right)\right) \]

                                                                                                                                                                                                                                                                                                                        if 1.49999999999999991e-224 < j < 1.60000000000000003e142

                                                                                                                                                                                                                                                                                                                        1. Initial program 38.7%

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                            if 1.60000000000000003e142 < j

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

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

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

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

                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(b \cdot \left(j \cdot t\right)\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                1. Applied rewrites52.2%

                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(\left(b \cdot j\right) \cdot t\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                                                              4. Recombined 4 regimes into one program.
                                                                                                                                                                                                                                                                                                                              5. Final simplification32.0%

                                                                                                                                                                                                                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -8 \cdot 10^{-40}:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{elif}\;j \leq 1.5 \cdot 10^{-224}:\\ \;\;\;\;\left(\left(y4 \cdot y3\right) \cdot c\right) \cdot y\\ \mathbf{elif}\;j \leq 1.6 \cdot 10^{+142}:\\ \;\;\;\;\left(\left(\left(-y1\right) \cdot z\right) \cdot k\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot b\right) \cdot t\right) \cdot y4\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                              6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                              Alternative 28: 32.0% accurate, 5.6× speedup?

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

                                                                                                                                                                                                                                                                                                                                1. Initial program 26.3%

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                  if -5.40000000000000008e115 < k < 6.80000000000000011e37

                                                                                                                                                                                                                                                                                                                                  1. Initial program 35.3%

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                    if 6.80000000000000011e37 < k

                                                                                                                                                                                                                                                                                                                                    1. Initial program 26.3%

                                                                                                                                                                                                                                                                                                                                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                    2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                    3. Taylor expanded in y4 around inf

                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                    4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                      1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                                                                                                                                                                                                                      2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                                                                                                                                                                                                                    5. Applied rewrites42.3%

                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y1, \left(-c\right) \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y4} \]
                                                                                                                                                                                                                                                                                                                                    6. Taylor expanded in b around inf

                                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(b \cdot \left(j \cdot t - k \cdot y\right)\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites39.3%

                                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(b \cdot \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right)\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                                                                      2. Taylor expanded in k around inf

                                                                                                                                                                                                                                                                                                                                        \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites46.4%

                                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(k \cdot y4\right) \cdot \color{blue}{\mathsf{fma}\left(-b, y, y1 \cdot y2\right)} \]
                                                                                                                                                                                                                                                                                                                                      4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                                                                                                      5. Final simplification43.2%

                                                                                                                                                                                                                                                                                                                                        \[\leadsto \begin{array}{l} \mathbf{if}\;k \leq -5.4 \cdot 10^{+115}:\\ \;\;\;\;\left(y0 \cdot k\right) \cdot \mathsf{fma}\left(b, z, \left(-y5\right) \cdot y2\right)\\ \mathbf{elif}\;k \leq 6.8 \cdot 10^{+37}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, y2, j \cdot b\right) \cdot y4\right) \cdot t\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-b, y, y2 \cdot y1\right) \cdot \left(y4 \cdot k\right)\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                      6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                      Alternative 29: 27.2% accurate, 5.6× speedup?

                                                                                                                                                                                                                                                                                                                                      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y4 \leq -3 \cdot 10^{+188}:\\ \;\;\;\;\left(\left(y4 \cdot y3\right) \cdot c\right) \cdot y\\ \mathbf{elif}\;y4 \leq 1.7 \cdot 10^{+28}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-z\right) \cdot k\right) \cdot y1\right) \cdot i\\ \mathbf{elif}\;y4 \leq 3.6 \cdot 10^{+224}:\\ \;\;\;\;\left(\left(y5 \cdot j\right) \cdot y0\right) \cdot y3\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot b\right) \cdot t\right) \cdot y4\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                                      (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                       :precision binary64
                                                                                                                                                                                                                                                                                                                                       (if (<= y4 -3e+188)
                                                                                                                                                                                                                                                                                                                                         (* (* (* y4 y3) c) y)
                                                                                                                                                                                                                                                                                                                                         (if (<= y4 1.7e+28)
                                                                                                                                                                                                                                                                                                                                           (* (* (fma j x (* (- z) k)) y1) i)
                                                                                                                                                                                                                                                                                                                                           (if (<= y4 3.6e+224) (* (* (* y5 j) y0) y3) (* (* (* j b) t) y4)))))
                                                                                                                                                                                                                                                                                                                                      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                      	double tmp;
                                                                                                                                                                                                                                                                                                                                      	if (y4 <= -3e+188) {
                                                                                                                                                                                                                                                                                                                                      		tmp = ((y4 * y3) * c) * y;
                                                                                                                                                                                                                                                                                                                                      	} else if (y4 <= 1.7e+28) {
                                                                                                                                                                                                                                                                                                                                      		tmp = (fma(j, x, (-z * k)) * y1) * i;
                                                                                                                                                                                                                                                                                                                                      	} else if (y4 <= 3.6e+224) {
                                                                                                                                                                                                                                                                                                                                      		tmp = ((y5 * j) * y0) * y3;
                                                                                                                                                                                                                                                                                                                                      	} else {
                                                                                                                                                                                                                                                                                                                                      		tmp = ((j * b) * t) * y4;
                                                                                                                                                                                                                                                                                                                                      	}
                                                                                                                                                                                                                                                                                                                                      	return tmp;
                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                      	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                      	if (y4 <= -3e+188)
                                                                                                                                                                                                                                                                                                                                      		tmp = Float64(Float64(Float64(y4 * y3) * c) * y);
                                                                                                                                                                                                                                                                                                                                      	elseif (y4 <= 1.7e+28)
                                                                                                                                                                                                                                                                                                                                      		tmp = Float64(Float64(fma(j, x, Float64(Float64(-z) * k)) * y1) * i);
                                                                                                                                                                                                                                                                                                                                      	elseif (y4 <= 3.6e+224)
                                                                                                                                                                                                                                                                                                                                      		tmp = Float64(Float64(Float64(y5 * j) * y0) * y3);
                                                                                                                                                                                                                                                                                                                                      	else
                                                                                                                                                                                                                                                                                                                                      		tmp = Float64(Float64(Float64(j * b) * t) * y4);
                                                                                                                                                                                                                                                                                                                                      	end
                                                                                                                                                                                                                                                                                                                                      	return tmp
                                                                                                                                                                                                                                                                                                                                      end
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y4, -3e+188], N[(N[(N[(y4 * y3), $MachinePrecision] * c), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[y4, 1.7e+28], N[(N[(N[(j * x + N[((-z) * k), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision] * i), $MachinePrecision], If[LessEqual[y4, 3.6e+224], N[(N[(N[(y5 * j), $MachinePrecision] * y0), $MachinePrecision] * y3), $MachinePrecision], N[(N[(N[(j * b), $MachinePrecision] * t), $MachinePrecision] * y4), $MachinePrecision]]]]
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      \\
                                                                                                                                                                                                                                                                                                                                      \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                      \mathbf{if}\;y4 \leq -3 \cdot 10^{+188}:\\
                                                                                                                                                                                                                                                                                                                                      \;\;\;\;\left(\left(y4 \cdot y3\right) \cdot c\right) \cdot y\\
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      \mathbf{elif}\;y4 \leq 1.7 \cdot 10^{+28}:\\
                                                                                                                                                                                                                                                                                                                                      \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-z\right) \cdot k\right) \cdot y1\right) \cdot i\\
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      \mathbf{elif}\;y4 \leq 3.6 \cdot 10^{+224}:\\
                                                                                                                                                                                                                                                                                                                                      \;\;\;\;\left(\left(y5 \cdot j\right) \cdot y0\right) \cdot y3\\
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                      \;\;\;\;\left(\left(j \cdot b\right) \cdot t\right) \cdot y4\\
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      \end{array}
                                                                                                                                                                                                                                                                                                                                      \end{array}
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      Derivation
                                                                                                                                                                                                                                                                                                                                      1. Split input into 4 regimes
                                                                                                                                                                                                                                                                                                                                      2. if y4 < -3.0000000000000001e188

                                                                                                                                                                                                                                                                                                                                        1. Initial program 30.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 y3 around inf

                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \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(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                                                                                          2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                                                                                        5. Applied rewrites34.9%

                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y0 \cdot y5\right), j, \mathsf{fma}\left(-z, c \cdot y0 - y1 \cdot a, \left(c \cdot y4 - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                                                                                        6. Taylor expanded in y around inf

                                                                                                                                                                                                                                                                                                                                          \[\leadsto y \cdot \color{blue}{\left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                          1. Applied rewrites50.4%

                                                                                                                                                                                                                                                                                                                                            \[\leadsto y \cdot \color{blue}{\left(y3 \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                          2. Taylor expanded in c around inf

                                                                                                                                                                                                                                                                                                                                            \[\leadsto y \cdot \left(c \cdot \left(y3 \cdot \color{blue}{y4}\right)\right) \]
                                                                                                                                                                                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                            1. Applied rewrites58.5%

                                                                                                                                                                                                                                                                                                                                              \[\leadsto y \cdot \left(c \cdot \left(y3 \cdot \color{blue}{y4}\right)\right) \]

                                                                                                                                                                                                                                                                                                                                            if -3.0000000000000001e188 < y4 < 1.7e28

                                                                                                                                                                                                                                                                                                                                            1. Initial program 31.3%

                                                                                                                                                                                                                                                                                                                                              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                            2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                            3. Taylor expanded in y1 around inf

                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{y1 \cdot \left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                            4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                              1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                                                                                                                                                                                                                                                                              2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                                                                                                                                                                                                                                                                            5. Applied rewrites38.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 i around inf

                                                                                                                                                                                                                                                                                                                                              \[\leadsto i \cdot \color{blue}{\left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                              1. Applied rewrites34.6%

                                                                                                                                                                                                                                                                                                                                                \[\leadsto i \cdot \color{blue}{\left(y1 \cdot \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right)\right)} \]

                                                                                                                                                                                                                                                                                                                                              if 1.7e28 < y4 < 3.6e224

                                                                                                                                                                                                                                                                                                                                              1. Initial program 33.3%

                                                                                                                                                                                                                                                                                                                                                \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                              2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                              3. Taylor expanded in y3 around inf

                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \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(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                                                                                                2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                                                                                              5. Applied rewrites40.8%

                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y0 \cdot y5\right), j, \mathsf{fma}\left(-z, c \cdot y0 - y1 \cdot a, \left(c \cdot y4 - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                                                                                              6. Taylor expanded in y0 around inf

                                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(y0 \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                1. Applied rewrites45.9%

                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(y0 \cdot \left(\left(-c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                                                                                                                                                                                                2. Taylor expanded in c around 0

                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(y0 \cdot \left(j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                  1. Applied rewrites32.3%

                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \left(y0 \cdot \left(j \cdot y5\right)\right) \cdot y3 \]

                                                                                                                                                                                                                                                                                                                                                  if 3.6e224 < y4

                                                                                                                                                                                                                                                                                                                                                  1. Initial program 27.8%

                                                                                                                                                                                                                                                                                                                                                    \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                  2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                  3. Taylor expanded in y4 around inf

                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                  4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                    1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                                                                                                                                                                                                                                    2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                                                                                                                                                                                                                                  5. Applied rewrites88.9%

                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y1, \left(-c\right) \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y4} \]
                                                                                                                                                                                                                                                                                                                                                  6. Taylor expanded in b around inf

                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \left(b \cdot \left(j \cdot t - k \cdot y\right)\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                    1. Applied rewrites62.5%

                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(b \cdot \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right)\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                                                                                    2. Taylor expanded in t around inf

                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(b \cdot \left(j \cdot t\right)\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites51.1%

                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(\left(b \cdot j\right) \cdot t\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                                                                                    4. Recombined 4 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                    5. Final simplification37.8%

                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -3 \cdot 10^{+188}:\\ \;\;\;\;\left(\left(y4 \cdot y3\right) \cdot c\right) \cdot y\\ \mathbf{elif}\;y4 \leq 1.7 \cdot 10^{+28}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-z\right) \cdot k\right) \cdot y1\right) \cdot i\\ \mathbf{elif}\;y4 \leq 3.6 \cdot 10^{+224}:\\ \;\;\;\;\left(\left(y5 \cdot j\right) \cdot y0\right) \cdot y3\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot b\right) \cdot t\right) \cdot y4\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                                    6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                    Alternative 30: 22.6% accurate, 5.9× speedup?

                                                                                                                                                                                                                                                                                                                                                    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{if}\;j \leq -8 \cdot 10^{-40}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;j \leq 2600000:\\ \;\;\;\;\left(\left(y4 \cdot y3\right) \cdot c\right) \cdot y\\ \mathbf{elif}\;j \leq 2.4 \cdot 10^{+247}:\\ \;\;\;\;\left(\left(y5 \cdot j\right) \cdot y0\right) \cdot y3\\ \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 (* (* (* j x) y1) i)))
                                                                                                                                                                                                                                                                                                                                                       (if (<= j -8e-40)
                                                                                                                                                                                                                                                                                                                                                         t_1
                                                                                                                                                                                                                                                                                                                                                         (if (<= j 2600000.0)
                                                                                                                                                                                                                                                                                                                                                           (* (* (* y4 y3) c) y)
                                                                                                                                                                                                                                                                                                                                                           (if (<= j 2.4e+247) (* (* (* y5 j) y0) y3) 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 = ((j * x) * y1) * i;
                                                                                                                                                                                                                                                                                                                                                    	double tmp;
                                                                                                                                                                                                                                                                                                                                                    	if (j <= -8e-40) {
                                                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                    	} else if (j <= 2600000.0) {
                                                                                                                                                                                                                                                                                                                                                    		tmp = ((y4 * y3) * c) * y;
                                                                                                                                                                                                                                                                                                                                                    	} else if (j <= 2.4e+247) {
                                                                                                                                                                                                                                                                                                                                                    		tmp = ((y5 * j) * y0) * y3;
                                                                                                                                                                                                                                                                                                                                                    	} else {
                                                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                    	}
                                                                                                                                                                                                                                                                                                                                                    	return tmp;
                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: z
                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: t
                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: a
                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: b
                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: c
                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: i
                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: j
                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: k
                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                                                        real(8) :: t_1
                                                                                                                                                                                                                                                                                                                                                        real(8) :: tmp
                                                                                                                                                                                                                                                                                                                                                        t_1 = ((j * x) * y1) * i
                                                                                                                                                                                                                                                                                                                                                        if (j <= (-8d-40)) then
                                                                                                                                                                                                                                                                                                                                                            tmp = t_1
                                                                                                                                                                                                                                                                                                                                                        else if (j <= 2600000.0d0) then
                                                                                                                                                                                                                                                                                                                                                            tmp = ((y4 * y3) * c) * y
                                                                                                                                                                                                                                                                                                                                                        else if (j <= 2.4d+247) then
                                                                                                                                                                                                                                                                                                                                                            tmp = ((y5 * j) * y0) * y3
                                                                                                                                                                                                                                                                                                                                                        else
                                                                                                                                                                                                                                                                                                                                                            tmp = t_1
                                                                                                                                                                                                                                                                                                                                                        end if
                                                                                                                                                                                                                                                                                                                                                        code = tmp
                                                                                                                                                                                                                                                                                                                                                    end function
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                    	double t_1 = ((j * x) * y1) * i;
                                                                                                                                                                                                                                                                                                                                                    	double tmp;
                                                                                                                                                                                                                                                                                                                                                    	if (j <= -8e-40) {
                                                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                    	} else if (j <= 2600000.0) {
                                                                                                                                                                                                                                                                                                                                                    		tmp = ((y4 * y3) * c) * y;
                                                                                                                                                                                                                                                                                                                                                    	} else if (j <= 2.4e+247) {
                                                                                                                                                                                                                                                                                                                                                    		tmp = ((y5 * j) * y0) * y3;
                                                                                                                                                                                                                                                                                                                                                    	} else {
                                                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                    	}
                                                                                                                                                                                                                                                                                                                                                    	return tmp;
                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                                    	t_1 = ((j * x) * y1) * i
                                                                                                                                                                                                                                                                                                                                                    	tmp = 0
                                                                                                                                                                                                                                                                                                                                                    	if j <= -8e-40:
                                                                                                                                                                                                                                                                                                                                                    		tmp = t_1
                                                                                                                                                                                                                                                                                                                                                    	elif j <= 2600000.0:
                                                                                                                                                                                                                                                                                                                                                    		tmp = ((y4 * y3) * c) * y
                                                                                                                                                                                                                                                                                                                                                    	elif j <= 2.4e+247:
                                                                                                                                                                                                                                                                                                                                                    		tmp = ((y5 * j) * y0) * y3
                                                                                                                                                                                                                                                                                                                                                    	else:
                                                                                                                                                                                                                                                                                                                                                    		tmp = t_1
                                                                                                                                                                                                                                                                                                                                                    	return tmp
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                    	t_1 = Float64(Float64(Float64(j * x) * y1) * i)
                                                                                                                                                                                                                                                                                                                                                    	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                                    	if (j <= -8e-40)
                                                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                    	elseif (j <= 2600000.0)
                                                                                                                                                                                                                                                                                                                                                    		tmp = Float64(Float64(Float64(y4 * y3) * c) * y);
                                                                                                                                                                                                                                                                                                                                                    	elseif (j <= 2.4e+247)
                                                                                                                                                                                                                                                                                                                                                    		tmp = Float64(Float64(Float64(y5 * j) * y0) * y3);
                                                                                                                                                                                                                                                                                                                                                    	else
                                                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                    	end
                                                                                                                                                                                                                                                                                                                                                    	return tmp
                                                                                                                                                                                                                                                                                                                                                    end
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                    	t_1 = ((j * x) * y1) * i;
                                                                                                                                                                                                                                                                                                                                                    	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                                                    	if (j <= -8e-40)
                                                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                    	elseif (j <= 2600000.0)
                                                                                                                                                                                                                                                                                                                                                    		tmp = ((y4 * y3) * c) * y;
                                                                                                                                                                                                                                                                                                                                                    	elseif (j <= 2.4e+247)
                                                                                                                                                                                                                                                                                                                                                    		tmp = ((y5 * j) * y0) * y3;
                                                                                                                                                                                                                                                                                                                                                    	else
                                                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                    	end
                                                                                                                                                                                                                                                                                                                                                    	tmp_2 = tmp;
                                                                                                                                                                                                                                                                                                                                                    end
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(j * x), $MachinePrecision] * y1), $MachinePrecision] * i), $MachinePrecision]}, If[LessEqual[j, -8e-40], t$95$1, If[LessEqual[j, 2600000.0], N[(N[(N[(y4 * y3), $MachinePrecision] * c), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[j, 2.4e+247], N[(N[(N[(y5 * j), $MachinePrecision] * y0), $MachinePrecision] * y3), $MachinePrecision], t$95$1]]]]
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    \\
                                                                                                                                                                                                                                                                                                                                                    \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                    t_1 := \left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\
                                                                                                                                                                                                                                                                                                                                                    \mathbf{if}\;j \leq -8 \cdot 10^{-40}:\\
                                                                                                                                                                                                                                                                                                                                                    \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    \mathbf{elif}\;j \leq 2600000:\\
                                                                                                                                                                                                                                                                                                                                                    \;\;\;\;\left(\left(y4 \cdot y3\right) \cdot c\right) \cdot y\\
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    \mathbf{elif}\;j \leq 2.4 \cdot 10^{+247}:\\
                                                                                                                                                                                                                                                                                                                                                    \;\;\;\;\left(\left(y5 \cdot j\right) \cdot y0\right) \cdot y3\\
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                                    \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    \end{array}
                                                                                                                                                                                                                                                                                                                                                    \end{array}
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    Derivation
                                                                                                                                                                                                                                                                                                                                                    1. Split input into 3 regimes
                                                                                                                                                                                                                                                                                                                                                    2. if j < -7.9999999999999994e-40 or 2.4e247 < j

                                                                                                                                                                                                                                                                                                                                                      1. Initial program 23.3%

                                                                                                                                                                                                                                                                                                                                                        \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                      2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                      3. Taylor expanded in y1 around inf

                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{y1 \cdot \left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                      4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                        1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                                                                                                                                                                                                                                                                                        2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                                                                                                                                                                                                                                                                                      5. Applied rewrites44.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 i around inf

                                                                                                                                                                                                                                                                                                                                                        \[\leadsto i \cdot \color{blue}{\left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                      7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites42.6%

                                                                                                                                                                                                                                                                                                                                                          \[\leadsto i \cdot \color{blue}{\left(y1 \cdot \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                        2. Taylor expanded in k around 0

                                                                                                                                                                                                                                                                                                                                                          \[\leadsto i \cdot \left(j \cdot \left(x \cdot \color{blue}{y1}\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                          1. Applied rewrites41.6%

                                                                                                                                                                                                                                                                                                                                                            \[\leadsto i \cdot \left(\left(j \cdot x\right) \cdot y1\right) \]

                                                                                                                                                                                                                                                                                                                                                          if -7.9999999999999994e-40 < j < 2.6e6

                                                                                                                                                                                                                                                                                                                                                          1. Initial program 37.6%

                                                                                                                                                                                                                                                                                                                                                            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                          2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                          3. Taylor expanded in y3 around inf

                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \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(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                                                                                                            2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                                                                                                          5. Applied rewrites33.8%

                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y0 \cdot y5\right), j, \mathsf{fma}\left(-z, c \cdot y0 - y1 \cdot a, \left(c \cdot y4 - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                                                                                                          6. Taylor expanded in y around inf

                                                                                                                                                                                                                                                                                                                                                            \[\leadsto y \cdot \color{blue}{\left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                            1. Applied rewrites35.2%

                                                                                                                                                                                                                                                                                                                                                              \[\leadsto y \cdot \color{blue}{\left(y3 \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                            2. Taylor expanded in c around inf

                                                                                                                                                                                                                                                                                                                                                              \[\leadsto y \cdot \left(c \cdot \left(y3 \cdot \color{blue}{y4}\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                              1. Applied rewrites22.5%

                                                                                                                                                                                                                                                                                                                                                                \[\leadsto y \cdot \left(c \cdot \left(y3 \cdot \color{blue}{y4}\right)\right) \]

                                                                                                                                                                                                                                                                                                                                                              if 2.6e6 < j < 2.4e247

                                                                                                                                                                                                                                                                                                                                                              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 y3 around inf

                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \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(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                                                                                                                2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                                                                                                              5. Applied rewrites40.4%

                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y0 \cdot y5\right), j, \mathsf{fma}\left(-z, c \cdot y0 - y1 \cdot a, \left(c \cdot y4 - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                                                                                                              6. Taylor expanded in y0 around inf

                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(y0 \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                1. Applied rewrites41.0%

                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(y0 \cdot \left(\left(-c \cdot z\right) + j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                                                                                                                                                                                                                2. Taylor expanded in c around 0

                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(y0 \cdot \left(j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                  1. Applied rewrites31.2%

                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \left(y0 \cdot \left(j \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                                                                                                                                                                                                                4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                                5. Final simplification30.6%

                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -8 \cdot 10^{-40}:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{elif}\;j \leq 2600000:\\ \;\;\;\;\left(\left(y4 \cdot y3\right) \cdot c\right) \cdot y\\ \mathbf{elif}\;j \leq 2.4 \cdot 10^{+247}:\\ \;\;\;\;\left(\left(y5 \cdot j\right) \cdot y0\right) \cdot y3\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                Alternative 31: 22.0% accurate, 7.2× speedup?

                                                                                                                                                                                                                                                                                                                                                                \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;j \leq -1.1 \cdot 10^{-39}:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{elif}\;j \leq 2.35 \cdot 10^{+39}:\\ \;\;\;\;\left(\left(y3 \cdot y\right) \cdot y4\right) \cdot c\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot b\right) \cdot t\right) \cdot y4\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                                                 :precision binary64
                                                                                                                                                                                                                                                                                                                                                                 (if (<= j -1.1e-39)
                                                                                                                                                                                                                                                                                                                                                                   (* (* (* j x) y1) i)
                                                                                                                                                                                                                                                                                                                                                                   (if (<= j 2.35e+39) (* (* (* y3 y) y4) c) (* (* (* j b) t) y4))))
                                                                                                                                                                                                                                                                                                                                                                double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                	double tmp;
                                                                                                                                                                                                                                                                                                                                                                	if (j <= -1.1e-39) {
                                                                                                                                                                                                                                                                                                                                                                		tmp = ((j * x) * y1) * i;
                                                                                                                                                                                                                                                                                                                                                                	} else if (j <= 2.35e+39) {
                                                                                                                                                                                                                                                                                                                                                                		tmp = ((y3 * y) * y4) * c;
                                                                                                                                                                                                                                                                                                                                                                	} else {
                                                                                                                                                                                                                                                                                                                                                                		tmp = ((j * b) * t) * y4;
                                                                                                                                                                                                                                                                                                                                                                	}
                                                                                                                                                                                                                                                                                                                                                                	return tmp;
                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: z
                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: t
                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: a
                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: b
                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: c
                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: i
                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: j
                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: k
                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                                                                    real(8) :: tmp
                                                                                                                                                                                                                                                                                                                                                                    if (j <= (-1.1d-39)) then
                                                                                                                                                                                                                                                                                                                                                                        tmp = ((j * x) * y1) * i
                                                                                                                                                                                                                                                                                                                                                                    else if (j <= 2.35d+39) then
                                                                                                                                                                                                                                                                                                                                                                        tmp = ((y3 * y) * y4) * c
                                                                                                                                                                                                                                                                                                                                                                    else
                                                                                                                                                                                                                                                                                                                                                                        tmp = ((j * b) * t) * y4
                                                                                                                                                                                                                                                                                                                                                                    end if
                                                                                                                                                                                                                                                                                                                                                                    code = tmp
                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                	double tmp;
                                                                                                                                                                                                                                                                                                                                                                	if (j <= -1.1e-39) {
                                                                                                                                                                                                                                                                                                                                                                		tmp = ((j * x) * y1) * i;
                                                                                                                                                                                                                                                                                                                                                                	} else if (j <= 2.35e+39) {
                                                                                                                                                                                                                                                                                                                                                                		tmp = ((y3 * y) * y4) * c;
                                                                                                                                                                                                                                                                                                                                                                	} else {
                                                                                                                                                                                                                                                                                                                                                                		tmp = ((j * b) * t) * y4;
                                                                                                                                                                                                                                                                                                                                                                	}
                                                                                                                                                                                                                                                                                                                                                                	return tmp;
                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                                                	tmp = 0
                                                                                                                                                                                                                                                                                                                                                                	if j <= -1.1e-39:
                                                                                                                                                                                                                                                                                                                                                                		tmp = ((j * x) * y1) * i
                                                                                                                                                                                                                                                                                                                                                                	elif j <= 2.35e+39:
                                                                                                                                                                                                                                                                                                                                                                		tmp = ((y3 * y) * y4) * c
                                                                                                                                                                                                                                                                                                                                                                	else:
                                                                                                                                                                                                                                                                                                                                                                		tmp = ((j * b) * t) * y4
                                                                                                                                                                                                                                                                                                                                                                	return tmp
                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                                                	if (j <= -1.1e-39)
                                                                                                                                                                                                                                                                                                                                                                		tmp = Float64(Float64(Float64(j * x) * y1) * i);
                                                                                                                                                                                                                                                                                                                                                                	elseif (j <= 2.35e+39)
                                                                                                                                                                                                                                                                                                                                                                		tmp = Float64(Float64(Float64(y3 * y) * y4) * c);
                                                                                                                                                                                                                                                                                                                                                                	else
                                                                                                                                                                                                                                                                                                                                                                		tmp = Float64(Float64(Float64(j * b) * t) * y4);
                                                                                                                                                                                                                                                                                                                                                                	end
                                                                                                                                                                                                                                                                                                                                                                	return tmp
                                                                                                                                                                                                                                                                                                                                                                end
                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                                                                	if (j <= -1.1e-39)
                                                                                                                                                                                                                                                                                                                                                                		tmp = ((j * x) * y1) * i;
                                                                                                                                                                                                                                                                                                                                                                	elseif (j <= 2.35e+39)
                                                                                                                                                                                                                                                                                                                                                                		tmp = ((y3 * y) * y4) * c;
                                                                                                                                                                                                                                                                                                                                                                	else
                                                                                                                                                                                                                                                                                                                                                                		tmp = ((j * b) * t) * y4;
                                                                                                                                                                                                                                                                                                                                                                	end
                                                                                                                                                                                                                                                                                                                                                                	tmp_2 = tmp;
                                                                                                                                                                                                                                                                                                                                                                end
                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[j, -1.1e-39], N[(N[(N[(j * x), $MachinePrecision] * y1), $MachinePrecision] * i), $MachinePrecision], If[LessEqual[j, 2.35e+39], N[(N[(N[(y3 * y), $MachinePrecision] * y4), $MachinePrecision] * c), $MachinePrecision], N[(N[(N[(j * b), $MachinePrecision] * t), $MachinePrecision] * y4), $MachinePrecision]]]
                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                \\
                                                                                                                                                                                                                                                                                                                                                                \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                \mathbf{if}\;j \leq -1.1 \cdot 10^{-39}:\\
                                                                                                                                                                                                                                                                                                                                                                \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\
                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                \mathbf{elif}\;j \leq 2.35 \cdot 10^{+39}:\\
                                                                                                                                                                                                                                                                                                                                                                \;\;\;\;\left(\left(y3 \cdot y\right) \cdot y4\right) \cdot c\\
                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                                                \;\;\;\;\left(\left(j \cdot b\right) \cdot t\right) \cdot y4\\
                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                \end{array}
                                                                                                                                                                                                                                                                                                                                                                \end{array}
                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                Derivation
                                                                                                                                                                                                                                                                                                                                                                1. Split input into 3 regimes
                                                                                                                                                                                                                                                                                                                                                                2. if j < -1.1e-39

                                                                                                                                                                                                                                                                                                                                                                  1. Initial program 23.0%

                                                                                                                                                                                                                                                                                                                                                                    \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                  2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                  3. Taylor expanded in y1 around inf

                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{y1 \cdot \left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                  4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                    1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                                                                                                                                                                                                                                                                                                    2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                                                                                                                                                                                                                                                                                                  5. Applied rewrites45.0%

                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - z \cdot y3\right), a, \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
                                                                                                                                                                                                                                                                                                                                                                  6. Taylor expanded in i around inf

                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto i \cdot \color{blue}{\left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                    1. Applied rewrites40.0%

                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto i \cdot \color{blue}{\left(y1 \cdot \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                    2. Taylor expanded in k around 0

                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto i \cdot \left(j \cdot \left(x \cdot \color{blue}{y1}\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites38.8%

                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto i \cdot \left(\left(j \cdot x\right) \cdot y1\right) \]

                                                                                                                                                                                                                                                                                                                                                                      if -1.1e-39 < j < 2.35e39

                                                                                                                                                                                                                                                                                                                                                                      1. Initial program 36.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 y3 around inf

                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \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(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                                                                                                                        2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                                                                                                                      5. Applied rewrites33.8%

                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y0 \cdot y5\right), j, \mathsf{fma}\left(-z, c \cdot y0 - y1 \cdot a, \left(c \cdot y4 - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                                                                                                                      6. Taylor expanded in y around inf

                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto y \cdot \color{blue}{\left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                      7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites34.4%

                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto y \cdot \color{blue}{\left(y3 \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                        2. Taylor expanded in c around inf

                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto c \cdot \left(y \cdot \color{blue}{\left(y3 \cdot y4\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                          1. Applied rewrites21.6%

                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto c \cdot \left(\left(y \cdot y3\right) \cdot \color{blue}{y4}\right) \]

                                                                                                                                                                                                                                                                                                                                                                          if 2.35e39 < j

                                                                                                                                                                                                                                                                                                                                                                          1. Initial program 30.4%

                                                                                                                                                                                                                                                                                                                                                                            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                          2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                          3. Taylor expanded in y4 around inf

                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                          4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                            1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                                                                                                                                                                                                                                                            2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                                                                                                                                                                                                                                                          5. Applied rewrites39.6%

                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y1, \left(-c\right) \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y4} \]
                                                                                                                                                                                                                                                                                                                                                                          6. Taylor expanded in b around inf

                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \left(b \cdot \left(j \cdot t - k \cdot y\right)\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                            1. Applied rewrites40.0%

                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(b \cdot \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right)\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                                                                                                            2. Taylor expanded in t around inf

                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(b \cdot \left(j \cdot t\right)\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                              1. Applied rewrites36.7%

                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(\left(b \cdot j\right) \cdot t\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                                                                                                            4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                                            5. Final simplification29.9%

                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -1.1 \cdot 10^{-39}:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{elif}\;j \leq 2.35 \cdot 10^{+39}:\\ \;\;\;\;\left(\left(y3 \cdot y\right) \cdot y4\right) \cdot c\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot b\right) \cdot t\right) \cdot y4\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                            6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                            Alternative 32: 22.4% accurate, 7.2× speedup?

                                                                                                                                                                                                                                                                                                                                                                            \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{if}\;j \leq -1.1 \cdot 10^{-39}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;j \leq 5 \cdot 10^{+48}:\\ \;\;\;\;\left(\left(y3 \cdot y\right) \cdot y4\right) \cdot c\\ \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 (* (* (* j x) y1) i)))
                                                                                                                                                                                                                                                                                                                                                                               (if (<= j -1.1e-39) t_1 (if (<= j 5e+48) (* (* (* y3 y) y4) c) 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 = ((j * x) * y1) * i;
                                                                                                                                                                                                                                                                                                                                                                            	double tmp;
                                                                                                                                                                                                                                                                                                                                                                            	if (j <= -1.1e-39) {
                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                            	} else if (j <= 5e+48) {
                                                                                                                                                                                                                                                                                                                                                                            		tmp = ((y3 * y) * y4) * c;
                                                                                                                                                                                                                                                                                                                                                                            	} else {
                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                            	}
                                                                                                                                                                                                                                                                                                                                                                            	return tmp;
                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: z
                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: t
                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: a
                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: b
                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: c
                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: i
                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: j
                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: k
                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                                                                                real(8) :: t_1
                                                                                                                                                                                                                                                                                                                                                                                real(8) :: tmp
                                                                                                                                                                                                                                                                                                                                                                                t_1 = ((j * x) * y1) * i
                                                                                                                                                                                                                                                                                                                                                                                if (j <= (-1.1d-39)) then
                                                                                                                                                                                                                                                                                                                                                                                    tmp = t_1
                                                                                                                                                                                                                                                                                                                                                                                else if (j <= 5d+48) then
                                                                                                                                                                                                                                                                                                                                                                                    tmp = ((y3 * y) * y4) * c
                                                                                                                                                                                                                                                                                                                                                                                else
                                                                                                                                                                                                                                                                                                                                                                                    tmp = t_1
                                                                                                                                                                                                                                                                                                                                                                                end if
                                                                                                                                                                                                                                                                                                                                                                                code = tmp
                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                            	double t_1 = ((j * x) * y1) * i;
                                                                                                                                                                                                                                                                                                                                                                            	double tmp;
                                                                                                                                                                                                                                                                                                                                                                            	if (j <= -1.1e-39) {
                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                            	} else if (j <= 5e+48) {
                                                                                                                                                                                                                                                                                                                                                                            		tmp = ((y3 * y) * y4) * c;
                                                                                                                                                                                                                                                                                                                                                                            	} else {
                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                            	}
                                                                                                                                                                                                                                                                                                                                                                            	return tmp;
                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                                                            	t_1 = ((j * x) * y1) * i
                                                                                                                                                                                                                                                                                                                                                                            	tmp = 0
                                                                                                                                                                                                                                                                                                                                                                            	if j <= -1.1e-39:
                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1
                                                                                                                                                                                                                                                                                                                                                                            	elif j <= 5e+48:
                                                                                                                                                                                                                                                                                                                                                                            		tmp = ((y3 * y) * y4) * c
                                                                                                                                                                                                                                                                                                                                                                            	else:
                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1
                                                                                                                                                                                                                                                                                                                                                                            	return tmp
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                            	t_1 = Float64(Float64(Float64(j * x) * y1) * i)
                                                                                                                                                                                                                                                                                                                                                                            	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                                                            	if (j <= -1.1e-39)
                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                            	elseif (j <= 5e+48)
                                                                                                                                                                                                                                                                                                                                                                            		tmp = Float64(Float64(Float64(y3 * y) * y4) * c);
                                                                                                                                                                                                                                                                                                                                                                            	else
                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                            	end
                                                                                                                                                                                                                                                                                                                                                                            	return tmp
                                                                                                                                                                                                                                                                                                                                                                            end
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                            	t_1 = ((j * x) * y1) * i;
                                                                                                                                                                                                                                                                                                                                                                            	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                                                                            	if (j <= -1.1e-39)
                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                            	elseif (j <= 5e+48)
                                                                                                                                                                                                                                                                                                                                                                            		tmp = ((y3 * y) * y4) * c;
                                                                                                                                                                                                                                                                                                                                                                            	else
                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                            	end
                                                                                                                                                                                                                                                                                                                                                                            	tmp_2 = tmp;
                                                                                                                                                                                                                                                                                                                                                                            end
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(j * x), $MachinePrecision] * y1), $MachinePrecision] * i), $MachinePrecision]}, If[LessEqual[j, -1.1e-39], t$95$1, If[LessEqual[j, 5e+48], N[(N[(N[(y3 * y), $MachinePrecision] * y4), $MachinePrecision] * c), $MachinePrecision], t$95$1]]]
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            \\
                                                                                                                                                                                                                                                                                                                                                                            \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                            t_1 := \left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\
                                                                                                                                                                                                                                                                                                                                                                            \mathbf{if}\;j \leq -1.1 \cdot 10^{-39}:\\
                                                                                                                                                                                                                                                                                                                                                                            \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            \mathbf{elif}\;j \leq 5 \cdot 10^{+48}:\\
                                                                                                                                                                                                                                                                                                                                                                            \;\;\;\;\left(\left(y3 \cdot y\right) \cdot y4\right) \cdot c\\
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                                                            \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            \end{array}
                                                                                                                                                                                                                                                                                                                                                                            \end{array}
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            Derivation
                                                                                                                                                                                                                                                                                                                                                                            1. Split input into 2 regimes
                                                                                                                                                                                                                                                                                                                                                                            2. if j < -1.1e-39 or 4.99999999999999973e48 < j

                                                                                                                                                                                                                                                                                                                                                                              1. Initial program 25.6%

                                                                                                                                                                                                                                                                                                                                                                                \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                              2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                              3. Taylor expanded in y1 around inf

                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{y1 \cdot \left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                              4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                                                                                                                                                                                                                                                                                                                2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                                                                                                                                                                                                                                                                                                              5. Applied rewrites42.1%

                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - z \cdot y3\right), a, \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
                                                                                                                                                                                                                                                                                                                                                                              6. Taylor expanded in i around inf

                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto i \cdot \color{blue}{\left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                1. Applied rewrites37.6%

                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto i \cdot \color{blue}{\left(y1 \cdot \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                2. Taylor expanded in k around 0

                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto i \cdot \left(j \cdot \left(x \cdot \color{blue}{y1}\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                  1. Applied rewrites36.2%

                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto i \cdot \left(\left(j \cdot x\right) \cdot y1\right) \]

                                                                                                                                                                                                                                                                                                                                                                                  if -1.1e-39 < j < 4.99999999999999973e48

                                                                                                                                                                                                                                                                                                                                                                                  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 y3 around inf

                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \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(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                                                                                                                                    2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                                                                                                                                  5. Applied rewrites34.0%

                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y0 \cdot y5\right), j, \mathsf{fma}\left(-z, c \cdot y0 - y1 \cdot a, \left(c \cdot y4 - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                                                                                                                                  6. Taylor expanded in y around inf

                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto y \cdot \color{blue}{\left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                    1. Applied rewrites34.6%

                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto y \cdot \color{blue}{\left(y3 \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                    2. Taylor expanded in c around inf

                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto c \cdot \left(y \cdot \color{blue}{\left(y3 \cdot y4\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites21.6%

                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto c \cdot \left(\left(y \cdot y3\right) \cdot \color{blue}{y4}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                    4. Recombined 2 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                                                    5. Final simplification28.7%

                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -1.1 \cdot 10^{-39}:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{elif}\;j \leq 5 \cdot 10^{+48}:\\ \;\;\;\;\left(\left(y3 \cdot y\right) \cdot y4\right) \cdot c\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                    6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                    Alternative 33: 17.8% accurate, 12.6× speedup?

                                                                                                                                                                                                                                                                                                                                                                                    \[\begin{array}{l} \\ \left(\left(j \cdot x\right) \cdot y1\right) \cdot i \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                    (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                                                                     :precision binary64
                                                                                                                                                                                                                                                                                                                                                                                     (* (* (* j x) y1) i))
                                                                                                                                                                                                                                                                                                                                                                                    double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                    	return ((j * x) * y1) * i;
                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    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 = ((j * x) * y1) * i
                                                                                                                                                                                                                                                                                                                                                                                    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 ((j * x) * y1) * i;
                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                                                                    	return ((j * x) * y1) * i
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                    	return Float64(Float64(Float64(j * x) * y1) * i)
                                                                                                                                                                                                                                                                                                                                                                                    end
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                    	tmp = ((j * x) * y1) * i;
                                                                                                                                                                                                                                                                                                                                                                                    end
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(j * x), $MachinePrecision] * y1), $MachinePrecision] * i), $MachinePrecision]
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    \\
                                                                                                                                                                                                                                                                                                                                                                                    \left(\left(j \cdot x\right) \cdot y1\right) \cdot i
                                                                                                                                                                                                                                                                                                                                                                                    \end{array}
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    Derivation
                                                                                                                                                                                                                                                                                                                                                                                    1. Initial program 31.3%

                                                                                                                                                                                                                                                                                                                                                                                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                    2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                    3. Taylor expanded in y1 around inf

                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{y1 \cdot \left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                    4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                      1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                                                                                                                                                                                                                                                                                                                      2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                                                                                                                                                                                                                                                                                                                    5. Applied rewrites38.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} \]
                                                                                                                                                                                                                                                                                                                                                                                    6. Taylor expanded in i around inf

                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto i \cdot \color{blue}{\left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites29.3%

                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto i \cdot \color{blue}{\left(y1 \cdot \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                      2. Taylor expanded in k around 0

                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto i \cdot \left(j \cdot \left(x \cdot \color{blue}{y1}\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites19.7%

                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto i \cdot \left(\left(j \cdot x\right) \cdot y1\right) \]
                                                                                                                                                                                                                                                                                                                                                                                        2. Final simplification19.7%

                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(\left(j \cdot x\right) \cdot y1\right) \cdot i \]
                                                                                                                                                                                                                                                                                                                                                                                        3. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                        Developer Target 1: 26.7% 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 2024235 
                                                                                                                                                                                                                                                                                                                                                                                        (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)))))