Linear.Matrix:det44 from linear-1.19.1.3

Percentage Accurate: 30.7% → 40.2%
Time: 33.7s
Alternatives: 36
Speedup: 4.8×

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 36 alternatives:

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

Initial Program: 30.7% accurate, 1.0× speedup?

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

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

Alternative 1: 40.2% accurate, 1.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y3 \cdot z - y2 \cdot x\\ t_2 := \mathsf{fma}\left(t\_1, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\ t_3 := \left(\mathsf{fma}\left(c, x, \left(-k\right) \cdot y5\right) \cdot y0\right) \cdot y2\\ \mathbf{if}\;a \leq -4.6 \cdot 10^{+179}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;a \leq -2.3 \cdot 10^{+150}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;a \leq -2.05 \cdot 10^{-131}:\\ \;\;\;\;\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}\;a \leq -6.2 \cdot 10^{-181}:\\ \;\;\;\;\mathsf{fma}\left(-y0, \mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right), \mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;a \leq 4.1 \cdot 10^{-239}:\\ \;\;\;\;\mathsf{fma}\left(t\_1, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \mathbf{elif}\;a \leq 4.2 \cdot 10^{-194}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot c\right) \cdot y2\\ \mathbf{elif}\;a \leq 1.2 \cdot 10^{-7}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot j\right) \cdot y5\\ \mathbf{elif}\;a \leq 6.4 \cdot 10^{+77}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;a \leq 1.1 \cdot 10^{+179}:\\ \;\;\;\;t\_2\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (- (* y3 z) (* y2 x)))
        (t_2
         (*
          (fma t_1 y1 (fma (- (* y x) (* t z)) b (* (- (* y2 t) (* y3 y)) y5)))
          a))
        (t_3 (* (* (fma c x (* (- k) y5)) y0) y2)))
   (if (<= a -4.6e+179)
     t_2
     (if (<= a -2.3e+150)
       t_3
       (if (<= a -2.05e-131)
         (*
          (fma
           (- (* y5 i) (* y4 b))
           k
           (fma (- (* b a) (* i c)) x (* (- (* y4 c) (* y5 a)) y3)))
          y)
         (if (<= a -6.2e-181)
           (*
            (fma (- y0) (fma k y2 (* (- j) y3)) (* (fma k y (* (- j) t)) i))
            y5)
           (if (<= a 4.1e-239)
             (*
              (fma
               t_1
               a
               (fma (- (* y2 k) (* y3 j)) y4 (* (- (* j x) (* k z)) i)))
              y1)
             (if (<= a 4.2e-194)
               (* (* (fma (- t) y4 (* y0 x)) c) y2)
               (if (<= a 1.2e-7)
                 (* (* (fma (- i) t (* y3 y0)) j) y5)
                 (if (<= a 6.4e+77)
                   t_3
                   (if (<= a 1.1e+179)
                     t_2
                     (* (* (fma (- b) t (* y3 y1)) a) z))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (y3 * z) - (y2 * x);
	double t_2 = fma(t_1, y1, fma(((y * x) - (t * z)), b, (((y2 * t) - (y3 * y)) * y5))) * a;
	double t_3 = (fma(c, x, (-k * y5)) * y0) * y2;
	double tmp;
	if (a <= -4.6e+179) {
		tmp = t_2;
	} else if (a <= -2.3e+150) {
		tmp = t_3;
	} else if (a <= -2.05e-131) {
		tmp = fma(((y5 * i) - (y4 * b)), k, fma(((b * a) - (i * c)), x, (((y4 * c) - (y5 * a)) * y3))) * y;
	} else if (a <= -6.2e-181) {
		tmp = fma(-y0, fma(k, y2, (-j * y3)), (fma(k, y, (-j * t)) * i)) * y5;
	} else if (a <= 4.1e-239) {
		tmp = fma(t_1, a, fma(((y2 * k) - (y3 * j)), y4, (((j * x) - (k * z)) * i))) * y1;
	} else if (a <= 4.2e-194) {
		tmp = (fma(-t, y4, (y0 * x)) * c) * y2;
	} else if (a <= 1.2e-7) {
		tmp = (fma(-i, t, (y3 * y0)) * j) * y5;
	} else if (a <= 6.4e+77) {
		tmp = t_3;
	} else if (a <= 1.1e+179) {
		tmp = t_2;
	} else {
		tmp = (fma(-b, t, (y3 * y1)) * a) * z;
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(y3 * z) - Float64(y2 * x))
	t_2 = Float64(fma(t_1, y1, fma(Float64(Float64(y * x) - Float64(t * z)), b, Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * y5))) * a)
	t_3 = Float64(Float64(fma(c, x, Float64(Float64(-k) * y5)) * y0) * y2)
	tmp = 0.0
	if (a <= -4.6e+179)
		tmp = t_2;
	elseif (a <= -2.3e+150)
		tmp = t_3;
	elseif (a <= -2.05e-131)
		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 (a <= -6.2e-181)
		tmp = Float64(fma(Float64(-y0), fma(k, y2, Float64(Float64(-j) * y3)), Float64(fma(k, y, Float64(Float64(-j) * t)) * i)) * y5);
	elseif (a <= 4.1e-239)
		tmp = Float64(fma(t_1, a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1);
	elseif (a <= 4.2e-194)
		tmp = Float64(Float64(fma(Float64(-t), y4, Float64(y0 * x)) * c) * y2);
	elseif (a <= 1.2e-7)
		tmp = Float64(Float64(fma(Float64(-i), t, Float64(y3 * y0)) * j) * y5);
	elseif (a <= 6.4e+77)
		tmp = t_3;
	elseif (a <= 1.1e+179)
		tmp = t_2;
	else
		tmp = Float64(Float64(fma(Float64(-b), t, Float64(y3 * y1)) * a) * z);
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t$95$1 * y1 + N[(N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] * b + N[(N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]}, Block[{t$95$3 = N[(N[(N[(c * x + N[((-k) * y5), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision] * y2), $MachinePrecision]}, If[LessEqual[a, -4.6e+179], t$95$2, If[LessEqual[a, -2.3e+150], t$95$3, If[LessEqual[a, -2.05e-131], 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[a, -6.2e-181], N[(N[((-y0) * N[(k * y2 + N[((-j) * y3), $MachinePrecision]), $MachinePrecision] + N[(N[(k * y + N[((-j) * t), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[a, 4.1e-239], N[(N[(t$95$1 * a + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y4 + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[a, 4.2e-194], N[(N[(N[((-t) * y4 + N[(y0 * x), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[a, 1.2e-7], N[(N[(N[((-i) * t + N[(y3 * y0), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[a, 6.4e+77], t$95$3, If[LessEqual[a, 1.1e+179], t$95$2, N[(N[(N[((-b) * t + N[(y3 * y1), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * z), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;a \leq -2.3 \cdot 10^{+150}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;a \leq -2.05 \cdot 10^{-131}:\\
\;\;\;\;\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}\;a \leq -6.2 \cdot 10^{-181}:\\
\;\;\;\;\mathsf{fma}\left(-y0, \mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right), \mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\

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

\mathbf{elif}\;a \leq 4.2 \cdot 10^{-194}:\\
\;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot c\right) \cdot y2\\

\mathbf{elif}\;a \leq 1.2 \cdot 10^{-7}:\\
\;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot j\right) \cdot y5\\

\mathbf{elif}\;a \leq 6.4 \cdot 10^{+77}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;a \leq 1.1 \cdot 10^{+179}:\\
\;\;\;\;t\_2\\

\mathbf{else}:\\
\;\;\;\;\left(\mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if a < -4.59999999999999988e179 or 6.4000000000000003e77 < a < 1.1e179

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

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

    if -4.59999999999999988e179 < a < -2.30000000000000001e150 or 1.19999999999999989e-7 < a < 6.4000000000000003e77

    1. Initial program 26.1%

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

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

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

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

      if -2.30000000000000001e150 < a < -2.0500000000000001e-131

      1. Initial program 32.1%

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

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

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

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

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

      if -2.0500000000000001e-131 < a < -6.20000000000000043e-181

      1. Initial program 46.4%

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

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

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

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

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

        \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + i \cdot \left(k \cdot y - j \cdot t\right)\right) \cdot y5 \]
      7. Step-by-step derivation
        1. Applied rewrites71.6%

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

        if -6.20000000000000043e-181 < a < 4.09999999999999993e-239

        1. Initial program 47.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 rewrites62.4%

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

        if 4.09999999999999993e-239 < a < 4.2e-194

        1. Initial program 30.6%

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

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

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

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

          if 4.2e-194 < a < 1.19999999999999989e-7

          1. Initial program 14.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 y5 around inf

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

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

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

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

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

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

            if 1.1e179 < a

            1. Initial program 11.7%

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

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

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

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

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

              \[\leadsto \left(a \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right) \cdot z \]
            7. Step-by-step derivation
              1. Applied rewrites69.8%

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

              \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -4.6 \cdot 10^{+179}:\\ \;\;\;\;\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}\;a \leq -2.3 \cdot 10^{+150}:\\ \;\;\;\;\left(\mathsf{fma}\left(c, x, \left(-k\right) \cdot y5\right) \cdot y0\right) \cdot y2\\ \mathbf{elif}\;a \leq -2.05 \cdot 10^{-131}:\\ \;\;\;\;\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}\;a \leq -6.2 \cdot 10^{-181}:\\ \;\;\;\;\mathsf{fma}\left(-y0, \mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right), \mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;a \leq 4.1 \cdot 10^{-239}:\\ \;\;\;\;\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}\;a \leq 4.2 \cdot 10^{-194}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot c\right) \cdot y2\\ \mathbf{elif}\;a \leq 1.2 \cdot 10^{-7}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot j\right) \cdot y5\\ \mathbf{elif}\;a \leq 6.4 \cdot 10^{+77}:\\ \;\;\;\;\left(\mathsf{fma}\left(c, x, \left(-k\right) \cdot y5\right) \cdot y0\right) \cdot y2\\ \mathbf{elif}\;a \leq 1.1 \cdot 10^{+179}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \end{array} \]
            10. Add Preprocessing

            Alternative 2: 56.4% accurate, 0.5× speedup?

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

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

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

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

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

            Alternative 3: 38.0% accurate, 1.8× speedup?

            \[\begin{array}{l} \\ \begin{array}{l} t_1 := y3 \cdot z - y2 \cdot x\\ t_2 := \mathsf{fma}\left(t\_1, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\ t_3 := \mathsf{fma}\left(c, x, \left(-k\right) \cdot y5\right)\\ \mathbf{if}\;a \leq -2.1 \cdot 10^{+103}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;a \leq -1.75 \cdot 10^{-45}:\\ \;\;\;\;\mathsf{fma}\left(k, y4, \left(-x\right) \cdot a\right) \cdot \left(y2 \cdot y1\right)\\ \mathbf{elif}\;a \leq -9 \cdot 10^{-179}:\\ \;\;\;\;\mathsf{fma}\left(y2, \left(\left(-t\right) \cdot y4\right) \cdot c, \left(y2 \cdot y0\right) \cdot t\_3\right)\\ \mathbf{elif}\;a \leq 4.1 \cdot 10^{-239}:\\ \;\;\;\;\mathsf{fma}\left(t\_1, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \mathbf{elif}\;a \leq 4.2 \cdot 10^{-194}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot c\right) \cdot y2\\ \mathbf{elif}\;a \leq 1.2 \cdot 10^{-7}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot j\right) \cdot y5\\ \mathbf{elif}\;a \leq 6.4 \cdot 10^{+77}:\\ \;\;\;\;\left(t\_3 \cdot y0\right) \cdot y2\\ \mathbf{elif}\;a \leq 1.1 \cdot 10^{+179}:\\ \;\;\;\;t\_2\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \end{array} \end{array} \]
            (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
             :precision binary64
             (let* ((t_1 (- (* y3 z) (* y2 x)))
                    (t_2
                     (*
                      (fma t_1 y1 (fma (- (* y x) (* t z)) b (* (- (* y2 t) (* y3 y)) y5)))
                      a))
                    (t_3 (fma c x (* (- k) y5))))
               (if (<= a -2.1e+103)
                 t_2
                 (if (<= a -1.75e-45)
                   (* (fma k y4 (* (- x) a)) (* y2 y1))
                   (if (<= a -9e-179)
                     (fma y2 (* (* (- t) y4) c) (* (* y2 y0) t_3))
                     (if (<= a 4.1e-239)
                       (*
                        (fma
                         t_1
                         a
                         (fma (- (* y2 k) (* y3 j)) y4 (* (- (* j x) (* k z)) i)))
                        y1)
                       (if (<= a 4.2e-194)
                         (* (* (fma (- t) y4 (* y0 x)) c) y2)
                         (if (<= a 1.2e-7)
                           (* (* (fma (- i) t (* y3 y0)) j) y5)
                           (if (<= a 6.4e+77)
                             (* (* t_3 y0) y2)
                             (if (<= a 1.1e+179)
                               t_2
                               (* (* (fma (- b) t (* y3 y1)) a) z)))))))))))
            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
            	double t_1 = (y3 * z) - (y2 * x);
            	double t_2 = fma(t_1, y1, fma(((y * x) - (t * z)), b, (((y2 * t) - (y3 * y)) * y5))) * a;
            	double t_3 = fma(c, x, (-k * y5));
            	double tmp;
            	if (a <= -2.1e+103) {
            		tmp = t_2;
            	} else if (a <= -1.75e-45) {
            		tmp = fma(k, y4, (-x * a)) * (y2 * y1);
            	} else if (a <= -9e-179) {
            		tmp = fma(y2, ((-t * y4) * c), ((y2 * y0) * t_3));
            	} else if (a <= 4.1e-239) {
            		tmp = fma(t_1, a, fma(((y2 * k) - (y3 * j)), y4, (((j * x) - (k * z)) * i))) * y1;
            	} else if (a <= 4.2e-194) {
            		tmp = (fma(-t, y4, (y0 * x)) * c) * y2;
            	} else if (a <= 1.2e-7) {
            		tmp = (fma(-i, t, (y3 * y0)) * j) * y5;
            	} else if (a <= 6.4e+77) {
            		tmp = (t_3 * y0) * y2;
            	} else if (a <= 1.1e+179) {
            		tmp = t_2;
            	} else {
            		tmp = (fma(-b, t, (y3 * y1)) * a) * z;
            	}
            	return tmp;
            }
            
            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
            	t_1 = Float64(Float64(y3 * z) - Float64(y2 * x))
            	t_2 = Float64(fma(t_1, y1, fma(Float64(Float64(y * x) - Float64(t * z)), b, Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * y5))) * a)
            	t_3 = fma(c, x, Float64(Float64(-k) * y5))
            	tmp = 0.0
            	if (a <= -2.1e+103)
            		tmp = t_2;
            	elseif (a <= -1.75e-45)
            		tmp = Float64(fma(k, y4, Float64(Float64(-x) * a)) * Float64(y2 * y1));
            	elseif (a <= -9e-179)
            		tmp = fma(y2, Float64(Float64(Float64(-t) * y4) * c), Float64(Float64(y2 * y0) * t_3));
            	elseif (a <= 4.1e-239)
            		tmp = Float64(fma(t_1, a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1);
            	elseif (a <= 4.2e-194)
            		tmp = Float64(Float64(fma(Float64(-t), y4, Float64(y0 * x)) * c) * y2);
            	elseif (a <= 1.2e-7)
            		tmp = Float64(Float64(fma(Float64(-i), t, Float64(y3 * y0)) * j) * y5);
            	elseif (a <= 6.4e+77)
            		tmp = Float64(Float64(t_3 * y0) * y2);
            	elseif (a <= 1.1e+179)
            		tmp = t_2;
            	else
            		tmp = Float64(Float64(fma(Float64(-b), t, Float64(y3 * y1)) * a) * z);
            	end
            	return tmp
            end
            
            code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t$95$1 * y1 + N[(N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] * b + N[(N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]}, Block[{t$95$3 = N[(c * x + N[((-k) * y5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -2.1e+103], t$95$2, If[LessEqual[a, -1.75e-45], N[(N[(k * y4 + N[((-x) * a), $MachinePrecision]), $MachinePrecision] * N[(y2 * y1), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -9e-179], N[(y2 * N[(N[((-t) * y4), $MachinePrecision] * c), $MachinePrecision] + N[(N[(y2 * y0), $MachinePrecision] * t$95$3), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 4.1e-239], N[(N[(t$95$1 * a + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y4 + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[a, 4.2e-194], N[(N[(N[((-t) * y4 + N[(y0 * x), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[a, 1.2e-7], N[(N[(N[((-i) * t + N[(y3 * y0), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[a, 6.4e+77], N[(N[(t$95$3 * y0), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[a, 1.1e+179], t$95$2, N[(N[(N[((-b) * t + N[(y3 * y1), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * z), $MachinePrecision]]]]]]]]]]]]
            
            \begin{array}{l}
            
            \\
            \begin{array}{l}
            t_1 := y3 \cdot z - y2 \cdot x\\
            t_2 := \mathsf{fma}\left(t\_1, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\
            t_3 := \mathsf{fma}\left(c, x, \left(-k\right) \cdot y5\right)\\
            \mathbf{if}\;a \leq -2.1 \cdot 10^{+103}:\\
            \;\;\;\;t\_2\\
            
            \mathbf{elif}\;a \leq -1.75 \cdot 10^{-45}:\\
            \;\;\;\;\mathsf{fma}\left(k, y4, \left(-x\right) \cdot a\right) \cdot \left(y2 \cdot y1\right)\\
            
            \mathbf{elif}\;a \leq -9 \cdot 10^{-179}:\\
            \;\;\;\;\mathsf{fma}\left(y2, \left(\left(-t\right) \cdot y4\right) \cdot c, \left(y2 \cdot y0\right) \cdot t\_3\right)\\
            
            \mathbf{elif}\;a \leq 4.1 \cdot 10^{-239}:\\
            \;\;\;\;\mathsf{fma}\left(t\_1, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\
            
            \mathbf{elif}\;a \leq 4.2 \cdot 10^{-194}:\\
            \;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot c\right) \cdot y2\\
            
            \mathbf{elif}\;a \leq 1.2 \cdot 10^{-7}:\\
            \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot j\right) \cdot y5\\
            
            \mathbf{elif}\;a \leq 6.4 \cdot 10^{+77}:\\
            \;\;\;\;\left(t\_3 \cdot y0\right) \cdot y2\\
            
            \mathbf{elif}\;a \leq 1.1 \cdot 10^{+179}:\\
            \;\;\;\;t\_2\\
            
            \mathbf{else}:\\
            \;\;\;\;\left(\mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 8 regimes
            2. if a < -2.1000000000000002e103 or 6.4000000000000003e77 < a < 1.1e179

              1. Initial program 21.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 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 rewrites62.6%

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

              if -2.1000000000000002e103 < a < -1.75e-45

              1. Initial program 19.4%

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

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

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

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

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

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

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

                if -1.75e-45 < a < -8.99999999999999984e-179

                1. Initial program 50.3%

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

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

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

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

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

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

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

                    \[\leadsto \mathsf{fma}\left(y2, -1 \cdot \left(c \cdot \color{blue}{\left(t \cdot y4\right)}\right), \left(y0 \cdot y2\right) \cdot \mathsf{fma}\left(c, x, -k \cdot y5\right)\right) \]
                  3. Step-by-step derivation
                    1. Applied rewrites44.2%

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

                    if -8.99999999999999984e-179 < a < 4.09999999999999993e-239

                    1. Initial program 47.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 rewrites62.4%

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

                    if 4.09999999999999993e-239 < a < 4.2e-194

                    1. Initial program 30.6%

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

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

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

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

                      if 4.2e-194 < a < 1.19999999999999989e-7

                      1. Initial program 14.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 y5 around inf

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

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

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

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

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

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

                        if 1.19999999999999989e-7 < a < 6.4000000000000003e77

                        1. Initial program 24.0%

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

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

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

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

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

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

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

                          if 1.1e179 < a

                          1. Initial program 11.7%

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

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

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

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

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

                            \[\leadsto \left(a \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right) \cdot z \]
                          7. Step-by-step derivation
                            1. Applied rewrites69.8%

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

                            \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -2.1 \cdot 10^{+103}:\\ \;\;\;\;\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}\;a \leq -1.75 \cdot 10^{-45}:\\ \;\;\;\;\mathsf{fma}\left(k, y4, \left(-x\right) \cdot a\right) \cdot \left(y2 \cdot y1\right)\\ \mathbf{elif}\;a \leq -9 \cdot 10^{-179}:\\ \;\;\;\;\mathsf{fma}\left(y2, \left(\left(-t\right) \cdot y4\right) \cdot c, \left(y2 \cdot y0\right) \cdot \mathsf{fma}\left(c, x, \left(-k\right) \cdot y5\right)\right)\\ \mathbf{elif}\;a \leq 4.1 \cdot 10^{-239}:\\ \;\;\;\;\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}\;a \leq 4.2 \cdot 10^{-194}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot c\right) \cdot y2\\ \mathbf{elif}\;a \leq 1.2 \cdot 10^{-7}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot j\right) \cdot y5\\ \mathbf{elif}\;a \leq 6.4 \cdot 10^{+77}:\\ \;\;\;\;\left(\mathsf{fma}\left(c, x, \left(-k\right) \cdot y5\right) \cdot y0\right) \cdot y2\\ \mathbf{elif}\;a \leq 1.1 \cdot 10^{+179}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \end{array} \]
                          10. Add Preprocessing

                          Alternative 4: 43.6% accurate, 2.2× speedup?

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

                            1. Initial program 18.7%

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

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

                            if -4.80000000000000024e149 < y4 < -1.5999999999999999e-37

                            1. Initial program 22.9%

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

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

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

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

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

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

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

                              if -1.5999999999999999e-37 < y4 < -3.49999999999999969e-275

                              1. Initial program 40.4%

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

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

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

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

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

                              if -3.49999999999999969e-275 < y4 < 2.39999999999999979e-180

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

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

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

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

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

                              if 2.39999999999999979e-180 < y4 < 1.94999999999999997e46

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

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

                              \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -4.8 \cdot 10^{+149}:\\ \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\ \mathbf{elif}\;y4 \leq -1.6 \cdot 10^{-37}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y5, y1 \cdot x\right) \cdot i\right) \cdot j\\ \mathbf{elif}\;y4 \leq -3.5 \cdot 10^{-275}:\\ \;\;\;\;\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}\;y4 \leq 2.4 \cdot 10^{-180}:\\ \;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(y1 \cdot i - y0 \cdot b\right) \cdot j\right)\right) \cdot x\\ \mathbf{elif}\;y4 \leq 1.95 \cdot 10^{+46}:\\ \;\;\;\;\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(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\ \end{array} \]
                            10. Add Preprocessing

                            Alternative 5: 45.0% accurate, 2.2× speedup?

                            \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(-y0, \mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right), \mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{if}\;y5 \leq -5 \cdot 10^{+35}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y5 \leq 7.8 \cdot 10^{-260}:\\ \;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(y1 \cdot i - y0 \cdot b\right) \cdot j\right)\right) \cdot x\\ \mathbf{elif}\;y5 \leq 2.45 \cdot 10^{-44}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \mathbf{elif}\;y5 \leq 1.9 \cdot 10^{-25}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot b\right) \cdot j\\ \mathbf{elif}\;y5 \leq 1.45 \cdot 10^{+151}:\\ \;\;\;\;\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}:\\ \;\;\;\;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 (- y0) (fma k y2 (* (- j) y3)) (* (fma k y (* (- j) t)) i))
                                      y5)))
                               (if (<= y5 -5e+35)
                                 t_1
                                 (if (<= y5 7.8e-260)
                                   (*
                                    (fma
                                     (- (* b a) (* i c))
                                     y
                                     (fma (- (* y0 c) (* y1 a)) y2 (* (- (* y1 i) (* y0 b)) j)))
                                    x)
                                   (if (<= y5 2.45e-44)
                                     (*
                                      (fma
                                       (- (* y3 z) (* y2 x))
                                       a
                                       (fma (- (* y2 k) (* y3 j)) y4 (* (- (* j x) (* k z)) i)))
                                      y1)
                                     (if (<= y5 1.9e-25)
                                       (* (* (fma (- x) y0 (* y4 t)) b) j)
                                       (if (<= y5 1.45e+151)
                                         (*
                                          (fma
                                           (- (* y5 i) (* y4 b))
                                           y
                                           (fma (- (* y4 y1) (* y5 y0)) y2 (* (- (* y0 b) (* y1 i)) z)))
                                          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(-y0, fma(k, y2, (-j * y3)), (fma(k, y, (-j * t)) * i)) * y5;
                            	double tmp;
                            	if (y5 <= -5e+35) {
                            		tmp = t_1;
                            	} else if (y5 <= 7.8e-260) {
                            		tmp = fma(((b * a) - (i * c)), y, fma(((y0 * c) - (y1 * a)), y2, (((y1 * i) - (y0 * b)) * j))) * x;
                            	} else if (y5 <= 2.45e-44) {
                            		tmp = fma(((y3 * z) - (y2 * x)), a, fma(((y2 * k) - (y3 * j)), y4, (((j * x) - (k * z)) * i))) * y1;
                            	} else if (y5 <= 1.9e-25) {
                            		tmp = (fma(-x, y0, (y4 * t)) * b) * j;
                            	} else if (y5 <= 1.45e+151) {
                            		tmp = fma(((y5 * i) - (y4 * b)), y, fma(((y4 * y1) - (y5 * y0)), y2, (((y0 * b) - (y1 * i)) * z))) * 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(-y0), fma(k, y2, Float64(Float64(-j) * y3)), Float64(fma(k, y, Float64(Float64(-j) * t)) * i)) * y5)
                            	tmp = 0.0
                            	if (y5 <= -5e+35)
                            		tmp = t_1;
                            	elseif (y5 <= 7.8e-260)
                            		tmp = Float64(fma(Float64(Float64(b * a) - Float64(i * c)), y, fma(Float64(Float64(y0 * c) - Float64(y1 * a)), y2, Float64(Float64(Float64(y1 * i) - Float64(y0 * b)) * j))) * x);
                            	elseif (y5 <= 2.45e-44)
                            		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 (y5 <= 1.9e-25)
                            		tmp = Float64(Float64(fma(Float64(-x), y0, Float64(y4 * t)) * b) * j);
                            	elseif (y5 <= 1.45e+151)
                            		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);
                            	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[((-y0) * N[(k * y2 + N[((-j) * y3), $MachinePrecision]), $MachinePrecision] + N[(N[(k * y + N[((-j) * t), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision]}, If[LessEqual[y5, -5e+35], t$95$1, If[LessEqual[y5, 7.8e-260], N[(N[(N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision] * y + N[(N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision] * y2 + N[(N[(N[(y1 * i), $MachinePrecision] - N[(y0 * b), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y5, 2.45e-44], 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[y5, 1.9e-25], N[(N[(N[((-x) * y0 + N[(y4 * t), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y5, 1.45e+151], 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], t$95$1]]]]]]
                            
                            \begin{array}{l}
                            
                            \\
                            \begin{array}{l}
                            t_1 := \mathsf{fma}\left(-y0, \mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right), \mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\
                            \mathbf{if}\;y5 \leq -5 \cdot 10^{+35}:\\
                            \;\;\;\;t\_1\\
                            
                            \mathbf{elif}\;y5 \leq 7.8 \cdot 10^{-260}:\\
                            \;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(y1 \cdot i - y0 \cdot b\right) \cdot j\right)\right) \cdot x\\
                            
                            \mathbf{elif}\;y5 \leq 2.45 \cdot 10^{-44}:\\
                            \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\
                            
                            \mathbf{elif}\;y5 \leq 1.9 \cdot 10^{-25}:\\
                            \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot b\right) \cdot j\\
                            
                            \mathbf{elif}\;y5 \leq 1.45 \cdot 10^{+151}:\\
                            \;\;\;\;\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}:\\
                            \;\;\;\;t\_1\\
                            
                            
                            \end{array}
                            \end{array}
                            
                            Derivation
                            1. Split input into 5 regimes
                            2. if y5 < -5.00000000000000021e35 or 1.45000000000000009e151 < y5

                              1. Initial program 19.7%

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

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

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

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

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

                                \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + i \cdot \left(k \cdot y - j \cdot t\right)\right) \cdot y5 \]
                              7. Step-by-step derivation
                                1. Applied rewrites60.0%

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

                                if -5.00000000000000021e35 < y5 < 7.79999999999999945e-260

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

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

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

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

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

                                if 7.79999999999999945e-260 < y5 < 2.4500000000000001e-44

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

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

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

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

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

                                if 2.4500000000000001e-44 < y5 < 1.8999999999999999e-25

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

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

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

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

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

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

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

                                  if 1.8999999999999999e-25 < y5 < 1.45000000000000009e151

                                  1. Initial program 30.6%

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

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

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

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

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

                                  \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -5 \cdot 10^{+35}:\\ \;\;\;\;\mathsf{fma}\left(-y0, \mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right), \mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;y5 \leq 7.8 \cdot 10^{-260}:\\ \;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(y1 \cdot i - y0 \cdot b\right) \cdot j\right)\right) \cdot x\\ \mathbf{elif}\;y5 \leq 2.45 \cdot 10^{-44}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \mathbf{elif}\;y5 \leq 1.9 \cdot 10^{-25}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot b\right) \cdot j\\ \mathbf{elif}\;y5 \leq 1.45 \cdot 10^{+151}:\\ \;\;\;\;\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(-y0, \mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right), \mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \end{array} \]
                                10. Add Preprocessing

                                Alternative 6: 44.2% accurate, 2.3× speedup?

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

                                  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 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 rewrites72.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.69999999999999993e97 < b < 6.9999999999999996e-150

                                  1. Initial program 31.5%

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

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

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

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

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

                                  if 6.9999999999999996e-150 < b < 7.5e-50

                                  1. Initial program 31.3%

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

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

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

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

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

                                    \[\leadsto \left(i \cdot \left(-1 \cdot \left(k \cdot y1\right) + c \cdot t\right)\right) \cdot z \]
                                  7. Step-by-step derivation
                                    1. Applied rewrites44.9%

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

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

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

                                      if 7.5e-50 < b < 4.19999999999999979e94

                                      1. Initial program 24.7%

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

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

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

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

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

                                      \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.7 \cdot 10^{+97}:\\ \;\;\;\;\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 7 \cdot 10^{-150}:\\ \;\;\;\;\mathsf{fma}\left(k \cdot y - j \cdot t, i, \mathsf{fma}\left(-y0, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\right) \cdot a\right)\right) \cdot y5\\ \mathbf{elif}\;b \leq 7.5 \cdot 10^{-50}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, y3, \left(-k\right) \cdot i\right) \cdot y1\right) \cdot z\\ \mathbf{elif}\;b \leq 4.2 \cdot 10^{+94}:\\ \;\;\;\;\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{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} \]
                                    6. Add Preprocessing

                                    Alternative 7: 37.0% accurate, 2.3× speedup?

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

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

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

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

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

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

                                        \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + i \cdot \left(k \cdot y - j \cdot t\right)\right) \cdot y5 \]
                                      7. Step-by-step derivation
                                        1. Applied rewrites48.9%

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

                                          \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right)\right) + i \cdot \left(k \cdot y\right)\right) \cdot y5 \]
                                        3. Step-by-step derivation
                                          1. Applied rewrites55.5%

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

                                          if -3.09999999999999978e-119 < k < -1.2000000000000001e-185

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

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

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

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

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

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

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

                                            if -1.2000000000000001e-185 < k < 1.7599999999999999e-239

                                            1. Initial program 23.6%

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

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

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

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

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

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

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

                                              if 1.7599999999999999e-239 < k < 1.44999999999999994e97

                                              1. Initial program 35.9%

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

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

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

                                            Alternative 8: 46.1% 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\\ \mathbf{if}\;b \leq -2.7 \cdot 10^{+97}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 5.5 \cdot 10^{-184}:\\ \;\;\;\;\mathsf{fma}\left(k \cdot y - j \cdot t, i, \mathsf{fma}\left(-y0, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\right) \cdot a\right)\right) \cdot y5\\ \mathbf{elif}\;b \leq 5.5 \cdot 10^{+91}:\\ \;\;\;\;\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}:\\ \;\;\;\;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.7e+97)
                                                 t_1
                                                 (if (<= b 5.5e-184)
                                                   (*
                                                    (fma
                                                     (- (* k y) (* j t))
                                                     i
                                                     (fma (- y0) (- (* y2 k) (* y3 j)) (* (- (* y2 t) (* y3 y)) a)))
                                                    y5)
                                                   (if (<= b 5.5e+91)
                                                     (*
                                                      (fma
                                                       (- (* y5 y0) (* y4 y1))
                                                       j
                                                       (fma (- z) (- (* y0 c) (* y1 a)) (* (- (* 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 tmp;
                                            	if (b <= -2.7e+97) {
                                            		tmp = t_1;
                                            	} else if (b <= 5.5e-184) {
                                            		tmp = fma(((k * y) - (j * t)), i, fma(-y0, ((y2 * k) - (y3 * j)), (((y2 * t) - (y3 * y)) * a))) * y5;
                                            	} else if (b <= 5.5e+91) {
                                            		tmp = fma(((y5 * y0) - (y4 * y1)), j, fma(-z, ((y0 * c) - (y1 * a)), (((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)
                                            	tmp = 0.0
                                            	if (b <= -2.7e+97)
                                            		tmp = t_1;
                                            	elseif (b <= 5.5e-184)
                                            		tmp = Float64(fma(Float64(Float64(k * y) - Float64(j * t)), i, fma(Float64(-y0), Float64(Float64(y2 * k) - Float64(y3 * j)), Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * a))) * y5);
                                            	elseif (b <= 5.5e+91)
                                            		tmp = Float64(fma(Float64(Float64(y5 * y0) - Float64(y4 * y1)), j, fma(Float64(-z), Float64(Float64(y0 * c) - Float64(y1 * a)), 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]}, If[LessEqual[b, -2.7e+97], t$95$1, If[LessEqual[b, 5.5e-184], N[(N[(N[(N[(k * y), $MachinePrecision] - N[(j * t), $MachinePrecision]), $MachinePrecision] * i + N[((-y0) * N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[b, 5.5e+91], N[(N[(N[(N[(y5 * y0), $MachinePrecision] - N[(y4 * y1), $MachinePrecision]), $MachinePrecision] * j + N[((-z) * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision] + 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\\
                                            \mathbf{if}\;b \leq -2.7 \cdot 10^{+97}:\\
                                            \;\;\;\;t\_1\\
                                            
                                            \mathbf{elif}\;b \leq 5.5 \cdot 10^{-184}:\\
                                            \;\;\;\;\mathsf{fma}\left(k \cdot y - j \cdot t, i, \mathsf{fma}\left(-y0, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\right) \cdot a\right)\right) \cdot y5\\
                                            
                                            \mathbf{elif}\;b \leq 5.5 \cdot 10^{+91}:\\
                                            \;\;\;\;\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}:\\
                                            \;\;\;\;t\_1\\
                                            
                                            
                                            \end{array}
                                            \end{array}
                                            
                                            Derivation
                                            1. Split input into 3 regimes
                                            2. if b < -2.69999999999999993e97 or 5.4999999999999998e91 < b

                                              1. Initial program 21.7%

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

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

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

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

                                              if -2.69999999999999993e97 < b < 5.4999999999999999e-184

                                              1. Initial program 32.2%

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

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

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

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

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

                                              if 5.4999999999999999e-184 < b < 5.4999999999999998e91

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

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

                                              \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.7 \cdot 10^{+97}:\\ \;\;\;\;\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 5.5 \cdot 10^{-184}:\\ \;\;\;\;\mathsf{fma}\left(k \cdot y - j \cdot t, i, \mathsf{fma}\left(-y0, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\right) \cdot a\right)\right) \cdot y5\\ \mathbf{elif}\;b \leq 5.5 \cdot 10^{+91}:\\ \;\;\;\;\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 9: 33.9% accurate, 3.0× speedup?

                                            \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(k \cdot i, y, \mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right) \cdot \left(-y0\right)\right) \cdot y5\\ \mathbf{if}\;x \leq -3 \cdot 10^{+174}:\\ \;\;\;\;\left(\mathsf{fma}\left(c, y0, \left(-y1\right) \cdot a\right) \cdot x\right) \cdot y2\\ \mathbf{elif}\;x \leq -5 \cdot 10^{-44}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;x \leq -1.4 \cdot 10^{-161}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;x \leq 7.5 \cdot 10^{-275}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, j, y2 \cdot a\right) \cdot t\right) \cdot y5\\ \mathbf{elif}\;x \leq 2.65 \cdot 10^{+194}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot b\right) \cdot j\\ \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 (* k i) y (* (fma k y2 (* (- j) y3)) (- y0))) y5)))
                                               (if (<= x -3e+174)
                                                 (* (* (fma c y0 (* (- y1) a)) x) y2)
                                                 (if (<= x -5e-44)
                                                   t_1
                                                   (if (<= x -1.4e-161)
                                                     (* (* (fma k y (* (- j) t)) i) y5)
                                                     (if (<= x 7.5e-275)
                                                       (* (* (fma (- i) j (* y2 a)) t) y5)
                                                       (if (<= x 2.65e+194) t_1 (* (* (fma (- x) y0 (* y4 t)) b) j))))))))
                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                            	double t_1 = fma((k * i), y, (fma(k, y2, (-j * y3)) * -y0)) * y5;
                                            	double tmp;
                                            	if (x <= -3e+174) {
                                            		tmp = (fma(c, y0, (-y1 * a)) * x) * y2;
                                            	} else if (x <= -5e-44) {
                                            		tmp = t_1;
                                            	} else if (x <= -1.4e-161) {
                                            		tmp = (fma(k, y, (-j * t)) * i) * y5;
                                            	} else if (x <= 7.5e-275) {
                                            		tmp = (fma(-i, j, (y2 * a)) * t) * y5;
                                            	} else if (x <= 2.65e+194) {
                                            		tmp = t_1;
                                            	} else {
                                            		tmp = (fma(-x, y0, (y4 * t)) * b) * j;
                                            	}
                                            	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(k * i), y, Float64(fma(k, y2, Float64(Float64(-j) * y3)) * Float64(-y0))) * y5)
                                            	tmp = 0.0
                                            	if (x <= -3e+174)
                                            		tmp = Float64(Float64(fma(c, y0, Float64(Float64(-y1) * a)) * x) * y2);
                                            	elseif (x <= -5e-44)
                                            		tmp = t_1;
                                            	elseif (x <= -1.4e-161)
                                            		tmp = Float64(Float64(fma(k, y, Float64(Float64(-j) * t)) * i) * y5);
                                            	elseif (x <= 7.5e-275)
                                            		tmp = Float64(Float64(fma(Float64(-i), j, Float64(y2 * a)) * t) * y5);
                                            	elseif (x <= 2.65e+194)
                                            		tmp = t_1;
                                            	else
                                            		tmp = Float64(Float64(fma(Float64(-x), y0, Float64(y4 * t)) * b) * j);
                                            	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[(k * i), $MachinePrecision] * y + N[(N[(k * y2 + N[((-j) * y3), $MachinePrecision]), $MachinePrecision] * (-y0)), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision]}, If[LessEqual[x, -3e+174], N[(N[(N[(c * y0 + N[((-y1) * a), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[x, -5e-44], t$95$1, If[LessEqual[x, -1.4e-161], N[(N[(N[(k * y + N[((-j) * t), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[x, 7.5e-275], N[(N[(N[((-i) * j + N[(y2 * a), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[x, 2.65e+194], t$95$1, N[(N[(N[((-x) * y0 + N[(y4 * t), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision] * j), $MachinePrecision]]]]]]]
                                            
                                            \begin{array}{l}
                                            
                                            \\
                                            \begin{array}{l}
                                            t_1 := \mathsf{fma}\left(k \cdot i, y, \mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right) \cdot \left(-y0\right)\right) \cdot y5\\
                                            \mathbf{if}\;x \leq -3 \cdot 10^{+174}:\\
                                            \;\;\;\;\left(\mathsf{fma}\left(c, y0, \left(-y1\right) \cdot a\right) \cdot x\right) \cdot y2\\
                                            
                                            \mathbf{elif}\;x \leq -5 \cdot 10^{-44}:\\
                                            \;\;\;\;t\_1\\
                                            
                                            \mathbf{elif}\;x \leq -1.4 \cdot 10^{-161}:\\
                                            \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\
                                            
                                            \mathbf{elif}\;x \leq 7.5 \cdot 10^{-275}:\\
                                            \;\;\;\;\left(\mathsf{fma}\left(-i, j, y2 \cdot a\right) \cdot t\right) \cdot y5\\
                                            
                                            \mathbf{elif}\;x \leq 2.65 \cdot 10^{+194}:\\
                                            \;\;\;\;t\_1\\
                                            
                                            \mathbf{else}:\\
                                            \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot b\right) \cdot j\\
                                            
                                            
                                            \end{array}
                                            \end{array}
                                            
                                            Derivation
                                            1. Split input into 5 regimes
                                            2. if x < -3e174

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

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

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

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

                                                if -3e174 < x < -5.00000000000000039e-44 or 7.49999999999999943e-275 < x < 2.65000000000000002e194

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

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

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

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

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

                                                  \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + i \cdot \left(k \cdot y - j \cdot t\right)\right) \cdot y5 \]
                                                7. Step-by-step derivation
                                                  1. Applied rewrites44.2%

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

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

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

                                                    if -5.00000000000000039e-44 < x < -1.39999999999999996e-161

                                                    1. Initial program 37.7%

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

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

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

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

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

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

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

                                                      if -1.39999999999999996e-161 < x < 7.49999999999999943e-275

                                                      1. Initial program 24.9%

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

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

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

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

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

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

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

                                                        if 2.65000000000000002e194 < x

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

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

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

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

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

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

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

                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -3 \cdot 10^{+174}:\\ \;\;\;\;\left(\mathsf{fma}\left(c, y0, \left(-y1\right) \cdot a\right) \cdot x\right) \cdot y2\\ \mathbf{elif}\;x \leq -5 \cdot 10^{-44}:\\ \;\;\;\;\mathsf{fma}\left(k \cdot i, y, \mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right) \cdot \left(-y0\right)\right) \cdot y5\\ \mathbf{elif}\;x \leq -1.4 \cdot 10^{-161}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;x \leq 7.5 \cdot 10^{-275}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, j, y2 \cdot a\right) \cdot t\right) \cdot y5\\ \mathbf{elif}\;x \leq 2.65 \cdot 10^{+194}:\\ \;\;\;\;\mathsf{fma}\left(k \cdot i, y, \mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right) \cdot \left(-y0\right)\right) \cdot y5\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot b\right) \cdot j\\ \end{array} \]
                                                        10. Add Preprocessing

                                                        Alternative 10: 38.4% accurate, 3.5× speedup?

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

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

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

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

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

                                                            if -3e174 < x < 1.40000000000000006e-194

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

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

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

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

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

                                                              \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + i \cdot \left(k \cdot y - j \cdot t\right)\right) \cdot y5 \]
                                                            7. Step-by-step derivation
                                                              1. Applied rewrites48.6%

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

                                                              if 1.40000000000000006e-194 < x < 2.65000000000000002e194

                                                              1. Initial program 20.7%

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

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

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

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

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

                                                                \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + i \cdot \left(k \cdot y - j \cdot t\right)\right) \cdot y5 \]
                                                              7. Step-by-step derivation
                                                                1. Applied rewrites33.2%

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

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

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

                                                                  if 2.65000000000000002e194 < x

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

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

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

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

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

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

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

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

                                                                  Alternative 11: 32.5% accurate, 3.7× speedup?

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

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

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

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

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

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

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

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

                                                                      if -6.19999999999999974e149 < x < -3.99999999999999982e-162

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

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

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

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

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

                                                                        \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + i \cdot \left(k \cdot y - j \cdot t\right)\right) \cdot y5 \]
                                                                      7. Step-by-step derivation
                                                                        1. Applied rewrites50.0%

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

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

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

                                                                          if -3.99999999999999982e-162 < x < 2.1000000000000001e-257

                                                                          1. Initial program 24.3%

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

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

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

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

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

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

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

                                                                            if 2.1000000000000001e-257 < x < 1.21999999999999997e-104

                                                                            1. Initial program 28.1%

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

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

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

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

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

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

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

                                                                              if 1.21999999999999997e-104 < x < 1.10000000000000005e31

                                                                              1. Initial program 22.2%

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

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

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

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

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

                                                                                \[\leadsto \left(i \cdot \left(-1 \cdot \left(k \cdot y1\right) + c \cdot t\right)\right) \cdot z \]
                                                                              7. Step-by-step derivation
                                                                                1. Applied rewrites22.2%

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

                                                                                  \[\leadsto \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot z \]
                                                                                3. Step-by-step derivation
                                                                                  1. Applied rewrites49.0%

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

                                                                                  if 1.10000000000000005e31 < x

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

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

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

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

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

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

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

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

                                                                                  Alternative 12: 31.3% accurate, 3.7× speedup?

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

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

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

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

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

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

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

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

                                                                                      if -6.19999999999999974e149 < x < -1.39999999999999996e-161

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

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

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

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

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

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

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

                                                                                        if -1.39999999999999996e-161 < x < 2.1000000000000001e-257

                                                                                        1. Initial program 24.3%

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

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

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

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

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

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

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

                                                                                          if 2.1000000000000001e-257 < x < 1.21999999999999997e-104

                                                                                          1. Initial program 28.1%

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

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

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

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

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

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

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

                                                                                            if 1.21999999999999997e-104 < x < 1.10000000000000005e31

                                                                                            1. Initial program 22.2%

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

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

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

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

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

                                                                                              \[\leadsto \left(i \cdot \left(-1 \cdot \left(k \cdot y1\right) + c \cdot t\right)\right) \cdot z \]
                                                                                            7. Step-by-step derivation
                                                                                              1. Applied rewrites22.2%

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

                                                                                                \[\leadsto \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot z \]
                                                                                              3. Step-by-step derivation
                                                                                                1. Applied rewrites49.0%

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

                                                                                                if 1.10000000000000005e31 < x

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

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

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

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

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

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

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

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

                                                                                                Alternative 13: 31.7% accurate, 3.7× speedup?

                                                                                                \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(k, y1, \left(-t\right) \cdot c\right) \cdot \left(y4 \cdot y2\right)\\ \mathbf{if}\;y4 \leq -4.8 \cdot 10^{+149}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y4 \leq -7.4 \cdot 10^{+34}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y5, y1 \cdot x\right) \cdot i\right) \cdot j\\ \mathbf{elif}\;y4 \leq -8.4 \cdot 10^{-116}:\\ \;\;\;\;\left(\mathsf{fma}\left(b, y0, \left(-y1\right) \cdot i\right) \cdot k\right) \cdot z\\ \mathbf{elif}\;y4 \leq 1.75 \cdot 10^{-12}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y0, y3, i \cdot t\right) \cdot c\right) \cdot z\\ \mathbf{elif}\;y4 \leq 7 \cdot 10^{+163}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                 :precision binary64
                                                                                                 (let* ((t_1 (* (fma k y1 (* (- t) c)) (* y4 y2))))
                                                                                                   (if (<= y4 -4.8e+149)
                                                                                                     t_1
                                                                                                     (if (<= y4 -7.4e+34)
                                                                                                       (* (* (fma (- t) y5 (* y1 x)) i) j)
                                                                                                       (if (<= y4 -8.4e-116)
                                                                                                         (* (* (fma b y0 (* (- y1) i)) k) z)
                                                                                                         (if (<= y4 1.75e-12)
                                                                                                           (* (* (fma (- y0) y3 (* i t)) c) z)
                                                                                                           (if (<= y4 7e+163) (* (* (fma k y (* (- j) t)) i) y5) t_1)))))))
                                                                                                double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                	double t_1 = fma(k, y1, (-t * c)) * (y4 * y2);
                                                                                                	double tmp;
                                                                                                	if (y4 <= -4.8e+149) {
                                                                                                		tmp = t_1;
                                                                                                	} else if (y4 <= -7.4e+34) {
                                                                                                		tmp = (fma(-t, y5, (y1 * x)) * i) * j;
                                                                                                	} else if (y4 <= -8.4e-116) {
                                                                                                		tmp = (fma(b, y0, (-y1 * i)) * k) * z;
                                                                                                	} else if (y4 <= 1.75e-12) {
                                                                                                		tmp = (fma(-y0, y3, (i * t)) * c) * z;
                                                                                                	} else if (y4 <= 7e+163) {
                                                                                                		tmp = (fma(k, y, (-j * t)) * i) * y5;
                                                                                                	} else {
                                                                                                		tmp = t_1;
                                                                                                	}
                                                                                                	return tmp;
                                                                                                }
                                                                                                
                                                                                                function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                	t_1 = Float64(fma(k, y1, Float64(Float64(-t) * c)) * Float64(y4 * y2))
                                                                                                	tmp = 0.0
                                                                                                	if (y4 <= -4.8e+149)
                                                                                                		tmp = t_1;
                                                                                                	elseif (y4 <= -7.4e+34)
                                                                                                		tmp = Float64(Float64(fma(Float64(-t), y5, Float64(y1 * x)) * i) * j);
                                                                                                	elseif (y4 <= -8.4e-116)
                                                                                                		tmp = Float64(Float64(fma(b, y0, Float64(Float64(-y1) * i)) * k) * z);
                                                                                                	elseif (y4 <= 1.75e-12)
                                                                                                		tmp = Float64(Float64(fma(Float64(-y0), y3, Float64(i * t)) * c) * z);
                                                                                                	elseif (y4 <= 7e+163)
                                                                                                		tmp = Float64(Float64(fma(k, y, Float64(Float64(-j) * t)) * i) * y5);
                                                                                                	else
                                                                                                		tmp = t_1;
                                                                                                	end
                                                                                                	return tmp
                                                                                                end
                                                                                                
                                                                                                code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(k * y1 + N[((-t) * c), $MachinePrecision]), $MachinePrecision] * N[(y4 * y2), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -4.8e+149], t$95$1, If[LessEqual[y4, -7.4e+34], N[(N[(N[((-t) * y5 + N[(y1 * x), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y4, -8.4e-116], N[(N[(N[(b * y0 + N[((-y1) * i), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[y4, 1.75e-12], N[(N[(N[((-y0) * y3 + N[(i * t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[y4, 7e+163], N[(N[(N[(k * y + N[((-j) * t), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * y5), $MachinePrecision], t$95$1]]]]]]
                                                                                                
                                                                                                \begin{array}{l}
                                                                                                
                                                                                                \\
                                                                                                \begin{array}{l}
                                                                                                t_1 := \mathsf{fma}\left(k, y1, \left(-t\right) \cdot c\right) \cdot \left(y4 \cdot y2\right)\\
                                                                                                \mathbf{if}\;y4 \leq -4.8 \cdot 10^{+149}:\\
                                                                                                \;\;\;\;t\_1\\
                                                                                                
                                                                                                \mathbf{elif}\;y4 \leq -7.4 \cdot 10^{+34}:\\
                                                                                                \;\;\;\;\left(\mathsf{fma}\left(-t, y5, y1 \cdot x\right) \cdot i\right) \cdot j\\
                                                                                                
                                                                                                \mathbf{elif}\;y4 \leq -8.4 \cdot 10^{-116}:\\
                                                                                                \;\;\;\;\left(\mathsf{fma}\left(b, y0, \left(-y1\right) \cdot i\right) \cdot k\right) \cdot z\\
                                                                                                
                                                                                                \mathbf{elif}\;y4 \leq 1.75 \cdot 10^{-12}:\\
                                                                                                \;\;\;\;\left(\mathsf{fma}\left(-y0, y3, i \cdot t\right) \cdot c\right) \cdot z\\
                                                                                                
                                                                                                \mathbf{elif}\;y4 \leq 7 \cdot 10^{+163}:\\
                                                                                                \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\
                                                                                                
                                                                                                \mathbf{else}:\\
                                                                                                \;\;\;\;t\_1\\
                                                                                                
                                                                                                
                                                                                                \end{array}
                                                                                                \end{array}
                                                                                                
                                                                                                Derivation
                                                                                                1. Split input into 5 regimes
                                                                                                2. if y4 < -4.80000000000000024e149 or 7.0000000000000005e163 < y4

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

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

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

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

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

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

                                                                                                      if -4.80000000000000024e149 < y4 < -7.40000000000000017e34

                                                                                                      1. Initial program 16.6%

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

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

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

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

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

                                                                                                        \[\leadsto \left(i \cdot \left(-1 \cdot \left(t \cdot y5\right) + x \cdot y1\right)\right) \cdot j \]
                                                                                                      7. Step-by-step derivation
                                                                                                        1. Applied rewrites58.5%

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

                                                                                                        if -7.40000000000000017e34 < y4 < -8.3999999999999996e-116

                                                                                                        1. Initial program 49.5%

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

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

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

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

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

                                                                                                          \[\leadsto \left(i \cdot \left(-1 \cdot \left(k \cdot y1\right) + c \cdot t\right)\right) \cdot z \]
                                                                                                        7. Step-by-step derivation
                                                                                                          1. Applied rewrites29.6%

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

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

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

                                                                                                            if -8.3999999999999996e-116 < y4 < 1.75e-12

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

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

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

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

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

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

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

                                                                                                              if 1.75e-12 < y4 < 7.0000000000000005e163

                                                                                                              1. Initial program 21.3%

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

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

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

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

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

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

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

                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -4.8 \cdot 10^{+149}:\\ \;\;\;\;\mathsf{fma}\left(k, y1, \left(-t\right) \cdot c\right) \cdot \left(y4 \cdot y2\right)\\ \mathbf{elif}\;y4 \leq -7.4 \cdot 10^{+34}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y5, y1 \cdot x\right) \cdot i\right) \cdot j\\ \mathbf{elif}\;y4 \leq -8.4 \cdot 10^{-116}:\\ \;\;\;\;\left(\mathsf{fma}\left(b, y0, \left(-y1\right) \cdot i\right) \cdot k\right) \cdot z\\ \mathbf{elif}\;y4 \leq 1.75 \cdot 10^{-12}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y0, y3, i \cdot t\right) \cdot c\right) \cdot z\\ \mathbf{elif}\;y4 \leq 7 \cdot 10^{+163}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(k, y1, \left(-t\right) \cdot c\right) \cdot \left(y4 \cdot y2\right)\\ \end{array} \]
                                                                                                              10. Add Preprocessing

                                                                                                              Alternative 14: 32.3% accurate, 3.7× speedup?

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

                                                                                                                1. Initial program 17.2%

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

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

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

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

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

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

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

                                                                                                                  if -4.8e104 < a < -3.39999999999999983e-77

                                                                                                                  1. Initial program 25.1%

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

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

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

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

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

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

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

                                                                                                                    if -3.39999999999999983e-77 < a < -3.8999999999999998e-232

                                                                                                                    1. Initial program 43.1%

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

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

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

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

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

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

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

                                                                                                                      if -3.8999999999999998e-232 < a < 2.65000000000000009e-221

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

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

                                                                                                                        \[\leadsto \left(k \cdot \left(-1 \cdot \left(i \cdot z\right) + y2 \cdot y4\right)\right) \cdot y1 \]
                                                                                                                      7. Step-by-step derivation
                                                                                                                        1. Applied rewrites46.0%

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

                                                                                                                        if 2.65000000000000009e-221 < a < 5.50000000000000017e104

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

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

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

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

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

                                                                                                                          \[\leadsto \left(j \cdot \left(-1 \cdot \left(i \cdot t\right) + y0 \cdot y3\right)\right) \cdot y5 \]
                                                                                                                        7. Step-by-step derivation
                                                                                                                          1. Applied rewrites50.0%

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

                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -4.8 \cdot 10^{+104}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \mathbf{elif}\;a \leq -3.4 \cdot 10^{-77}:\\ \;\;\;\;\mathsf{fma}\left(k, y4, \left(-x\right) \cdot a\right) \cdot \left(y2 \cdot y1\right)\\ \mathbf{elif}\;a \leq -3.9 \cdot 10^{-232}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y0, y2, i \cdot y\right) \cdot k\right) \cdot y5\\ \mathbf{elif}\;a \leq 2.65 \cdot 10^{-221}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot k\right) \cdot y1\\ \mathbf{elif}\;a \leq 5.5 \cdot 10^{+104}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot j\right) \cdot y5\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \end{array} \]
                                                                                                                        10. Add Preprocessing

                                                                                                                        Alternative 15: 31.5% accurate, 3.7× speedup?

                                                                                                                        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(k, y1, \left(-t\right) \cdot c\right) \cdot \left(y4 \cdot y2\right)\\ \mathbf{if}\;y4 \leq -4.2 \cdot 10^{+25}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y4 \leq -8.4 \cdot 10^{-116}:\\ \;\;\;\;\left(\mathsf{fma}\left(b, y0, \left(-y1\right) \cdot i\right) \cdot k\right) \cdot z\\ \mathbf{elif}\;y4 \leq 5.2 \cdot 10^{-187}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y0, y3, i \cdot t\right) \cdot c\right) \cdot z\\ \mathbf{elif}\;y4 \leq 2.35 \cdot 10^{-51}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, y3, \left(-k\right) \cdot i\right) \cdot y1\right) \cdot z\\ \mathbf{elif}\;y4 \leq 7.5 \cdot 10^{+148}:\\ \;\;\;\;\mathsf{fma}\left(-a, y3, k \cdot i\right) \cdot \left(y5 \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                                        (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                         :precision binary64
                                                                                                                         (let* ((t_1 (* (fma k y1 (* (- t) c)) (* y4 y2))))
                                                                                                                           (if (<= y4 -4.2e+25)
                                                                                                                             t_1
                                                                                                                             (if (<= y4 -8.4e-116)
                                                                                                                               (* (* (fma b y0 (* (- y1) i)) k) z)
                                                                                                                               (if (<= y4 5.2e-187)
                                                                                                                                 (* (* (fma (- y0) y3 (* i t)) c) z)
                                                                                                                                 (if (<= y4 2.35e-51)
                                                                                                                                   (* (* (fma a y3 (* (- k) i)) y1) z)
                                                                                                                                   (if (<= y4 7.5e+148) (* (fma (- a) y3 (* k i)) (* y5 y)) t_1)))))))
                                                                                                                        double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                        	double t_1 = fma(k, y1, (-t * c)) * (y4 * y2);
                                                                                                                        	double tmp;
                                                                                                                        	if (y4 <= -4.2e+25) {
                                                                                                                        		tmp = t_1;
                                                                                                                        	} else if (y4 <= -8.4e-116) {
                                                                                                                        		tmp = (fma(b, y0, (-y1 * i)) * k) * z;
                                                                                                                        	} else if (y4 <= 5.2e-187) {
                                                                                                                        		tmp = (fma(-y0, y3, (i * t)) * c) * z;
                                                                                                                        	} else if (y4 <= 2.35e-51) {
                                                                                                                        		tmp = (fma(a, y3, (-k * i)) * y1) * z;
                                                                                                                        	} else if (y4 <= 7.5e+148) {
                                                                                                                        		tmp = fma(-a, y3, (k * i)) * (y5 * y);
                                                                                                                        	} else {
                                                                                                                        		tmp = t_1;
                                                                                                                        	}
                                                                                                                        	return tmp;
                                                                                                                        }
                                                                                                                        
                                                                                                                        function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                        	t_1 = Float64(fma(k, y1, Float64(Float64(-t) * c)) * Float64(y4 * y2))
                                                                                                                        	tmp = 0.0
                                                                                                                        	if (y4 <= -4.2e+25)
                                                                                                                        		tmp = t_1;
                                                                                                                        	elseif (y4 <= -8.4e-116)
                                                                                                                        		tmp = Float64(Float64(fma(b, y0, Float64(Float64(-y1) * i)) * k) * z);
                                                                                                                        	elseif (y4 <= 5.2e-187)
                                                                                                                        		tmp = Float64(Float64(fma(Float64(-y0), y3, Float64(i * t)) * c) * z);
                                                                                                                        	elseif (y4 <= 2.35e-51)
                                                                                                                        		tmp = Float64(Float64(fma(a, y3, Float64(Float64(-k) * i)) * y1) * z);
                                                                                                                        	elseif (y4 <= 7.5e+148)
                                                                                                                        		tmp = Float64(fma(Float64(-a), y3, Float64(k * i)) * Float64(y5 * y));
                                                                                                                        	else
                                                                                                                        		tmp = t_1;
                                                                                                                        	end
                                                                                                                        	return tmp
                                                                                                                        end
                                                                                                                        
                                                                                                                        code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(k * y1 + N[((-t) * c), $MachinePrecision]), $MachinePrecision] * N[(y4 * y2), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -4.2e+25], t$95$1, If[LessEqual[y4, -8.4e-116], N[(N[(N[(b * y0 + N[((-y1) * i), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[y4, 5.2e-187], N[(N[(N[((-y0) * y3 + N[(i * t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[y4, 2.35e-51], N[(N[(N[(a * y3 + N[((-k) * i), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[y4, 7.5e+148], N[(N[((-a) * y3 + N[(k * i), $MachinePrecision]), $MachinePrecision] * N[(y5 * y), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
                                                                                                                        
                                                                                                                        \begin{array}{l}
                                                                                                                        
                                                                                                                        \\
                                                                                                                        \begin{array}{l}
                                                                                                                        t_1 := \mathsf{fma}\left(k, y1, \left(-t\right) \cdot c\right) \cdot \left(y4 \cdot y2\right)\\
                                                                                                                        \mathbf{if}\;y4 \leq -4.2 \cdot 10^{+25}:\\
                                                                                                                        \;\;\;\;t\_1\\
                                                                                                                        
                                                                                                                        \mathbf{elif}\;y4 \leq -8.4 \cdot 10^{-116}:\\
                                                                                                                        \;\;\;\;\left(\mathsf{fma}\left(b, y0, \left(-y1\right) \cdot i\right) \cdot k\right) \cdot z\\
                                                                                                                        
                                                                                                                        \mathbf{elif}\;y4 \leq 5.2 \cdot 10^{-187}:\\
                                                                                                                        \;\;\;\;\left(\mathsf{fma}\left(-y0, y3, i \cdot t\right) \cdot c\right) \cdot z\\
                                                                                                                        
                                                                                                                        \mathbf{elif}\;y4 \leq 2.35 \cdot 10^{-51}:\\
                                                                                                                        \;\;\;\;\left(\mathsf{fma}\left(a, y3, \left(-k\right) \cdot i\right) \cdot y1\right) \cdot z\\
                                                                                                                        
                                                                                                                        \mathbf{elif}\;y4 \leq 7.5 \cdot 10^{+148}:\\
                                                                                                                        \;\;\;\;\mathsf{fma}\left(-a, y3, k \cdot i\right) \cdot \left(y5 \cdot y\right)\\
                                                                                                                        
                                                                                                                        \mathbf{else}:\\
                                                                                                                        \;\;\;\;t\_1\\
                                                                                                                        
                                                                                                                        
                                                                                                                        \end{array}
                                                                                                                        \end{array}
                                                                                                                        
                                                                                                                        Derivation
                                                                                                                        1. Split input into 5 regimes
                                                                                                                        2. if y4 < -4.1999999999999998e25 or 7.50000000000000008e148 < y4

                                                                                                                          1. Initial program 17.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 rewrites44.4%

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

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

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

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

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

                                                                                                                              if -4.1999999999999998e25 < y4 < -8.3999999999999996e-116

                                                                                                                              1. Initial program 54.6%

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

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

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

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

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

                                                                                                                                \[\leadsto \left(i \cdot \left(-1 \cdot \left(k \cdot y1\right) + c \cdot t\right)\right) \cdot z \]
                                                                                                                              7. Step-by-step derivation
                                                                                                                                1. Applied rewrites29.2%

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

                                                                                                                                  \[\leadsto \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot z \]
                                                                                                                                3. Step-by-step derivation
                                                                                                                                  1. Applied rewrites42.9%

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

                                                                                                                                  if -8.3999999999999996e-116 < y4 < 5.1999999999999999e-187

                                                                                                                                  1. Initial program 30.3%

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

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

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

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

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

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

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

                                                                                                                                    if 5.1999999999999999e-187 < y4 < 2.3499999999999999e-51

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

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

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

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

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

                                                                                                                                      \[\leadsto \left(i \cdot \left(-1 \cdot \left(k \cdot y1\right) + c \cdot t\right)\right) \cdot z \]
                                                                                                                                    7. Step-by-step derivation
                                                                                                                                      1. Applied rewrites36.6%

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

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

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

                                                                                                                                        if 2.3499999999999999e-51 < y4 < 7.50000000000000008e148

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

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

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

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

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

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

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

                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -4.2 \cdot 10^{+25}:\\ \;\;\;\;\mathsf{fma}\left(k, y1, \left(-t\right) \cdot c\right) \cdot \left(y4 \cdot y2\right)\\ \mathbf{elif}\;y4 \leq -8.4 \cdot 10^{-116}:\\ \;\;\;\;\left(\mathsf{fma}\left(b, y0, \left(-y1\right) \cdot i\right) \cdot k\right) \cdot z\\ \mathbf{elif}\;y4 \leq 5.2 \cdot 10^{-187}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y0, y3, i \cdot t\right) \cdot c\right) \cdot z\\ \mathbf{elif}\;y4 \leq 2.35 \cdot 10^{-51}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, y3, \left(-k\right) \cdot i\right) \cdot y1\right) \cdot z\\ \mathbf{elif}\;y4 \leq 7.5 \cdot 10^{+148}:\\ \;\;\;\;\mathsf{fma}\left(-a, y3, k \cdot i\right) \cdot \left(y5 \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(k, y1, \left(-t\right) \cdot c\right) \cdot \left(y4 \cdot y2\right)\\ \end{array} \]
                                                                                                                                        10. Add Preprocessing

                                                                                                                                        Alternative 16: 21.4% accurate, 4.2× speedup?

                                                                                                                                        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(-y2\right) \cdot \left(y0 \cdot k\right)\right) \cdot y5\\ \mathbf{if}\;a \leq -2.3 \cdot 10^{+184}:\\ \;\;\;\;\left(\left(a \cdot z\right) \cdot y1\right) \cdot y3\\ \mathbf{elif}\;a \leq -2.55 \cdot 10^{-129}:\\ \;\;\;\;\left(\left(y0 \cdot k\right) \cdot b\right) \cdot z\\ \mathbf{elif}\;a \leq -4 \cdot 10^{-297}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;a \leq 4.9 \cdot 10^{-8}:\\ \;\;\;\;\left(\left(\left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;a \leq 7.2 \cdot 10^{+122}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y3 \cdot z\right) \cdot a\right) \cdot y1\\ \end{array} \end{array} \]
                                                                                                                                        (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                         :precision binary64
                                                                                                                                         (let* ((t_1 (* (* (- y2) (* y0 k)) y5)))
                                                                                                                                           (if (<= a -2.3e+184)
                                                                                                                                             (* (* (* a z) y1) y3)
                                                                                                                                             (if (<= a -2.55e-129)
                                                                                                                                               (* (* (* y0 k) b) z)
                                                                                                                                               (if (<= a -4e-297)
                                                                                                                                                 t_1
                                                                                                                                                 (if (<= a 4.9e-8)
                                                                                                                                                   (* (* (* (- j) t) i) y5)
                                                                                                                                                   (if (<= a 7.2e+122) t_1 (* (* (* y3 z) a) y1))))))))
                                                                                                                                        double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                        	double t_1 = (-y2 * (y0 * k)) * y5;
                                                                                                                                        	double tmp;
                                                                                                                                        	if (a <= -2.3e+184) {
                                                                                                                                        		tmp = ((a * z) * y1) * y3;
                                                                                                                                        	} else if (a <= -2.55e-129) {
                                                                                                                                        		tmp = ((y0 * k) * b) * z;
                                                                                                                                        	} else if (a <= -4e-297) {
                                                                                                                                        		tmp = t_1;
                                                                                                                                        	} else if (a <= 4.9e-8) {
                                                                                                                                        		tmp = ((-j * t) * i) * y5;
                                                                                                                                        	} else if (a <= 7.2e+122) {
                                                                                                                                        		tmp = t_1;
                                                                                                                                        	} else {
                                                                                                                                        		tmp = ((y3 * z) * a) * y1;
                                                                                                                                        	}
                                                                                                                                        	return tmp;
                                                                                                                                        }
                                                                                                                                        
                                                                                                                                        real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                            real(8), intent (in) :: x
                                                                                                                                            real(8), intent (in) :: y
                                                                                                                                            real(8), intent (in) :: z
                                                                                                                                            real(8), intent (in) :: t
                                                                                                                                            real(8), intent (in) :: a
                                                                                                                                            real(8), intent (in) :: b
                                                                                                                                            real(8), intent (in) :: c
                                                                                                                                            real(8), intent (in) :: i
                                                                                                                                            real(8), intent (in) :: j
                                                                                                                                            real(8), intent (in) :: k
                                                                                                                                            real(8), intent (in) :: y0
                                                                                                                                            real(8), intent (in) :: y1
                                                                                                                                            real(8), intent (in) :: y2
                                                                                                                                            real(8), intent (in) :: y3
                                                                                                                                            real(8), intent (in) :: y4
                                                                                                                                            real(8), intent (in) :: y5
                                                                                                                                            real(8) :: t_1
                                                                                                                                            real(8) :: tmp
                                                                                                                                            t_1 = (-y2 * (y0 * k)) * y5
                                                                                                                                            if (a <= (-2.3d+184)) then
                                                                                                                                                tmp = ((a * z) * y1) * y3
                                                                                                                                            else if (a <= (-2.55d-129)) then
                                                                                                                                                tmp = ((y0 * k) * b) * z
                                                                                                                                            else if (a <= (-4d-297)) then
                                                                                                                                                tmp = t_1
                                                                                                                                            else if (a <= 4.9d-8) then
                                                                                                                                                tmp = ((-j * t) * i) * y5
                                                                                                                                            else if (a <= 7.2d+122) then
                                                                                                                                                tmp = t_1
                                                                                                                                            else
                                                                                                                                                tmp = ((y3 * z) * a) * y1
                                                                                                                                            end if
                                                                                                                                            code = tmp
                                                                                                                                        end function
                                                                                                                                        
                                                                                                                                        public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                        	double t_1 = (-y2 * (y0 * k)) * y5;
                                                                                                                                        	double tmp;
                                                                                                                                        	if (a <= -2.3e+184) {
                                                                                                                                        		tmp = ((a * z) * y1) * y3;
                                                                                                                                        	} else if (a <= -2.55e-129) {
                                                                                                                                        		tmp = ((y0 * k) * b) * z;
                                                                                                                                        	} else if (a <= -4e-297) {
                                                                                                                                        		tmp = t_1;
                                                                                                                                        	} else if (a <= 4.9e-8) {
                                                                                                                                        		tmp = ((-j * t) * i) * y5;
                                                                                                                                        	} else if (a <= 7.2e+122) {
                                                                                                                                        		tmp = t_1;
                                                                                                                                        	} else {
                                                                                                                                        		tmp = ((y3 * z) * a) * y1;
                                                                                                                                        	}
                                                                                                                                        	return tmp;
                                                                                                                                        }
                                                                                                                                        
                                                                                                                                        def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                        	t_1 = (-y2 * (y0 * k)) * y5
                                                                                                                                        	tmp = 0
                                                                                                                                        	if a <= -2.3e+184:
                                                                                                                                        		tmp = ((a * z) * y1) * y3
                                                                                                                                        	elif a <= -2.55e-129:
                                                                                                                                        		tmp = ((y0 * k) * b) * z
                                                                                                                                        	elif a <= -4e-297:
                                                                                                                                        		tmp = t_1
                                                                                                                                        	elif a <= 4.9e-8:
                                                                                                                                        		tmp = ((-j * t) * i) * y5
                                                                                                                                        	elif a <= 7.2e+122:
                                                                                                                                        		tmp = t_1
                                                                                                                                        	else:
                                                                                                                                        		tmp = ((y3 * z) * a) * y1
                                                                                                                                        	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(-y2) * Float64(y0 * k)) * y5)
                                                                                                                                        	tmp = 0.0
                                                                                                                                        	if (a <= -2.3e+184)
                                                                                                                                        		tmp = Float64(Float64(Float64(a * z) * y1) * y3);
                                                                                                                                        	elseif (a <= -2.55e-129)
                                                                                                                                        		tmp = Float64(Float64(Float64(y0 * k) * b) * z);
                                                                                                                                        	elseif (a <= -4e-297)
                                                                                                                                        		tmp = t_1;
                                                                                                                                        	elseif (a <= 4.9e-8)
                                                                                                                                        		tmp = Float64(Float64(Float64(Float64(-j) * t) * i) * y5);
                                                                                                                                        	elseif (a <= 7.2e+122)
                                                                                                                                        		tmp = t_1;
                                                                                                                                        	else
                                                                                                                                        		tmp = Float64(Float64(Float64(y3 * z) * a) * y1);
                                                                                                                                        	end
                                                                                                                                        	return tmp
                                                                                                                                        end
                                                                                                                                        
                                                                                                                                        function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                        	t_1 = (-y2 * (y0 * k)) * y5;
                                                                                                                                        	tmp = 0.0;
                                                                                                                                        	if (a <= -2.3e+184)
                                                                                                                                        		tmp = ((a * z) * y1) * y3;
                                                                                                                                        	elseif (a <= -2.55e-129)
                                                                                                                                        		tmp = ((y0 * k) * b) * z;
                                                                                                                                        	elseif (a <= -4e-297)
                                                                                                                                        		tmp = t_1;
                                                                                                                                        	elseif (a <= 4.9e-8)
                                                                                                                                        		tmp = ((-j * t) * i) * y5;
                                                                                                                                        	elseif (a <= 7.2e+122)
                                                                                                                                        		tmp = t_1;
                                                                                                                                        	else
                                                                                                                                        		tmp = ((y3 * z) * a) * y1;
                                                                                                                                        	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[((-y2) * N[(y0 * k), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision]}, If[LessEqual[a, -2.3e+184], N[(N[(N[(a * z), $MachinePrecision] * y1), $MachinePrecision] * y3), $MachinePrecision], If[LessEqual[a, -2.55e-129], N[(N[(N[(y0 * k), $MachinePrecision] * b), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[a, -4e-297], t$95$1, If[LessEqual[a, 4.9e-8], N[(N[(N[((-j) * t), $MachinePrecision] * i), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[a, 7.2e+122], t$95$1, N[(N[(N[(y3 * z), $MachinePrecision] * a), $MachinePrecision] * y1), $MachinePrecision]]]]]]]
                                                                                                                                        
                                                                                                                                        \begin{array}{l}
                                                                                                                                        
                                                                                                                                        \\
                                                                                                                                        \begin{array}{l}
                                                                                                                                        t_1 := \left(\left(-y2\right) \cdot \left(y0 \cdot k\right)\right) \cdot y5\\
                                                                                                                                        \mathbf{if}\;a \leq -2.3 \cdot 10^{+184}:\\
                                                                                                                                        \;\;\;\;\left(\left(a \cdot z\right) \cdot y1\right) \cdot y3\\
                                                                                                                                        
                                                                                                                                        \mathbf{elif}\;a \leq -2.55 \cdot 10^{-129}:\\
                                                                                                                                        \;\;\;\;\left(\left(y0 \cdot k\right) \cdot b\right) \cdot z\\
                                                                                                                                        
                                                                                                                                        \mathbf{elif}\;a \leq -4 \cdot 10^{-297}:\\
                                                                                                                                        \;\;\;\;t\_1\\
                                                                                                                                        
                                                                                                                                        \mathbf{elif}\;a \leq 4.9 \cdot 10^{-8}:\\
                                                                                                                                        \;\;\;\;\left(\left(\left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\
                                                                                                                                        
                                                                                                                                        \mathbf{elif}\;a \leq 7.2 \cdot 10^{+122}:\\
                                                                                                                                        \;\;\;\;t\_1\\
                                                                                                                                        
                                                                                                                                        \mathbf{else}:\\
                                                                                                                                        \;\;\;\;\left(\left(y3 \cdot z\right) \cdot a\right) \cdot y1\\
                                                                                                                                        
                                                                                                                                        
                                                                                                                                        \end{array}
                                                                                                                                        \end{array}
                                                                                                                                        
                                                                                                                                        Derivation
                                                                                                                                        1. Split input into 5 regimes
                                                                                                                                        2. if a < -2.3e184

                                                                                                                                          1. Initial program 11.0%

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

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

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

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

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

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

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

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

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

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

                                                                                                                                                if -2.3e184 < a < -2.5499999999999999e-129

                                                                                                                                                1. Initial program 30.2%

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

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

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

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

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

                                                                                                                                                  \[\leadsto \left(i \cdot \left(-1 \cdot \left(k \cdot y1\right) + c \cdot t\right)\right) \cdot z \]
                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                  1. Applied rewrites14.5%

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

                                                                                                                                                    \[\leadsto \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot z \]
                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                    1. Applied rewrites35.9%

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

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

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

                                                                                                                                                      if -2.5499999999999999e-129 < a < -4.00000000000000016e-297 or 4.9000000000000002e-8 < a < 7.2000000000000005e122

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

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

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

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

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

                                                                                                                                                        \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + i \cdot \left(k \cdot y - j \cdot t\right)\right) \cdot y5 \]
                                                                                                                                                      7. Step-by-step derivation
                                                                                                                                                        1. Applied rewrites50.9%

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

                                                                                                                                                          \[\leadsto \left(-1 \cdot \left(k \cdot \left(y0 \cdot y2\right)\right)\right) \cdot y5 \]
                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                          1. Applied rewrites35.8%

                                                                                                                                                            \[\leadsto \left(-\left(k \cdot y0\right) \cdot y2\right) \cdot y5 \]

                                                                                                                                                          if -4.00000000000000016e-297 < a < 4.9000000000000002e-8

                                                                                                                                                          1. Initial program 25.4%

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

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

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

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

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

                                                                                                                                                            \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + i \cdot \left(k \cdot y - j \cdot t\right)\right) \cdot y5 \]
                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                            1. Applied rewrites41.9%

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

                                                                                                                                                              \[\leadsto \left(-1 \cdot \left(i \cdot \left(j \cdot t\right)\right)\right) \cdot y5 \]
                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                              1. Applied rewrites38.0%

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

                                                                                                                                                              if 7.2000000000000005e122 < a

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

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

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

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

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

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

                                                                                                                                                                      \[\leadsto y1 \cdot \left(\left(y3 \cdot z\right) \cdot a\right) \]
                                                                                                                                                                  3. Recombined 5 regimes into one program.
                                                                                                                                                                  4. Final simplification37.1%

                                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -2.3 \cdot 10^{+184}:\\ \;\;\;\;\left(\left(a \cdot z\right) \cdot y1\right) \cdot y3\\ \mathbf{elif}\;a \leq -2.55 \cdot 10^{-129}:\\ \;\;\;\;\left(\left(y0 \cdot k\right) \cdot b\right) \cdot z\\ \mathbf{elif}\;a \leq -4 \cdot 10^{-297}:\\ \;\;\;\;\left(\left(-y2\right) \cdot \left(y0 \cdot k\right)\right) \cdot y5\\ \mathbf{elif}\;a \leq 4.9 \cdot 10^{-8}:\\ \;\;\;\;\left(\left(\left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;a \leq 7.2 \cdot 10^{+122}:\\ \;\;\;\;\left(\left(-y2\right) \cdot \left(y0 \cdot k\right)\right) \cdot y5\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y3 \cdot z\right) \cdot a\right) \cdot y1\\ \end{array} \]
                                                                                                                                                                  5. Add Preprocessing

                                                                                                                                                                  Alternative 17: 30.9% accurate, 4.2× speedup?

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

                                                                                                                                                                    1. Initial program 20.0%

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

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

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

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

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

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

                                                                                                                                                                        if -2.39999999999999998e171 < y4 < -1.51999999999999997e-74

                                                                                                                                                                        1. Initial program 25.2%

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

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

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

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

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

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

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

                                                                                                                                                                          if -1.51999999999999997e-74 < y4 < 1.75e-12

                                                                                                                                                                          1. Initial program 35.9%

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

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

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

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

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

                                                                                                                                                                            \[\leadsto \left(c \cdot \left(-1 \cdot \left(y0 \cdot y3\right) + i \cdot t\right)\right) \cdot z \]
                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                            1. Applied rewrites37.5%

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

                                                                                                                                                                            if 1.75e-12 < y4 < 7.0000000000000005e163

                                                                                                                                                                            1. Initial program 21.3%

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

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

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

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

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

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

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

                                                                                                                                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -2.4 \cdot 10^{+171}:\\ \;\;\;\;\mathsf{fma}\left(k, y1, \left(-t\right) \cdot c\right) \cdot \left(y4 \cdot y2\right)\\ \mathbf{elif}\;y4 \leq -1.52 \cdot 10^{-74}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, j, y2 \cdot a\right) \cdot t\right) \cdot y5\\ \mathbf{elif}\;y4 \leq 1.75 \cdot 10^{-12}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y0, y3, i \cdot t\right) \cdot c\right) \cdot z\\ \mathbf{elif}\;y4 \leq 7 \cdot 10^{+163}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(k, y1, \left(-t\right) \cdot c\right) \cdot \left(y4 \cdot y2\right)\\ \end{array} \]
                                                                                                                                                                            10. Add Preprocessing

                                                                                                                                                                            Alternative 18: 32.1% accurate, 4.2× speedup?

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

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                  if -4.1999999999999998e25 < y4 < -8.3999999999999996e-116

                                                                                                                                                                                  1. Initial program 54.6%

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

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

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

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

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

                                                                                                                                                                                    \[\leadsto \left(i \cdot \left(-1 \cdot \left(k \cdot y1\right) + c \cdot t\right)\right) \cdot z \]
                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                    1. Applied rewrites29.2%

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

                                                                                                                                                                                      \[\leadsto \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot z \]
                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                      1. Applied rewrites42.9%

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

                                                                                                                                                                                      if -8.3999999999999996e-116 < y4 < 1.75e-12

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

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

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

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

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

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

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

                                                                                                                                                                                        if 1.75e-12 < y4 < 7.0000000000000005e163

                                                                                                                                                                                        1. Initial program 21.3%

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

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

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

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

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

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

                                                                                                                                                                                            \[\leadsto \left(i \cdot \mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right)\right) \cdot y5 \]
                                                                                                                                                                                        8. Recombined 4 regimes into one program.
                                                                                                                                                                                        9. Final simplification46.2%

                                                                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -4.2 \cdot 10^{+25}:\\ \;\;\;\;\mathsf{fma}\left(k, y1, \left(-t\right) \cdot c\right) \cdot \left(y4 \cdot y2\right)\\ \mathbf{elif}\;y4 \leq -8.4 \cdot 10^{-116}:\\ \;\;\;\;\left(\mathsf{fma}\left(b, y0, \left(-y1\right) \cdot i\right) \cdot k\right) \cdot z\\ \mathbf{elif}\;y4 \leq 1.75 \cdot 10^{-12}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y0, y3, i \cdot t\right) \cdot c\right) \cdot z\\ \mathbf{elif}\;y4 \leq 7 \cdot 10^{+163}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(k, y1, \left(-t\right) \cdot c\right) \cdot \left(y4 \cdot y2\right)\\ \end{array} \]
                                                                                                                                                                                        10. Add Preprocessing

                                                                                                                                                                                        Alternative 19: 30.3% accurate, 4.2× speedup?

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

                                                                                                                                                                                          1. Initial program 17.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 rewrites44.4%

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

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

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

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

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

                                                                                                                                                                                              if -4.00000000000000036e25 < y4 < -1.4500000000000001e-125

                                                                                                                                                                                              1. Initial program 54.6%

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

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

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

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

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

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

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

                                                                                                                                                                                                if -1.4500000000000001e-125 < y4 < 7.20000000000000001e-59

                                                                                                                                                                                                1. Initial program 31.6%

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

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

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

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

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

                                                                                                                                                                                                  \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + i \cdot \left(k \cdot y - j \cdot t\right)\right) \cdot y5 \]
                                                                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                                                                  1. Applied rewrites39.0%

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

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

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

                                                                                                                                                                                                    if 7.20000000000000001e-59 < y4 < 7.50000000000000008e148

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

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

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

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

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

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

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

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

                                                                                                                                                                                                    Alternative 20: 26.3% accurate, 4.2× speedup?

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

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

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

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

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

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

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

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

                                                                                                                                                                                                          \[\leadsto \left(-1 \cdot \left(i \cdot \left(j \cdot t\right)\right)\right) \cdot y5 \]
                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                          1. Applied rewrites70.5%

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

                                                                                                                                                                                                          if -6.6e241 < t < -5.80000000000000004e58 or -1.94999999999999992e-262 < t < 4.8e97

                                                                                                                                                                                                          1. Initial program 26.8%

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

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

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

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

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

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

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

                                                                                                                                                                                                            if -5.80000000000000004e58 < t < -1.94999999999999992e-262

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

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

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

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

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

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

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

                                                                                                                                                                                                              if 4.8e97 < t

                                                                                                                                                                                                              1. Initial program 12.8%

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

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

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

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

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

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

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

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

                                                                                                                                                                                                              Alternative 21: 28.8% accurate, 4.2× speedup?

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                  if -6.79999999999999978e-135 < y5 < 9.19999999999999984e-274

                                                                                                                                                                                                                  1. Initial program 34.2%

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

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

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

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

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

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

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

                                                                                                                                                                                                                    if 9.19999999999999984e-274 < y5 < 3.6e112

                                                                                                                                                                                                                    1. Initial program 32.9%

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

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

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

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

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

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

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

                                                                                                                                                                                                                      if 3.6e112 < y5 < 1.15000000000000001e240

                                                                                                                                                                                                                      1. Initial program 22.8%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                          if 1.15000000000000001e240 < y5

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

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

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

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

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

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

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

                                                                                                                                                                                                                              \[\leadsto \left(-1 \cdot \left(i \cdot \left(t \cdot y5\right)\right)\right) \cdot j \]
                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                              1. Applied rewrites66.9%

                                                                                                                                                                                                                                \[\leadsto \left(-i \cdot \left(t \cdot y5\right)\right) \cdot j \]
                                                                                                                                                                                                                            4. Recombined 5 regimes into one program.
                                                                                                                                                                                                                            5. Final simplification41.1%

                                                                                                                                                                                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -6.8 \cdot 10^{-135}:\\ \;\;\;\;\mathsf{fma}\left(-a, y3, k \cdot i\right) \cdot \left(y5 \cdot y\right)\\ \mathbf{elif}\;y5 \leq 9.2 \cdot 10^{-274}:\\ \;\;\;\;\mathsf{fma}\left(-c, y, y1 \cdot j\right) \cdot \left(i \cdot x\right)\\ \mathbf{elif}\;y5 \leq 3.6 \cdot 10^{+112}:\\ \;\;\;\;\mathsf{fma}\left(b, y0, \left(-y1\right) \cdot i\right) \cdot \left(k \cdot z\right)\\ \mathbf{elif}\;y5 \leq 1.15 \cdot 10^{+240}:\\ \;\;\;\;\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right) \cdot \left(y5 \cdot y3\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(\left(-y5\right) \cdot t\right) \cdot i\right) \cdot j\\ \end{array} \]
                                                                                                                                                                                                                            6. Add Preprocessing

                                                                                                                                                                                                                            Alternative 22: 29.2% accurate, 4.2× speedup?

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                if -2.15000000000000007e-44 < y5 < -3.4499999999999998e-308

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

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

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

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

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

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

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

                                                                                                                                                                                                                                  if -3.4499999999999998e-308 < y5 < 3.6e112

                                                                                                                                                                                                                                  1. Initial program 36.3%

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

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

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

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

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

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

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

                                                                                                                                                                                                                                    if 3.6e112 < y5 < 1.15000000000000001e240

                                                                                                                                                                                                                                    1. Initial program 22.8%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                        if 1.15000000000000001e240 < y5

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

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

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

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

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

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

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

                                                                                                                                                                                                                                            \[\leadsto \left(-1 \cdot \left(i \cdot \left(t \cdot y5\right)\right)\right) \cdot j \]
                                                                                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                                                                                            1. Applied rewrites66.9%

                                                                                                                                                                                                                                              \[\leadsto \left(-i \cdot \left(t \cdot y5\right)\right) \cdot j \]
                                                                                                                                                                                                                                          4. Recombined 5 regimes into one program.
                                                                                                                                                                                                                                          5. Final simplification40.7%

                                                                                                                                                                                                                                            \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -2.15 \cdot 10^{-44}:\\ \;\;\;\;\mathsf{fma}\left(-a, y3, k \cdot i\right) \cdot \left(y5 \cdot y\right)\\ \mathbf{elif}\;y5 \leq -3.45 \cdot 10^{-308}:\\ \;\;\;\;\left(a \cdot z\right) \cdot \mathsf{fma}\left(-b, t, y3 \cdot y1\right)\\ \mathbf{elif}\;y5 \leq 3.6 \cdot 10^{+112}:\\ \;\;\;\;\mathsf{fma}\left(b, y0, \left(-y1\right) \cdot i\right) \cdot \left(k \cdot z\right)\\ \mathbf{elif}\;y5 \leq 1.15 \cdot 10^{+240}:\\ \;\;\;\;\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right) \cdot \left(y5 \cdot y3\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(\left(-y5\right) \cdot t\right) \cdot i\right) \cdot j\\ \end{array} \]
                                                                                                                                                                                                                                          6. Add Preprocessing

                                                                                                                                                                                                                                          Alternative 23: 26.3% accurate, 4.2× speedup?

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

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

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

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

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

                                                                                                                                                                                                                                              if -2.25000000000000006e-19 < a < -4.00000000000000016e-297 or 4.9000000000000002e-8 < a < 4.79999999999999965e94

                                                                                                                                                                                                                                              1. Initial program 41.6%

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

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

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

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

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

                                                                                                                                                                                                                                                \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + i \cdot \left(k \cdot y - j \cdot t\right)\right) \cdot y5 \]
                                                                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                                                                1. Applied rewrites43.6%

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

                                                                                                                                                                                                                                                  \[\leadsto \left(-1 \cdot \left(k \cdot \left(y0 \cdot y2\right)\right)\right) \cdot y5 \]
                                                                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                                                                  1. Applied rewrites32.6%

                                                                                                                                                                                                                                                    \[\leadsto \left(-\left(k \cdot y0\right) \cdot y2\right) \cdot y5 \]

                                                                                                                                                                                                                                                  if -4.00000000000000016e-297 < a < 4.9000000000000002e-8

                                                                                                                                                                                                                                                  1. Initial program 25.4%

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

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

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

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

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

                                                                                                                                                                                                                                                    \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + i \cdot \left(k \cdot y - j \cdot t\right)\right) \cdot y5 \]
                                                                                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                                                                                    1. Applied rewrites41.9%

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

                                                                                                                                                                                                                                                      \[\leadsto \left(-1 \cdot \left(i \cdot \left(j \cdot t\right)\right)\right) \cdot y5 \]
                                                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                                                      1. Applied rewrites38.0%

                                                                                                                                                                                                                                                        \[\leadsto \left(-i \cdot \left(j \cdot t\right)\right) \cdot y5 \]
                                                                                                                                                                                                                                                    4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                    5. Final simplification36.8%

                                                                                                                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -2.25 \cdot 10^{-19}:\\ \;\;\;\;\left(a \cdot z\right) \cdot \mathsf{fma}\left(-b, t, y3 \cdot y1\right)\\ \mathbf{elif}\;a \leq -4 \cdot 10^{-297}:\\ \;\;\;\;\left(\left(-y2\right) \cdot \left(y0 \cdot k\right)\right) \cdot y5\\ \mathbf{elif}\;a \leq 4.9 \cdot 10^{-8}:\\ \;\;\;\;\left(\left(\left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;a \leq 4.8 \cdot 10^{+94}:\\ \;\;\;\;\left(\left(-y2\right) \cdot \left(y0 \cdot k\right)\right) \cdot y5\\ \mathbf{else}:\\ \;\;\;\;\left(a \cdot z\right) \cdot \mathsf{fma}\left(-b, t, y3 \cdot y1\right)\\ \end{array} \]
                                                                                                                                                                                                                                                    6. Add Preprocessing

                                                                                                                                                                                                                                                    Alternative 24: 32.6% accurate, 4.8× speedup?

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

                                                                                                                                                                                                                                                      1. Initial program 18.9%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                          if -4.1999999999999998e25 < y4 < -8.3999999999999996e-116

                                                                                                                                                                                                                                                          1. Initial program 54.6%

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

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

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

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

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

                                                                                                                                                                                                                                                            \[\leadsto \left(i \cdot \left(-1 \cdot \left(k \cdot y1\right) + c \cdot t\right)\right) \cdot z \]
                                                                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                                                                            1. Applied rewrites29.2%

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

                                                                                                                                                                                                                                                              \[\leadsto \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot z \]
                                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                                              1. Applied rewrites42.9%

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

                                                                                                                                                                                                                                                              if -8.3999999999999996e-116 < y4 < 6.1e13

                                                                                                                                                                                                                                                              1. Initial program 31.2%

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                              Alternative 25: 32.3% accurate, 4.8× speedup?

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

                                                                                                                                                                                                                                                                1. Initial program 18.9%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                    if -4.00000000000000036e25 < y4 < -8.8000000000000004e-116

                                                                                                                                                                                                                                                                    1. Initial program 54.6%

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                      if -8.8000000000000004e-116 < y4 < 6.1e13

                                                                                                                                                                                                                                                                      1. Initial program 31.2%

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                      Alternative 26: 30.2% accurate, 4.8× speedup?

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

                                                                                                                                                                                                                                                                        1. Initial program 18.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 y5 around inf

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

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

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

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

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

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

                                                                                                                                                                                                                                                                          if -2.20000000000000012e-44 < y5 < 1.9500000000000001e-53

                                                                                                                                                                                                                                                                          1. Initial program 37.3%

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                            if 1.9500000000000001e-53 < y5 < 2.80000000000000012e180

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -2.2 \cdot 10^{-44}:\\ \;\;\;\;\mathsf{fma}\left(-a, y3, k \cdot i\right) \cdot \left(y5 \cdot y\right)\\ \mathbf{elif}\;y5 \leq 1.95 \cdot 10^{-53}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \mathbf{elif}\;y5 \leq 2.8 \cdot 10^{+180}:\\ \;\;\;\;\mathsf{fma}\left(k, y1, \left(-t\right) \cdot c\right) \cdot \left(y4 \cdot y2\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-a, y3, k \cdot i\right) \cdot \left(y5 \cdot y\right)\\ \end{array} \]
                                                                                                                                                                                                                                                                              6. Add Preprocessing

                                                                                                                                                                                                                                                                              Alternative 27: 29.0% accurate, 4.8× speedup?

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

                                                                                                                                                                                                                                                                                1. Initial program 18.4%

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                  if -2.15000000000000007e-44 < y5 < -3.4499999999999998e-308

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                    if -3.4499999999999998e-308 < y5 < 1.7e205

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -2.15 \cdot 10^{-44}:\\ \;\;\;\;\mathsf{fma}\left(-a, y3, k \cdot i\right) \cdot \left(y5 \cdot y\right)\\ \mathbf{elif}\;y5 \leq -3.45 \cdot 10^{-308}:\\ \;\;\;\;\left(a \cdot z\right) \cdot \mathsf{fma}\left(-b, t, y3 \cdot y1\right)\\ \mathbf{elif}\;y5 \leq 1.7 \cdot 10^{+205}:\\ \;\;\;\;\mathsf{fma}\left(b, y0, \left(-y1\right) \cdot i\right) \cdot \left(k \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-a, y3, k \cdot i\right) \cdot \left(y5 \cdot y\right)\\ \end{array} \]
                                                                                                                                                                                                                                                                                    10. Add Preprocessing

                                                                                                                                                                                                                                                                                    Alternative 28: 21.3% accurate, 5.0× speedup?

                                                                                                                                                                                                                                                                                    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(a \cdot z\right) \cdot y1\right) \cdot y3\\ \mathbf{if}\;a \leq -2.3 \cdot 10^{+184}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;a \leq -2.4 \cdot 10^{-159}:\\ \;\;\;\;\left(\left(y0 \cdot k\right) \cdot b\right) \cdot z\\ \mathbf{elif}\;a \leq 1.22 \cdot 10^{+35}:\\ \;\;\;\;\left(\left(\left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;a \leq 4.9 \cdot 10^{+106}:\\ \;\;\;\;\left(\left(y3 \cdot y0\right) \cdot j\right) \cdot y5\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                    (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                     :precision binary64
                                                                                                                                                                                                                                                                                     (let* ((t_1 (* (* (* a z) y1) y3)))
                                                                                                                                                                                                                                                                                       (if (<= a -2.3e+184)
                                                                                                                                                                                                                                                                                         t_1
                                                                                                                                                                                                                                                                                         (if (<= a -2.4e-159)
                                                                                                                                                                                                                                                                                           (* (* (* y0 k) b) z)
                                                                                                                                                                                                                                                                                           (if (<= a 1.22e+35)
                                                                                                                                                                                                                                                                                             (* (* (* (- j) t) i) y5)
                                                                                                                                                                                                                                                                                             (if (<= a 4.9e+106) (* (* (* y3 y0) j) y5) t_1))))))
                                                                                                                                                                                                                                                                                    double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                    	double t_1 = ((a * z) * y1) * y3;
                                                                                                                                                                                                                                                                                    	double tmp;
                                                                                                                                                                                                                                                                                    	if (a <= -2.3e+184) {
                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                    	} else if (a <= -2.4e-159) {
                                                                                                                                                                                                                                                                                    		tmp = ((y0 * k) * b) * z;
                                                                                                                                                                                                                                                                                    	} else if (a <= 1.22e+35) {
                                                                                                                                                                                                                                                                                    		tmp = ((-j * t) * i) * y5;
                                                                                                                                                                                                                                                                                    	} else if (a <= 4.9e+106) {
                                                                                                                                                                                                                                                                                    		tmp = ((y3 * y0) * j) * y5;
                                                                                                                                                                                                                                                                                    	} else {
                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                    	}
                                                                                                                                                                                                                                                                                    	return tmp;
                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                        real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                        real(8), intent (in) :: z
                                                                                                                                                                                                                                                                                        real(8), intent (in) :: t
                                                                                                                                                                                                                                                                                        real(8), intent (in) :: a
                                                                                                                                                                                                                                                                                        real(8), intent (in) :: b
                                                                                                                                                                                                                                                                                        real(8), intent (in) :: c
                                                                                                                                                                                                                                                                                        real(8), intent (in) :: i
                                                                                                                                                                                                                                                                                        real(8), intent (in) :: j
                                                                                                                                                                                                                                                                                        real(8), intent (in) :: k
                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                        real(8) :: t_1
                                                                                                                                                                                                                                                                                        real(8) :: tmp
                                                                                                                                                                                                                                                                                        t_1 = ((a * z) * y1) * y3
                                                                                                                                                                                                                                                                                        if (a <= (-2.3d+184)) then
                                                                                                                                                                                                                                                                                            tmp = t_1
                                                                                                                                                                                                                                                                                        else if (a <= (-2.4d-159)) then
                                                                                                                                                                                                                                                                                            tmp = ((y0 * k) * b) * z
                                                                                                                                                                                                                                                                                        else if (a <= 1.22d+35) then
                                                                                                                                                                                                                                                                                            tmp = ((-j * t) * i) * y5
                                                                                                                                                                                                                                                                                        else if (a <= 4.9d+106) then
                                                                                                                                                                                                                                                                                            tmp = ((y3 * y0) * j) * y5
                                                                                                                                                                                                                                                                                        else
                                                                                                                                                                                                                                                                                            tmp = t_1
                                                                                                                                                                                                                                                                                        end if
                                                                                                                                                                                                                                                                                        code = tmp
                                                                                                                                                                                                                                                                                    end function
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                    	double t_1 = ((a * z) * y1) * y3;
                                                                                                                                                                                                                                                                                    	double tmp;
                                                                                                                                                                                                                                                                                    	if (a <= -2.3e+184) {
                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                    	} else if (a <= -2.4e-159) {
                                                                                                                                                                                                                                                                                    		tmp = ((y0 * k) * b) * z;
                                                                                                                                                                                                                                                                                    	} else if (a <= 1.22e+35) {
                                                                                                                                                                                                                                                                                    		tmp = ((-j * t) * i) * y5;
                                                                                                                                                                                                                                                                                    	} else if (a <= 4.9e+106) {
                                                                                                                                                                                                                                                                                    		tmp = ((y3 * y0) * j) * y5;
                                                                                                                                                                                                                                                                                    	} else {
                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                    	}
                                                                                                                                                                                                                                                                                    	return tmp;
                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                    	t_1 = ((a * z) * y1) * y3
                                                                                                                                                                                                                                                                                    	tmp = 0
                                                                                                                                                                                                                                                                                    	if a <= -2.3e+184:
                                                                                                                                                                                                                                                                                    		tmp = t_1
                                                                                                                                                                                                                                                                                    	elif a <= -2.4e-159:
                                                                                                                                                                                                                                                                                    		tmp = ((y0 * k) * b) * z
                                                                                                                                                                                                                                                                                    	elif a <= 1.22e+35:
                                                                                                                                                                                                                                                                                    		tmp = ((-j * t) * i) * y5
                                                                                                                                                                                                                                                                                    	elif a <= 4.9e+106:
                                                                                                                                                                                                                                                                                    		tmp = ((y3 * y0) * j) * y5
                                                                                                                                                                                                                                                                                    	else:
                                                                                                                                                                                                                                                                                    		tmp = t_1
                                                                                                                                                                                                                                                                                    	return tmp
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                    	t_1 = Float64(Float64(Float64(a * z) * y1) * y3)
                                                                                                                                                                                                                                                                                    	tmp = 0.0
                                                                                                                                                                                                                                                                                    	if (a <= -2.3e+184)
                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                    	elseif (a <= -2.4e-159)
                                                                                                                                                                                                                                                                                    		tmp = Float64(Float64(Float64(y0 * k) * b) * z);
                                                                                                                                                                                                                                                                                    	elseif (a <= 1.22e+35)
                                                                                                                                                                                                                                                                                    		tmp = Float64(Float64(Float64(Float64(-j) * t) * i) * y5);
                                                                                                                                                                                                                                                                                    	elseif (a <= 4.9e+106)
                                                                                                                                                                                                                                                                                    		tmp = Float64(Float64(Float64(y3 * y0) * j) * y5);
                                                                                                                                                                                                                                                                                    	else
                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                    	end
                                                                                                                                                                                                                                                                                    	return tmp
                                                                                                                                                                                                                                                                                    end
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                    	t_1 = ((a * z) * y1) * y3;
                                                                                                                                                                                                                                                                                    	tmp = 0.0;
                                                                                                                                                                                                                                                                                    	if (a <= -2.3e+184)
                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                    	elseif (a <= -2.4e-159)
                                                                                                                                                                                                                                                                                    		tmp = ((y0 * k) * b) * z;
                                                                                                                                                                                                                                                                                    	elseif (a <= 1.22e+35)
                                                                                                                                                                                                                                                                                    		tmp = ((-j * t) * i) * y5;
                                                                                                                                                                                                                                                                                    	elseif (a <= 4.9e+106)
                                                                                                                                                                                                                                                                                    		tmp = ((y3 * y0) * j) * y5;
                                                                                                                                                                                                                                                                                    	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[(a * z), $MachinePrecision] * y1), $MachinePrecision] * y3), $MachinePrecision]}, If[LessEqual[a, -2.3e+184], t$95$1, If[LessEqual[a, -2.4e-159], N[(N[(N[(y0 * k), $MachinePrecision] * b), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[a, 1.22e+35], N[(N[(N[((-j) * t), $MachinePrecision] * i), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[a, 4.9e+106], N[(N[(N[(y3 * y0), $MachinePrecision] * j), $MachinePrecision] * y5), $MachinePrecision], t$95$1]]]]]
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    \begin{array}{l}
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    \\
                                                                                                                                                                                                                                                                                    \begin{array}{l}
                                                                                                                                                                                                                                                                                    t_1 := \left(\left(a \cdot z\right) \cdot y1\right) \cdot y3\\
                                                                                                                                                                                                                                                                                    \mathbf{if}\;a \leq -2.3 \cdot 10^{+184}:\\
                                                                                                                                                                                                                                                                                    \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    \mathbf{elif}\;a \leq -2.4 \cdot 10^{-159}:\\
                                                                                                                                                                                                                                                                                    \;\;\;\;\left(\left(y0 \cdot k\right) \cdot b\right) \cdot z\\
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    \mathbf{elif}\;a \leq 1.22 \cdot 10^{+35}:\\
                                                                                                                                                                                                                                                                                    \;\;\;\;\left(\left(\left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    \mathbf{elif}\;a \leq 4.9 \cdot 10^{+106}:\\
                                                                                                                                                                                                                                                                                    \;\;\;\;\left(\left(y3 \cdot y0\right) \cdot j\right) \cdot y5\\
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    \mathbf{else}:\\
                                                                                                                                                                                                                                                                                    \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    \end{array}
                                                                                                                                                                                                                                                                                    \end{array}
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    Derivation
                                                                                                                                                                                                                                                                                    1. Split input into 4 regimes
                                                                                                                                                                                                                                                                                    2. if a < -2.3e184 or 4.89999999999999998e106 < a

                                                                                                                                                                                                                                                                                      1. Initial program 13.8%

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

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                            if -2.3e184 < a < -2.39999999999999997e-159

                                                                                                                                                                                                                                                                                            1. Initial program 36.4%

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

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

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

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

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

                                                                                                                                                                                                                                                                                              \[\leadsto \left(i \cdot \left(-1 \cdot \left(k \cdot y1\right) + c \cdot t\right)\right) \cdot z \]
                                                                                                                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                                                                                                                              1. Applied rewrites14.2%

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

                                                                                                                                                                                                                                                                                                \[\leadsto \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot z \]
                                                                                                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                1. Applied rewrites33.0%

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

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

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

                                                                                                                                                                                                                                                                                                  if -2.39999999999999997e-159 < a < 1.21999999999999999e35

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

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

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

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

                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(j \cdot t - k \cdot y\right), i, \mathsf{fma}\left(-y0, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\right) \cdot a\right)\right) \cdot y5} \]
                                                                                                                                                                                                                                                                                                  6. Taylor expanded in a around 0

                                                                                                                                                                                                                                                                                                    \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + i \cdot \left(k \cdot y - j \cdot t\right)\right) \cdot y5 \]
                                                                                                                                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                    1. Applied rewrites44.1%

                                                                                                                                                                                                                                                                                                      \[\leadsto \mathsf{fma}\left(-y0, \mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right), i \cdot \mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right)\right) \cdot y5 \]
                                                                                                                                                                                                                                                                                                    2. Taylor expanded in t around inf

                                                                                                                                                                                                                                                                                                      \[\leadsto \left(-1 \cdot \left(i \cdot \left(j \cdot t\right)\right)\right) \cdot y5 \]
                                                                                                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                      1. Applied rewrites32.7%

                                                                                                                                                                                                                                                                                                        \[\leadsto \left(-i \cdot \left(j \cdot t\right)\right) \cdot y5 \]

                                                                                                                                                                                                                                                                                                      if 1.21999999999999999e35 < a < 4.89999999999999998e106

                                                                                                                                                                                                                                                                                                      1. Initial program 27.2%

                                                                                                                                                                                                                                                                                                        \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                      2. Add Preprocessing
                                                                                                                                                                                                                                                                                                      3. Taylor expanded in y5 around inf

                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                      4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                        1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                                                                                                                                                                                                                        2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                                                                                                                                                                                                                      5. Applied rewrites59.5%

                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(j \cdot t - k \cdot y\right), i, \mathsf{fma}\left(-y0, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\right) \cdot a\right)\right) \cdot y5} \]
                                                                                                                                                                                                                                                                                                      6. Taylor expanded in a around 0

                                                                                                                                                                                                                                                                                                        \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + i \cdot \left(k \cdot y - j \cdot t\right)\right) \cdot y5 \]
                                                                                                                                                                                                                                                                                                      7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                        1. Applied rewrites51.2%

                                                                                                                                                                                                                                                                                                          \[\leadsto \mathsf{fma}\left(-y0, \mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right), i \cdot \mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right)\right) \cdot y5 \]
                                                                                                                                                                                                                                                                                                        2. Taylor expanded in y3 around inf

                                                                                                                                                                                                                                                                                                          \[\leadsto \left(j \cdot \left(y0 \cdot y3\right)\right) \cdot y5 \]
                                                                                                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                          1. Applied rewrites46.7%

                                                                                                                                                                                                                                                                                                            \[\leadsto \left(j \cdot \left(y0 \cdot y3\right)\right) \cdot y5 \]
                                                                                                                                                                                                                                                                                                        4. Recombined 4 regimes into one program.
                                                                                                                                                                                                                                                                                                        5. Final simplification35.0%

                                                                                                                                                                                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -2.3 \cdot 10^{+184}:\\ \;\;\;\;\left(\left(a \cdot z\right) \cdot y1\right) \cdot y3\\ \mathbf{elif}\;a \leq -2.4 \cdot 10^{-159}:\\ \;\;\;\;\left(\left(y0 \cdot k\right) \cdot b\right) \cdot z\\ \mathbf{elif}\;a \leq 1.22 \cdot 10^{+35}:\\ \;\;\;\;\left(\left(\left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;a \leq 4.9 \cdot 10^{+106}:\\ \;\;\;\;\left(\left(y3 \cdot y0\right) \cdot j\right) \cdot y5\\ \mathbf{else}:\\ \;\;\;\;\left(\left(a \cdot z\right) \cdot y1\right) \cdot y3\\ \end{array} \]
                                                                                                                                                                                                                                                                                                        6. Add Preprocessing

                                                                                                                                                                                                                                                                                                        Alternative 29: 25.6% accurate, 5.6× speedup?

                                                                                                                                                                                                                                                                                                        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(\left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{if}\;j \leq -1.12 \cdot 10^{+92}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;j \leq 3.1 \cdot 10^{-103}:\\ \;\;\;\;\mathsf{fma}\left(b, y0, \left(-y1\right) \cdot i\right) \cdot \left(k \cdot z\right)\\ \mathbf{elif}\;j \leq 2.45 \cdot 10^{+160}:\\ \;\;\;\;\left(\left(k \cdot i\right) \cdot y\right) \cdot y5\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                        (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                         :precision binary64
                                                                                                                                                                                                                                                                                                         (let* ((t_1 (* (* (* (- j) t) i) y5)))
                                                                                                                                                                                                                                                                                                           (if (<= j -1.12e+92)
                                                                                                                                                                                                                                                                                                             t_1
                                                                                                                                                                                                                                                                                                             (if (<= j 3.1e-103)
                                                                                                                                                                                                                                                                                                               (* (fma b y0 (* (- y1) i)) (* k z))
                                                                                                                                                                                                                                                                                                               (if (<= j 2.45e+160) (* (* (* k i) y) y5) t_1)))))
                                                                                                                                                                                                                                                                                                        double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                        	double t_1 = ((-j * t) * i) * y5;
                                                                                                                                                                                                                                                                                                        	double tmp;
                                                                                                                                                                                                                                                                                                        	if (j <= -1.12e+92) {
                                                                                                                                                                                                                                                                                                        		tmp = t_1;
                                                                                                                                                                                                                                                                                                        	} else if (j <= 3.1e-103) {
                                                                                                                                                                                                                                                                                                        		tmp = fma(b, y0, (-y1 * i)) * (k * z);
                                                                                                                                                                                                                                                                                                        	} else if (j <= 2.45e+160) {
                                                                                                                                                                                                                                                                                                        		tmp = ((k * i) * y) * y5;
                                                                                                                                                                                                                                                                                                        	} else {
                                                                                                                                                                                                                                                                                                        		tmp = t_1;
                                                                                                                                                                                                                                                                                                        	}
                                                                                                                                                                                                                                                                                                        	return tmp;
                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                        function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                        	t_1 = Float64(Float64(Float64(Float64(-j) * t) * i) * y5)
                                                                                                                                                                                                                                                                                                        	tmp = 0.0
                                                                                                                                                                                                                                                                                                        	if (j <= -1.12e+92)
                                                                                                                                                                                                                                                                                                        		tmp = t_1;
                                                                                                                                                                                                                                                                                                        	elseif (j <= 3.1e-103)
                                                                                                                                                                                                                                                                                                        		tmp = Float64(fma(b, y0, Float64(Float64(-y1) * i)) * Float64(k * z));
                                                                                                                                                                                                                                                                                                        	elseif (j <= 2.45e+160)
                                                                                                                                                                                                                                                                                                        		tmp = Float64(Float64(Float64(k * i) * y) * y5);
                                                                                                                                                                                                                                                                                                        	else
                                                                                                                                                                                                                                                                                                        		tmp = t_1;
                                                                                                                                                                                                                                                                                                        	end
                                                                                                                                                                                                                                                                                                        	return tmp
                                                                                                                                                                                                                                                                                                        end
                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                        code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[((-j) * t), $MachinePrecision] * i), $MachinePrecision] * y5), $MachinePrecision]}, If[LessEqual[j, -1.12e+92], t$95$1, If[LessEqual[j, 3.1e-103], N[(N[(b * y0 + N[((-y1) * i), $MachinePrecision]), $MachinePrecision] * N[(k * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.45e+160], N[(N[(N[(k * i), $MachinePrecision] * y), $MachinePrecision] * y5), $MachinePrecision], t$95$1]]]]
                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                        \\
                                                                                                                                                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                                                                                                                                                        t_1 := \left(\left(\left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\
                                                                                                                                                                                                                                                                                                        \mathbf{if}\;j \leq -1.12 \cdot 10^{+92}:\\
                                                                                                                                                                                                                                                                                                        \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                        \mathbf{elif}\;j \leq 3.1 \cdot 10^{-103}:\\
                                                                                                                                                                                                                                                                                                        \;\;\;\;\mathsf{fma}\left(b, y0, \left(-y1\right) \cdot i\right) \cdot \left(k \cdot z\right)\\
                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                        \mathbf{elif}\;j \leq 2.45 \cdot 10^{+160}:\\
                                                                                                                                                                                                                                                                                                        \;\;\;\;\left(\left(k \cdot i\right) \cdot y\right) \cdot y5\\
                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                        \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                        \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                        \end{array}
                                                                                                                                                                                                                                                                                                        \end{array}
                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                        Derivation
                                                                                                                                                                                                                                                                                                        1. Split input into 3 regimes
                                                                                                                                                                                                                                                                                                        2. if j < -1.1199999999999999e92 or 2.4500000000000001e160 < j

                                                                                                                                                                                                                                                                                                          1. Initial program 10.0%

                                                                                                                                                                                                                                                                                                            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                          2. Add Preprocessing
                                                                                                                                                                                                                                                                                                          3. Taylor expanded in y5 around inf

                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                          4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                            1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                                                                                                                                                                                                                            2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                                                                                                                                                                                                                          5. Applied rewrites30.5%

                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(j \cdot t - k \cdot y\right), i, \mathsf{fma}\left(-y0, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\right) \cdot a\right)\right) \cdot y5} \]
                                                                                                                                                                                                                                                                                                          6. Taylor expanded in a around 0

                                                                                                                                                                                                                                                                                                            \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + i \cdot \left(k \cdot y - j \cdot t\right)\right) \cdot y5 \]
                                                                                                                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                            1. Applied rewrites42.1%

                                                                                                                                                                                                                                                                                                              \[\leadsto \mathsf{fma}\left(-y0, \mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right), i \cdot \mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right)\right) \cdot y5 \]
                                                                                                                                                                                                                                                                                                            2. Taylor expanded in t around inf

                                                                                                                                                                                                                                                                                                              \[\leadsto \left(-1 \cdot \left(i \cdot \left(j \cdot t\right)\right)\right) \cdot y5 \]
                                                                                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                              1. Applied rewrites48.1%

                                                                                                                                                                                                                                                                                                                \[\leadsto \left(-i \cdot \left(j \cdot t\right)\right) \cdot y5 \]

                                                                                                                                                                                                                                                                                                              if -1.1199999999999999e92 < j < 3.1000000000000001e-103

                                                                                                                                                                                                                                                                                                              1. Initial program 33.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 rewrites39.2%

                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                              6. Taylor expanded in k around inf

                                                                                                                                                                                                                                                                                                                \[\leadsto k \cdot \color{blue}{\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                1. Applied rewrites29.6%

                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(k \cdot z\right) \cdot \color{blue}{\mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)} \]

                                                                                                                                                                                                                                                                                                                if 3.1000000000000001e-103 < j < 2.4500000000000001e160

                                                                                                                                                                                                                                                                                                                1. Initial program 36.3%

                                                                                                                                                                                                                                                                                                                  \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                3. Taylor expanded in y5 around inf

                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                  1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                                                                                                                                                                                                                                  2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                                                                                                                                                                                                                                5. Applied rewrites43.5%

                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(j \cdot t - k \cdot y\right), i, \mathsf{fma}\left(-y0, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\right) \cdot a\right)\right) \cdot y5} \]
                                                                                                                                                                                                                                                                                                                6. Taylor expanded in a around 0

                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(-1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + i \cdot \left(k \cdot y - j \cdot t\right)\right) \cdot y5 \]
                                                                                                                                                                                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                  1. Applied rewrites42.0%

                                                                                                                                                                                                                                                                                                                    \[\leadsto \mathsf{fma}\left(-y0, \mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right), i \cdot \mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right)\right) \cdot y5 \]
                                                                                                                                                                                                                                                                                                                  2. Taylor expanded in t around inf

                                                                                                                                                                                                                                                                                                                    \[\leadsto \left(-1 \cdot \left(i \cdot \left(j \cdot t\right)\right)\right) \cdot y5 \]
                                                                                                                                                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                    1. Applied rewrites19.6%

                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(-i \cdot \left(j \cdot t\right)\right) \cdot y5 \]
                                                                                                                                                                                                                                                                                                                    2. Taylor expanded in y around inf

                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(i \cdot \left(k \cdot y\right)\right) \cdot y5 \]
                                                                                                                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                      1. Applied rewrites34.0%

                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(\left(i \cdot k\right) \cdot y\right) \cdot y5 \]
                                                                                                                                                                                                                                                                                                                    4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                                                                                    5. Final simplification35.7%

                                                                                                                                                                                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -1.12 \cdot 10^{+92}:\\ \;\;\;\;\left(\left(\left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;j \leq 3.1 \cdot 10^{-103}:\\ \;\;\;\;\mathsf{fma}\left(b, y0, \left(-y1\right) \cdot i\right) \cdot \left(k \cdot z\right)\\ \mathbf{elif}\;j \leq 2.45 \cdot 10^{+160}:\\ \;\;\;\;\left(\left(k \cdot i\right) \cdot y\right) \cdot y5\\ \mathbf{else}:\\ \;\;\;\;\left(\left(\left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                    6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                    Alternative 30: 22.3% accurate, 5.9× speedup?

                                                                                                                                                                                                                                                                                                                    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(y0 \cdot k\right) \cdot b\right) \cdot z\\ \mathbf{if}\;y0 \leq -1.4 \cdot 10^{+61}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq 2.4 \cdot 10^{+48}:\\ \;\;\;\;\left(\left(i \cdot c\right) \cdot t\right) \cdot z\\ \mathbf{elif}\;y0 \leq 1.72 \cdot 10^{+261}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(\left(c \cdot x\right) \cdot y0\right) \cdot y2\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                    (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                     :precision binary64
                                                                                                                                                                                                                                                                                                                     (let* ((t_1 (* (* (* y0 k) b) z)))
                                                                                                                                                                                                                                                                                                                       (if (<= y0 -1.4e+61)
                                                                                                                                                                                                                                                                                                                         t_1
                                                                                                                                                                                                                                                                                                                         (if (<= y0 2.4e+48)
                                                                                                                                                                                                                                                                                                                           (* (* (* i c) t) z)
                                                                                                                                                                                                                                                                                                                           (if (<= y0 1.72e+261) t_1 (* (* (* c x) y0) y2))))))
                                                                                                                                                                                                                                                                                                                    double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                    	double t_1 = ((y0 * k) * b) * z;
                                                                                                                                                                                                                                                                                                                    	double tmp;
                                                                                                                                                                                                                                                                                                                    	if (y0 <= -1.4e+61) {
                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                    	} else if (y0 <= 2.4e+48) {
                                                                                                                                                                                                                                                                                                                    		tmp = ((i * c) * t) * z;
                                                                                                                                                                                                                                                                                                                    	} else if (y0 <= 1.72e+261) {
                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                    	} else {
                                                                                                                                                                                                                                                                                                                    		tmp = ((c * x) * y0) * y2;
                                                                                                                                                                                                                                                                                                                    	}
                                                                                                                                                                                                                                                                                                                    	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 = ((y0 * k) * b) * z
                                                                                                                                                                                                                                                                                                                        if (y0 <= (-1.4d+61)) then
                                                                                                                                                                                                                                                                                                                            tmp = t_1
                                                                                                                                                                                                                                                                                                                        else if (y0 <= 2.4d+48) then
                                                                                                                                                                                                                                                                                                                            tmp = ((i * c) * t) * z
                                                                                                                                                                                                                                                                                                                        else if (y0 <= 1.72d+261) then
                                                                                                                                                                                                                                                                                                                            tmp = t_1
                                                                                                                                                                                                                                                                                                                        else
                                                                                                                                                                                                                                                                                                                            tmp = ((c * x) * y0) * y2
                                                                                                                                                                                                                                                                                                                        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 = ((y0 * k) * b) * z;
                                                                                                                                                                                                                                                                                                                    	double tmp;
                                                                                                                                                                                                                                                                                                                    	if (y0 <= -1.4e+61) {
                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                    	} else if (y0 <= 2.4e+48) {
                                                                                                                                                                                                                                                                                                                    		tmp = ((i * c) * t) * z;
                                                                                                                                                                                                                                                                                                                    	} else if (y0 <= 1.72e+261) {
                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                    	} else {
                                                                                                                                                                                                                                                                                                                    		tmp = ((c * x) * y0) * y2;
                                                                                                                                                                                                                                                                                                                    	}
                                                                                                                                                                                                                                                                                                                    	return tmp;
                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                    	t_1 = ((y0 * k) * b) * z
                                                                                                                                                                                                                                                                                                                    	tmp = 0
                                                                                                                                                                                                                                                                                                                    	if y0 <= -1.4e+61:
                                                                                                                                                                                                                                                                                                                    		tmp = t_1
                                                                                                                                                                                                                                                                                                                    	elif y0 <= 2.4e+48:
                                                                                                                                                                                                                                                                                                                    		tmp = ((i * c) * t) * z
                                                                                                                                                                                                                                                                                                                    	elif y0 <= 1.72e+261:
                                                                                                                                                                                                                                                                                                                    		tmp = t_1
                                                                                                                                                                                                                                                                                                                    	else:
                                                                                                                                                                                                                                                                                                                    		tmp = ((c * x) * y0) * y2
                                                                                                                                                                                                                                                                                                                    	return tmp
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                    	t_1 = Float64(Float64(Float64(y0 * k) * b) * z)
                                                                                                                                                                                                                                                                                                                    	tmp = 0.0
                                                                                                                                                                                                                                                                                                                    	if (y0 <= -1.4e+61)
                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                    	elseif (y0 <= 2.4e+48)
                                                                                                                                                                                                                                                                                                                    		tmp = Float64(Float64(Float64(i * c) * t) * z);
                                                                                                                                                                                                                                                                                                                    	elseif (y0 <= 1.72e+261)
                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                    	else
                                                                                                                                                                                                                                                                                                                    		tmp = Float64(Float64(Float64(c * x) * y0) * y2);
                                                                                                                                                                                                                                                                                                                    	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 = ((y0 * k) * b) * z;
                                                                                                                                                                                                                                                                                                                    	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                    	if (y0 <= -1.4e+61)
                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                    	elseif (y0 <= 2.4e+48)
                                                                                                                                                                                                                                                                                                                    		tmp = ((i * c) * t) * z;
                                                                                                                                                                                                                                                                                                                    	elseif (y0 <= 1.72e+261)
                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                    	else
                                                                                                                                                                                                                                                                                                                    		tmp = ((c * x) * y0) * y2;
                                                                                                                                                                                                                                                                                                                    	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[(y0 * k), $MachinePrecision] * b), $MachinePrecision] * z), $MachinePrecision]}, If[LessEqual[y0, -1.4e+61], t$95$1, If[LessEqual[y0, 2.4e+48], N[(N[(N[(i * c), $MachinePrecision] * t), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[y0, 1.72e+261], t$95$1, N[(N[(N[(c * x), $MachinePrecision] * y0), $MachinePrecision] * y2), $MachinePrecision]]]]]
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    \begin{array}{l}
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    \\
                                                                                                                                                                                                                                                                                                                    \begin{array}{l}
                                                                                                                                                                                                                                                                                                                    t_1 := \left(\left(y0 \cdot k\right) \cdot b\right) \cdot z\\
                                                                                                                                                                                                                                                                                                                    \mathbf{if}\;y0 \leq -1.4 \cdot 10^{+61}:\\
                                                                                                                                                                                                                                                                                                                    \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    \mathbf{elif}\;y0 \leq 2.4 \cdot 10^{+48}:\\
                                                                                                                                                                                                                                                                                                                    \;\;\;\;\left(\left(i \cdot c\right) \cdot t\right) \cdot z\\
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    \mathbf{elif}\;y0 \leq 1.72 \cdot 10^{+261}:\\
                                                                                                                                                                                                                                                                                                                    \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                    \;\;\;\;\left(\left(c \cdot x\right) \cdot y0\right) \cdot y2\\
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    \end{array}
                                                                                                                                                                                                                                                                                                                    \end{array}
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    Derivation
                                                                                                                                                                                                                                                                                                                    1. Split input into 3 regimes
                                                                                                                                                                                                                                                                                                                    2. if y0 < -1.4000000000000001e61 or 2.4000000000000001e48 < y0 < 1.7200000000000001e261

                                                                                                                                                                                                                                                                                                                      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 z around inf

                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{z \cdot \left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                      4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                        1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                        2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                      5. Applied rewrites37.2%

                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                      6. Taylor expanded in i around inf

                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(i \cdot \left(-1 \cdot \left(k \cdot y1\right) + c \cdot t\right)\right) \cdot z \]
                                                                                                                                                                                                                                                                                                                      7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                        1. Applied rewrites18.1%

                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(i \cdot \mathsf{fma}\left(-k, y1, c \cdot t\right)\right) \cdot z \]
                                                                                                                                                                                                                                                                                                                        2. Taylor expanded in k around inf

                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot z \]
                                                                                                                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                          1. Applied rewrites42.0%

                                                                                                                                                                                                                                                                                                                            \[\leadsto \left(k \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)\right) \cdot z \]
                                                                                                                                                                                                                                                                                                                          2. Taylor expanded in b around inf

                                                                                                                                                                                                                                                                                                                            \[\leadsto \left(b \cdot \left(k \cdot y0\right)\right) \cdot z \]
                                                                                                                                                                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                            1. Applied rewrites39.0%

                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(b \cdot \left(k \cdot y0\right)\right) \cdot z \]

                                                                                                                                                                                                                                                                                                                            if -1.4000000000000001e61 < y0 < 2.4000000000000001e48

                                                                                                                                                                                                                                                                                                                            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 z around inf

                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{z \cdot \left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                            4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                              1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                              2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                            5. Applied rewrites39.5%

                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                            6. Taylor expanded in i around inf

                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(i \cdot \left(-1 \cdot \left(k \cdot y1\right) + c \cdot t\right)\right) \cdot z \]
                                                                                                                                                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                              1. Applied rewrites28.5%

                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(i \cdot \mathsf{fma}\left(-k, y1, c \cdot t\right)\right) \cdot z \]
                                                                                                                                                                                                                                                                                                                              2. Taylor expanded in t around inf

                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(c \cdot \left(i \cdot t\right)\right) \cdot z \]
                                                                                                                                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                1. Applied rewrites25.9%

                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(\left(c \cdot i\right) \cdot t\right) \cdot z \]

                                                                                                                                                                                                                                                                                                                                if 1.7200000000000001e261 < y0

                                                                                                                                                                                                                                                                                                                                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 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 rewrites40.0%

                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(-t\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)\right) \cdot y2} \]
                                                                                                                                                                                                                                                                                                                                6. Taylor expanded in x around inf

                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) \cdot y2 \]
                                                                                                                                                                                                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                  1. Applied rewrites61.9%

                                                                                                                                                                                                                                                                                                                                    \[\leadsto \left(x \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) \cdot y2 \]
                                                                                                                                                                                                                                                                                                                                  2. Taylor expanded in a around 0

                                                                                                                                                                                                                                                                                                                                    \[\leadsto \left(c \cdot \left(x \cdot y0\right)\right) \cdot y2 \]
                                                                                                                                                                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                    1. Applied rewrites62.0%

                                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(\left(c \cdot x\right) \cdot y0\right) \cdot y2 \]
                                                                                                                                                                                                                                                                                                                                  4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                                                                                                  5. Final simplification31.9%

                                                                                                                                                                                                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -1.4 \cdot 10^{+61}:\\ \;\;\;\;\left(\left(y0 \cdot k\right) \cdot b\right) \cdot z\\ \mathbf{elif}\;y0 \leq 2.4 \cdot 10^{+48}:\\ \;\;\;\;\left(\left(i \cdot c\right) \cdot t\right) \cdot z\\ \mathbf{elif}\;y0 \leq 1.72 \cdot 10^{+261}:\\ \;\;\;\;\left(\left(y0 \cdot k\right) \cdot b\right) \cdot z\\ \mathbf{else}:\\ \;\;\;\;\left(\left(c \cdot x\right) \cdot y0\right) \cdot y2\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                  6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                  Alternative 31: 22.7% accurate, 7.2× speedup?

                                                                                                                                                                                                                                                                                                                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(y0 \cdot k\right) \cdot b\right) \cdot z\\ \mathbf{if}\;y0 \leq -1.4 \cdot 10^{+61}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq 2.4 \cdot 10^{+48}:\\ \;\;\;\;\left(\left(i \cdot c\right) \cdot t\right) \cdot z\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                                  (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                   :precision binary64
                                                                                                                                                                                                                                                                                                                                   (let* ((t_1 (* (* (* y0 k) b) z)))
                                                                                                                                                                                                                                                                                                                                     (if (<= y0 -1.4e+61) t_1 (if (<= y0 2.4e+48) (* (* (* i c) t) z) t_1))))
                                                                                                                                                                                                                                                                                                                                  double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                  	double t_1 = ((y0 * k) * b) * z;
                                                                                                                                                                                                                                                                                                                                  	double tmp;
                                                                                                                                                                                                                                                                                                                                  	if (y0 <= -1.4e+61) {
                                                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                  	} else if (y0 <= 2.4e+48) {
                                                                                                                                                                                                                                                                                                                                  		tmp = ((i * c) * t) * z;
                                                                                                                                                                                                                                                                                                                                  	} else {
                                                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                  	}
                                                                                                                                                                                                                                                                                                                                  	return tmp;
                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: z
                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: t
                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: a
                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: b
                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: c
                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: i
                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: j
                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: k
                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                                      real(8) :: t_1
                                                                                                                                                                                                                                                                                                                                      real(8) :: tmp
                                                                                                                                                                                                                                                                                                                                      t_1 = ((y0 * k) * b) * z
                                                                                                                                                                                                                                                                                                                                      if (y0 <= (-1.4d+61)) then
                                                                                                                                                                                                                                                                                                                                          tmp = t_1
                                                                                                                                                                                                                                                                                                                                      else if (y0 <= 2.4d+48) then
                                                                                                                                                                                                                                                                                                                                          tmp = ((i * c) * t) * z
                                                                                                                                                                                                                                                                                                                                      else
                                                                                                                                                                                                                                                                                                                                          tmp = t_1
                                                                                                                                                                                                                                                                                                                                      end if
                                                                                                                                                                                                                                                                                                                                      code = tmp
                                                                                                                                                                                                                                                                                                                                  end function
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                  	double t_1 = ((y0 * k) * b) * z;
                                                                                                                                                                                                                                                                                                                                  	double tmp;
                                                                                                                                                                                                                                                                                                                                  	if (y0 <= -1.4e+61) {
                                                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                  	} else if (y0 <= 2.4e+48) {
                                                                                                                                                                                                                                                                                                                                  		tmp = ((i * c) * t) * z;
                                                                                                                                                                                                                                                                                                                                  	} else {
                                                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                  	}
                                                                                                                                                                                                                                                                                                                                  	return tmp;
                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                  	t_1 = ((y0 * k) * b) * z
                                                                                                                                                                                                                                                                                                                                  	tmp = 0
                                                                                                                                                                                                                                                                                                                                  	if y0 <= -1.4e+61:
                                                                                                                                                                                                                                                                                                                                  		tmp = t_1
                                                                                                                                                                                                                                                                                                                                  	elif y0 <= 2.4e+48:
                                                                                                                                                                                                                                                                                                                                  		tmp = ((i * c) * t) * z
                                                                                                                                                                                                                                                                                                                                  	else:
                                                                                                                                                                                                                                                                                                                                  		tmp = t_1
                                                                                                                                                                                                                                                                                                                                  	return tmp
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                  	t_1 = Float64(Float64(Float64(y0 * k) * b) * z)
                                                                                                                                                                                                                                                                                                                                  	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                  	if (y0 <= -1.4e+61)
                                                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                  	elseif (y0 <= 2.4e+48)
                                                                                                                                                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(i * c) * t) * z);
                                                                                                                                                                                                                                                                                                                                  	else
                                                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                  	end
                                                                                                                                                                                                                                                                                                                                  	return tmp
                                                                                                                                                                                                                                                                                                                                  end
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                  	t_1 = ((y0 * k) * b) * z;
                                                                                                                                                                                                                                                                                                                                  	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                                  	if (y0 <= -1.4e+61)
                                                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                  	elseif (y0 <= 2.4e+48)
                                                                                                                                                                                                                                                                                                                                  		tmp = ((i * c) * t) * z;
                                                                                                                                                                                                                                                                                                                                  	else
                                                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                  	end
                                                                                                                                                                                                                                                                                                                                  	tmp_2 = tmp;
                                                                                                                                                                                                                                                                                                                                  end
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(y0 * k), $MachinePrecision] * b), $MachinePrecision] * z), $MachinePrecision]}, If[LessEqual[y0, -1.4e+61], t$95$1, If[LessEqual[y0, 2.4e+48], N[(N[(N[(i * c), $MachinePrecision] * t), $MachinePrecision] * z), $MachinePrecision], t$95$1]]]
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  \\
                                                                                                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                  t_1 := \left(\left(y0 \cdot k\right) \cdot b\right) \cdot z\\
                                                                                                                                                                                                                                                                                                                                  \mathbf{if}\;y0 \leq -1.4 \cdot 10^{+61}:\\
                                                                                                                                                                                                                                                                                                                                  \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  \mathbf{elif}\;y0 \leq 2.4 \cdot 10^{+48}:\\
                                                                                                                                                                                                                                                                                                                                  \;\;\;\;\left(\left(i \cdot c\right) \cdot t\right) \cdot z\\
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                  \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  Derivation
                                                                                                                                                                                                                                                                                                                                  1. Split input into 2 regimes
                                                                                                                                                                                                                                                                                                                                  2. if y0 < -1.4000000000000001e61 or 2.4000000000000001e48 < y0

                                                                                                                                                                                                                                                                                                                                    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 z around inf

                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{z \cdot \left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                    4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                      1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                      2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                    5. Applied rewrites37.5%

                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                    6. Taylor expanded in i around inf

                                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(i \cdot \left(-1 \cdot \left(k \cdot y1\right) + c \cdot t\right)\right) \cdot z \]
                                                                                                                                                                                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites19.4%

                                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(i \cdot \mathsf{fma}\left(-k, y1, c \cdot t\right)\right) \cdot z \]
                                                                                                                                                                                                                                                                                                                                      2. Taylor expanded in k around inf

                                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot z \]
                                                                                                                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites41.8%

                                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(k \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)\right) \cdot z \]
                                                                                                                                                                                                                                                                                                                                        2. Taylor expanded in b around inf

                                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(b \cdot \left(k \cdot y0\right)\right) \cdot z \]
                                                                                                                                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                          1. Applied rewrites37.2%

                                                                                                                                                                                                                                                                                                                                            \[\leadsto \left(b \cdot \left(k \cdot y0\right)\right) \cdot z \]

                                                                                                                                                                                                                                                                                                                                          if -1.4000000000000001e61 < y0 < 2.4000000000000001e48

                                                                                                                                                                                                                                                                                                                                          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 z around inf

                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{z \cdot \left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                          4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                            1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                            2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                          5. Applied rewrites39.5%

                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                          6. Taylor expanded in i around inf

                                                                                                                                                                                                                                                                                                                                            \[\leadsto \left(i \cdot \left(-1 \cdot \left(k \cdot y1\right) + c \cdot t\right)\right) \cdot z \]
                                                                                                                                                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                            1. Applied rewrites28.5%

                                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(i \cdot \mathsf{fma}\left(-k, y1, c \cdot t\right)\right) \cdot z \]
                                                                                                                                                                                                                                                                                                                                            2. Taylor expanded in t around inf

                                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(c \cdot \left(i \cdot t\right)\right) \cdot z \]
                                                                                                                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                              1. Applied rewrites25.9%

                                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(\left(c \cdot i\right) \cdot t\right) \cdot z \]
                                                                                                                                                                                                                                                                                                                                            4. Recombined 2 regimes into one program.
                                                                                                                                                                                                                                                                                                                                            5. Final simplification30.3%

                                                                                                                                                                                                                                                                                                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -1.4 \cdot 10^{+61}:\\ \;\;\;\;\left(\left(y0 \cdot k\right) \cdot b\right) \cdot z\\ \mathbf{elif}\;y0 \leq 2.4 \cdot 10^{+48}:\\ \;\;\;\;\left(\left(i \cdot c\right) \cdot t\right) \cdot z\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y0 \cdot k\right) \cdot b\right) \cdot z\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                            6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                            Alternative 32: 21.1% accurate, 7.2× speedup?

                                                                                                                                                                                                                                                                                                                                            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;a \leq -1.45 \cdot 10^{-13}:\\ \;\;\;\;\left(\left(y1 \cdot a\right) \cdot y3\right) \cdot z\\ \mathbf{elif}\;a \leq 5.2 \cdot 10^{+48}:\\ \;\;\;\;\left(\left(i \cdot c\right) \cdot t\right) \cdot z\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y3 \cdot z\right) \cdot a\right) \cdot y1\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                                            (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                             :precision binary64
                                                                                                                                                                                                                                                                                                                                             (if (<= a -1.45e-13)
                                                                                                                                                                                                                                                                                                                                               (* (* (* y1 a) y3) z)
                                                                                                                                                                                                                                                                                                                                               (if (<= a 5.2e+48) (* (* (* i c) t) z) (* (* (* y3 z) a) y1))))
                                                                                                                                                                                                                                                                                                                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                            	double tmp;
                                                                                                                                                                                                                                                                                                                                            	if (a <= -1.45e-13) {
                                                                                                                                                                                                                                                                                                                                            		tmp = ((y1 * a) * y3) * z;
                                                                                                                                                                                                                                                                                                                                            	} else if (a <= 5.2e+48) {
                                                                                                                                                                                                                                                                                                                                            		tmp = ((i * c) * t) * z;
                                                                                                                                                                                                                                                                                                                                            	} else {
                                                                                                                                                                                                                                                                                                                                            		tmp = ((y3 * z) * a) * y1;
                                                                                                                                                                                                                                                                                                                                            	}
                                                                                                                                                                                                                                                                                                                                            	return tmp;
                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                            real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: z
                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: t
                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: a
                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: b
                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: c
                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: i
                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: j
                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: k
                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                                                real(8) :: tmp
                                                                                                                                                                                                                                                                                                                                                if (a <= (-1.45d-13)) then
                                                                                                                                                                                                                                                                                                                                                    tmp = ((y1 * a) * y3) * z
                                                                                                                                                                                                                                                                                                                                                else if (a <= 5.2d+48) then
                                                                                                                                                                                                                                                                                                                                                    tmp = ((i * c) * t) * z
                                                                                                                                                                                                                                                                                                                                                else
                                                                                                                                                                                                                                                                                                                                                    tmp = ((y3 * z) * a) * y1
                                                                                                                                                                                                                                                                                                                                                end if
                                                                                                                                                                                                                                                                                                                                                code = tmp
                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                            public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                            	double tmp;
                                                                                                                                                                                                                                                                                                                                            	if (a <= -1.45e-13) {
                                                                                                                                                                                                                                                                                                                                            		tmp = ((y1 * a) * y3) * z;
                                                                                                                                                                                                                                                                                                                                            	} else if (a <= 5.2e+48) {
                                                                                                                                                                                                                                                                                                                                            		tmp = ((i * c) * t) * z;
                                                                                                                                                                                                                                                                                                                                            	} else {
                                                                                                                                                                                                                                                                                                                                            		tmp = ((y3 * z) * a) * y1;
                                                                                                                                                                                                                                                                                                                                            	}
                                                                                                                                                                                                                                                                                                                                            	return tmp;
                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                            def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                            	tmp = 0
                                                                                                                                                                                                                                                                                                                                            	if a <= -1.45e-13:
                                                                                                                                                                                                                                                                                                                                            		tmp = ((y1 * a) * y3) * z
                                                                                                                                                                                                                                                                                                                                            	elif a <= 5.2e+48:
                                                                                                                                                                                                                                                                                                                                            		tmp = ((i * c) * t) * z
                                                                                                                                                                                                                                                                                                                                            	else:
                                                                                                                                                                                                                                                                                                                                            		tmp = ((y3 * z) * a) * y1
                                                                                                                                                                                                                                                                                                                                            	return tmp
                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                            	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                            	if (a <= -1.45e-13)
                                                                                                                                                                                                                                                                                                                                            		tmp = Float64(Float64(Float64(y1 * a) * y3) * z);
                                                                                                                                                                                                                                                                                                                                            	elseif (a <= 5.2e+48)
                                                                                                                                                                                                                                                                                                                                            		tmp = Float64(Float64(Float64(i * c) * t) * z);
                                                                                                                                                                                                                                                                                                                                            	else
                                                                                                                                                                                                                                                                                                                                            		tmp = Float64(Float64(Float64(y3 * z) * a) * y1);
                                                                                                                                                                                                                                                                                                                                            	end
                                                                                                                                                                                                                                                                                                                                            	return tmp
                                                                                                                                                                                                                                                                                                                                            end
                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                            function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                            	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                                            	if (a <= -1.45e-13)
                                                                                                                                                                                                                                                                                                                                            		tmp = ((y1 * a) * y3) * z;
                                                                                                                                                                                                                                                                                                                                            	elseif (a <= 5.2e+48)
                                                                                                                                                                                                                                                                                                                                            		tmp = ((i * c) * t) * z;
                                                                                                                                                                                                                                                                                                                                            	else
                                                                                                                                                                                                                                                                                                                                            		tmp = ((y3 * z) * a) * y1;
                                                                                                                                                                                                                                                                                                                                            	end
                                                                                                                                                                                                                                                                                                                                            	tmp_2 = tmp;
                                                                                                                                                                                                                                                                                                                                            end
                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[a, -1.45e-13], N[(N[(N[(y1 * a), $MachinePrecision] * y3), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[a, 5.2e+48], N[(N[(N[(i * c), $MachinePrecision] * t), $MachinePrecision] * z), $MachinePrecision], N[(N[(N[(y3 * z), $MachinePrecision] * a), $MachinePrecision] * y1), $MachinePrecision]]]
                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                            \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                            \\
                                                                                                                                                                                                                                                                                                                                            \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                            \mathbf{if}\;a \leq -1.45 \cdot 10^{-13}:\\
                                                                                                                                                                                                                                                                                                                                            \;\;\;\;\left(\left(y1 \cdot a\right) \cdot y3\right) \cdot z\\
                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                            \mathbf{elif}\;a \leq 5.2 \cdot 10^{+48}:\\
                                                                                                                                                                                                                                                                                                                                            \;\;\;\;\left(\left(i \cdot c\right) \cdot t\right) \cdot z\\
                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                            \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                            \;\;\;\;\left(\left(y3 \cdot z\right) \cdot a\right) \cdot y1\\
                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                            \end{array}
                                                                                                                                                                                                                                                                                                                                            \end{array}
                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                            Derivation
                                                                                                                                                                                                                                                                                                                                            1. Split input into 3 regimes
                                                                                                                                                                                                                                                                                                                                            2. if a < -1.4499999999999999e-13

                                                                                                                                                                                                                                                                                                                                              1. Initial program 18.6%

                                                                                                                                                                                                                                                                                                                                                \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                              2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                              3. Taylor expanded in z around inf

                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{z \cdot \left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                              4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                                2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                              5. Applied rewrites36.9%

                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                              6. Taylor expanded in a around inf

                                                                                                                                                                                                                                                                                                                                                \[\leadsto a \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                1. Applied rewrites32.4%

                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(a \cdot z\right) \cdot \color{blue}{\mathsf{fma}\left(-b, t, y1 \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                                2. Taylor expanded in t around 0

                                                                                                                                                                                                                                                                                                                                                  \[\leadsto a \cdot \left(y1 \cdot \color{blue}{\left(y3 \cdot z\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                  1. Applied rewrites18.2%

                                                                                                                                                                                                                                                                                                                                                    \[\leadsto a \cdot \left(\left(y1 \cdot y3\right) \cdot \color{blue}{z}\right) \]
                                                                                                                                                                                                                                                                                                                                                  2. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                    1. Applied rewrites28.5%

                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(\left(y1 \cdot a\right) \cdot y3\right) \cdot z \]

                                                                                                                                                                                                                                                                                                                                                    if -1.4499999999999999e-13 < a < 5.1999999999999999e48

                                                                                                                                                                                                                                                                                                                                                    1. Initial program 35.9%

                                                                                                                                                                                                                                                                                                                                                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                    2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                    3. Taylor expanded in z around inf

                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{z \cdot \left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                    4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                      1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                                      2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                                    5. Applied rewrites38.8%

                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                                    6. Taylor expanded in i around inf

                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(i \cdot \left(-1 \cdot \left(k \cdot y1\right) + c \cdot t\right)\right) \cdot z \]
                                                                                                                                                                                                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites26.7%

                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(i \cdot \mathsf{fma}\left(-k, y1, c \cdot t\right)\right) \cdot z \]
                                                                                                                                                                                                                                                                                                                                                      2. Taylor expanded in t around inf

                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(c \cdot \left(i \cdot t\right)\right) \cdot z \]
                                                                                                                                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites21.2%

                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(\left(c \cdot i\right) \cdot t\right) \cdot z \]

                                                                                                                                                                                                                                                                                                                                                        if 5.1999999999999999e48 < a

                                                                                                                                                                                                                                                                                                                                                        1. Initial program 15.6%

                                                                                                                                                                                                                                                                                                                                                          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                        2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                        3. Taylor expanded in z around inf

                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{z \cdot \left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                        4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                          1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                                          2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                                        5. Applied rewrites40.3%

                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                                        6. Taylor expanded in a around inf

                                                                                                                                                                                                                                                                                                                                                          \[\leadsto a \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                          1. Applied rewrites41.0%

                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \left(a \cdot z\right) \cdot \color{blue}{\mathsf{fma}\left(-b, t, y1 \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                                          2. Taylor expanded in t around 0

                                                                                                                                                                                                                                                                                                                                                            \[\leadsto a \cdot \left(y1 \cdot \color{blue}{\left(y3 \cdot z\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                            1. Applied rewrites30.6%

                                                                                                                                                                                                                                                                                                                                                              \[\leadsto a \cdot \left(\left(y1 \cdot y3\right) \cdot \color{blue}{z}\right) \]
                                                                                                                                                                                                                                                                                                                                                            2. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                              1. Applied rewrites37.2%

                                                                                                                                                                                                                                                                                                                                                                \[\leadsto y1 \cdot \left(\left(y3 \cdot z\right) \cdot a\right) \]
                                                                                                                                                                                                                                                                                                                                                            3. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                            4. Final simplification26.4%

                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -1.45 \cdot 10^{-13}:\\ \;\;\;\;\left(\left(y1 \cdot a\right) \cdot y3\right) \cdot z\\ \mathbf{elif}\;a \leq 5.2 \cdot 10^{+48}:\\ \;\;\;\;\left(\left(i \cdot c\right) \cdot t\right) \cdot z\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y3 \cdot z\right) \cdot a\right) \cdot y1\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                                            5. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                            Alternative 33: 17.5% accurate, 9.2× speedup?

                                                                                                                                                                                                                                                                                                                                                            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -2 \cdot 10^{-109}:\\ \;\;\;\;\left(\left(a \cdot z\right) \cdot y1\right) \cdot y3\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y1 \cdot a\right) \cdot y3\right) \cdot z\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                                                            (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                                             :precision binary64
                                                                                                                                                                                                                                                                                                                                                             (if (<= z -2e-109) (* (* (* a z) y1) y3) (* (* (* y1 a) y3) z)))
                                                                                                                                                                                                                                                                                                                                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                            	double tmp;
                                                                                                                                                                                                                                                                                                                                                            	if (z <= -2e-109) {
                                                                                                                                                                                                                                                                                                                                                            		tmp = ((a * z) * y1) * y3;
                                                                                                                                                                                                                                                                                                                                                            	} else {
                                                                                                                                                                                                                                                                                                                                                            		tmp = ((y1 * a) * y3) * z;
                                                                                                                                                                                                                                                                                                                                                            	}
                                                                                                                                                                                                                                                                                                                                                            	return tmp;
                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: z
                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: t
                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: a
                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: b
                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: c
                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: i
                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: j
                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: k
                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                                                                real(8) :: tmp
                                                                                                                                                                                                                                                                                                                                                                if (z <= (-2d-109)) then
                                                                                                                                                                                                                                                                                                                                                                    tmp = ((a * z) * y1) * y3
                                                                                                                                                                                                                                                                                                                                                                else
                                                                                                                                                                                                                                                                                                                                                                    tmp = ((y1 * a) * y3) * z
                                                                                                                                                                                                                                                                                                                                                                end if
                                                                                                                                                                                                                                                                                                                                                                code = tmp
                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                            	double tmp;
                                                                                                                                                                                                                                                                                                                                                            	if (z <= -2e-109) {
                                                                                                                                                                                                                                                                                                                                                            		tmp = ((a * z) * y1) * y3;
                                                                                                                                                                                                                                                                                                                                                            	} else {
                                                                                                                                                                                                                                                                                                                                                            		tmp = ((y1 * a) * y3) * z;
                                                                                                                                                                                                                                                                                                                                                            	}
                                                                                                                                                                                                                                                                                                                                                            	return tmp;
                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                                            	tmp = 0
                                                                                                                                                                                                                                                                                                                                                            	if z <= -2e-109:
                                                                                                                                                                                                                                                                                                                                                            		tmp = ((a * z) * y1) * y3
                                                                                                                                                                                                                                                                                                                                                            	else:
                                                                                                                                                                                                                                                                                                                                                            		tmp = ((y1 * a) * y3) * z
                                                                                                                                                                                                                                                                                                                                                            	return tmp
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                            	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                                            	if (z <= -2e-109)
                                                                                                                                                                                                                                                                                                                                                            		tmp = Float64(Float64(Float64(a * z) * y1) * y3);
                                                                                                                                                                                                                                                                                                                                                            	else
                                                                                                                                                                                                                                                                                                                                                            		tmp = Float64(Float64(Float64(y1 * a) * y3) * z);
                                                                                                                                                                                                                                                                                                                                                            	end
                                                                                                                                                                                                                                                                                                                                                            	return tmp
                                                                                                                                                                                                                                                                                                                                                            end
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                            	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                                                            	if (z <= -2e-109)
                                                                                                                                                                                                                                                                                                                                                            		tmp = ((a * z) * y1) * y3;
                                                                                                                                                                                                                                                                                                                                                            	else
                                                                                                                                                                                                                                                                                                                                                            		tmp = ((y1 * a) * y3) * z;
                                                                                                                                                                                                                                                                                                                                                            	end
                                                                                                                                                                                                                                                                                                                                                            	tmp_2 = tmp;
                                                                                                                                                                                                                                                                                                                                                            end
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -2e-109], N[(N[(N[(a * z), $MachinePrecision] * y1), $MachinePrecision] * y3), $MachinePrecision], N[(N[(N[(y1 * a), $MachinePrecision] * y3), $MachinePrecision] * z), $MachinePrecision]]
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            \\
                                                                                                                                                                                                                                                                                                                                                            \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                            \mathbf{if}\;z \leq -2 \cdot 10^{-109}:\\
                                                                                                                                                                                                                                                                                                                                                            \;\;\;\;\left(\left(a \cdot z\right) \cdot y1\right) \cdot y3\\
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                                            \;\;\;\;\left(\left(y1 \cdot a\right) \cdot y3\right) \cdot z\\
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            \end{array}
                                                                                                                                                                                                                                                                                                                                                            \end{array}
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            Derivation
                                                                                                                                                                                                                                                                                                                                                            1. Split input into 2 regimes
                                                                                                                                                                                                                                                                                                                                                            2. if z < -2e-109

                                                                                                                                                                                                                                                                                                                                                              1. Initial program 31.3%

                                                                                                                                                                                                                                                                                                                                                                \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                              2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                              3. Taylor expanded in z around inf

                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{z \cdot \left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                              4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                                                2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                                              5. Applied rewrites47.1%

                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                                              6. Taylor expanded in a around inf

                                                                                                                                                                                                                                                                                                                                                                \[\leadsto a \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                1. Applied rewrites32.9%

                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(a \cdot z\right) \cdot \color{blue}{\mathsf{fma}\left(-b, t, y1 \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                                                2. Taylor expanded in t around 0

                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto a \cdot \left(y1 \cdot \color{blue}{\left(y3 \cdot z\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                  1. Applied rewrites23.2%

                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto a \cdot \left(\left(y1 \cdot y3\right) \cdot \color{blue}{z}\right) \]
                                                                                                                                                                                                                                                                                                                                                                  2. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                    1. Applied rewrites27.2%

                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(\left(z \cdot a\right) \cdot y1\right) \cdot y3 \]

                                                                                                                                                                                                                                                                                                                                                                    if -2e-109 < z

                                                                                                                                                                                                                                                                                                                                                                    1. Initial program 25.4%

                                                                                                                                                                                                                                                                                                                                                                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                    2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                    3. Taylor expanded in 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 rewrites33.9%

                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                                                    6. Taylor expanded in a around inf

                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto a \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites21.0%

                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(a \cdot z\right) \cdot \color{blue}{\mathsf{fma}\left(-b, t, y1 \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                                                      2. Taylor expanded in t around 0

                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto a \cdot \left(y1 \cdot \color{blue}{\left(y3 \cdot z\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites11.9%

                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto a \cdot \left(\left(y1 \cdot y3\right) \cdot \color{blue}{z}\right) \]
                                                                                                                                                                                                                                                                                                                                                                        2. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                          1. Applied rewrites15.4%

                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \left(\left(y1 \cdot a\right) \cdot y3\right) \cdot z \]
                                                                                                                                                                                                                                                                                                                                                                        3. Recombined 2 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                                        4. Final simplification19.7%

                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -2 \cdot 10^{-109}:\\ \;\;\;\;\left(\left(a \cdot z\right) \cdot y1\right) \cdot y3\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y1 \cdot a\right) \cdot y3\right) \cdot z\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                        5. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                        Alternative 34: 17.8% accurate, 9.2× speedup?

                                                                                                                                                                                                                                                                                                                                                                        \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -3.6 \cdot 10^{+105}:\\ \;\;\;\;\left(\left(y3 \cdot z\right) \cdot a\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y1 \cdot a\right) \cdot y3\right) \cdot z\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                        (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                                                         :precision binary64
                                                                                                                                                                                                                                                                                                                                                                         (if (<= z -3.6e+105) (* (* (* y3 z) a) y1) (* (* (* y1 a) y3) z)))
                                                                                                                                                                                                                                                                                                                                                                        double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                        	double tmp;
                                                                                                                                                                                                                                                                                                                                                                        	if (z <= -3.6e+105) {
                                                                                                                                                                                                                                                                                                                                                                        		tmp = ((y3 * z) * a) * y1;
                                                                                                                                                                                                                                                                                                                                                                        	} else {
                                                                                                                                                                                                                                                                                                                                                                        		tmp = ((y1 * a) * y3) * z;
                                                                                                                                                                                                                                                                                                                                                                        	}
                                                                                                                                                                                                                                                                                                                                                                        	return tmp;
                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                        real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: z
                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: t
                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: a
                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: b
                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: c
                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: i
                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: j
                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: k
                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                                                                            real(8) :: tmp
                                                                                                                                                                                                                                                                                                                                                                            if (z <= (-3.6d+105)) then
                                                                                                                                                                                                                                                                                                                                                                                tmp = ((y3 * z) * a) * y1
                                                                                                                                                                                                                                                                                                                                                                            else
                                                                                                                                                                                                                                                                                                                                                                                tmp = ((y1 * a) * y3) * z
                                                                                                                                                                                                                                                                                                                                                                            end if
                                                                                                                                                                                                                                                                                                                                                                            code = tmp
                                                                                                                                                                                                                                                                                                                                                                        end function
                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                        public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                        	double tmp;
                                                                                                                                                                                                                                                                                                                                                                        	if (z <= -3.6e+105) {
                                                                                                                                                                                                                                                                                                                                                                        		tmp = ((y3 * z) * a) * y1;
                                                                                                                                                                                                                                                                                                                                                                        	} else {
                                                                                                                                                                                                                                                                                                                                                                        		tmp = ((y1 * a) * y3) * z;
                                                                                                                                                                                                                                                                                                                                                                        	}
                                                                                                                                                                                                                                                                                                                                                                        	return tmp;
                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                        def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                                                        	tmp = 0
                                                                                                                                                                                                                                                                                                                                                                        	if z <= -3.6e+105:
                                                                                                                                                                                                                                                                                                                                                                        		tmp = ((y3 * z) * a) * y1
                                                                                                                                                                                                                                                                                                                                                                        	else:
                                                                                                                                                                                                                                                                                                                                                                        		tmp = ((y1 * a) * y3) * z
                                                                                                                                                                                                                                                                                                                                                                        	return tmp
                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                        function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                        	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                                                        	if (z <= -3.6e+105)
                                                                                                                                                                                                                                                                                                                                                                        		tmp = Float64(Float64(Float64(y3 * z) * a) * y1);
                                                                                                                                                                                                                                                                                                                                                                        	else
                                                                                                                                                                                                                                                                                                                                                                        		tmp = Float64(Float64(Float64(y1 * a) * y3) * z);
                                                                                                                                                                                                                                                                                                                                                                        	end
                                                                                                                                                                                                                                                                                                                                                                        	return tmp
                                                                                                                                                                                                                                                                                                                                                                        end
                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                        function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                        	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                                                                        	if (z <= -3.6e+105)
                                                                                                                                                                                                                                                                                                                                                                        		tmp = ((y3 * z) * a) * y1;
                                                                                                                                                                                                                                                                                                                                                                        	else
                                                                                                                                                                                                                                                                                                                                                                        		tmp = ((y1 * a) * y3) * z;
                                                                                                                                                                                                                                                                                                                                                                        	end
                                                                                                                                                                                                                                                                                                                                                                        	tmp_2 = tmp;
                                                                                                                                                                                                                                                                                                                                                                        end
                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                        code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -3.6e+105], N[(N[(N[(y3 * z), $MachinePrecision] * a), $MachinePrecision] * y1), $MachinePrecision], N[(N[(N[(y1 * a), $MachinePrecision] * y3), $MachinePrecision] * z), $MachinePrecision]]
                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                        \\
                                                                                                                                                                                                                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                        \mathbf{if}\;z \leq -3.6 \cdot 10^{+105}:\\
                                                                                                                                                                                                                                                                                                                                                                        \;\;\;\;\left(\left(y3 \cdot z\right) \cdot a\right) \cdot y1\\
                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                        \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                                                        \;\;\;\;\left(\left(y1 \cdot a\right) \cdot y3\right) \cdot z\\
                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                        \end{array}
                                                                                                                                                                                                                                                                                                                                                                        \end{array}
                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                        Derivation
                                                                                                                                                                                                                                                                                                                                                                        1. Split input into 2 regimes
                                                                                                                                                                                                                                                                                                                                                                        2. if z < -3.5999999999999999e105

                                                                                                                                                                                                                                                                                                                                                                          1. Initial program 28.9%

                                                                                                                                                                                                                                                                                                                                                                            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                          2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                          3. Taylor expanded in 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 rewrites60.7%

                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                                                          6. Taylor expanded in a around inf

                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto a \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                            1. Applied rewrites47.6%

                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(a \cdot z\right) \cdot \color{blue}{\mathsf{fma}\left(-b, t, y1 \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                                                            2. Taylor expanded in t around 0

                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto a \cdot \left(y1 \cdot \color{blue}{\left(y3 \cdot z\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                              1. Applied rewrites32.3%

                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto a \cdot \left(\left(y1 \cdot y3\right) \cdot \color{blue}{z}\right) \]
                                                                                                                                                                                                                                                                                                                                                                              2. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                1. Applied rewrites39.7%

                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto y1 \cdot \left(\left(y3 \cdot z\right) \cdot a\right) \]

                                                                                                                                                                                                                                                                                                                                                                                if -3.5999999999999999e105 < z

                                                                                                                                                                                                                                                                                                                                                                                1. Initial program 27.2%

                                                                                                                                                                                                                                                                                                                                                                                  \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                3. Taylor expanded in z around inf

                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{z \cdot \left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                  1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                                                                  2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                                                                5. Applied rewrites33.1%

                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                                                                6. Taylor expanded in a around inf

                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto a \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                  1. Applied rewrites19.6%

                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \left(a \cdot z\right) \cdot \color{blue}{\mathsf{fma}\left(-b, t, y1 \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                  2. Taylor expanded in t around 0

                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto a \cdot \left(y1 \cdot \color{blue}{\left(y3 \cdot z\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                    1. Applied rewrites11.8%

                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto a \cdot \left(\left(y1 \cdot y3\right) \cdot \color{blue}{z}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                    2. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites14.1%

                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(\left(y1 \cdot a\right) \cdot y3\right) \cdot z \]
                                                                                                                                                                                                                                                                                                                                                                                    3. Recombined 2 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                                                    4. Final simplification19.3%

                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -3.6 \cdot 10^{+105}:\\ \;\;\;\;\left(\left(y3 \cdot z\right) \cdot a\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y1 \cdot a\right) \cdot y3\right) \cdot z\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                    5. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                    Alternative 35: 16.9% accurate, 12.6× speedup?

                                                                                                                                                                                                                                                                                                                                                                                    \[\begin{array}{l} \\ \left(\left(y3 \cdot z\right) \cdot a\right) \cdot y1 \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                    (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                                                                     :precision binary64
                                                                                                                                                                                                                                                                                                                                                                                     (* (* (* y3 z) a) y1))
                                                                                                                                                                                                                                                                                                                                                                                    double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                    	return ((y3 * z) * a) * y1;
                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: z
                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: t
                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: a
                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: b
                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: c
                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: i
                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: j
                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: k
                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                                                                                        code = ((y3 * z) * a) * y1
                                                                                                                                                                                                                                                                                                                                                                                    end function
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                    	return ((y3 * z) * a) * y1;
                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                                                                    	return ((y3 * z) * a) * y1
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                    	return Float64(Float64(Float64(y3 * z) * a) * y1)
                                                                                                                                                                                                                                                                                                                                                                                    end
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                    	tmp = ((y3 * z) * a) * y1;
                                                                                                                                                                                                                                                                                                                                                                                    end
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(y3 * z), $MachinePrecision] * a), $MachinePrecision] * y1), $MachinePrecision]
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    \\
                                                                                                                                                                                                                                                                                                                                                                                    \left(\left(y3 \cdot z\right) \cdot a\right) \cdot y1
                                                                                                                                                                                                                                                                                                                                                                                    \end{array}
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    Derivation
                                                                                                                                                                                                                                                                                                                                                                                    1. Initial program 27.6%

                                                                                                                                                                                                                                                                                                                                                                                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                    2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                    3. Taylor expanded in z around inf

                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{z \cdot \left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                    4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                      1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                                                                      2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                                                                    5. Applied rewrites38.7%

                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                                                                    6. Taylor expanded in a around inf

                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto a \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites25.3%

                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(a \cdot z\right) \cdot \color{blue}{\mathsf{fma}\left(-b, t, y1 \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                      2. Taylor expanded in t around 0

                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto a \cdot \left(y1 \cdot \color{blue}{\left(y3 \cdot z\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites16.0%

                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto a \cdot \left(\left(y1 \cdot y3\right) \cdot \color{blue}{z}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                        2. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                          1. Applied rewrites16.7%

                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto y1 \cdot \left(\left(y3 \cdot z\right) \cdot a\right) \]
                                                                                                                                                                                                                                                                                                                                                                                          2. Final simplification16.7%

                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \left(\left(y3 \cdot z\right) \cdot a\right) \cdot y1 \]
                                                                                                                                                                                                                                                                                                                                                                                          3. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                          Alternative 36: 17.2% accurate, 12.6× speedup?

                                                                                                                                                                                                                                                                                                                                                                                          \[\begin{array}{l} \\ \left(\left(y3 \cdot y1\right) \cdot z\right) \cdot a \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                          (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                                                                           :precision binary64
                                                                                                                                                                                                                                                                                                                                                                                           (* (* (* y3 y1) z) a))
                                                                                                                                                                                                                                                                                                                                                                                          double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                          	return ((y3 * y1) * z) * a;
                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                          real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: z
                                                                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: t
                                                                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: a
                                                                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: b
                                                                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: c
                                                                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: i
                                                                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: j
                                                                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: k
                                                                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                                                                                              code = ((y3 * y1) * z) * a
                                                                                                                                                                                                                                                                                                                                                                                          end function
                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                          public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                          	return ((y3 * y1) * z) * a;
                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                          def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                                                                          	return ((y3 * y1) * z) * a
                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                          function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                          	return Float64(Float64(Float64(y3 * y1) * z) * a)
                                                                                                                                                                                                                                                                                                                                                                                          end
                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                          function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                          	tmp = ((y3 * y1) * z) * a;
                                                                                                                                                                                                                                                                                                                                                                                          end
                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                          code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(y3 * y1), $MachinePrecision] * z), $MachinePrecision] * a), $MachinePrecision]
                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                          \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                          \\
                                                                                                                                                                                                                                                                                                                                                                                          \left(\left(y3 \cdot y1\right) \cdot z\right) \cdot a
                                                                                                                                                                                                                                                                                                                                                                                          \end{array}
                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                          Derivation
                                                                                                                                                                                                                                                                                                                                                                                          1. Initial program 27.6%

                                                                                                                                                                                                                                                                                                                                                                                            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                          2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                          3. Taylor expanded in z around inf

                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{z \cdot \left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                          4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                            1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                                                                            2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                                                                          5. Applied rewrites38.7%

                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z} \]
                                                                                                                                                                                                                                                                                                                                                                                          6. Taylor expanded in a around inf

                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto a \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                            1. Applied rewrites25.3%

                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(a \cdot z\right) \cdot \color{blue}{\mathsf{fma}\left(-b, t, y1 \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                            2. Taylor expanded in t around 0

                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto a \cdot \left(y1 \cdot \color{blue}{\left(y3 \cdot z\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                              1. Applied rewrites16.0%

                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto a \cdot \left(\left(y1 \cdot y3\right) \cdot \color{blue}{z}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                              2. Final simplification16.0%

                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(\left(y3 \cdot y1\right) \cdot z\right) \cdot a \]
                                                                                                                                                                                                                                                                                                                                                                                              3. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                              Developer Target 1: 28.4% accurate, 0.7× speedup?

                                                                                                                                                                                                                                                                                                                                                                                              \[\begin{array}{l} \\ \begin{array}{l} t_1 := y4 \cdot c - y5 \cdot a\\ t_2 := x \cdot y2 - z \cdot y3\\ t_3 := y2 \cdot t - y3 \cdot y\\ t_4 := k \cdot y2 - j \cdot y3\\ t_5 := y4 \cdot b - y5 \cdot i\\ t_6 := \left(j \cdot t - k \cdot y\right) \cdot t\_5\\ t_7 := b \cdot a - i \cdot c\\ t_8 := t\_7 \cdot \left(y \cdot x - t \cdot z\right)\\ t_9 := j \cdot x - k \cdot z\\ t_10 := \left(b \cdot y0 - i \cdot y1\right) \cdot t\_9\\ t_11 := t\_9 \cdot \left(y0 \cdot b - i \cdot y1\right)\\ t_12 := y4 \cdot y1 - y5 \cdot y0\\ t_13 := t\_4 \cdot t\_12\\ t_14 := \left(y2 \cdot k - y3 \cdot j\right) \cdot t\_12\\ t_15 := \left(\left(\left(\left(k \cdot y\right) \cdot \left(y5 \cdot i\right) - \left(y \cdot b\right) \cdot \left(y4 \cdot k\right)\right) - \left(y5 \cdot t\right) \cdot \left(i \cdot j\right)\right) - \left(t\_3 \cdot t\_1 - t\_14\right)\right) + \left(t\_8 - \left(t\_11 - \left(y2 \cdot x - y3 \cdot z\right) \cdot \left(c \cdot y0 - y1 \cdot a\right)\right)\right)\\ t_16 := \left(\left(t\_6 - \left(y3 \cdot y\right) \cdot \left(y5 \cdot a - y4 \cdot c\right)\right) + \left(\left(y5 \cdot a\right) \cdot \left(t \cdot y2\right) + t\_13\right)\right) + \left(t\_2 \cdot \left(c \cdot y0 - a \cdot y1\right) - \left(t\_10 - \left(y \cdot x - z \cdot t\right) \cdot t\_7\right)\right)\\ t_17 := t \cdot y2 - y \cdot y3\\ \mathbf{if}\;y4 < -7.206256231996481 \cdot 10^{+60}:\\ \;\;\;\;\left(t\_8 - \left(t\_11 - t\_6\right)\right) - \left(\frac{t\_3}{\frac{1}{t\_1}} - t\_14\right)\\ \mathbf{elif}\;y4 < -3.364603505246317 \cdot 10^{-66}:\\ \;\;\;\;\left(\left(\left(\left(t \cdot c\right) \cdot \left(i \cdot z\right) - \left(a \cdot t\right) \cdot \left(b \cdot z\right)\right) - \left(y \cdot c\right) \cdot \left(i \cdot x\right)\right) - t\_10\right) + \left(\left(y0 \cdot c - a \cdot y1\right) \cdot t\_2 - \left(t\_17 \cdot \left(y4 \cdot c - a \cdot y5\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot t\_4\right)\right)\\ \mathbf{elif}\;y4 < -1.2000065055686116 \cdot 10^{-105}:\\ \;\;\;\;t\_16\\ \mathbf{elif}\;y4 < 6.718963124057495 \cdot 10^{-279}:\\ \;\;\;\;t\_15\\ \mathbf{elif}\;y4 < 4.77962681403792 \cdot 10^{-222}:\\ \;\;\;\;t\_16\\ \mathbf{elif}\;y4 < 2.2852241541266835 \cdot 10^{-175}:\\ \;\;\;\;t\_15\\ \mathbf{else}:\\ \;\;\;\;\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(k \cdot \left(i \cdot \left(z \cdot y1\right)\right) - \left(j \cdot \left(i \cdot \left(x \cdot y1\right)\right) + y0 \cdot \left(k \cdot \left(z \cdot b\right)\right)\right)\right)\right) + \left(z \cdot \left(y3 \cdot \left(a \cdot y1\right)\right) - \left(y2 \cdot \left(x \cdot \left(a \cdot y1\right)\right) + y0 \cdot \left(z \cdot \left(c \cdot y3\right)\right)\right)\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot t\_5\right) - t\_17 \cdot t\_1\right) + t\_13\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                              (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                                                                               :precision binary64
                                                                                                                                                                                                                                                                                                                                                                                               (let* ((t_1 (- (* y4 c) (* y5 a)))
                                                                                                                                                                                                                                                                                                                                                                                                      (t_2 (- (* x y2) (* z y3)))
                                                                                                                                                                                                                                                                                                                                                                                                      (t_3 (- (* y2 t) (* y3 y)))
                                                                                                                                                                                                                                                                                                                                                                                                      (t_4 (- (* k y2) (* j y3)))
                                                                                                                                                                                                                                                                                                                                                                                                      (t_5 (- (* y4 b) (* y5 i)))
                                                                                                                                                                                                                                                                                                                                                                                                      (t_6 (* (- (* j t) (* k y)) t_5))
                                                                                                                                                                                                                                                                                                                                                                                                      (t_7 (- (* b a) (* i c)))
                                                                                                                                                                                                                                                                                                                                                                                                      (t_8 (* t_7 (- (* y x) (* t z))))
                                                                                                                                                                                                                                                                                                                                                                                                      (t_9 (- (* j x) (* k z)))
                                                                                                                                                                                                                                                                                                                                                                                                      (t_10 (* (- (* b y0) (* i y1)) t_9))
                                                                                                                                                                                                                                                                                                                                                                                                      (t_11 (* t_9 (- (* y0 b) (* i y1))))
                                                                                                                                                                                                                                                                                                                                                                                                      (t_12 (- (* y4 y1) (* y5 y0)))
                                                                                                                                                                                                                                                                                                                                                                                                      (t_13 (* t_4 t_12))
                                                                                                                                                                                                                                                                                                                                                                                                      (t_14 (* (- (* y2 k) (* y3 j)) t_12))
                                                                                                                                                                                                                                                                                                                                                                                                      (t_15
                                                                                                                                                                                                                                                                                                                                                                                                       (+
                                                                                                                                                                                                                                                                                                                                                                                                        (-
                                                                                                                                                                                                                                                                                                                                                                                                         (-
                                                                                                                                                                                                                                                                                                                                                                                                          (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k)))
                                                                                                                                                                                                                                                                                                                                                                                                          (* (* y5 t) (* i j)))
                                                                                                                                                                                                                                                                                                                                                                                                         (- (* t_3 t_1) t_14))
                                                                                                                                                                                                                                                                                                                                                                                                        (- t_8 (- t_11 (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))))
                                                                                                                                                                                                                                                                                                                                                                                                      (t_16
                                                                                                                                                                                                                                                                                                                                                                                                       (+
                                                                                                                                                                                                                                                                                                                                                                                                        (+
                                                                                                                                                                                                                                                                                                                                                                                                         (- t_6 (* (* y3 y) (- (* y5 a) (* y4 c))))
                                                                                                                                                                                                                                                                                                                                                                                                         (+ (* (* y5 a) (* t y2)) t_13))
                                                                                                                                                                                                                                                                                                                                                                                                        (-
                                                                                                                                                                                                                                                                                                                                                                                                         (* t_2 (- (* c y0) (* a y1)))
                                                                                                                                                                                                                                                                                                                                                                                                         (- t_10 (* (- (* y x) (* z t)) t_7)))))
                                                                                                                                                                                                                                                                                                                                                                                                      (t_17 (- (* t y2) (* y y3))))
                                                                                                                                                                                                                                                                                                                                                                                                 (if (< y4 -7.206256231996481e+60)
                                                                                                                                                                                                                                                                                                                                                                                                   (- (- t_8 (- t_11 t_6)) (- (/ t_3 (/ 1.0 t_1)) t_14))
                                                                                                                                                                                                                                                                                                                                                                                                   (if (< y4 -3.364603505246317e-66)
                                                                                                                                                                                                                                                                                                                                                                                                     (+
                                                                                                                                                                                                                                                                                                                                                                                                      (-
                                                                                                                                                                                                                                                                                                                                                                                                       (- (- (* (* t c) (* i z)) (* (* a t) (* b z))) (* (* y c) (* i x)))
                                                                                                                                                                                                                                                                                                                                                                                                       t_10)
                                                                                                                                                                                                                                                                                                                                                                                                      (-
                                                                                                                                                                                                                                                                                                                                                                                                       (* (- (* y0 c) (* a y1)) t_2)
                                                                                                                                                                                                                                                                                                                                                                                                       (- (* t_17 (- (* y4 c) (* a y5))) (* (- (* y1 y4) (* y5 y0)) t_4))))
                                                                                                                                                                                                                                                                                                                                                                                                     (if (< y4 -1.2000065055686116e-105)
                                                                                                                                                                                                                                                                                                                                                                                                       t_16
                                                                                                                                                                                                                                                                                                                                                                                                       (if (< y4 6.718963124057495e-279)
                                                                                                                                                                                                                                                                                                                                                                                                         t_15
                                                                                                                                                                                                                                                                                                                                                                                                         (if (< y4 4.77962681403792e-222)
                                                                                                                                                                                                                                                                                                                                                                                                           t_16
                                                                                                                                                                                                                                                                                                                                                                                                           (if (< y4 2.2852241541266835e-175)
                                                                                                                                                                                                                                                                                                                                                                                                             t_15
                                                                                                                                                                                                                                                                                                                                                                                                             (+
                                                                                                                                                                                                                                                                                                                                                                                                              (-
                                                                                                                                                                                                                                                                                                                                                                                                               (+
                                                                                                                                                                                                                                                                                                                                                                                                                (+
                                                                                                                                                                                                                                                                                                                                                                                                                 (-
                                                                                                                                                                                                                                                                                                                                                                                                                  (* (- (* x y) (* z t)) (- (* a b) (* c i)))
                                                                                                                                                                                                                                                                                                                                                                                                                  (-
                                                                                                                                                                                                                                                                                                                                                                                                                   (* k (* i (* z y1)))
                                                                                                                                                                                                                                                                                                                                                                                                                   (+ (* j (* i (* x y1))) (* y0 (* k (* z b))))))
                                                                                                                                                                                                                                                                                                                                                                                                                 (-
                                                                                                                                                                                                                                                                                                                                                                                                                  (* z (* y3 (* a y1)))
                                                                                                                                                                                                                                                                                                                                                                                                                  (+ (* y2 (* x (* a y1))) (* y0 (* z (* c y3))))))
                                                                                                                                                                                                                                                                                                                                                                                                                (* (- (* t j) (* y k)) t_5))
                                                                                                                                                                                                                                                                                                                                                                                                               (* t_17 t_1))
                                                                                                                                                                                                                                                                                                                                                                                                              t_13)))))))))
                                                                                                                                                                                                                                                                                                                                                                                              double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                              	double t_1 = (y4 * c) - (y5 * a);
                                                                                                                                                                                                                                                                                                                                                                                              	double t_2 = (x * y2) - (z * y3);
                                                                                                                                                                                                                                                                                                                                                                                              	double t_3 = (y2 * t) - (y3 * y);
                                                                                                                                                                                                                                                                                                                                                                                              	double t_4 = (k * y2) - (j * y3);
                                                                                                                                                                                                                                                                                                                                                                                              	double t_5 = (y4 * b) - (y5 * i);
                                                                                                                                                                                                                                                                                                                                                                                              	double t_6 = ((j * t) - (k * y)) * t_5;
                                                                                                                                                                                                                                                                                                                                                                                              	double t_7 = (b * a) - (i * c);
                                                                                                                                                                                                                                                                                                                                                                                              	double t_8 = t_7 * ((y * x) - (t * z));
                                                                                                                                                                                                                                                                                                                                                                                              	double t_9 = (j * x) - (k * z);
                                                                                                                                                                                                                                                                                                                                                                                              	double t_10 = ((b * y0) - (i * y1)) * t_9;
                                                                                                                                                                                                                                                                                                                                                                                              	double t_11 = t_9 * ((y0 * b) - (i * y1));
                                                                                                                                                                                                                                                                                                                                                                                              	double t_12 = (y4 * y1) - (y5 * y0);
                                                                                                                                                                                                                                                                                                                                                                                              	double t_13 = t_4 * t_12;
                                                                                                                                                                                                                                                                                                                                                                                              	double t_14 = ((y2 * k) - (y3 * j)) * t_12;
                                                                                                                                                                                                                                                                                                                                                                                              	double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
                                                                                                                                                                                                                                                                                                                                                                                              	double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
                                                                                                                                                                                                                                                                                                                                                                                              	double t_17 = (t * y2) - (y * y3);
                                                                                                                                                                                                                                                                                                                                                                                              	double tmp;
                                                                                                                                                                                                                                                                                                                                                                                              	if (y4 < -7.206256231996481e+60) {
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
                                                                                                                                                                                                                                                                                                                                                                                              	} else if (y4 < -3.364603505246317e-66) {
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
                                                                                                                                                                                                                                                                                                                                                                                              	} else if (y4 < -1.2000065055686116e-105) {
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                                                                              	} else if (y4 < 6.718963124057495e-279) {
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                                                                              	} else if (y4 < 4.77962681403792e-222) {
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                                                                              	} else if (y4 < 2.2852241541266835e-175) {
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                                                                              	} else {
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
                                                                                                                                                                                                                                                                                                                                                                                              	}
                                                                                                                                                                                                                                                                                                                                                                                              	return tmp;
                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: z
                                                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: t
                                                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: a
                                                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: b
                                                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: c
                                                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: i
                                                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: j
                                                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: k
                                                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                                                                                                  real(8) :: t_1
                                                                                                                                                                                                                                                                                                                                                                                                  real(8) :: t_10
                                                                                                                                                                                                                                                                                                                                                                                                  real(8) :: t_11
                                                                                                                                                                                                                                                                                                                                                                                                  real(8) :: t_12
                                                                                                                                                                                                                                                                                                                                                                                                  real(8) :: t_13
                                                                                                                                                                                                                                                                                                                                                                                                  real(8) :: t_14
                                                                                                                                                                                                                                                                                                                                                                                                  real(8) :: t_15
                                                                                                                                                                                                                                                                                                                                                                                                  real(8) :: t_16
                                                                                                                                                                                                                                                                                                                                                                                                  real(8) :: t_17
                                                                                                                                                                                                                                                                                                                                                                                                  real(8) :: t_2
                                                                                                                                                                                                                                                                                                                                                                                                  real(8) :: t_3
                                                                                                                                                                                                                                                                                                                                                                                                  real(8) :: t_4
                                                                                                                                                                                                                                                                                                                                                                                                  real(8) :: t_5
                                                                                                                                                                                                                                                                                                                                                                                                  real(8) :: t_6
                                                                                                                                                                                                                                                                                                                                                                                                  real(8) :: t_7
                                                                                                                                                                                                                                                                                                                                                                                                  real(8) :: t_8
                                                                                                                                                                                                                                                                                                                                                                                                  real(8) :: t_9
                                                                                                                                                                                                                                                                                                                                                                                                  real(8) :: tmp
                                                                                                                                                                                                                                                                                                                                                                                                  t_1 = (y4 * c) - (y5 * a)
                                                                                                                                                                                                                                                                                                                                                                                                  t_2 = (x * y2) - (z * y3)
                                                                                                                                                                                                                                                                                                                                                                                                  t_3 = (y2 * t) - (y3 * y)
                                                                                                                                                                                                                                                                                                                                                                                                  t_4 = (k * y2) - (j * y3)
                                                                                                                                                                                                                                                                                                                                                                                                  t_5 = (y4 * b) - (y5 * i)
                                                                                                                                                                                                                                                                                                                                                                                                  t_6 = ((j * t) - (k * y)) * t_5
                                                                                                                                                                                                                                                                                                                                                                                                  t_7 = (b * a) - (i * c)
                                                                                                                                                                                                                                                                                                                                                                                                  t_8 = t_7 * ((y * x) - (t * z))
                                                                                                                                                                                                                                                                                                                                                                                                  t_9 = (j * x) - (k * z)
                                                                                                                                                                                                                                                                                                                                                                                                  t_10 = ((b * y0) - (i * y1)) * t_9
                                                                                                                                                                                                                                                                                                                                                                                                  t_11 = t_9 * ((y0 * b) - (i * y1))
                                                                                                                                                                                                                                                                                                                                                                                                  t_12 = (y4 * y1) - (y5 * y0)
                                                                                                                                                                                                                                                                                                                                                                                                  t_13 = t_4 * t_12
                                                                                                                                                                                                                                                                                                                                                                                                  t_14 = ((y2 * k) - (y3 * j)) * t_12
                                                                                                                                                                                                                                                                                                                                                                                                  t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))))
                                                                                                                                                                                                                                                                                                                                                                                                  t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)))
                                                                                                                                                                                                                                                                                                                                                                                                  t_17 = (t * y2) - (y * y3)
                                                                                                                                                                                                                                                                                                                                                                                                  if (y4 < (-7.206256231996481d+60)) then
                                                                                                                                                                                                                                                                                                                                                                                                      tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0d0 / t_1)) - t_14)
                                                                                                                                                                                                                                                                                                                                                                                                  else if (y4 < (-3.364603505246317d-66)) then
                                                                                                                                                                                                                                                                                                                                                                                                      tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)))
                                                                                                                                                                                                                                                                                                                                                                                                  else if (y4 < (-1.2000065055686116d-105)) then
                                                                                                                                                                                                                                                                                                                                                                                                      tmp = t_16
                                                                                                                                                                                                                                                                                                                                                                                                  else if (y4 < 6.718963124057495d-279) then
                                                                                                                                                                                                                                                                                                                                                                                                      tmp = t_15
                                                                                                                                                                                                                                                                                                                                                                                                  else if (y4 < 4.77962681403792d-222) then
                                                                                                                                                                                                                                                                                                                                                                                                      tmp = t_16
                                                                                                                                                                                                                                                                                                                                                                                                  else if (y4 < 2.2852241541266835d-175) then
                                                                                                                                                                                                                                                                                                                                                                                                      tmp = t_15
                                                                                                                                                                                                                                                                                                                                                                                                  else
                                                                                                                                                                                                                                                                                                                                                                                                      tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13
                                                                                                                                                                                                                                                                                                                                                                                                  end if
                                                                                                                                                                                                                                                                                                                                                                                                  code = tmp
                                                                                                                                                                                                                                                                                                                                                                                              end function
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                              	double t_1 = (y4 * c) - (y5 * a);
                                                                                                                                                                                                                                                                                                                                                                                              	double t_2 = (x * y2) - (z * y3);
                                                                                                                                                                                                                                                                                                                                                                                              	double t_3 = (y2 * t) - (y3 * y);
                                                                                                                                                                                                                                                                                                                                                                                              	double t_4 = (k * y2) - (j * y3);
                                                                                                                                                                                                                                                                                                                                                                                              	double t_5 = (y4 * b) - (y5 * i);
                                                                                                                                                                                                                                                                                                                                                                                              	double t_6 = ((j * t) - (k * y)) * t_5;
                                                                                                                                                                                                                                                                                                                                                                                              	double t_7 = (b * a) - (i * c);
                                                                                                                                                                                                                                                                                                                                                                                              	double t_8 = t_7 * ((y * x) - (t * z));
                                                                                                                                                                                                                                                                                                                                                                                              	double t_9 = (j * x) - (k * z);
                                                                                                                                                                                                                                                                                                                                                                                              	double t_10 = ((b * y0) - (i * y1)) * t_9;
                                                                                                                                                                                                                                                                                                                                                                                              	double t_11 = t_9 * ((y0 * b) - (i * y1));
                                                                                                                                                                                                                                                                                                                                                                                              	double t_12 = (y4 * y1) - (y5 * y0);
                                                                                                                                                                                                                                                                                                                                                                                              	double t_13 = t_4 * t_12;
                                                                                                                                                                                                                                                                                                                                                                                              	double t_14 = ((y2 * k) - (y3 * j)) * t_12;
                                                                                                                                                                                                                                                                                                                                                                                              	double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
                                                                                                                                                                                                                                                                                                                                                                                              	double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
                                                                                                                                                                                                                                                                                                                                                                                              	double t_17 = (t * y2) - (y * y3);
                                                                                                                                                                                                                                                                                                                                                                                              	double tmp;
                                                                                                                                                                                                                                                                                                                                                                                              	if (y4 < -7.206256231996481e+60) {
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
                                                                                                                                                                                                                                                                                                                                                                                              	} else if (y4 < -3.364603505246317e-66) {
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
                                                                                                                                                                                                                                                                                                                                                                                              	} else if (y4 < -1.2000065055686116e-105) {
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                                                                              	} else if (y4 < 6.718963124057495e-279) {
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                                                                              	} else if (y4 < 4.77962681403792e-222) {
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                                                                              	} else if (y4 < 2.2852241541266835e-175) {
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                                                                              	} else {
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
                                                                                                                                                                                                                                                                                                                                                                                              	}
                                                                                                                                                                                                                                                                                                                                                                                              	return tmp;
                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                                                                              	t_1 = (y4 * c) - (y5 * a)
                                                                                                                                                                                                                                                                                                                                                                                              	t_2 = (x * y2) - (z * y3)
                                                                                                                                                                                                                                                                                                                                                                                              	t_3 = (y2 * t) - (y3 * y)
                                                                                                                                                                                                                                                                                                                                                                                              	t_4 = (k * y2) - (j * y3)
                                                                                                                                                                                                                                                                                                                                                                                              	t_5 = (y4 * b) - (y5 * i)
                                                                                                                                                                                                                                                                                                                                                                                              	t_6 = ((j * t) - (k * y)) * t_5
                                                                                                                                                                                                                                                                                                                                                                                              	t_7 = (b * a) - (i * c)
                                                                                                                                                                                                                                                                                                                                                                                              	t_8 = t_7 * ((y * x) - (t * z))
                                                                                                                                                                                                                                                                                                                                                                                              	t_9 = (j * x) - (k * z)
                                                                                                                                                                                                                                                                                                                                                                                              	t_10 = ((b * y0) - (i * y1)) * t_9
                                                                                                                                                                                                                                                                                                                                                                                              	t_11 = t_9 * ((y0 * b) - (i * y1))
                                                                                                                                                                                                                                                                                                                                                                                              	t_12 = (y4 * y1) - (y5 * y0)
                                                                                                                                                                                                                                                                                                                                                                                              	t_13 = t_4 * t_12
                                                                                                                                                                                                                                                                                                                                                                                              	t_14 = ((y2 * k) - (y3 * j)) * t_12
                                                                                                                                                                                                                                                                                                                                                                                              	t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))))
                                                                                                                                                                                                                                                                                                                                                                                              	t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)))
                                                                                                                                                                                                                                                                                                                                                                                              	t_17 = (t * y2) - (y * y3)
                                                                                                                                                                                                                                                                                                                                                                                              	tmp = 0
                                                                                                                                                                                                                                                                                                                                                                                              	if y4 < -7.206256231996481e+60:
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14)
                                                                                                                                                                                                                                                                                                                                                                                              	elif y4 < -3.364603505246317e-66:
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)))
                                                                                                                                                                                                                                                                                                                                                                                              	elif y4 < -1.2000065055686116e-105:
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_16
                                                                                                                                                                                                                                                                                                                                                                                              	elif y4 < 6.718963124057495e-279:
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_15
                                                                                                                                                                                                                                                                                                                                                                                              	elif y4 < 4.77962681403792e-222:
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_16
                                                                                                                                                                                                                                                                                                                                                                                              	elif y4 < 2.2852241541266835e-175:
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_15
                                                                                                                                                                                                                                                                                                                                                                                              	else:
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13
                                                                                                                                                                                                                                                                                                                                                                                              	return tmp
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                              	t_1 = Float64(Float64(y4 * c) - Float64(y5 * a))
                                                                                                                                                                                                                                                                                                                                                                                              	t_2 = Float64(Float64(x * y2) - Float64(z * y3))
                                                                                                                                                                                                                                                                                                                                                                                              	t_3 = Float64(Float64(y2 * t) - Float64(y3 * y))
                                                                                                                                                                                                                                                                                                                                                                                              	t_4 = Float64(Float64(k * y2) - Float64(j * y3))
                                                                                                                                                                                                                                                                                                                                                                                              	t_5 = Float64(Float64(y4 * b) - Float64(y5 * i))
                                                                                                                                                                                                                                                                                                                                                                                              	t_6 = Float64(Float64(Float64(j * t) - Float64(k * y)) * t_5)
                                                                                                                                                                                                                                                                                                                                                                                              	t_7 = Float64(Float64(b * a) - Float64(i * c))
                                                                                                                                                                                                                                                                                                                                                                                              	t_8 = Float64(t_7 * Float64(Float64(y * x) - Float64(t * z)))
                                                                                                                                                                                                                                                                                                                                                                                              	t_9 = Float64(Float64(j * x) - Float64(k * z))
                                                                                                                                                                                                                                                                                                                                                                                              	t_10 = Float64(Float64(Float64(b * y0) - Float64(i * y1)) * t_9)
                                                                                                                                                                                                                                                                                                                                                                                              	t_11 = Float64(t_9 * Float64(Float64(y0 * b) - Float64(i * y1)))
                                                                                                                                                                                                                                                                                                                                                                                              	t_12 = Float64(Float64(y4 * y1) - Float64(y5 * y0))
                                                                                                                                                                                                                                                                                                                                                                                              	t_13 = Float64(t_4 * t_12)
                                                                                                                                                                                                                                                                                                                                                                                              	t_14 = Float64(Float64(Float64(y2 * k) - Float64(y3 * j)) * t_12)
                                                                                                                                                                                                                                                                                                                                                                                              	t_15 = Float64(Float64(Float64(Float64(Float64(Float64(k * y) * Float64(y5 * i)) - Float64(Float64(y * b) * Float64(y4 * k))) - Float64(Float64(y5 * t) * Float64(i * j))) - Float64(Float64(t_3 * t_1) - t_14)) + Float64(t_8 - Float64(t_11 - Float64(Float64(Float64(y2 * x) - Float64(y3 * z)) * Float64(Float64(c * y0) - Float64(y1 * a))))))
                                                                                                                                                                                                                                                                                                                                                                                              	t_16 = Float64(Float64(Float64(t_6 - Float64(Float64(y3 * y) * Float64(Float64(y5 * a) - Float64(y4 * c)))) + Float64(Float64(Float64(y5 * a) * Float64(t * y2)) + t_13)) + Float64(Float64(t_2 * Float64(Float64(c * y0) - Float64(a * y1))) - Float64(t_10 - Float64(Float64(Float64(y * x) - Float64(z * t)) * t_7))))
                                                                                                                                                                                                                                                                                                                                                                                              	t_17 = Float64(Float64(t * y2) - Float64(y * y3))
                                                                                                                                                                                                                                                                                                                                                                                              	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                                                                              	if (y4 < -7.206256231996481e+60)
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = Float64(Float64(t_8 - Float64(t_11 - t_6)) - Float64(Float64(t_3 / Float64(1.0 / t_1)) - t_14));
                                                                                                                                                                                                                                                                                                                                                                                              	elseif (y4 < -3.364603505246317e-66)
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = Float64(Float64(Float64(Float64(Float64(Float64(t * c) * Float64(i * z)) - Float64(Float64(a * t) * Float64(b * z))) - Float64(Float64(y * c) * Float64(i * x))) - t_10) + Float64(Float64(Float64(Float64(y0 * c) - Float64(a * y1)) * t_2) - Float64(Float64(t_17 * Float64(Float64(y4 * c) - Float64(a * y5))) - Float64(Float64(Float64(y1 * y4) - Float64(y5 * y0)) * t_4))));
                                                                                                                                                                                                                                                                                                                                                                                              	elseif (y4 < -1.2000065055686116e-105)
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                                                                              	elseif (y4 < 6.718963124057495e-279)
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                                                                              	elseif (y4 < 4.77962681403792e-222)
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                                                                              	elseif (y4 < 2.2852241541266835e-175)
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                                                                              	else
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(k * Float64(i * Float64(z * y1))) - Float64(Float64(j * Float64(i * Float64(x * y1))) + Float64(y0 * Float64(k * Float64(z * b)))))) + Float64(Float64(z * Float64(y3 * Float64(a * y1))) - Float64(Float64(y2 * Float64(x * Float64(a * y1))) + Float64(y0 * Float64(z * Float64(c * y3)))))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * t_5)) - Float64(t_17 * t_1)) + t_13);
                                                                                                                                                                                                                                                                                                                                                                                              	end
                                                                                                                                                                                                                                                                                                                                                                                              	return tmp
                                                                                                                                                                                                                                                                                                                                                                                              end
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                              	t_1 = (y4 * c) - (y5 * a);
                                                                                                                                                                                                                                                                                                                                                                                              	t_2 = (x * y2) - (z * y3);
                                                                                                                                                                                                                                                                                                                                                                                              	t_3 = (y2 * t) - (y3 * y);
                                                                                                                                                                                                                                                                                                                                                                                              	t_4 = (k * y2) - (j * y3);
                                                                                                                                                                                                                                                                                                                                                                                              	t_5 = (y4 * b) - (y5 * i);
                                                                                                                                                                                                                                                                                                                                                                                              	t_6 = ((j * t) - (k * y)) * t_5;
                                                                                                                                                                                                                                                                                                                                                                                              	t_7 = (b * a) - (i * c);
                                                                                                                                                                                                                                                                                                                                                                                              	t_8 = t_7 * ((y * x) - (t * z));
                                                                                                                                                                                                                                                                                                                                                                                              	t_9 = (j * x) - (k * z);
                                                                                                                                                                                                                                                                                                                                                                                              	t_10 = ((b * y0) - (i * y1)) * t_9;
                                                                                                                                                                                                                                                                                                                                                                                              	t_11 = t_9 * ((y0 * b) - (i * y1));
                                                                                                                                                                                                                                                                                                                                                                                              	t_12 = (y4 * y1) - (y5 * y0);
                                                                                                                                                                                                                                                                                                                                                                                              	t_13 = t_4 * t_12;
                                                                                                                                                                                                                                                                                                                                                                                              	t_14 = ((y2 * k) - (y3 * j)) * t_12;
                                                                                                                                                                                                                                                                                                                                                                                              	t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
                                                                                                                                                                                                                                                                                                                                                                                              	t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
                                                                                                                                                                                                                                                                                                                                                                                              	t_17 = (t * y2) - (y * y3);
                                                                                                                                                                                                                                                                                                                                                                                              	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                                                                                              	if (y4 < -7.206256231996481e+60)
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
                                                                                                                                                                                                                                                                                                                                                                                              	elseif (y4 < -3.364603505246317e-66)
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
                                                                                                                                                                                                                                                                                                                                                                                              	elseif (y4 < -1.2000065055686116e-105)
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                                                                              	elseif (y4 < 6.718963124057495e-279)
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                                                                              	elseif (y4 < 4.77962681403792e-222)
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                                                                              	elseif (y4 < 2.2852241541266835e-175)
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                                                                              	else
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
                                                                                                                                                                                                                                                                                                                                                                                              	end
                                                                                                                                                                                                                                                                                                                                                                                              	tmp_2 = tmp;
                                                                                                                                                                                                                                                                                                                                                                                              end
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]}, Block[{t$95$7 = N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(t$95$7 * N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * t$95$9), $MachinePrecision]}, Block[{t$95$11 = N[(t$95$9 * N[(N[(y0 * b), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$12 = N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$13 = N[(t$95$4 * t$95$12), $MachinePrecision]}, Block[{t$95$14 = N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * t$95$12), $MachinePrecision]}, Block[{t$95$15 = N[(N[(N[(N[(N[(N[(k * y), $MachinePrecision] * N[(y5 * i), $MachinePrecision]), $MachinePrecision] - N[(N[(y * b), $MachinePrecision] * N[(y4 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y5 * t), $MachinePrecision] * N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 * t$95$1), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision] + N[(t$95$8 - N[(t$95$11 - N[(N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$16 = N[(N[(N[(t$95$6 - N[(N[(y3 * y), $MachinePrecision] * N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y5 * a), $MachinePrecision] * N[(t * y2), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]), $MachinePrecision] + N[(N[(t$95$2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t$95$10 - N[(N[(N[(y * x), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$17 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, If[Less[y4, -7.206256231996481e+60], N[(N[(t$95$8 - N[(t$95$11 - t$95$6), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 / N[(1.0 / t$95$1), $MachinePrecision]), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision], If[Less[y4, -3.364603505246317e-66], N[(N[(N[(N[(N[(N[(t * c), $MachinePrecision] * N[(i * z), $MachinePrecision]), $MachinePrecision] - N[(N[(a * t), $MachinePrecision] * N[(b * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y * c), $MachinePrecision] * N[(i * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t$95$10), $MachinePrecision] + N[(N[(N[(N[(y0 * c), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision] - N[(N[(t$95$17 * N[(N[(y4 * c), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y1 * y4), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Less[y4, -1.2000065055686116e-105], t$95$16, If[Less[y4, 6.718963124057495e-279], t$95$15, If[Less[y4, 4.77962681403792e-222], t$95$16, If[Less[y4, 2.2852241541266835e-175], t$95$15, N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(k * N[(i * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(j * N[(i * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(k * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(y3 * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y2 * N[(x * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(z * N[(c * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]), $MachinePrecision] - N[(t$95$17 * t$95$1), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]]]
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              \\
                                                                                                                                                                                                                                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                              t_1 := y4 \cdot c - y5 \cdot a\\
                                                                                                                                                                                                                                                                                                                                                                                              t_2 := x \cdot y2 - z \cdot y3\\
                                                                                                                                                                                                                                                                                                                                                                                              t_3 := y2 \cdot t - y3 \cdot y\\
                                                                                                                                                                                                                                                                                                                                                                                              t_4 := k \cdot y2 - j \cdot y3\\
                                                                                                                                                                                                                                                                                                                                                                                              t_5 := y4 \cdot b - y5 \cdot i\\
                                                                                                                                                                                                                                                                                                                                                                                              t_6 := \left(j \cdot t - k \cdot y\right) \cdot t\_5\\
                                                                                                                                                                                                                                                                                                                                                                                              t_7 := b \cdot a - i \cdot c\\
                                                                                                                                                                                                                                                                                                                                                                                              t_8 := t\_7 \cdot \left(y \cdot x - t \cdot z\right)\\
                                                                                                                                                                                                                                                                                                                                                                                              t_9 := j \cdot x - k \cdot z\\
                                                                                                                                                                                                                                                                                                                                                                                              t_10 := \left(b \cdot y0 - i \cdot y1\right) \cdot t\_9\\
                                                                                                                                                                                                                                                                                                                                                                                              t_11 := t\_9 \cdot \left(y0 \cdot b - i \cdot y1\right)\\
                                                                                                                                                                                                                                                                                                                                                                                              t_12 := y4 \cdot y1 - y5 \cdot y0\\
                                                                                                                                                                                                                                                                                                                                                                                              t_13 := t\_4 \cdot t\_12\\
                                                                                                                                                                                                                                                                                                                                                                                              t_14 := \left(y2 \cdot k - y3 \cdot j\right) \cdot t\_12\\
                                                                                                                                                                                                                                                                                                                                                                                              t_15 := \left(\left(\left(\left(k \cdot y\right) \cdot \left(y5 \cdot i\right) - \left(y \cdot b\right) \cdot \left(y4 \cdot k\right)\right) - \left(y5 \cdot t\right) \cdot \left(i \cdot j\right)\right) - \left(t\_3 \cdot t\_1 - t\_14\right)\right) + \left(t\_8 - \left(t\_11 - \left(y2 \cdot x - y3 \cdot z\right) \cdot \left(c \cdot y0 - y1 \cdot a\right)\right)\right)\\
                                                                                                                                                                                                                                                                                                                                                                                              t_16 := \left(\left(t\_6 - \left(y3 \cdot y\right) \cdot \left(y5 \cdot a - y4 \cdot c\right)\right) + \left(\left(y5 \cdot a\right) \cdot \left(t \cdot y2\right) + t\_13\right)\right) + \left(t\_2 \cdot \left(c \cdot y0 - a \cdot y1\right) - \left(t\_10 - \left(y \cdot x - z \cdot t\right) \cdot t\_7\right)\right)\\
                                                                                                                                                                                                                                                                                                                                                                                              t_17 := t \cdot y2 - y \cdot y3\\
                                                                                                                                                                                                                                                                                                                                                                                              \mathbf{if}\;y4 < -7.206256231996481 \cdot 10^{+60}:\\
                                                                                                                                                                                                                                                                                                                                                                                              \;\;\;\;\left(t\_8 - \left(t\_11 - t\_6\right)\right) - \left(\frac{t\_3}{\frac{1}{t\_1}} - t\_14\right)\\
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              \mathbf{elif}\;y4 < -3.364603505246317 \cdot 10^{-66}:\\
                                                                                                                                                                                                                                                                                                                                                                                              \;\;\;\;\left(\left(\left(\left(t \cdot c\right) \cdot \left(i \cdot z\right) - \left(a \cdot t\right) \cdot \left(b \cdot z\right)\right) - \left(y \cdot c\right) \cdot \left(i \cdot x\right)\right) - t\_10\right) + \left(\left(y0 \cdot c - a \cdot y1\right) \cdot t\_2 - \left(t\_17 \cdot \left(y4 \cdot c - a \cdot y5\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot t\_4\right)\right)\\
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              \mathbf{elif}\;y4 < -1.2000065055686116 \cdot 10^{-105}:\\
                                                                                                                                                                                                                                                                                                                                                                                              \;\;\;\;t\_16\\
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              \mathbf{elif}\;y4 < 6.718963124057495 \cdot 10^{-279}:\\
                                                                                                                                                                                                                                                                                                                                                                                              \;\;\;\;t\_15\\
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              \mathbf{elif}\;y4 < 4.77962681403792 \cdot 10^{-222}:\\
                                                                                                                                                                                                                                                                                                                                                                                              \;\;\;\;t\_16\\
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              \mathbf{elif}\;y4 < 2.2852241541266835 \cdot 10^{-175}:\\
                                                                                                                                                                                                                                                                                                                                                                                              \;\;\;\;t\_15\\
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                                                                              \;\;\;\;\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(k \cdot \left(i \cdot \left(z \cdot y1\right)\right) - \left(j \cdot \left(i \cdot \left(x \cdot y1\right)\right) + y0 \cdot \left(k \cdot \left(z \cdot b\right)\right)\right)\right)\right) + \left(z \cdot \left(y3 \cdot \left(a \cdot y1\right)\right) - \left(y2 \cdot \left(x \cdot \left(a \cdot y1\right)\right) + y0 \cdot \left(z \cdot \left(c \cdot y3\right)\right)\right)\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot t\_5\right) - t\_17 \cdot t\_1\right) + t\_13\\
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              \end{array}
                                                                                                                                                                                                                                                                                                                                                                                              \end{array}
                                                                                                                                                                                                                                                                                                                                                                                              

                                                                                                                                                                                                                                                                                                                                                                                              Reproduce

                                                                                                                                                                                                                                                                                                                                                                                              ?
                                                                                                                                                                                                                                                                                                                                                                                              herbie shell --seed 2024294 
                                                                                                                                                                                                                                                                                                                                                                                              (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)))))