Linear.Matrix:det44 from linear-1.19.1.3

Percentage Accurate: 30.1% → 43.6%
Time: 35.5s
Alternatives: 30
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 30 alternatives:

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

Initial Program: 30.1% accurate, 1.0× speedup?

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

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

Alternative 1: 43.6% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := z \cdot y3 - x \cdot y2\\ t_2 := t \cdot y2 - y \cdot y3\\ t_3 := y1 \cdot y4 - y0 \cdot y5\\ t_4 := y2 \cdot \mathsf{fma}\left(k, t\_3, \mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)\\ t_5 := x \cdot y - z \cdot t\\ \mathbf{if}\;y2 \leq -2.5 \cdot 10^{+167}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;y2 \leq -1.22 \cdot 10^{+70}:\\ \;\;\;\;-c \cdot \mathsf{fma}\left(y0, t\_1, \mathsf{fma}\left(i, t\_5, y4 \cdot t\_2\right)\right)\\ \mathbf{elif}\;y2 \leq -3.1 \cdot 10^{-127}:\\ \;\;\;\;y1 \cdot \mathsf{fma}\left(a, t\_1, \mathsf{fma}\left(y4, \mathsf{fma}\left(k, y2, y3 \cdot \left(-j\right)\right), i \cdot \left(x \cdot j - z \cdot k\right)\right)\right)\\ \mathbf{elif}\;y2 \leq 1.3 \cdot 10^{-305}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(y1, t\_1, \mathsf{fma}\left(b, t\_5, y5 \cdot t\_2\right)\right)\\ \mathbf{elif}\;y2 \leq 3.6 \cdot 10^{+43}:\\ \;\;\;\;k \cdot \mathsf{fma}\left(i \cdot \left(\frac{b \cdot y4}{i} - y5\right), -y, \mathsf{fma}\left(y2, t\_3, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_4\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (- (* z y3) (* x y2)))
        (t_2 (- (* t y2) (* y y3)))
        (t_3 (- (* y1 y4) (* y0 y5)))
        (t_4
         (*
          y2
          (fma
           k
           t_3
           (fma (- (* c y0) (* a y1)) x (* t (- (* a y5) (* c y4)))))))
        (t_5 (- (* x y) (* z t))))
   (if (<= y2 -2.5e+167)
     t_4
     (if (<= y2 -1.22e+70)
       (- (* c (fma y0 t_1 (fma i t_5 (* y4 t_2)))))
       (if (<= y2 -3.1e-127)
         (*
          y1
          (fma
           a
           t_1
           (fma y4 (fma k y2 (* y3 (- j))) (* i (- (* x j) (* z k))))))
         (if (<= y2 1.3e-305)
           (* a (fma y1 t_1 (fma b t_5 (* y5 t_2))))
           (if (<= y2 3.6e+43)
             (*
              k
              (fma
               (* i (- (/ (* b y4) i) y5))
               (- y)
               (fma y2 t_3 (* z (- (* b y0) (* i y1))))))
             t_4)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (z * y3) - (x * y2);
	double t_2 = (t * y2) - (y * y3);
	double t_3 = (y1 * y4) - (y0 * y5);
	double t_4 = y2 * fma(k, t_3, fma(((c * y0) - (a * y1)), x, (t * ((a * y5) - (c * y4)))));
	double t_5 = (x * y) - (z * t);
	double tmp;
	if (y2 <= -2.5e+167) {
		tmp = t_4;
	} else if (y2 <= -1.22e+70) {
		tmp = -(c * fma(y0, t_1, fma(i, t_5, (y4 * t_2))));
	} else if (y2 <= -3.1e-127) {
		tmp = y1 * fma(a, t_1, fma(y4, fma(k, y2, (y3 * -j)), (i * ((x * j) - (z * k)))));
	} else if (y2 <= 1.3e-305) {
		tmp = a * fma(y1, t_1, fma(b, t_5, (y5 * t_2)));
	} else if (y2 <= 3.6e+43) {
		tmp = k * fma((i * (((b * y4) / i) - y5)), -y, fma(y2, t_3, (z * ((b * y0) - (i * y1)))));
	} else {
		tmp = t_4;
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(z * y3) - Float64(x * y2))
	t_2 = Float64(Float64(t * y2) - Float64(y * y3))
	t_3 = Float64(Float64(y1 * y4) - Float64(y0 * y5))
	t_4 = Float64(y2 * fma(k, t_3, fma(Float64(Float64(c * y0) - Float64(a * y1)), x, Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))))
	t_5 = Float64(Float64(x * y) - Float64(z * t))
	tmp = 0.0
	if (y2 <= -2.5e+167)
		tmp = t_4;
	elseif (y2 <= -1.22e+70)
		tmp = Float64(-Float64(c * fma(y0, t_1, fma(i, t_5, Float64(y4 * t_2)))));
	elseif (y2 <= -3.1e-127)
		tmp = Float64(y1 * fma(a, t_1, fma(y4, fma(k, y2, Float64(y3 * Float64(-j))), Float64(i * Float64(Float64(x * j) - Float64(z * k))))));
	elseif (y2 <= 1.3e-305)
		tmp = Float64(a * fma(y1, t_1, fma(b, t_5, Float64(y5 * t_2))));
	elseif (y2 <= 3.6e+43)
		tmp = Float64(k * fma(Float64(i * Float64(Float64(Float64(b * y4) / i) - y5)), Float64(-y), fma(y2, t_3, Float64(z * Float64(Float64(b * y0) - Float64(i * y1))))));
	else
		tmp = t_4;
	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[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y2 * N[(k * t$95$3 + N[(N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * x + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -2.5e+167], t$95$4, If[LessEqual[y2, -1.22e+70], (-N[(c * N[(y0 * t$95$1 + N[(i * t$95$5 + N[(y4 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), If[LessEqual[y2, -3.1e-127], N[(y1 * N[(a * t$95$1 + N[(y4 * N[(k * y2 + N[(y3 * (-j)), $MachinePrecision]), $MachinePrecision] + N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.3e-305], N[(a * N[(y1 * t$95$1 + N[(b * t$95$5 + N[(y5 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.6e+43], N[(k * N[(N[(i * N[(N[(N[(b * y4), $MachinePrecision] / i), $MachinePrecision] - y5), $MachinePrecision]), $MachinePrecision] * (-y) + N[(y2 * t$95$3 + N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$4]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := z \cdot y3 - x \cdot y2\\
t_2 := t \cdot y2 - y \cdot y3\\
t_3 := y1 \cdot y4 - y0 \cdot y5\\
t_4 := y2 \cdot \mathsf{fma}\left(k, t\_3, \mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)\\
t_5 := x \cdot y - z \cdot t\\
\mathbf{if}\;y2 \leq -2.5 \cdot 10^{+167}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;y2 \leq -1.22 \cdot 10^{+70}:\\
\;\;\;\;-c \cdot \mathsf{fma}\left(y0, t\_1, \mathsf{fma}\left(i, t\_5, y4 \cdot t\_2\right)\right)\\

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

\mathbf{elif}\;y2 \leq 1.3 \cdot 10^{-305}:\\
\;\;\;\;a \cdot \mathsf{fma}\left(y1, t\_1, \mathsf{fma}\left(b, t\_5, y5 \cdot t\_2\right)\right)\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y2 < -2.4999999999999998e167 or 3.6000000000000001e43 < y2

    1. Initial program 22.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. *-lowering-*.f64N/A

        \[\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)} \]
      2. associate--l+N/A

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

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

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, \color{blue}{y1 \cdot y4 - y0 \cdot y5}, x \cdot \left(c \cdot y0 - a \cdot y1\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, \color{blue}{y1 \cdot y4} - y0 \cdot y5, x \cdot \left(c \cdot y0 - a \cdot y1\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. *-lowering-*.f64N/A

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

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{x \cdot \left(c \cdot y0 - a \cdot y1\right) + \left(\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)}\right) \]
      8. *-commutativeN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + \left(\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \left(c \cdot y0 - a \cdot y1\right) \cdot x + \color{blue}{-1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)}\right) \]
      10. accelerator-lowering-fma.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)}\right) \]
      11. --lowering--.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      12. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      13. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      14. mul-1-negN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)}\right)\right) \]
      15. *-commutativeN/A

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

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

    if -2.4999999999999998e167 < y2 < -1.22e70

    1. Initial program 31.8%

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

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

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

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

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

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

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot \left(-1 \cdot c\right)} \]
    5. Simplified73.2%

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

    if -1.22e70 < y2 < -3.1e-127

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto y1 \cdot \color{blue}{\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right) - \left(\mathsf{neg}\left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto y1 \cdot \left(\color{blue}{\left(\mathsf{neg}\left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right) - \left(\mathsf{neg}\left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)\right)\right) \]
      5. distribute-rgt-neg-inN/A

        \[\leadsto y1 \cdot \left(\color{blue}{a \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right) - \left(\mathsf{neg}\left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)\right)\right) \]
      6. accelerator-lowering-fma.f64N/A

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

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

    if -3.1e-127 < y2 < 1.3000000000000001e-305

    1. Initial program 33.4%

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
    5. Simplified53.2%

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

    if 1.3000000000000001e-305 < y2 < 3.6000000000000001e43

    1. Initial program 34.4%

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

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \mathsf{fma}\left(\color{blue}{i \cdot \left(\frac{b \cdot y4}{i} - y5\right)}, \mathsf{neg}\left(y\right), \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \mathsf{fma}\left(\color{blue}{i \cdot \left(\frac{b \cdot y4}{i} - y5\right)}, \mathsf{neg}\left(y\right), \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      2. --lowering--.f64N/A

        \[\leadsto k \cdot \mathsf{fma}\left(i \cdot \color{blue}{\left(\frac{b \cdot y4}{i} - y5\right)}, \mathsf{neg}\left(y\right), \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      3. /-lowering-/.f64N/A

        \[\leadsto k \cdot \mathsf{fma}\left(i \cdot \left(\color{blue}{\frac{b \cdot y4}{i}} - y5\right), \mathsf{neg}\left(y\right), \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto k \cdot \mathsf{fma}\left(i \cdot \left(\frac{\color{blue}{y4 \cdot b}}{i} - y5\right), \mathsf{neg}\left(y\right), \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. *-lowering-*.f6452.6

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -2.5 \cdot 10^{+167}:\\ \;\;\;\;y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)\\ \mathbf{elif}\;y2 \leq -1.22 \cdot 10^{+70}:\\ \;\;\;\;-c \cdot \mathsf{fma}\left(y0, z \cdot y3 - x \cdot y2, \mathsf{fma}\left(i, x \cdot y - z \cdot t, y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\\ \mathbf{elif}\;y2 \leq -3.1 \cdot 10^{-127}:\\ \;\;\;\;y1 \cdot \mathsf{fma}\left(a, z \cdot y3 - x \cdot y2, \mathsf{fma}\left(y4, \mathsf{fma}\left(k, y2, y3 \cdot \left(-j\right)\right), i \cdot \left(x \cdot j - z \cdot k\right)\right)\right)\\ \mathbf{elif}\;y2 \leq 1.3 \cdot 10^{-305}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(y1, z \cdot y3 - x \cdot y2, \mathsf{fma}\left(b, x \cdot y - z \cdot t, y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\\ \mathbf{elif}\;y2 \leq 3.6 \cdot 10^{+43}:\\ \;\;\;\;k \cdot \mathsf{fma}\left(i \cdot \left(\frac{b \cdot y4}{i} - y5\right), -y, \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 2: 55.4% accurate, 0.5× speedup?

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

\\
\begin{array}{l}
t_1 := t \cdot y2 - y \cdot y3\\
t_2 := z \cdot y3 - x \cdot y2\\
t_3 := x \cdot y - z \cdot t\\
t_4 := \left(\left(\left(t \cdot j - y \cdot k\right) \cdot \left(b \cdot y4 - i \cdot y5\right) - \left(t\_2 \cdot \left(c \cdot y0 - a \cdot y1\right) + \left(\left(x \cdot j - z \cdot k\right) \cdot \left(b \cdot y0 - i \cdot y1\right) + t\_3 \cdot \left(c \cdot i - a \cdot b\right)\right)\right)\right) + t\_1 \cdot \left(a \cdot y5 - c \cdot y4\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{if}\;t\_4 \leq \infty:\\
\;\;\;\;t\_4\\

\mathbf{else}:\\
\;\;\;\;-c \cdot \mathsf{fma}\left(y0, t\_2, \mathsf{fma}\left(i, t\_3, y4 \cdot t\_1\right)\right)\\


\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.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

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

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

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

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

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

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

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot \left(-1 \cdot c\right)} \]
    5. Simplified46.3%

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

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

Alternative 3: 43.6% accurate, 2.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := z \cdot y3 - x \cdot y2\\ t_2 := t \cdot y2 - y \cdot y3\\ t_3 := y1 \cdot y4 - y0 \cdot y5\\ t_4 := y2 \cdot \mathsf{fma}\left(k, t\_3, \mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)\\ t_5 := x \cdot y - z \cdot t\\ \mathbf{if}\;y2 \leq -2.3 \cdot 10^{+167}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;y2 \leq -8 \cdot 10^{+70}:\\ \;\;\;\;-c \cdot \mathsf{fma}\left(y0, t\_1, \mathsf{fma}\left(i, t\_5, y4 \cdot t\_2\right)\right)\\ \mathbf{elif}\;y2 \leq -1.3 \cdot 10^{-127}:\\ \;\;\;\;y1 \cdot \mathsf{fma}\left(a, t\_1, \mathsf{fma}\left(y4, \mathsf{fma}\left(k, y2, y3 \cdot \left(-j\right)\right), i \cdot \left(x \cdot j - z \cdot k\right)\right)\right)\\ \mathbf{elif}\;y2 \leq 2.3 \cdot 10^{-306}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(y1, t\_1, \mathsf{fma}\left(b, t\_5, y5 \cdot t\_2\right)\right)\\ \mathbf{elif}\;y2 \leq 8.6 \cdot 10^{+19}:\\ \;\;\;\;k \cdot \mathsf{fma}\left(b \cdot y4 - i \cdot y5, -y, \mathsf{fma}\left(y2, t\_3, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_4\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (- (* z y3) (* x y2)))
        (t_2 (- (* t y2) (* y y3)))
        (t_3 (- (* y1 y4) (* y0 y5)))
        (t_4
         (*
          y2
          (fma
           k
           t_3
           (fma (- (* c y0) (* a y1)) x (* t (- (* a y5) (* c y4)))))))
        (t_5 (- (* x y) (* z t))))
   (if (<= y2 -2.3e+167)
     t_4
     (if (<= y2 -8e+70)
       (- (* c (fma y0 t_1 (fma i t_5 (* y4 t_2)))))
       (if (<= y2 -1.3e-127)
         (*
          y1
          (fma
           a
           t_1
           (fma y4 (fma k y2 (* y3 (- j))) (* i (- (* x j) (* z k))))))
         (if (<= y2 2.3e-306)
           (* a (fma y1 t_1 (fma b t_5 (* y5 t_2))))
           (if (<= y2 8.6e+19)
             (*
              k
              (fma
               (- (* b y4) (* i y5))
               (- y)
               (fma y2 t_3 (* z (- (* b y0) (* i y1))))))
             t_4)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (z * y3) - (x * y2);
	double t_2 = (t * y2) - (y * y3);
	double t_3 = (y1 * y4) - (y0 * y5);
	double t_4 = y2 * fma(k, t_3, fma(((c * y0) - (a * y1)), x, (t * ((a * y5) - (c * y4)))));
	double t_5 = (x * y) - (z * t);
	double tmp;
	if (y2 <= -2.3e+167) {
		tmp = t_4;
	} else if (y2 <= -8e+70) {
		tmp = -(c * fma(y0, t_1, fma(i, t_5, (y4 * t_2))));
	} else if (y2 <= -1.3e-127) {
		tmp = y1 * fma(a, t_1, fma(y4, fma(k, y2, (y3 * -j)), (i * ((x * j) - (z * k)))));
	} else if (y2 <= 2.3e-306) {
		tmp = a * fma(y1, t_1, fma(b, t_5, (y5 * t_2)));
	} else if (y2 <= 8.6e+19) {
		tmp = k * fma(((b * y4) - (i * y5)), -y, fma(y2, t_3, (z * ((b * y0) - (i * y1)))));
	} else {
		tmp = t_4;
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(z * y3) - Float64(x * y2))
	t_2 = Float64(Float64(t * y2) - Float64(y * y3))
	t_3 = Float64(Float64(y1 * y4) - Float64(y0 * y5))
	t_4 = Float64(y2 * fma(k, t_3, fma(Float64(Float64(c * y0) - Float64(a * y1)), x, Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))))
	t_5 = Float64(Float64(x * y) - Float64(z * t))
	tmp = 0.0
	if (y2 <= -2.3e+167)
		tmp = t_4;
	elseif (y2 <= -8e+70)
		tmp = Float64(-Float64(c * fma(y0, t_1, fma(i, t_5, Float64(y4 * t_2)))));
	elseif (y2 <= -1.3e-127)
		tmp = Float64(y1 * fma(a, t_1, fma(y4, fma(k, y2, Float64(y3 * Float64(-j))), Float64(i * Float64(Float64(x * j) - Float64(z * k))))));
	elseif (y2 <= 2.3e-306)
		tmp = Float64(a * fma(y1, t_1, fma(b, t_5, Float64(y5 * t_2))));
	elseif (y2 <= 8.6e+19)
		tmp = Float64(k * fma(Float64(Float64(b * y4) - Float64(i * y5)), Float64(-y), fma(y2, t_3, Float64(z * Float64(Float64(b * y0) - Float64(i * y1))))));
	else
		tmp = t_4;
	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[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y2 * N[(k * t$95$3 + N[(N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * x + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -2.3e+167], t$95$4, If[LessEqual[y2, -8e+70], (-N[(c * N[(y0 * t$95$1 + N[(i * t$95$5 + N[(y4 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), If[LessEqual[y2, -1.3e-127], N[(y1 * N[(a * t$95$1 + N[(y4 * N[(k * y2 + N[(y3 * (-j)), $MachinePrecision]), $MachinePrecision] + N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.3e-306], N[(a * N[(y1 * t$95$1 + N[(b * t$95$5 + N[(y5 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 8.6e+19], N[(k * N[(N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision] * (-y) + N[(y2 * t$95$3 + N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$4]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := z \cdot y3 - x \cdot y2\\
t_2 := t \cdot y2 - y \cdot y3\\
t_3 := y1 \cdot y4 - y0 \cdot y5\\
t_4 := y2 \cdot \mathsf{fma}\left(k, t\_3, \mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)\\
t_5 := x \cdot y - z \cdot t\\
\mathbf{if}\;y2 \leq -2.3 \cdot 10^{+167}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;y2 \leq -8 \cdot 10^{+70}:\\
\;\;\;\;-c \cdot \mathsf{fma}\left(y0, t\_1, \mathsf{fma}\left(i, t\_5, y4 \cdot t\_2\right)\right)\\

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

\mathbf{elif}\;y2 \leq 2.3 \cdot 10^{-306}:\\
\;\;\;\;a \cdot \mathsf{fma}\left(y1, t\_1, \mathsf{fma}\left(b, t\_5, y5 \cdot t\_2\right)\right)\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y2 < -2.29999999999999988e167 or 8.6e19 < y2

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. associate--l+N/A

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

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

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, \color{blue}{y1 \cdot y4 - y0 \cdot y5}, x \cdot \left(c \cdot y0 - a \cdot y1\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, \color{blue}{y1 \cdot y4} - y0 \cdot y5, x \cdot \left(c \cdot y0 - a \cdot y1\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. *-lowering-*.f64N/A

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

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{x \cdot \left(c \cdot y0 - a \cdot y1\right) + \left(\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)}\right) \]
      8. *-commutativeN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + \left(\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \left(c \cdot y0 - a \cdot y1\right) \cdot x + \color{blue}{-1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)}\right) \]
      10. accelerator-lowering-fma.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)}\right) \]
      11. --lowering--.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      12. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      13. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      14. mul-1-negN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)}\right)\right) \]
      15. *-commutativeN/A

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

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

    if -2.29999999999999988e167 < y2 < -8.00000000000000058e70

    1. Initial program 31.8%

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

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

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

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

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

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

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot \left(-1 \cdot c\right)} \]
    5. Simplified73.2%

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

    if -8.00000000000000058e70 < y2 < -1.29999999999999995e-127

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto y1 \cdot \color{blue}{\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right) - \left(\mathsf{neg}\left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto y1 \cdot \left(\color{blue}{\left(\mathsf{neg}\left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right) - \left(\mathsf{neg}\left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)\right)\right) \]
      5. distribute-rgt-neg-inN/A

        \[\leadsto y1 \cdot \left(\color{blue}{a \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right) - \left(\mathsf{neg}\left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)\right)\right) \]
      6. accelerator-lowering-fma.f64N/A

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

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

    if -1.29999999999999995e-127 < y2 < 2.29999999999999989e-306

    1. Initial program 33.4%

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
    5. Simplified53.2%

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

    if 2.29999999999999989e-306 < y2 < 8.6e19

    1. Initial program 34.0%

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

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -2.3 \cdot 10^{+167}:\\ \;\;\;\;y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)\\ \mathbf{elif}\;y2 \leq -8 \cdot 10^{+70}:\\ \;\;\;\;-c \cdot \mathsf{fma}\left(y0, z \cdot y3 - x \cdot y2, \mathsf{fma}\left(i, x \cdot y - z \cdot t, y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\\ \mathbf{elif}\;y2 \leq -1.3 \cdot 10^{-127}:\\ \;\;\;\;y1 \cdot \mathsf{fma}\left(a, z \cdot y3 - x \cdot y2, \mathsf{fma}\left(y4, \mathsf{fma}\left(k, y2, y3 \cdot \left(-j\right)\right), i \cdot \left(x \cdot j - z \cdot k\right)\right)\right)\\ \mathbf{elif}\;y2 \leq 2.3 \cdot 10^{-306}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(y1, z \cdot y3 - x \cdot y2, \mathsf{fma}\left(b, x \cdot y - z \cdot t, y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\\ \mathbf{elif}\;y2 \leq 8.6 \cdot 10^{+19}:\\ \;\;\;\;k \cdot \mathsf{fma}\left(b \cdot y4 - i \cdot y5, -y, \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 4: 42.7% accurate, 2.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y1 \cdot y4 - y0 \cdot y5\\ t_2 := y2 \cdot \mathsf{fma}\left(k, t\_1, \mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)\\ t_3 := z \cdot y3 - x \cdot y2\\ \mathbf{if}\;y2 \leq -2.2 \cdot 10^{+167}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y2 \leq -1.5 \cdot 10^{+77}:\\ \;\;\;\;c \cdot \left(z \cdot \mathsf{fma}\left(i, t, y0 \cdot \left(-y3\right)\right)\right)\\ \mathbf{elif}\;y2 \leq -3.3 \cdot 10^{-131}:\\ \;\;\;\;y1 \cdot \mathsf{fma}\left(a, t\_3, \mathsf{fma}\left(y4, \mathsf{fma}\left(k, y2, y3 \cdot \left(-j\right)\right), i \cdot \left(x \cdot j - z \cdot k\right)\right)\right)\\ \mathbf{elif}\;y2 \leq 7 \cdot 10^{-305}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(y1, t\_3, \mathsf{fma}\left(b, x \cdot y - z \cdot t, y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\\ \mathbf{elif}\;y2 \leq 7.2 \cdot 10^{+17}:\\ \;\;\;\;k \cdot \mathsf{fma}\left(b \cdot y4 - i \cdot y5, -y, \mathsf{fma}\left(y2, t\_1, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\\ \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 (- (* y1 y4) (* y0 y5)))
        (t_2
         (*
          y2
          (fma
           k
           t_1
           (fma (- (* c y0) (* a y1)) x (* t (- (* a y5) (* c y4)))))))
        (t_3 (- (* z y3) (* x y2))))
   (if (<= y2 -2.2e+167)
     t_2
     (if (<= y2 -1.5e+77)
       (* c (* z (fma i t (* y0 (- y3)))))
       (if (<= y2 -3.3e-131)
         (*
          y1
          (fma
           a
           t_3
           (fma y4 (fma k y2 (* y3 (- j))) (* i (- (* x j) (* z k))))))
         (if (<= y2 7e-305)
           (*
            a
            (fma
             y1
             t_3
             (fma b (- (* x y) (* z t)) (* y5 (- (* t y2) (* y y3))))))
           (if (<= y2 7.2e+17)
             (*
              k
              (fma
               (- (* b y4) (* i y5))
               (- y)
               (fma y2 t_1 (* z (- (* b y0) (* i y1))))))
             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 = (y1 * y4) - (y0 * y5);
	double t_2 = y2 * fma(k, t_1, fma(((c * y0) - (a * y1)), x, (t * ((a * y5) - (c * y4)))));
	double t_3 = (z * y3) - (x * y2);
	double tmp;
	if (y2 <= -2.2e+167) {
		tmp = t_2;
	} else if (y2 <= -1.5e+77) {
		tmp = c * (z * fma(i, t, (y0 * -y3)));
	} else if (y2 <= -3.3e-131) {
		tmp = y1 * fma(a, t_3, fma(y4, fma(k, y2, (y3 * -j)), (i * ((x * j) - (z * k)))));
	} else if (y2 <= 7e-305) {
		tmp = a * fma(y1, t_3, fma(b, ((x * y) - (z * t)), (y5 * ((t * y2) - (y * y3)))));
	} else if (y2 <= 7.2e+17) {
		tmp = k * fma(((b * y4) - (i * y5)), -y, fma(y2, t_1, (z * ((b * y0) - (i * y1)))));
	} 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(y1 * y4) - Float64(y0 * y5))
	t_2 = Float64(y2 * fma(k, t_1, fma(Float64(Float64(c * y0) - Float64(a * y1)), x, Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))))
	t_3 = Float64(Float64(z * y3) - Float64(x * y2))
	tmp = 0.0
	if (y2 <= -2.2e+167)
		tmp = t_2;
	elseif (y2 <= -1.5e+77)
		tmp = Float64(c * Float64(z * fma(i, t, Float64(y0 * Float64(-y3)))));
	elseif (y2 <= -3.3e-131)
		tmp = Float64(y1 * fma(a, t_3, fma(y4, fma(k, y2, Float64(y3 * Float64(-j))), Float64(i * Float64(Float64(x * j) - Float64(z * k))))));
	elseif (y2 <= 7e-305)
		tmp = Float64(a * fma(y1, t_3, fma(b, Float64(Float64(x * y) - Float64(z * t)), Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))))));
	elseif (y2 <= 7.2e+17)
		tmp = Float64(k * fma(Float64(Float64(b * y4) - Float64(i * y5)), Float64(-y), fma(y2, t_1, Float64(z * Float64(Float64(b * y0) - Float64(i * y1))))));
	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[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y2 * N[(k * t$95$1 + N[(N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * x + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -2.2e+167], t$95$2, If[LessEqual[y2, -1.5e+77], N[(c * N[(z * N[(i * t + N[(y0 * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -3.3e-131], N[(y1 * N[(a * t$95$3 + N[(y4 * N[(k * y2 + N[(y3 * (-j)), $MachinePrecision]), $MachinePrecision] + N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 7e-305], N[(a * N[(y1 * t$95$3 + N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 7.2e+17], N[(k * N[(N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision] * (-y) + N[(y2 * t$95$1 + N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;y2 \leq -1.5 \cdot 10^{+77}:\\
\;\;\;\;c \cdot \left(z \cdot \mathsf{fma}\left(i, t, y0 \cdot \left(-y3\right)\right)\right)\\

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

\mathbf{elif}\;y2 \leq 7 \cdot 10^{-305}:\\
\;\;\;\;a \cdot \mathsf{fma}\left(y1, t\_3, \mathsf{fma}\left(b, x \cdot y - z \cdot t, y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y2 < -2.20000000000000003e167 or 7.2e17 < y2

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. associate--l+N/A

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

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

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, \color{blue}{y1 \cdot y4 - y0 \cdot y5}, x \cdot \left(c \cdot y0 - a \cdot y1\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, \color{blue}{y1 \cdot y4} - y0 \cdot y5, x \cdot \left(c \cdot y0 - a \cdot y1\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. *-lowering-*.f64N/A

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

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{x \cdot \left(c \cdot y0 - a \cdot y1\right) + \left(\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)}\right) \]
      8. *-commutativeN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + \left(\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \left(c \cdot y0 - a \cdot y1\right) \cdot x + \color{blue}{-1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)}\right) \]
      10. accelerator-lowering-fma.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)}\right) \]
      11. --lowering--.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      12. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      13. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      14. mul-1-negN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)}\right)\right) \]
      15. *-commutativeN/A

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

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

    if -2.20000000000000003e167 < y2 < -1.4999999999999999e77

    1. Initial program 33.3%

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

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

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

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

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

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

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot \left(-1 \cdot c\right)} \]
    5. Simplified72.0%

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

      \[\leadsto \color{blue}{c \cdot \left(z \cdot \left(-1 \cdot \left(y0 \cdot y3\right) + i \cdot t\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

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

        \[\leadsto c \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(y0 \cdot y3\right) + i \cdot t\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto c \cdot \left(z \cdot \color{blue}{\left(i \cdot t + -1 \cdot \left(y0 \cdot y3\right)\right)}\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto c \cdot \left(z \cdot \color{blue}{\mathsf{fma}\left(i, t, -1 \cdot \left(y0 \cdot y3\right)\right)}\right) \]
      5. associate-*r*N/A

        \[\leadsto c \cdot \left(z \cdot \mathsf{fma}\left(i, t, \color{blue}{\left(-1 \cdot y0\right) \cdot y3}\right)\right) \]
      6. *-lowering-*.f64N/A

        \[\leadsto c \cdot \left(z \cdot \mathsf{fma}\left(i, t, \color{blue}{\left(-1 \cdot y0\right) \cdot y3}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto c \cdot \left(z \cdot \mathsf{fma}\left(i, t, \color{blue}{\left(\mathsf{neg}\left(y0\right)\right)} \cdot y3\right)\right) \]
      8. neg-lowering-neg.f6467.4

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

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

    if -1.4999999999999999e77 < y2 < -3.3000000000000002e-131

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto y1 \cdot \color{blue}{\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right) - \left(\mathsf{neg}\left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto y1 \cdot \left(\color{blue}{\left(\mathsf{neg}\left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right) - \left(\mathsf{neg}\left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)\right)\right) \]
      5. distribute-rgt-neg-inN/A

        \[\leadsto y1 \cdot \left(\color{blue}{a \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right) - \left(\mathsf{neg}\left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)\right)\right) \]
      6. accelerator-lowering-fma.f64N/A

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

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

    if -3.3000000000000002e-131 < y2 < 6.9999999999999996e-305

    1. Initial program 33.4%

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
    5. Simplified53.2%

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

    if 6.9999999999999996e-305 < y2 < 7.2e17

    1. Initial program 34.0%

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

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -2.2 \cdot 10^{+167}:\\ \;\;\;\;y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)\\ \mathbf{elif}\;y2 \leq -1.5 \cdot 10^{+77}:\\ \;\;\;\;c \cdot \left(z \cdot \mathsf{fma}\left(i, t, y0 \cdot \left(-y3\right)\right)\right)\\ \mathbf{elif}\;y2 \leq -3.3 \cdot 10^{-131}:\\ \;\;\;\;y1 \cdot \mathsf{fma}\left(a, z \cdot y3 - x \cdot y2, \mathsf{fma}\left(y4, \mathsf{fma}\left(k, y2, y3 \cdot \left(-j\right)\right), i \cdot \left(x \cdot j - z \cdot k\right)\right)\right)\\ \mathbf{elif}\;y2 \leq 7 \cdot 10^{-305}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(y1, z \cdot y3 - x \cdot y2, \mathsf{fma}\left(b, x \cdot y - z \cdot t, y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\\ \mathbf{elif}\;y2 \leq 7.2 \cdot 10^{+17}:\\ \;\;\;\;k \cdot \mathsf{fma}\left(b \cdot y4 - i \cdot y5, -y, \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 5: 41.2% accurate, 2.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot \mathsf{fma}\left(b \cdot y4 - i \cdot y5, -y, \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\\ \mathbf{if}\;y3 \leq -9.2 \cdot 10^{+188}:\\ \;\;\;\;a \cdot \left(\mathsf{fma}\left(-y1, z, y \cdot y5\right) \cdot \left(-y3\right)\right)\\ \mathbf{elif}\;y3 \leq -3.8 \cdot 10^{-297}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(y1, z \cdot y3 - x \cdot y2, \mathsf{fma}\left(b, x \cdot y - z \cdot t, y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\\ \mathbf{elif}\;y3 \leq 5.3 \cdot 10^{-253}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq 1.65 \cdot 10^{-166}:\\ \;\;\;\;x \cdot \left(\mathsf{fma}\left(a \cdot b - c \cdot i, y, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{elif}\;y3 \leq 2.4 \cdot 10^{+186}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;y0 \cdot \left(y3 \cdot \mathsf{fma}\left(j, y5, -z \cdot c\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1
         (*
          k
          (fma
           (- (* b y4) (* i y5))
           (- y)
           (fma y2 (- (* y1 y4) (* y0 y5)) (* z (- (* b y0) (* i y1))))))))
   (if (<= y3 -9.2e+188)
     (* a (* (fma (- y1) z (* y y5)) (- y3)))
     (if (<= y3 -3.8e-297)
       (*
        a
        (fma
         y1
         (- (* z y3) (* x y2))
         (fma b (- (* x y) (* z t)) (* y5 (- (* t y2) (* y y3))))))
       (if (<= y3 5.3e-253)
         t_1
         (if (<= y3 1.65e-166)
           (*
            x
            (+
             (fma (- (* a b) (* c i)) y (* y2 (- (* c y0) (* a y1))))
             (* j (- (* i y1) (* b y0)))))
           (if (<= y3 2.4e+186) t_1 (* y0 (* y3 (fma j y5 (- (* z c))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * fma(((b * y4) - (i * y5)), -y, fma(y2, ((y1 * y4) - (y0 * y5)), (z * ((b * y0) - (i * y1)))));
	double tmp;
	if (y3 <= -9.2e+188) {
		tmp = a * (fma(-y1, z, (y * y5)) * -y3);
	} else if (y3 <= -3.8e-297) {
		tmp = a * fma(y1, ((z * y3) - (x * y2)), fma(b, ((x * y) - (z * t)), (y5 * ((t * y2) - (y * y3)))));
	} else if (y3 <= 5.3e-253) {
		tmp = t_1;
	} else if (y3 <= 1.65e-166) {
		tmp = x * (fma(((a * b) - (c * i)), y, (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	} else if (y3 <= 2.4e+186) {
		tmp = t_1;
	} else {
		tmp = y0 * (y3 * fma(j, y5, -(z * c)));
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(k * fma(Float64(Float64(b * y4) - Float64(i * y5)), Float64(-y), fma(y2, Float64(Float64(y1 * y4) - Float64(y0 * y5)), Float64(z * Float64(Float64(b * y0) - Float64(i * y1))))))
	tmp = 0.0
	if (y3 <= -9.2e+188)
		tmp = Float64(a * Float64(fma(Float64(-y1), z, Float64(y * y5)) * Float64(-y3)));
	elseif (y3 <= -3.8e-297)
		tmp = Float64(a * fma(y1, Float64(Float64(z * y3) - Float64(x * y2)), fma(b, Float64(Float64(x * y) - Float64(z * t)), Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))))));
	elseif (y3 <= 5.3e-253)
		tmp = t_1;
	elseif (y3 <= 1.65e-166)
		tmp = Float64(x * Float64(fma(Float64(Float64(a * b) - Float64(c * i)), y, Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0)))));
	elseif (y3 <= 2.4e+186)
		tmp = t_1;
	else
		tmp = Float64(y0 * Float64(y3 * fma(j, y5, Float64(-Float64(z * c)))));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision] * (-y) + N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -9.2e+188], N[(a * N[(N[((-y1) * z + N[(y * y5), $MachinePrecision]), $MachinePrecision] * (-y3)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -3.8e-297], N[(a * N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 5.3e-253], t$95$1, If[LessEqual[y3, 1.65e-166], N[(x * N[(N[(N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision] * y + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.4e+186], t$95$1, N[(y0 * N[(y3 * N[(j * y5 + (-N[(z * c), $MachinePrecision])), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := k \cdot \mathsf{fma}\left(b \cdot y4 - i \cdot y5, -y, \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\\
\mathbf{if}\;y3 \leq -9.2 \cdot 10^{+188}:\\
\;\;\;\;a \cdot \left(\mathsf{fma}\left(-y1, z, y \cdot y5\right) \cdot \left(-y3\right)\right)\\

\mathbf{elif}\;y3 \leq -3.8 \cdot 10^{-297}:\\
\;\;\;\;a \cdot \mathsf{fma}\left(y1, z \cdot y3 - x \cdot y2, \mathsf{fma}\left(b, x \cdot y - z \cdot t, y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\\

\mathbf{elif}\;y3 \leq 5.3 \cdot 10^{-253}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y3 \leq 1.65 \cdot 10^{-166}:\\
\;\;\;\;x \cdot \left(\mathsf{fma}\left(a \cdot b - c \cdot i, y, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\

\mathbf{elif}\;y3 \leq 2.4 \cdot 10^{+186}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(y3 \cdot \mathsf{fma}\left(j, y5, -z \cdot c\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y3 < -9.20000000000000046e188

    1. Initial program 21.2%

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

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

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

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

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

        \[\leadsto \color{blue}{\left(-1 \cdot a\right) \cdot \left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(a\right)\right)} \cdot \left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right) \]
      4. neg-lowering-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(a\right)\right)} \cdot \left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right)} \]
      6. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \left(y3 \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot z} + y \cdot y5\right)\right) \]
      7. accelerator-lowering-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \left(y3 \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, z, y \cdot y5\right)}\right) \]
      8. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \left(y3 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, z, y \cdot y5\right)\right) \]
      9. neg-lowering-neg.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \left(y3 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, z, y \cdot y5\right)\right) \]
      10. *-lowering-*.f6467.3

        \[\leadsto \left(-a\right) \cdot \left(y3 \cdot \mathsf{fma}\left(-y1, z, \color{blue}{y \cdot y5}\right)\right) \]
    8. Simplified67.3%

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

    if -9.20000000000000046e188 < y3 < -3.80000000000000005e-297

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
    5. Simplified50.8%

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

    if -3.80000000000000005e-297 < y3 < 5.3000000000000002e-253 or 1.65000000000000009e-166 < y3 < 2.39999999999999995e186

    1. Initial program 33.6%

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

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

    if 5.3000000000000002e-253 < y3 < 1.65000000000000009e-166

    1. Initial program 35.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if 2.39999999999999995e186 < y3

    1. Initial program 3.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 y0 around -inf

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

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

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(b \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y0}\right) \]
      3. distribute-rgt-neg-inN/A

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(b \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot \left(\mathsf{neg}\left(y0\right)\right)} \]
      4. neg-mul-1N/A

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

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

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

      \[\leadsto \color{blue}{y0 \cdot \left(y3 \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

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

        \[\leadsto y0 \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y0 \cdot \left(y3 \cdot \color{blue}{\left(j \cdot y5 + -1 \cdot \left(c \cdot z\right)\right)}\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto y0 \cdot \left(y3 \cdot \color{blue}{\mathsf{fma}\left(j, y5, -1 \cdot \left(c \cdot z\right)\right)}\right) \]
      5. associate-*r*N/A

        \[\leadsto y0 \cdot \left(y3 \cdot \mathsf{fma}\left(j, y5, \color{blue}{\left(-1 \cdot c\right) \cdot z}\right)\right) \]
      6. *-lowering-*.f64N/A

        \[\leadsto y0 \cdot \left(y3 \cdot \mathsf{fma}\left(j, y5, \color{blue}{\left(-1 \cdot c\right) \cdot z}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto y0 \cdot \left(y3 \cdot \mathsf{fma}\left(j, y5, \color{blue}{\left(\mathsf{neg}\left(c\right)\right)} \cdot z\right)\right) \]
      8. neg-lowering-neg.f6458.9

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -9.2 \cdot 10^{+188}:\\ \;\;\;\;a \cdot \left(\mathsf{fma}\left(-y1, z, y \cdot y5\right) \cdot \left(-y3\right)\right)\\ \mathbf{elif}\;y3 \leq -3.8 \cdot 10^{-297}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(y1, z \cdot y3 - x \cdot y2, \mathsf{fma}\left(b, x \cdot y - z \cdot t, y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\\ \mathbf{elif}\;y3 \leq 5.3 \cdot 10^{-253}:\\ \;\;\;\;k \cdot \mathsf{fma}\left(b \cdot y4 - i \cdot y5, -y, \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\\ \mathbf{elif}\;y3 \leq 1.65 \cdot 10^{-166}:\\ \;\;\;\;x \cdot \left(\mathsf{fma}\left(a \cdot b - c \cdot i, y, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{elif}\;y3 \leq 2.4 \cdot 10^{+186}:\\ \;\;\;\;k \cdot \mathsf{fma}\left(b \cdot y4 - i \cdot y5, -y, \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y0 \cdot \left(y3 \cdot \mathsf{fma}\left(j, y5, -z \cdot c\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 6: 41.3% accurate, 2.5× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;y3 \leq -7.8 \cdot 10^{+188}:\\
\;\;\;\;a \cdot \left(\mathsf{fma}\left(-y1, z, y \cdot y5\right) \cdot \left(-y3\right)\right)\\

\mathbf{elif}\;y3 \leq -6.2 \cdot 10^{-298}:\\
\;\;\;\;a \cdot \mathsf{fma}\left(y1, z \cdot y3 - x \cdot y2, \mathsf{fma}\left(b, x \cdot y - z \cdot t, y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\\

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

\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(y3 \cdot \mathsf{fma}\left(j, y5, -z \cdot c\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if y3 < -7.7999999999999999e188

    1. Initial program 21.2%

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

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

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

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

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

        \[\leadsto \color{blue}{\left(-1 \cdot a\right) \cdot \left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(a\right)\right)} \cdot \left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right) \]
      4. neg-lowering-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(a\right)\right)} \cdot \left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right)} \]
      6. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \left(y3 \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot z} + y \cdot y5\right)\right) \]
      7. accelerator-lowering-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \left(y3 \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, z, y \cdot y5\right)}\right) \]
      8. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \left(y3 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, z, y \cdot y5\right)\right) \]
      9. neg-lowering-neg.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \left(y3 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, z, y \cdot y5\right)\right) \]
      10. *-lowering-*.f6467.3

        \[\leadsto \left(-a\right) \cdot \left(y3 \cdot \mathsf{fma}\left(-y1, z, \color{blue}{y \cdot y5}\right)\right) \]
    8. Simplified67.3%

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

    if -7.7999999999999999e188 < y3 < -6.2000000000000003e-298

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
    5. Simplified50.8%

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

    if -6.2000000000000003e-298 < y3 < 1.39999999999999995e168

    1. Initial program 34.0%

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

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

    if 1.39999999999999995e168 < y3

    1. Initial program 3.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 y0 around -inf

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

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

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(b \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y0}\right) \]
      3. distribute-rgt-neg-inN/A

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(b \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot \left(\mathsf{neg}\left(y0\right)\right)} \]
      4. neg-mul-1N/A

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

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

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

      \[\leadsto \color{blue}{y0 \cdot \left(y3 \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

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

        \[\leadsto y0 \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y0 \cdot \left(y3 \cdot \color{blue}{\left(j \cdot y5 + -1 \cdot \left(c \cdot z\right)\right)}\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto y0 \cdot \left(y3 \cdot \color{blue}{\mathsf{fma}\left(j, y5, -1 \cdot \left(c \cdot z\right)\right)}\right) \]
      5. associate-*r*N/A

        \[\leadsto y0 \cdot \left(y3 \cdot \mathsf{fma}\left(j, y5, \color{blue}{\left(-1 \cdot c\right) \cdot z}\right)\right) \]
      6. *-lowering-*.f64N/A

        \[\leadsto y0 \cdot \left(y3 \cdot \mathsf{fma}\left(j, y5, \color{blue}{\left(-1 \cdot c\right) \cdot z}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto y0 \cdot \left(y3 \cdot \mathsf{fma}\left(j, y5, \color{blue}{\left(\mathsf{neg}\left(c\right)\right)} \cdot z\right)\right) \]
      8. neg-lowering-neg.f6458.9

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

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

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

Alternative 7: 38.2% accurate, 2.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y3 \leq -6.8 \cdot 10^{+193}:\\ \;\;\;\;a \cdot \left(\mathsf{fma}\left(-y1, z, y \cdot y5\right) \cdot \left(-y3\right)\right)\\ \mathbf{elif}\;y3 \leq 3.8 \cdot 10^{-168}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(y1, z \cdot y3 - x \cdot y2, \mathsf{fma}\left(b, x \cdot y - z \cdot t, y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\\ \mathbf{elif}\;y3 \leq 5.8 \cdot 10^{+57}:\\ \;\;\;\;k \cdot \left(\left(y \cdot \left(-i\right)\right) \cdot \mathsf{fma}\left(b, \frac{y4}{i}, -y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (if (<= y3 -6.8e+193)
   (* a (* (fma (- y1) z (* y y5)) (- y3)))
   (if (<= y3 3.8e-168)
     (*
      a
      (fma
       y1
       (- (* z y3) (* x y2))
       (fma b (- (* x y) (* z t)) (* y5 (- (* t y2) (* y y3))))))
     (if (<= y3 5.8e+57)
       (* k (* (* y (- i)) (fma b (/ y4 i) (- y5))))
       (* a (* y3 (- (* z y1) (* y y5))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (y3 <= -6.8e+193) {
		tmp = a * (fma(-y1, z, (y * y5)) * -y3);
	} else if (y3 <= 3.8e-168) {
		tmp = a * fma(y1, ((z * y3) - (x * y2)), fma(b, ((x * y) - (z * t)), (y5 * ((t * y2) - (y * y3)))));
	} else if (y3 <= 5.8e+57) {
		tmp = k * ((y * -i) * fma(b, (y4 / i), -y5));
	} else {
		tmp = a * (y3 * ((z * y1) - (y * y5)));
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (y3 <= -6.8e+193)
		tmp = Float64(a * Float64(fma(Float64(-y1), z, Float64(y * y5)) * Float64(-y3)));
	elseif (y3 <= 3.8e-168)
		tmp = Float64(a * fma(y1, Float64(Float64(z * y3) - Float64(x * y2)), fma(b, Float64(Float64(x * y) - Float64(z * t)), Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))))));
	elseif (y3 <= 5.8e+57)
		tmp = Float64(k * Float64(Float64(y * Float64(-i)) * fma(b, Float64(y4 / i), Float64(-y5))));
	else
		tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5))));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y3, -6.8e+193], N[(a * N[(N[((-y1) * z + N[(y * y5), $MachinePrecision]), $MachinePrecision] * (-y3)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 3.8e-168], N[(a * N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 5.8e+57], N[(k * N[(N[(y * (-i)), $MachinePrecision] * N[(b * N[(y4 / i), $MachinePrecision] + (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y3 \leq -6.8 \cdot 10^{+193}:\\
\;\;\;\;a \cdot \left(\mathsf{fma}\left(-y1, z, y \cdot y5\right) \cdot \left(-y3\right)\right)\\

\mathbf{elif}\;y3 \leq 3.8 \cdot 10^{-168}:\\
\;\;\;\;a \cdot \mathsf{fma}\left(y1, z \cdot y3 - x \cdot y2, \mathsf{fma}\left(b, x \cdot y - z \cdot t, y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\\

\mathbf{elif}\;y3 \leq 5.8 \cdot 10^{+57}:\\
\;\;\;\;k \cdot \left(\left(y \cdot \left(-i\right)\right) \cdot \mathsf{fma}\left(b, \frac{y4}{i}, -y5\right)\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if y3 < -6.79999999999999972e193

    1. Initial program 22.6%

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

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

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

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

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

        \[\leadsto \color{blue}{\left(-1 \cdot a\right) \cdot \left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(a\right)\right)} \cdot \left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right) \]
      4. neg-lowering-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(a\right)\right)} \cdot \left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right)} \]
      6. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \left(y3 \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot z} + y \cdot y5\right)\right) \]
      7. accelerator-lowering-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \left(y3 \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, z, y \cdot y5\right)}\right) \]
      8. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \left(y3 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, z, y \cdot y5\right)\right) \]
      9. neg-lowering-neg.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \left(y3 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, z, y \cdot y5\right)\right) \]
      10. *-lowering-*.f6468.4

        \[\leadsto \left(-a\right) \cdot \left(y3 \cdot \mathsf{fma}\left(-y1, z, \color{blue}{y \cdot y5}\right)\right) \]
    8. Simplified68.4%

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

    if -6.79999999999999972e193 < y3 < 3.8e-168

    1. Initial program 33.3%

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

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

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

    if 3.8e-168 < y3 < 5.8000000000000003e57

    1. Initial program 34.6%

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

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \mathsf{fma}\left(\color{blue}{i \cdot \left(\frac{b \cdot y4}{i} - y5\right)}, \mathsf{neg}\left(y\right), \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \mathsf{fma}\left(\color{blue}{i \cdot \left(\frac{b \cdot y4}{i} - y5\right)}, \mathsf{neg}\left(y\right), \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      2. --lowering--.f64N/A

        \[\leadsto k \cdot \mathsf{fma}\left(i \cdot \color{blue}{\left(\frac{b \cdot y4}{i} - y5\right)}, \mathsf{neg}\left(y\right), \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      3. /-lowering-/.f64N/A

        \[\leadsto k \cdot \mathsf{fma}\left(i \cdot \left(\color{blue}{\frac{b \cdot y4}{i}} - y5\right), \mathsf{neg}\left(y\right), \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto k \cdot \mathsf{fma}\left(i \cdot \left(\frac{\color{blue}{y4 \cdot b}}{i} - y5\right), \mathsf{neg}\left(y\right), \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. *-lowering-*.f6459.6

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

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

      \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(i \cdot \left(y \cdot \left(\frac{b \cdot y4}{i} - y5\right)\right)\right)\right)} \]
    10. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto k \cdot \left(-1 \cdot \color{blue}{\left(\left(i \cdot y\right) \cdot \left(\frac{b \cdot y4}{i} - y5\right)\right)}\right) \]
      2. associate-*r*N/A

        \[\leadsto k \cdot \color{blue}{\left(\left(-1 \cdot \left(i \cdot y\right)\right) \cdot \left(\frac{b \cdot y4}{i} - y5\right)\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(\left(-1 \cdot \left(i \cdot y\right)\right) \cdot \left(\frac{b \cdot y4}{i} - y5\right)\right)} \]
      4. associate-*r*N/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\left(-1 \cdot i\right) \cdot y\right)} \cdot \left(\frac{b \cdot y4}{i} - y5\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\left(-1 \cdot i\right) \cdot y\right)} \cdot \left(\frac{b \cdot y4}{i} - y5\right)\right) \]
      6. mul-1-negN/A

        \[\leadsto k \cdot \left(\left(\color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot y\right) \cdot \left(\frac{b \cdot y4}{i} - y5\right)\right) \]
      7. neg-lowering-neg.f64N/A

        \[\leadsto k \cdot \left(\left(\color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot y\right) \cdot \left(\frac{b \cdot y4}{i} - y5\right)\right) \]
      8. sub-negN/A

        \[\leadsto k \cdot \left(\left(\left(\mathsf{neg}\left(i\right)\right) \cdot y\right) \cdot \color{blue}{\left(\frac{b \cdot y4}{i} + \left(\mathsf{neg}\left(y5\right)\right)\right)}\right) \]
      9. associate-/l*N/A

        \[\leadsto k \cdot \left(\left(\left(\mathsf{neg}\left(i\right)\right) \cdot y\right) \cdot \left(\color{blue}{b \cdot \frac{y4}{i}} + \left(\mathsf{neg}\left(y5\right)\right)\right)\right) \]
      10. mul-1-negN/A

        \[\leadsto k \cdot \left(\left(\left(\mathsf{neg}\left(i\right)\right) \cdot y\right) \cdot \left(b \cdot \frac{y4}{i} + \color{blue}{-1 \cdot y5}\right)\right) \]
      11. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(\left(\left(\mathsf{neg}\left(i\right)\right) \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, \frac{y4}{i}, -1 \cdot y5\right)}\right) \]
      12. /-lowering-/.f64N/A

        \[\leadsto k \cdot \left(\left(\left(\mathsf{neg}\left(i\right)\right) \cdot y\right) \cdot \mathsf{fma}\left(b, \color{blue}{\frac{y4}{i}}, -1 \cdot y5\right)\right) \]
      13. mul-1-negN/A

        \[\leadsto k \cdot \left(\left(\left(\mathsf{neg}\left(i\right)\right) \cdot y\right) \cdot \mathsf{fma}\left(b, \frac{y4}{i}, \color{blue}{\mathsf{neg}\left(y5\right)}\right)\right) \]
      14. neg-lowering-neg.f6451.7

        \[\leadsto k \cdot \left(\left(\left(-i\right) \cdot y\right) \cdot \mathsf{fma}\left(b, \frac{y4}{i}, \color{blue}{-y5}\right)\right) \]
    11. Simplified51.7%

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

    if 5.8000000000000003e57 < y3

    1. Initial program 13.7%

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

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
    5. Simplified33.6%

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

      \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y \cdot y5\right) + y1 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y \cdot y5\right) + y1 \cdot z\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z + -1 \cdot \left(y \cdot y5\right)\right)}\right) \]
      3. mul-1-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \left(y1 \cdot z + \color{blue}{\left(\mathsf{neg}\left(y \cdot y5\right)\right)}\right)\right) \]
      4. unsub-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z - y \cdot y5\right)}\right) \]
      5. --lowering--.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z - y \cdot y5\right)}\right) \]
      6. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \left(\color{blue}{y1 \cdot z} - y \cdot y5\right)\right) \]
      7. *-lowering-*.f6453.2

        \[\leadsto a \cdot \left(y3 \cdot \left(y1 \cdot z - \color{blue}{y \cdot y5}\right)\right) \]
    8. Simplified53.2%

      \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(y1 \cdot z - y \cdot y5\right)\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification52.0%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -6.8 \cdot 10^{+193}:\\ \;\;\;\;a \cdot \left(\mathsf{fma}\left(-y1, z, y \cdot y5\right) \cdot \left(-y3\right)\right)\\ \mathbf{elif}\;y3 \leq 3.8 \cdot 10^{-168}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(y1, z \cdot y3 - x \cdot y2, \mathsf{fma}\left(b, x \cdot y - z \cdot t, y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\\ \mathbf{elif}\;y3 \leq 5.8 \cdot 10^{+57}:\\ \;\;\;\;k \cdot \left(\left(y \cdot \left(-i\right)\right) \cdot \mathsf{fma}\left(b, \frac{y4}{i}, -y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 8: 32.1% accurate, 3.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(z \cdot \mathsf{fma}\left(i, t, y0 \cdot \left(-y3\right)\right)\right)\\ \mathbf{if}\;z \leq -3.1 \cdot 10^{+175}:\\ \;\;\;\;a \cdot \left(z \cdot \mathsf{fma}\left(y1, y3, t \cdot \left(-b\right)\right)\right)\\ \mathbf{elif}\;z \leq -1.1 \cdot 10^{+81}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -3.3 \cdot 10^{-78}:\\ \;\;\;\;x \cdot \left(b \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;z \leq -1.05 \cdot 10^{-166}:\\ \;\;\;\;y2 \cdot \left(y5 \cdot \left(t \cdot a - k \cdot y0\right)\right)\\ \mathbf{elif}\;z \leq 6 \cdot 10^{-51}:\\ \;\;\;\;k \cdot \left(\left(y \cdot \left(-i\right)\right) \cdot \mathsf{fma}\left(b, \frac{y4}{i}, -y5\right)\right)\\ \mathbf{elif}\;z \leq 4:\\ \;\;\;\;\left(x \cdot i\right) \cdot \left(j \cdot y1 - y \cdot c\right)\\ \mathbf{elif}\;z \leq 4.6 \cdot 10^{+130}:\\ \;\;\;\;k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \left(-b\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* c (* z (fma i t (* y0 (- y3)))))))
   (if (<= z -3.1e+175)
     (* a (* z (fma y1 y3 (* t (- b)))))
     (if (<= z -1.1e+81)
       t_1
       (if (<= z -3.3e-78)
         (* x (* b (- (* y a) (* j y0))))
         (if (<= z -1.05e-166)
           (* y2 (* y5 (- (* t a) (* k y0))))
           (if (<= z 6e-51)
             (* k (* (* y (- i)) (fma b (/ y4 i) (- y5))))
             (if (<= z 4.0)
               (* (* x i) (- (* j y1) (* y c)))
               (if (<= z 4.6e+130)
                 (* k (* y4 (fma y1 y2 (* y (- b)))))
                 t_1)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = c * (z * fma(i, t, (y0 * -y3)));
	double tmp;
	if (z <= -3.1e+175) {
		tmp = a * (z * fma(y1, y3, (t * -b)));
	} else if (z <= -1.1e+81) {
		tmp = t_1;
	} else if (z <= -3.3e-78) {
		tmp = x * (b * ((y * a) - (j * y0)));
	} else if (z <= -1.05e-166) {
		tmp = y2 * (y5 * ((t * a) - (k * y0)));
	} else if (z <= 6e-51) {
		tmp = k * ((y * -i) * fma(b, (y4 / i), -y5));
	} else if (z <= 4.0) {
		tmp = (x * i) * ((j * y1) - (y * c));
	} else if (z <= 4.6e+130) {
		tmp = k * (y4 * fma(y1, y2, (y * -b)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(c * Float64(z * fma(i, t, Float64(y0 * Float64(-y3)))))
	tmp = 0.0
	if (z <= -3.1e+175)
		tmp = Float64(a * Float64(z * fma(y1, y3, Float64(t * Float64(-b)))));
	elseif (z <= -1.1e+81)
		tmp = t_1;
	elseif (z <= -3.3e-78)
		tmp = Float64(x * Float64(b * Float64(Float64(y * a) - Float64(j * y0))));
	elseif (z <= -1.05e-166)
		tmp = Float64(y2 * Float64(y5 * Float64(Float64(t * a) - Float64(k * y0))));
	elseif (z <= 6e-51)
		tmp = Float64(k * Float64(Float64(y * Float64(-i)) * fma(b, Float64(y4 / i), Float64(-y5))));
	elseif (z <= 4.0)
		tmp = Float64(Float64(x * i) * Float64(Float64(j * y1) - Float64(y * c)));
	elseif (z <= 4.6e+130)
		tmp = Float64(k * Float64(y4 * fma(y1, y2, Float64(y * Float64(-b)))));
	else
		tmp = t_1;
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(z * N[(i * t + N[(y0 * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -3.1e+175], N[(a * N[(z * N[(y1 * y3 + N[(t * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.1e+81], t$95$1, If[LessEqual[z, -3.3e-78], N[(x * N[(b * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.05e-166], N[(y2 * N[(y5 * N[(N[(t * a), $MachinePrecision] - N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 6e-51], N[(k * N[(N[(y * (-i)), $MachinePrecision] * N[(b * N[(y4 / i), $MachinePrecision] + (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4.0], N[(N[(x * i), $MachinePrecision] * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4.6e+130], N[(k * N[(y4 * N[(y1 * y2 + N[(y * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(z \cdot \mathsf{fma}\left(i, t, y0 \cdot \left(-y3\right)\right)\right)\\
\mathbf{if}\;z \leq -3.1 \cdot 10^{+175}:\\
\;\;\;\;a \cdot \left(z \cdot \mathsf{fma}\left(y1, y3, t \cdot \left(-b\right)\right)\right)\\

\mathbf{elif}\;z \leq -1.1 \cdot 10^{+81}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq -3.3 \cdot 10^{-78}:\\
\;\;\;\;x \cdot \left(b \cdot \left(y \cdot a - j \cdot y0\right)\right)\\

\mathbf{elif}\;z \leq -1.05 \cdot 10^{-166}:\\
\;\;\;\;y2 \cdot \left(y5 \cdot \left(t \cdot a - k \cdot y0\right)\right)\\

\mathbf{elif}\;z \leq 6 \cdot 10^{-51}:\\
\;\;\;\;k \cdot \left(\left(y \cdot \left(-i\right)\right) \cdot \mathsf{fma}\left(b, \frac{y4}{i}, -y5\right)\right)\\

\mathbf{elif}\;z \leq 4:\\
\;\;\;\;\left(x \cdot i\right) \cdot \left(j \cdot y1 - y \cdot c\right)\\

\mathbf{elif}\;z \leq 4.6 \cdot 10^{+130}:\\
\;\;\;\;k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \left(-b\right)\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if z < -3.09999999999999984e175

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
    5. Simplified52.3%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(y1, -\left(y2 \cdot x - z \cdot y3\right), \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot y2 - y3 \cdot y\right)\right)\right)} \]
    6. Taylor expanded in z 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. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto a \cdot \left(z \cdot \color{blue}{\left(y1 \cdot y3 + -1 \cdot \left(b \cdot t\right)\right)}\right) \]
      3. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \left(z \cdot \color{blue}{\mathsf{fma}\left(y1, y3, -1 \cdot \left(b \cdot t\right)\right)}\right) \]
      4. associate-*r*N/A

        \[\leadsto a \cdot \left(z \cdot \mathsf{fma}\left(y1, y3, \color{blue}{\left(-1 \cdot b\right) \cdot t}\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(z \cdot \mathsf{fma}\left(y1, y3, \color{blue}{\left(-1 \cdot b\right) \cdot t}\right)\right) \]
      6. mul-1-negN/A

        \[\leadsto a \cdot \left(z \cdot \mathsf{fma}\left(y1, y3, \color{blue}{\left(\mathsf{neg}\left(b\right)\right)} \cdot t\right)\right) \]
      7. neg-lowering-neg.f6469.3

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

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

    if -3.09999999999999984e175 < z < -1.09999999999999993e81 or 4.60000000000000042e130 < z

    1. Initial program 14.8%

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

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

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

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

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

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

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot \left(-1 \cdot c\right)} \]
    5. Simplified47.9%

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

      \[\leadsto \color{blue}{c \cdot \left(z \cdot \left(-1 \cdot \left(y0 \cdot y3\right) + i \cdot t\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

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

        \[\leadsto c \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(y0 \cdot y3\right) + i \cdot t\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto c \cdot \left(z \cdot \color{blue}{\left(i \cdot t + -1 \cdot \left(y0 \cdot y3\right)\right)}\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto c \cdot \left(z \cdot \color{blue}{\mathsf{fma}\left(i, t, -1 \cdot \left(y0 \cdot y3\right)\right)}\right) \]
      5. associate-*r*N/A

        \[\leadsto c \cdot \left(z \cdot \mathsf{fma}\left(i, t, \color{blue}{\left(-1 \cdot y0\right) \cdot y3}\right)\right) \]
      6. *-lowering-*.f64N/A

        \[\leadsto c \cdot \left(z \cdot \mathsf{fma}\left(i, t, \color{blue}{\left(-1 \cdot y0\right) \cdot y3}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto c \cdot \left(z \cdot \mathsf{fma}\left(i, t, \color{blue}{\left(\mathsf{neg}\left(y0\right)\right)} \cdot y3\right)\right) \]
      8. neg-lowering-neg.f6461.1

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

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

    if -1.09999999999999993e81 < z < -3.29999999999999982e-78

    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 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. *-lowering-*.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a \cdot y - j \cdot y0\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a \cdot y - j \cdot y0\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto x \cdot \left(b \cdot \color{blue}{\left(a \cdot y - j \cdot y0\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto x \cdot \left(b \cdot \left(\color{blue}{a \cdot y} - j \cdot y0\right)\right) \]
      4. *-lowering-*.f6446.1

        \[\leadsto x \cdot \left(b \cdot \left(a \cdot y - \color{blue}{j \cdot y0}\right)\right) \]
    8. Simplified46.1%

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

    if -3.29999999999999982e-78 < z < -1.05e-166

    1. Initial program 47.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. *-lowering-*.f64N/A

        \[\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)} \]
      2. associate--l+N/A

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

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

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, \color{blue}{y1 \cdot y4 - y0 \cdot y5}, x \cdot \left(c \cdot y0 - a \cdot y1\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, \color{blue}{y1 \cdot y4} - y0 \cdot y5, x \cdot \left(c \cdot y0 - a \cdot y1\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. *-lowering-*.f64N/A

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

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{x \cdot \left(c \cdot y0 - a \cdot y1\right) + \left(\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)}\right) \]
      8. *-commutativeN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + \left(\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \left(c \cdot y0 - a \cdot y1\right) \cdot x + \color{blue}{-1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)}\right) \]
      10. accelerator-lowering-fma.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)}\right) \]
      11. --lowering--.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      12. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      13. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      14. mul-1-negN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)}\right)\right) \]
      15. *-commutativeN/A

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

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

      \[\leadsto y2 \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(k \cdot y0\right) + a \cdot t\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(k \cdot y0\right) + a \cdot t\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto y2 \cdot \left(y5 \cdot \color{blue}{\left(a \cdot t + -1 \cdot \left(k \cdot y0\right)\right)}\right) \]
      3. mul-1-negN/A

        \[\leadsto y2 \cdot \left(y5 \cdot \left(a \cdot t + \color{blue}{\left(\mathsf{neg}\left(k \cdot y0\right)\right)}\right)\right) \]
      4. unsub-negN/A

        \[\leadsto y2 \cdot \left(y5 \cdot \color{blue}{\left(a \cdot t - k \cdot y0\right)}\right) \]
      5. --lowering--.f64N/A

        \[\leadsto y2 \cdot \left(y5 \cdot \color{blue}{\left(a \cdot t - k \cdot y0\right)}\right) \]
      6. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \left(y5 \cdot \left(\color{blue}{a \cdot t} - k \cdot y0\right)\right) \]
      7. *-lowering-*.f6460.9

        \[\leadsto y2 \cdot \left(y5 \cdot \left(a \cdot t - \color{blue}{k \cdot y0}\right)\right) \]
    8. Simplified60.9%

      \[\leadsto y2 \cdot \color{blue}{\left(y5 \cdot \left(a \cdot t - k \cdot y0\right)\right)} \]

    if -1.05e-166 < z < 6.00000000000000005e-51

    1. Initial program 37.0%

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

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \mathsf{fma}\left(\color{blue}{i \cdot \left(\frac{b \cdot y4}{i} - y5\right)}, \mathsf{neg}\left(y\right), \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \mathsf{fma}\left(\color{blue}{i \cdot \left(\frac{b \cdot y4}{i} - y5\right)}, \mathsf{neg}\left(y\right), \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      2. --lowering--.f64N/A

        \[\leadsto k \cdot \mathsf{fma}\left(i \cdot \color{blue}{\left(\frac{b \cdot y4}{i} - y5\right)}, \mathsf{neg}\left(y\right), \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      3. /-lowering-/.f64N/A

        \[\leadsto k \cdot \mathsf{fma}\left(i \cdot \left(\color{blue}{\frac{b \cdot y4}{i}} - y5\right), \mathsf{neg}\left(y\right), \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto k \cdot \mathsf{fma}\left(i \cdot \left(\frac{\color{blue}{y4 \cdot b}}{i} - y5\right), \mathsf{neg}\left(y\right), \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. *-lowering-*.f6447.2

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

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

      \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(i \cdot \left(y \cdot \left(\frac{b \cdot y4}{i} - y5\right)\right)\right)\right)} \]
    10. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto k \cdot \left(-1 \cdot \color{blue}{\left(\left(i \cdot y\right) \cdot \left(\frac{b \cdot y4}{i} - y5\right)\right)}\right) \]
      2. associate-*r*N/A

        \[\leadsto k \cdot \color{blue}{\left(\left(-1 \cdot \left(i \cdot y\right)\right) \cdot \left(\frac{b \cdot y4}{i} - y5\right)\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(\left(-1 \cdot \left(i \cdot y\right)\right) \cdot \left(\frac{b \cdot y4}{i} - y5\right)\right)} \]
      4. associate-*r*N/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\left(-1 \cdot i\right) \cdot y\right)} \cdot \left(\frac{b \cdot y4}{i} - y5\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\left(-1 \cdot i\right) \cdot y\right)} \cdot \left(\frac{b \cdot y4}{i} - y5\right)\right) \]
      6. mul-1-negN/A

        \[\leadsto k \cdot \left(\left(\color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot y\right) \cdot \left(\frac{b \cdot y4}{i} - y5\right)\right) \]
      7. neg-lowering-neg.f64N/A

        \[\leadsto k \cdot \left(\left(\color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot y\right) \cdot \left(\frac{b \cdot y4}{i} - y5\right)\right) \]
      8. sub-negN/A

        \[\leadsto k \cdot \left(\left(\left(\mathsf{neg}\left(i\right)\right) \cdot y\right) \cdot \color{blue}{\left(\frac{b \cdot y4}{i} + \left(\mathsf{neg}\left(y5\right)\right)\right)}\right) \]
      9. associate-/l*N/A

        \[\leadsto k \cdot \left(\left(\left(\mathsf{neg}\left(i\right)\right) \cdot y\right) \cdot \left(\color{blue}{b \cdot \frac{y4}{i}} + \left(\mathsf{neg}\left(y5\right)\right)\right)\right) \]
      10. mul-1-negN/A

        \[\leadsto k \cdot \left(\left(\left(\mathsf{neg}\left(i\right)\right) \cdot y\right) \cdot \left(b \cdot \frac{y4}{i} + \color{blue}{-1 \cdot y5}\right)\right) \]
      11. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(\left(\left(\mathsf{neg}\left(i\right)\right) \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, \frac{y4}{i}, -1 \cdot y5\right)}\right) \]
      12. /-lowering-/.f64N/A

        \[\leadsto k \cdot \left(\left(\left(\mathsf{neg}\left(i\right)\right) \cdot y\right) \cdot \mathsf{fma}\left(b, \color{blue}{\frac{y4}{i}}, -1 \cdot y5\right)\right) \]
      13. mul-1-negN/A

        \[\leadsto k \cdot \left(\left(\left(\mathsf{neg}\left(i\right)\right) \cdot y\right) \cdot \mathsf{fma}\left(b, \frac{y4}{i}, \color{blue}{\mathsf{neg}\left(y5\right)}\right)\right) \]
      14. neg-lowering-neg.f6448.5

        \[\leadsto k \cdot \left(\left(\left(-i\right) \cdot y\right) \cdot \mathsf{fma}\left(b, \frac{y4}{i}, \color{blue}{-y5}\right)\right) \]
    11. Simplified48.5%

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

    if 6.00000000000000005e-51 < z < 4

    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 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. *-lowering-*.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(x \cdot \left(c \cdot y - j \cdot y1\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(i \cdot \left(x \cdot \left(c \cdot y - j \cdot y1\right)\right)\right)} \]
      2. neg-lowering-neg.f64N/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(i \cdot \left(x \cdot \left(c \cdot y - j \cdot y1\right)\right)\right)} \]
      3. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(i \cdot x\right) \cdot \left(c \cdot y - j \cdot y1\right)}\right) \]
      4. *-lowering-*.f64N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(i \cdot x\right) \cdot \left(c \cdot y - j \cdot y1\right)}\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(i \cdot x\right)} \cdot \left(c \cdot y - j \cdot y1\right)\right) \]
      6. --lowering--.f64N/A

        \[\leadsto \mathsf{neg}\left(\left(i \cdot x\right) \cdot \color{blue}{\left(c \cdot y - j \cdot y1\right)}\right) \]
      7. *-lowering-*.f64N/A

        \[\leadsto \mathsf{neg}\left(\left(i \cdot x\right) \cdot \left(\color{blue}{c \cdot y} - j \cdot y1\right)\right) \]
      8. *-lowering-*.f6478.7

        \[\leadsto -\left(i \cdot x\right) \cdot \left(c \cdot y - \color{blue}{j \cdot y1}\right) \]
    8. Simplified78.7%

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

    if 4 < z < 4.60000000000000042e130

    1. Initial program 23.3%

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

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 + -1 \cdot \left(b \cdot y\right)\right)}\right) \]
      3. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\mathsf{fma}\left(y1, y2, -1 \cdot \left(b \cdot y\right)\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \color{blue}{\mathsf{neg}\left(b \cdot y\right)}\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \mathsf{neg}\left(\color{blue}{y \cdot b}\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \color{blue}{y \cdot \left(\mathsf{neg}\left(b\right)\right)}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \color{blue}{\left(-1 \cdot b\right)}\right)\right) \]
      8. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \color{blue}{y \cdot \left(-1 \cdot b\right)}\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \color{blue}{\left(\mathsf{neg}\left(b\right)\right)}\right)\right) \]
      10. neg-lowering-neg.f6451.0

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \color{blue}{\left(-b\right)}\right)\right) \]
    8. Simplified51.0%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \left(-b\right)\right)\right)} \]
  3. Recombined 7 regimes into one program.
  4. Final simplification55.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -3.1 \cdot 10^{+175}:\\ \;\;\;\;a \cdot \left(z \cdot \mathsf{fma}\left(y1, y3, t \cdot \left(-b\right)\right)\right)\\ \mathbf{elif}\;z \leq -1.1 \cdot 10^{+81}:\\ \;\;\;\;c \cdot \left(z \cdot \mathsf{fma}\left(i, t, y0 \cdot \left(-y3\right)\right)\right)\\ \mathbf{elif}\;z \leq -3.3 \cdot 10^{-78}:\\ \;\;\;\;x \cdot \left(b \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;z \leq -1.05 \cdot 10^{-166}:\\ \;\;\;\;y2 \cdot \left(y5 \cdot \left(t \cdot a - k \cdot y0\right)\right)\\ \mathbf{elif}\;z \leq 6 \cdot 10^{-51}:\\ \;\;\;\;k \cdot \left(\left(y \cdot \left(-i\right)\right) \cdot \mathsf{fma}\left(b, \frac{y4}{i}, -y5\right)\right)\\ \mathbf{elif}\;z \leq 4:\\ \;\;\;\;\left(x \cdot i\right) \cdot \left(j \cdot y1 - y \cdot c\right)\\ \mathbf{elif}\;z \leq 4.6 \cdot 10^{+130}:\\ \;\;\;\;k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \left(-b\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(z \cdot \mathsf{fma}\left(i, t, y0 \cdot \left(-y3\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 9: 32.5% accurate, 3.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{if}\;y3 \leq -1.1 \cdot 10^{+189}:\\ \;\;\;\;a \cdot \left(\mathsf{fma}\left(-y1, z, y \cdot y5\right) \cdot \left(-y3\right)\right)\\ \mathbf{elif}\;y3 \leq -1.25 \cdot 10^{+64}:\\ \;\;\;\;y2 \cdot \left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq -7.5 \cdot 10^{-20}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq -1.4 \cdot 10^{-175}:\\ \;\;\;\;k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \left(-y4\right)\right)\right)\\ \mathbf{elif}\;y3 \leq -3.2 \cdot 10^{-251}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq 9 \cdot 10^{-180}:\\ \;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\ \mathbf{elif}\;y3 \leq 5.4 \cdot 10^{+39}:\\ \;\;\;\;k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \left(-b\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* a (* b (- (* x y) (* z t))))))
   (if (<= y3 -1.1e+189)
     (* a (* (fma (- y1) z (* y y5)) (- y3)))
     (if (<= y3 -1.25e+64)
       (* y2 (* x (- (* c y0) (* a y1))))
       (if (<= y3 -7.5e-20)
         t_1
         (if (<= y3 -1.4e-175)
           (* k (* b (fma z y0 (* y (- y4)))))
           (if (<= y3 -3.2e-251)
             t_1
             (if (<= y3 9e-180)
               (* x (* y1 (- (* i j) (* a y2))))
               (if (<= y3 5.4e+39)
                 (* k (* y4 (fma y1 y2 (* y (- b)))))
                 (* a (* y3 (- (* z y1) (* y y5)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (b * ((x * y) - (z * t)));
	double tmp;
	if (y3 <= -1.1e+189) {
		tmp = a * (fma(-y1, z, (y * y5)) * -y3);
	} else if (y3 <= -1.25e+64) {
		tmp = y2 * (x * ((c * y0) - (a * y1)));
	} else if (y3 <= -7.5e-20) {
		tmp = t_1;
	} else if (y3 <= -1.4e-175) {
		tmp = k * (b * fma(z, y0, (y * -y4)));
	} else if (y3 <= -3.2e-251) {
		tmp = t_1;
	} else if (y3 <= 9e-180) {
		tmp = x * (y1 * ((i * j) - (a * y2)));
	} else if (y3 <= 5.4e+39) {
		tmp = k * (y4 * fma(y1, y2, (y * -b)));
	} else {
		tmp = a * (y3 * ((z * y1) - (y * y5)));
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))))
	tmp = 0.0
	if (y3 <= -1.1e+189)
		tmp = Float64(a * Float64(fma(Float64(-y1), z, Float64(y * y5)) * Float64(-y3)));
	elseif (y3 <= -1.25e+64)
		tmp = Float64(y2 * Float64(x * Float64(Float64(c * y0) - Float64(a * y1))));
	elseif (y3 <= -7.5e-20)
		tmp = t_1;
	elseif (y3 <= -1.4e-175)
		tmp = Float64(k * Float64(b * fma(z, y0, Float64(y * Float64(-y4)))));
	elseif (y3 <= -3.2e-251)
		tmp = t_1;
	elseif (y3 <= 9e-180)
		tmp = Float64(x * Float64(y1 * Float64(Float64(i * j) - Float64(a * y2))));
	elseif (y3 <= 5.4e+39)
		tmp = Float64(k * Float64(y4 * fma(y1, y2, Float64(y * Float64(-b)))));
	else
		tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5))));
	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[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -1.1e+189], N[(a * N[(N[((-y1) * z + N[(y * y5), $MachinePrecision]), $MachinePrecision] * (-y3)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.25e+64], N[(y2 * N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -7.5e-20], t$95$1, If[LessEqual[y3, -1.4e-175], N[(k * N[(b * N[(z * y0 + N[(y * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -3.2e-251], t$95$1, If[LessEqual[y3, 9e-180], N[(x * N[(y1 * N[(N[(i * j), $MachinePrecision] - N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 5.4e+39], N[(k * N[(y4 * N[(y1 * y2 + N[(y * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{if}\;y3 \leq -1.1 \cdot 10^{+189}:\\
\;\;\;\;a \cdot \left(\mathsf{fma}\left(-y1, z, y \cdot y5\right) \cdot \left(-y3\right)\right)\\

\mathbf{elif}\;y3 \leq -1.25 \cdot 10^{+64}:\\
\;\;\;\;y2 \cdot \left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\

\mathbf{elif}\;y3 \leq -7.5 \cdot 10^{-20}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y3 \leq -1.4 \cdot 10^{-175}:\\
\;\;\;\;k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \left(-y4\right)\right)\right)\\

\mathbf{elif}\;y3 \leq -3.2 \cdot 10^{-251}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y3 \leq 9 \cdot 10^{-180}:\\
\;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\

\mathbf{elif}\;y3 \leq 5.4 \cdot 10^{+39}:\\
\;\;\;\;k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \left(-b\right)\right)\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if y3 < -1.10000000000000003e189

    1. Initial program 21.9%

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

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
    5. Simplified50.0%

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

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

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

        \[\leadsto \color{blue}{\left(-1 \cdot a\right) \cdot \left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(a\right)\right)} \cdot \left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right) \]
      4. neg-lowering-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(a\right)\right)} \cdot \left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right)} \]
      6. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \left(y3 \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot z} + y \cdot y5\right)\right) \]
      7. accelerator-lowering-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \left(y3 \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, z, y \cdot y5\right)}\right) \]
      8. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \left(y3 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, z, y \cdot y5\right)\right) \]
      9. neg-lowering-neg.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \left(y3 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, z, y \cdot y5\right)\right) \]
      10. *-lowering-*.f6469.4

        \[\leadsto \left(-a\right) \cdot \left(y3 \cdot \mathsf{fma}\left(-y1, z, \color{blue}{y \cdot y5}\right)\right) \]
    8. Simplified69.4%

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

    if -1.10000000000000003e189 < y3 < -1.25e64

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. associate--l+N/A

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

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

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, \color{blue}{y1 \cdot y4 - y0 \cdot y5}, x \cdot \left(c \cdot y0 - a \cdot y1\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, \color{blue}{y1 \cdot y4} - y0 \cdot y5, x \cdot \left(c \cdot y0 - a \cdot y1\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. *-lowering-*.f64N/A

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

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{x \cdot \left(c \cdot y0 - a \cdot y1\right) + \left(\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)}\right) \]
      8. *-commutativeN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + \left(\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \left(c \cdot y0 - a \cdot y1\right) \cdot x + \color{blue}{-1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)}\right) \]
      10. accelerator-lowering-fma.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)}\right) \]
      11. --lowering--.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      12. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      13. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      14. mul-1-negN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)}\right)\right) \]
      15. *-commutativeN/A

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

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

      \[\leadsto y2 \cdot \color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto y2 \cdot \left(x \cdot \color{blue}{\left(c \cdot y0 - a \cdot y1\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \left(x \cdot \left(\color{blue}{c \cdot y0} - a \cdot y1\right)\right) \]
      4. *-lowering-*.f6459.5

        \[\leadsto y2 \cdot \left(x \cdot \left(c \cdot y0 - \color{blue}{a \cdot y1}\right)\right) \]
    8. Simplified59.5%

      \[\leadsto y2 \cdot \color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} \]

    if -1.25e64 < y3 < -7.49999999999999981e-20 or -1.4e-175 < y3 < -3.19999999999999982e-251

    1. Initial program 35.0%

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

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

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

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y - t \cdot z\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(b \cdot \left(\color{blue}{x \cdot y} - t \cdot z\right)\right) \]
      4. *-lowering-*.f6457.7

        \[\leadsto a \cdot \left(b \cdot \left(x \cdot y - \color{blue}{t \cdot z}\right)\right) \]
    8. Simplified57.7%

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

    if -7.49999999999999981e-20 < y3 < -1.4e-175

    1. Initial program 34.8%

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

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y0 \cdot z + -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      3. *-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \left(\color{blue}{z \cdot y0} + -1 \cdot \left(y \cdot y4\right)\right)\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\mathsf{fma}\left(z, y0, -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      5. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{\mathsf{neg}\left(y \cdot y4\right)}\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-1 \cdot y4\right)}\right)\right) \]
      8. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(-1 \cdot y4\right)}\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      10. neg-lowering-neg.f6454.2

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-y4\right)}\right)\right) \]
    8. Simplified54.2%

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

    if -3.19999999999999982e-251 < y3 < 9.00000000000000019e-180

    1. Initial program 32.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto x \cdot \color{blue}{\left(-1 \cdot \left(y1 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(-1 \cdot y1\right) \cdot \left(a \cdot y2 - i \cdot j\right)\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(-1 \cdot y1\right) \cdot \left(a \cdot y2 - i \cdot j\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1\right)\right)} \cdot \left(a \cdot y2 - i \cdot j\right)\right) \]
      4. neg-lowering-neg.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1\right)\right)} \cdot \left(a \cdot y2 - i \cdot j\right)\right) \]
      5. --lowering--.f64N/A

        \[\leadsto x \cdot \left(\left(\mathsf{neg}\left(y1\right)\right) \cdot \color{blue}{\left(a \cdot y2 - i \cdot j\right)}\right) \]
      6. *-lowering-*.f64N/A

        \[\leadsto x \cdot \left(\left(\mathsf{neg}\left(y1\right)\right) \cdot \left(\color{blue}{a \cdot y2} - i \cdot j\right)\right) \]
      7. *-lowering-*.f6442.2

        \[\leadsto x \cdot \left(\left(-y1\right) \cdot \left(a \cdot y2 - \color{blue}{i \cdot j}\right)\right) \]
    8. Simplified42.2%

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

    if 9.00000000000000019e-180 < y3 < 5.40000000000000007e39

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 + -1 \cdot \left(b \cdot y\right)\right)}\right) \]
      3. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\mathsf{fma}\left(y1, y2, -1 \cdot \left(b \cdot y\right)\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \color{blue}{\mathsf{neg}\left(b \cdot y\right)}\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \mathsf{neg}\left(\color{blue}{y \cdot b}\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \color{blue}{y \cdot \left(\mathsf{neg}\left(b\right)\right)}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \color{blue}{\left(-1 \cdot b\right)}\right)\right) \]
      8. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \color{blue}{y \cdot \left(-1 \cdot b\right)}\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \color{blue}{\left(\mathsf{neg}\left(b\right)\right)}\right)\right) \]
      10. neg-lowering-neg.f6442.4

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \color{blue}{\left(-b\right)}\right)\right) \]
    8. Simplified42.4%

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

    if 5.40000000000000007e39 < y3

    1. Initial program 13.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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

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

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

      \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y \cdot y5\right) + y1 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y \cdot y5\right) + y1 \cdot z\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z + -1 \cdot \left(y \cdot y5\right)\right)}\right) \]
      3. mul-1-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \left(y1 \cdot z + \color{blue}{\left(\mathsf{neg}\left(y \cdot y5\right)\right)}\right)\right) \]
      4. unsub-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z - y \cdot y5\right)}\right) \]
      5. --lowering--.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z - y \cdot y5\right)}\right) \]
      6. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \left(\color{blue}{y1 \cdot z} - y \cdot y5\right)\right) \]
      7. *-lowering-*.f6452.2

        \[\leadsto a \cdot \left(y3 \cdot \left(y1 \cdot z - \color{blue}{y \cdot y5}\right)\right) \]
    8. Simplified52.2%

      \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(y1 \cdot z - y \cdot y5\right)\right)} \]
  3. Recombined 7 regimes into one program.
  4. Final simplification53.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -1.1 \cdot 10^{+189}:\\ \;\;\;\;a \cdot \left(\mathsf{fma}\left(-y1, z, y \cdot y5\right) \cdot \left(-y3\right)\right)\\ \mathbf{elif}\;y3 \leq -1.25 \cdot 10^{+64}:\\ \;\;\;\;y2 \cdot \left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq -7.5 \cdot 10^{-20}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y3 \leq -1.4 \cdot 10^{-175}:\\ \;\;\;\;k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \left(-y4\right)\right)\right)\\ \mathbf{elif}\;y3 \leq -3.2 \cdot 10^{-251}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y3 \leq 9 \cdot 10^{-180}:\\ \;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\ \mathbf{elif}\;y3 \leq 5.4 \cdot 10^{+39}:\\ \;\;\;\;k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \left(-b\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 10: 32.6% accurate, 3.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\ t_2 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{if}\;y3 \leq -5.2 \cdot 10^{+189}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq -9.5 \cdot 10^{+63}:\\ \;\;\;\;y2 \cdot \left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq -3.6 \cdot 10^{-20}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y3 \leq -1.8 \cdot 10^{-175}:\\ \;\;\;\;k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \left(-y4\right)\right)\right)\\ \mathbf{elif}\;y3 \leq -3.2 \cdot 10^{-251}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y3 \leq 8.5 \cdot 10^{-180}:\\ \;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\ \mathbf{elif}\;y3 \leq 7.2 \cdot 10^{+54}:\\ \;\;\;\;k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \left(-b\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* a (* y3 (- (* z y1) (* y y5)))))
        (t_2 (* a (* b (- (* x y) (* z t))))))
   (if (<= y3 -5.2e+189)
     t_1
     (if (<= y3 -9.5e+63)
       (* y2 (* x (- (* c y0) (* a y1))))
       (if (<= y3 -3.6e-20)
         t_2
         (if (<= y3 -1.8e-175)
           (* k (* b (fma z y0 (* y (- y4)))))
           (if (<= y3 -3.2e-251)
             t_2
             (if (<= y3 8.5e-180)
               (* x (* y1 (- (* i j) (* a y2))))
               (if (<= y3 7.2e+54)
                 (* k (* y4 (fma y1 y2 (* y (- b)))))
                 t_1)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (y3 * ((z * y1) - (y * y5)));
	double t_2 = a * (b * ((x * y) - (z * t)));
	double tmp;
	if (y3 <= -5.2e+189) {
		tmp = t_1;
	} else if (y3 <= -9.5e+63) {
		tmp = y2 * (x * ((c * y0) - (a * y1)));
	} else if (y3 <= -3.6e-20) {
		tmp = t_2;
	} else if (y3 <= -1.8e-175) {
		tmp = k * (b * fma(z, y0, (y * -y4)));
	} else if (y3 <= -3.2e-251) {
		tmp = t_2;
	} else if (y3 <= 8.5e-180) {
		tmp = x * (y1 * ((i * j) - (a * y2)));
	} else if (y3 <= 7.2e+54) {
		tmp = k * (y4 * fma(y1, y2, (y * -b)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5))))
	t_2 = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))))
	tmp = 0.0
	if (y3 <= -5.2e+189)
		tmp = t_1;
	elseif (y3 <= -9.5e+63)
		tmp = Float64(y2 * Float64(x * Float64(Float64(c * y0) - Float64(a * y1))));
	elseif (y3 <= -3.6e-20)
		tmp = t_2;
	elseif (y3 <= -1.8e-175)
		tmp = Float64(k * Float64(b * fma(z, y0, Float64(y * Float64(-y4)))));
	elseif (y3 <= -3.2e-251)
		tmp = t_2;
	elseif (y3 <= 8.5e-180)
		tmp = Float64(x * Float64(y1 * Float64(Float64(i * j) - Float64(a * y2))));
	elseif (y3 <= 7.2e+54)
		tmp = Float64(k * Float64(y4 * fma(y1, y2, Float64(y * Float64(-b)))));
	else
		tmp = t_1;
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -5.2e+189], t$95$1, If[LessEqual[y3, -9.5e+63], N[(y2 * N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -3.6e-20], t$95$2, If[LessEqual[y3, -1.8e-175], N[(k * N[(b * N[(z * y0 + N[(y * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -3.2e-251], t$95$2, If[LessEqual[y3, 8.5e-180], N[(x * N[(y1 * N[(N[(i * j), $MachinePrecision] - N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 7.2e+54], N[(k * N[(y4 * N[(y1 * y2 + N[(y * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
t_2 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{if}\;y3 \leq -5.2 \cdot 10^{+189}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y3 \leq -9.5 \cdot 10^{+63}:\\
\;\;\;\;y2 \cdot \left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\

\mathbf{elif}\;y3 \leq -3.6 \cdot 10^{-20}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y3 \leq -1.8 \cdot 10^{-175}:\\
\;\;\;\;k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \left(-y4\right)\right)\right)\\

\mathbf{elif}\;y3 \leq -3.2 \cdot 10^{-251}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y3 \leq 8.5 \cdot 10^{-180}:\\
\;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\

\mathbf{elif}\;y3 \leq 7.2 \cdot 10^{+54}:\\
\;\;\;\;k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \left(-b\right)\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if y3 < -5.19999999999999963e189 or 7.2000000000000003e54 < y3

    1. Initial program 16.7%

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

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

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

      \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y \cdot y5\right) + y1 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y \cdot y5\right) + y1 \cdot z\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z + -1 \cdot \left(y \cdot y5\right)\right)}\right) \]
      3. mul-1-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \left(y1 \cdot z + \color{blue}{\left(\mathsf{neg}\left(y \cdot y5\right)\right)}\right)\right) \]
      4. unsub-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z - y \cdot y5\right)}\right) \]
      5. --lowering--.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z - y \cdot y5\right)}\right) \]
      6. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \left(\color{blue}{y1 \cdot z} - y \cdot y5\right)\right) \]
      7. *-lowering-*.f6457.6

        \[\leadsto a \cdot \left(y3 \cdot \left(y1 \cdot z - \color{blue}{y \cdot y5}\right)\right) \]
    8. Simplified57.6%

      \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(y1 \cdot z - y \cdot y5\right)\right)} \]

    if -5.19999999999999963e189 < y3 < -9.5000000000000003e63

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. associate--l+N/A

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

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

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, \color{blue}{y1 \cdot y4 - y0 \cdot y5}, x \cdot \left(c \cdot y0 - a \cdot y1\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, \color{blue}{y1 \cdot y4} - y0 \cdot y5, x \cdot \left(c \cdot y0 - a \cdot y1\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. *-lowering-*.f64N/A

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

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{x \cdot \left(c \cdot y0 - a \cdot y1\right) + \left(\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)}\right) \]
      8. *-commutativeN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + \left(\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \left(c \cdot y0 - a \cdot y1\right) \cdot x + \color{blue}{-1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)}\right) \]
      10. accelerator-lowering-fma.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)}\right) \]
      11. --lowering--.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      12. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      13. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      14. mul-1-negN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)}\right)\right) \]
      15. *-commutativeN/A

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

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

      \[\leadsto y2 \cdot \color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto y2 \cdot \left(x \cdot \color{blue}{\left(c \cdot y0 - a \cdot y1\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \left(x \cdot \left(\color{blue}{c \cdot y0} - a \cdot y1\right)\right) \]
      4. *-lowering-*.f6459.5

        \[\leadsto y2 \cdot \left(x \cdot \left(c \cdot y0 - \color{blue}{a \cdot y1}\right)\right) \]
    8. Simplified59.5%

      \[\leadsto y2 \cdot \color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} \]

    if -9.5000000000000003e63 < y3 < -3.59999999999999974e-20 or -1.8e-175 < y3 < -3.19999999999999982e-251

    1. Initial program 35.0%

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

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

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

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y - t \cdot z\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(b \cdot \left(\color{blue}{x \cdot y} - t \cdot z\right)\right) \]
      4. *-lowering-*.f6457.7

        \[\leadsto a \cdot \left(b \cdot \left(x \cdot y - \color{blue}{t \cdot z}\right)\right) \]
    8. Simplified57.7%

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

    if -3.59999999999999974e-20 < y3 < -1.8e-175

    1. Initial program 34.8%

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

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y0 \cdot z + -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      3. *-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \left(\color{blue}{z \cdot y0} + -1 \cdot \left(y \cdot y4\right)\right)\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\mathsf{fma}\left(z, y0, -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      5. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{\mathsf{neg}\left(y \cdot y4\right)}\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-1 \cdot y4\right)}\right)\right) \]
      8. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(-1 \cdot y4\right)}\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      10. neg-lowering-neg.f6454.2

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-y4\right)}\right)\right) \]
    8. Simplified54.2%

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

    if -3.19999999999999982e-251 < y3 < 8.4999999999999993e-180

    1. Initial program 32.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto x \cdot \color{blue}{\left(-1 \cdot \left(y1 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(-1 \cdot y1\right) \cdot \left(a \cdot y2 - i \cdot j\right)\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(-1 \cdot y1\right) \cdot \left(a \cdot y2 - i \cdot j\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1\right)\right)} \cdot \left(a \cdot y2 - i \cdot j\right)\right) \]
      4. neg-lowering-neg.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1\right)\right)} \cdot \left(a \cdot y2 - i \cdot j\right)\right) \]
      5. --lowering--.f64N/A

        \[\leadsto x \cdot \left(\left(\mathsf{neg}\left(y1\right)\right) \cdot \color{blue}{\left(a \cdot y2 - i \cdot j\right)}\right) \]
      6. *-lowering-*.f64N/A

        \[\leadsto x \cdot \left(\left(\mathsf{neg}\left(y1\right)\right) \cdot \left(\color{blue}{a \cdot y2} - i \cdot j\right)\right) \]
      7. *-lowering-*.f6442.2

        \[\leadsto x \cdot \left(\left(-y1\right) \cdot \left(a \cdot y2 - \color{blue}{i \cdot j}\right)\right) \]
    8. Simplified42.2%

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

    if 8.4999999999999993e-180 < y3 < 7.2000000000000003e54

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 + -1 \cdot \left(b \cdot y\right)\right)}\right) \]
      3. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\mathsf{fma}\left(y1, y2, -1 \cdot \left(b \cdot y\right)\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \color{blue}{\mathsf{neg}\left(b \cdot y\right)}\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \mathsf{neg}\left(\color{blue}{y \cdot b}\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \color{blue}{y \cdot \left(\mathsf{neg}\left(b\right)\right)}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \color{blue}{\left(-1 \cdot b\right)}\right)\right) \]
      8. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \color{blue}{y \cdot \left(-1 \cdot b\right)}\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \color{blue}{\left(\mathsf{neg}\left(b\right)\right)}\right)\right) \]
      10. neg-lowering-neg.f6442.4

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \color{blue}{\left(-b\right)}\right)\right) \]
    8. Simplified42.4%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -5.2 \cdot 10^{+189}:\\ \;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\ \mathbf{elif}\;y3 \leq -9.5 \cdot 10^{+63}:\\ \;\;\;\;y2 \cdot \left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq -3.6 \cdot 10^{-20}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y3 \leq -1.8 \cdot 10^{-175}:\\ \;\;\;\;k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \left(-y4\right)\right)\right)\\ \mathbf{elif}\;y3 \leq -3.2 \cdot 10^{-251}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y3 \leq 8.5 \cdot 10^{-180}:\\ \;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\ \mathbf{elif}\;y3 \leq 7.2 \cdot 10^{+54}:\\ \;\;\;\;k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \left(-b\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 11: 33.1% accurate, 3.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y3 \leq -4.6 \cdot 10^{+189}:\\ \;\;\;\;a \cdot \left(\mathsf{fma}\left(-y1, z, y \cdot y5\right) \cdot \left(-y3\right)\right)\\ \mathbf{elif}\;y3 \leq -2.9 \cdot 10^{+65}:\\ \;\;\;\;y2 \cdot \left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq -2.5 \cdot 10^{-175}:\\ \;\;\;\;k \cdot \left(b \cdot \left(z \cdot \mathsf{fma}\left(-y, \frac{y4}{z}, y0\right)\right)\right)\\ \mathbf{elif}\;y3 \leq -2.6 \cdot 10^{-251}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y3 \leq 1.25 \cdot 10^{-180}:\\ \;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\ \mathbf{elif}\;y3 \leq 1.7 \cdot 10^{+56}:\\ \;\;\;\;k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \left(-b\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (if (<= y3 -4.6e+189)
   (* a (* (fma (- y1) z (* y y5)) (- y3)))
   (if (<= y3 -2.9e+65)
     (* y2 (* x (- (* c y0) (* a y1))))
     (if (<= y3 -2.5e-175)
       (* k (* b (* z (fma (- y) (/ y4 z) y0))))
       (if (<= y3 -2.6e-251)
         (* a (* b (- (* x y) (* z t))))
         (if (<= y3 1.25e-180)
           (* x (* y1 (- (* i j) (* a y2))))
           (if (<= y3 1.7e+56)
             (* k (* y4 (fma y1 y2 (* y (- b)))))
             (* a (* y3 (- (* z y1) (* y y5)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (y3 <= -4.6e+189) {
		tmp = a * (fma(-y1, z, (y * y5)) * -y3);
	} else if (y3 <= -2.9e+65) {
		tmp = y2 * (x * ((c * y0) - (a * y1)));
	} else if (y3 <= -2.5e-175) {
		tmp = k * (b * (z * fma(-y, (y4 / z), y0)));
	} else if (y3 <= -2.6e-251) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (y3 <= 1.25e-180) {
		tmp = x * (y1 * ((i * j) - (a * y2)));
	} else if (y3 <= 1.7e+56) {
		tmp = k * (y4 * fma(y1, y2, (y * -b)));
	} else {
		tmp = a * (y3 * ((z * y1) - (y * y5)));
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (y3 <= -4.6e+189)
		tmp = Float64(a * Float64(fma(Float64(-y1), z, Float64(y * y5)) * Float64(-y3)));
	elseif (y3 <= -2.9e+65)
		tmp = Float64(y2 * Float64(x * Float64(Float64(c * y0) - Float64(a * y1))));
	elseif (y3 <= -2.5e-175)
		tmp = Float64(k * Float64(b * Float64(z * fma(Float64(-y), Float64(y4 / z), y0))));
	elseif (y3 <= -2.6e-251)
		tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))));
	elseif (y3 <= 1.25e-180)
		tmp = Float64(x * Float64(y1 * Float64(Float64(i * j) - Float64(a * y2))));
	elseif (y3 <= 1.7e+56)
		tmp = Float64(k * Float64(y4 * fma(y1, y2, Float64(y * Float64(-b)))));
	else
		tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5))));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y3, -4.6e+189], N[(a * N[(N[((-y1) * z + N[(y * y5), $MachinePrecision]), $MachinePrecision] * (-y3)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -2.9e+65], N[(y2 * N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -2.5e-175], N[(k * N[(b * N[(z * N[((-y) * N[(y4 / z), $MachinePrecision] + y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -2.6e-251], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.25e-180], N[(x * N[(y1 * N[(N[(i * j), $MachinePrecision] - N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.7e+56], N[(k * N[(y4 * N[(y1 * y2 + N[(y * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y3 \leq -4.6 \cdot 10^{+189}:\\
\;\;\;\;a \cdot \left(\mathsf{fma}\left(-y1, z, y \cdot y5\right) \cdot \left(-y3\right)\right)\\

\mathbf{elif}\;y3 \leq -2.9 \cdot 10^{+65}:\\
\;\;\;\;y2 \cdot \left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\

\mathbf{elif}\;y3 \leq -2.5 \cdot 10^{-175}:\\
\;\;\;\;k \cdot \left(b \cdot \left(z \cdot \mathsf{fma}\left(-y, \frac{y4}{z}, y0\right)\right)\right)\\

\mathbf{elif}\;y3 \leq -2.6 \cdot 10^{-251}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\

\mathbf{elif}\;y3 \leq 1.25 \cdot 10^{-180}:\\
\;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\

\mathbf{elif}\;y3 \leq 1.7 \cdot 10^{+56}:\\
\;\;\;\;k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \left(-b\right)\right)\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if y3 < -4.6e189

    1. Initial program 21.9%

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

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
    5. Simplified50.0%

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

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

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

        \[\leadsto \color{blue}{\left(-1 \cdot a\right) \cdot \left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(a\right)\right)} \cdot \left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right) \]
      4. neg-lowering-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(a\right)\right)} \cdot \left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right)} \]
      6. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \left(y3 \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot z} + y \cdot y5\right)\right) \]
      7. accelerator-lowering-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \left(y3 \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, z, y \cdot y5\right)}\right) \]
      8. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \left(y3 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, z, y \cdot y5\right)\right) \]
      9. neg-lowering-neg.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(a\right)\right) \cdot \left(y3 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, z, y \cdot y5\right)\right) \]
      10. *-lowering-*.f6469.4

        \[\leadsto \left(-a\right) \cdot \left(y3 \cdot \mathsf{fma}\left(-y1, z, \color{blue}{y \cdot y5}\right)\right) \]
    8. Simplified69.4%

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

    if -4.6e189 < y3 < -2.9e65

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. associate--l+N/A

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

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

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, \color{blue}{y1 \cdot y4 - y0 \cdot y5}, x \cdot \left(c \cdot y0 - a \cdot y1\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, \color{blue}{y1 \cdot y4} - y0 \cdot y5, x \cdot \left(c \cdot y0 - a \cdot y1\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. *-lowering-*.f64N/A

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

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{x \cdot \left(c \cdot y0 - a \cdot y1\right) + \left(\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)}\right) \]
      8. *-commutativeN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + \left(\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \left(c \cdot y0 - a \cdot y1\right) \cdot x + \color{blue}{-1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)}\right) \]
      10. accelerator-lowering-fma.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)}\right) \]
      11. --lowering--.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      12. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      13. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      14. mul-1-negN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)}\right)\right) \]
      15. *-commutativeN/A

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

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

      \[\leadsto y2 \cdot \color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto y2 \cdot \left(x \cdot \color{blue}{\left(c \cdot y0 - a \cdot y1\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \left(x \cdot \left(\color{blue}{c \cdot y0} - a \cdot y1\right)\right) \]
      4. *-lowering-*.f6459.5

        \[\leadsto y2 \cdot \left(x \cdot \left(c \cdot y0 - \color{blue}{a \cdot y1}\right)\right) \]
    8. Simplified59.5%

      \[\leadsto y2 \cdot \color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} \]

    if -2.9e65 < y3 < -2.5e-175

    1. Initial program 36.1%

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

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

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y0 \cdot z + -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      3. *-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \left(\color{blue}{z \cdot y0} + -1 \cdot \left(y \cdot y4\right)\right)\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\mathsf{fma}\left(z, y0, -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      5. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{\mathsf{neg}\left(y \cdot y4\right)}\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-1 \cdot y4\right)}\right)\right) \]
      8. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(-1 \cdot y4\right)}\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      10. neg-lowering-neg.f6444.6

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-y4\right)}\right)\right) \]
    8. Simplified44.6%

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

      \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(z \cdot \left(y0 + -1 \cdot \frac{y \cdot y4}{z}\right)\right)}\right) \]
    10. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(z \cdot \left(y0 + -1 \cdot \frac{y \cdot y4}{z}\right)\right)}\right) \]
      2. +-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \left(z \cdot \color{blue}{\left(-1 \cdot \frac{y \cdot y4}{z} + y0\right)}\right)\right) \]
      3. associate-/l*N/A

        \[\leadsto k \cdot \left(b \cdot \left(z \cdot \left(-1 \cdot \color{blue}{\left(y \cdot \frac{y4}{z}\right)} + y0\right)\right)\right) \]
      4. associate-*r*N/A

        \[\leadsto k \cdot \left(b \cdot \left(z \cdot \left(\color{blue}{\left(-1 \cdot y\right) \cdot \frac{y4}{z}} + y0\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(b \cdot \left(z \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y, \frac{y4}{z}, y0\right)}\right)\right) \]
      6. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \left(z \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y\right)}, \frac{y4}{z}, y0\right)\right)\right) \]
      7. neg-lowering-neg.f64N/A

        \[\leadsto k \cdot \left(b \cdot \left(z \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y\right)}, \frac{y4}{z}, y0\right)\right)\right) \]
      8. /-lowering-/.f6446.4

        \[\leadsto k \cdot \left(b \cdot \left(z \cdot \mathsf{fma}\left(-y, \color{blue}{\frac{y4}{z}}, y0\right)\right)\right) \]
    11. Simplified46.4%

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

    if -2.5e-175 < y3 < -2.5999999999999999e-251

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
    5. Simplified63.3%

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

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y - t \cdot z\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(b \cdot \left(\color{blue}{x \cdot y} - t \cdot z\right)\right) \]
      4. *-lowering-*.f6463.5

        \[\leadsto a \cdot \left(b \cdot \left(x \cdot y - \color{blue}{t \cdot z}\right)\right) \]
    8. Simplified63.5%

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

    if -2.5999999999999999e-251 < y3 < 1.25e-180

    1. Initial program 32.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto x \cdot \color{blue}{\left(-1 \cdot \left(y1 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(-1 \cdot y1\right) \cdot \left(a \cdot y2 - i \cdot j\right)\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(-1 \cdot y1\right) \cdot \left(a \cdot y2 - i \cdot j\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1\right)\right)} \cdot \left(a \cdot y2 - i \cdot j\right)\right) \]
      4. neg-lowering-neg.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1\right)\right)} \cdot \left(a \cdot y2 - i \cdot j\right)\right) \]
      5. --lowering--.f64N/A

        \[\leadsto x \cdot \left(\left(\mathsf{neg}\left(y1\right)\right) \cdot \color{blue}{\left(a \cdot y2 - i \cdot j\right)}\right) \]
      6. *-lowering-*.f64N/A

        \[\leadsto x \cdot \left(\left(\mathsf{neg}\left(y1\right)\right) \cdot \left(\color{blue}{a \cdot y2} - i \cdot j\right)\right) \]
      7. *-lowering-*.f6442.2

        \[\leadsto x \cdot \left(\left(-y1\right) \cdot \left(a \cdot y2 - \color{blue}{i \cdot j}\right)\right) \]
    8. Simplified42.2%

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

    if 1.25e-180 < y3 < 1.7e56

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 + -1 \cdot \left(b \cdot y\right)\right)}\right) \]
      3. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\mathsf{fma}\left(y1, y2, -1 \cdot \left(b \cdot y\right)\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \color{blue}{\mathsf{neg}\left(b \cdot y\right)}\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \mathsf{neg}\left(\color{blue}{y \cdot b}\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \color{blue}{y \cdot \left(\mathsf{neg}\left(b\right)\right)}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \color{blue}{\left(-1 \cdot b\right)}\right)\right) \]
      8. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \color{blue}{y \cdot \left(-1 \cdot b\right)}\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \color{blue}{\left(\mathsf{neg}\left(b\right)\right)}\right)\right) \]
      10. neg-lowering-neg.f6442.4

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \color{blue}{\left(-b\right)}\right)\right) \]
    8. Simplified42.4%

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

    if 1.7e56 < y3

    1. Initial program 13.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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

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

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

      \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y \cdot y5\right) + y1 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y \cdot y5\right) + y1 \cdot z\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z + -1 \cdot \left(y \cdot y5\right)\right)}\right) \]
      3. mul-1-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \left(y1 \cdot z + \color{blue}{\left(\mathsf{neg}\left(y \cdot y5\right)\right)}\right)\right) \]
      4. unsub-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z - y \cdot y5\right)}\right) \]
      5. --lowering--.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z - y \cdot y5\right)}\right) \]
      6. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \left(\color{blue}{y1 \cdot z} - y \cdot y5\right)\right) \]
      7. *-lowering-*.f6452.2

        \[\leadsto a \cdot \left(y3 \cdot \left(y1 \cdot z - \color{blue}{y \cdot y5}\right)\right) \]
    8. Simplified52.2%

      \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(y1 \cdot z - y \cdot y5\right)\right)} \]
  3. Recombined 7 regimes into one program.
  4. Final simplification51.7%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -4.6 \cdot 10^{+189}:\\ \;\;\;\;a \cdot \left(\mathsf{fma}\left(-y1, z, y \cdot y5\right) \cdot \left(-y3\right)\right)\\ \mathbf{elif}\;y3 \leq -2.9 \cdot 10^{+65}:\\ \;\;\;\;y2 \cdot \left(x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq -2.5 \cdot 10^{-175}:\\ \;\;\;\;k \cdot \left(b \cdot \left(z \cdot \mathsf{fma}\left(-y, \frac{y4}{z}, y0\right)\right)\right)\\ \mathbf{elif}\;y3 \leq -2.6 \cdot 10^{-251}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y3 \leq 1.25 \cdot 10^{-180}:\\ \;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\ \mathbf{elif}\;y3 \leq 1.7 \cdot 10^{+56}:\\ \;\;\;\;k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \left(-b\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 12: 31.8% accurate, 3.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(z \cdot \mathsf{fma}\left(i, t, y0 \cdot \left(-y3\right)\right)\right)\\ t_2 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{if}\;b \leq -2.7 \cdot 10^{+36}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;b \leq -1.72 \cdot 10^{-133}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq -9.2 \cdot 10^{-235}:\\ \;\;\;\;\left(i \cdot k\right) \cdot \mathsf{fma}\left(y1, -z, y \cdot y5\right)\\ \mathbf{elif}\;b \leq 9 \cdot 10^{-258}:\\ \;\;\;\;\left(y0 \cdot y2\right) \cdot \left(x \cdot c - k \cdot y5\right)\\ \mathbf{elif}\;b \leq 1.08 \cdot 10^{+120}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 6.4 \cdot 10^{+215}:\\ \;\;\;\;t\_2\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \left(-b\right)\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* c (* z (fma i t (* y0 (- y3))))))
        (t_2 (* a (* b (- (* x y) (* z t))))))
   (if (<= b -2.7e+36)
     t_2
     (if (<= b -1.72e-133)
       t_1
       (if (<= b -9.2e-235)
         (* (* i k) (fma y1 (- z) (* y y5)))
         (if (<= b 9e-258)
           (* (* y0 y2) (- (* x c) (* k y5)))
           (if (<= b 1.08e+120)
             t_1
             (if (<= b 6.4e+215)
               t_2
               (* k (* y4 (fma y1 y2 (* y (- b)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = c * (z * fma(i, t, (y0 * -y3)));
	double t_2 = a * (b * ((x * y) - (z * t)));
	double tmp;
	if (b <= -2.7e+36) {
		tmp = t_2;
	} else if (b <= -1.72e-133) {
		tmp = t_1;
	} else if (b <= -9.2e-235) {
		tmp = (i * k) * fma(y1, -z, (y * y5));
	} else if (b <= 9e-258) {
		tmp = (y0 * y2) * ((x * c) - (k * y5));
	} else if (b <= 1.08e+120) {
		tmp = t_1;
	} else if (b <= 6.4e+215) {
		tmp = t_2;
	} else {
		tmp = k * (y4 * fma(y1, y2, (y * -b)));
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(c * Float64(z * fma(i, t, Float64(y0 * Float64(-y3)))))
	t_2 = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))))
	tmp = 0.0
	if (b <= -2.7e+36)
		tmp = t_2;
	elseif (b <= -1.72e-133)
		tmp = t_1;
	elseif (b <= -9.2e-235)
		tmp = Float64(Float64(i * k) * fma(y1, Float64(-z), Float64(y * y5)));
	elseif (b <= 9e-258)
		tmp = Float64(Float64(y0 * y2) * Float64(Float64(x * c) - Float64(k * y5)));
	elseif (b <= 1.08e+120)
		tmp = t_1;
	elseif (b <= 6.4e+215)
		tmp = t_2;
	else
		tmp = Float64(k * Float64(y4 * fma(y1, y2, Float64(y * Float64(-b)))));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(z * N[(i * t + N[(y0 * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -2.7e+36], t$95$2, If[LessEqual[b, -1.72e-133], t$95$1, If[LessEqual[b, -9.2e-235], N[(N[(i * k), $MachinePrecision] * N[(y1 * (-z) + N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 9e-258], N[(N[(y0 * y2), $MachinePrecision] * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.08e+120], t$95$1, If[LessEqual[b, 6.4e+215], t$95$2, N[(k * N[(y4 * N[(y1 * y2 + N[(y * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(z \cdot \mathsf{fma}\left(i, t, y0 \cdot \left(-y3\right)\right)\right)\\
t_2 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{if}\;b \leq -2.7 \cdot 10^{+36}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;b \leq -1.72 \cdot 10^{-133}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq -9.2 \cdot 10^{-235}:\\
\;\;\;\;\left(i \cdot k\right) \cdot \mathsf{fma}\left(y1, -z, y \cdot y5\right)\\

\mathbf{elif}\;b \leq 9 \cdot 10^{-258}:\\
\;\;\;\;\left(y0 \cdot y2\right) \cdot \left(x \cdot c - k \cdot y5\right)\\

\mathbf{elif}\;b \leq 1.08 \cdot 10^{+120}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq 6.4 \cdot 10^{+215}:\\
\;\;\;\;t\_2\\

\mathbf{else}:\\
\;\;\;\;k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \left(-b\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if b < -2.7000000000000001e36 or 1.0799999999999999e120 < b < 6.3999999999999997e215

    1. Initial program 27.3%

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
    5. Simplified51.3%

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

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y - t \cdot z\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(b \cdot \left(\color{blue}{x \cdot y} - t \cdot z\right)\right) \]
      4. *-lowering-*.f6455.1

        \[\leadsto a \cdot \left(b \cdot \left(x \cdot y - \color{blue}{t \cdot z}\right)\right) \]
    8. Simplified55.1%

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

    if -2.7000000000000001e36 < b < -1.71999999999999995e-133 or 9.00000000000000017e-258 < b < 1.0799999999999999e120

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

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

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

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

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

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

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot \left(-1 \cdot c\right)} \]
    5. Simplified50.2%

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

      \[\leadsto \color{blue}{c \cdot \left(z \cdot \left(-1 \cdot \left(y0 \cdot y3\right) + i \cdot t\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

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

        \[\leadsto c \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(y0 \cdot y3\right) + i \cdot t\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto c \cdot \left(z \cdot \color{blue}{\left(i \cdot t + -1 \cdot \left(y0 \cdot y3\right)\right)}\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto c \cdot \left(z \cdot \color{blue}{\mathsf{fma}\left(i, t, -1 \cdot \left(y0 \cdot y3\right)\right)}\right) \]
      5. associate-*r*N/A

        \[\leadsto c \cdot \left(z \cdot \mathsf{fma}\left(i, t, \color{blue}{\left(-1 \cdot y0\right) \cdot y3}\right)\right) \]
      6. *-lowering-*.f64N/A

        \[\leadsto c \cdot \left(z \cdot \mathsf{fma}\left(i, t, \color{blue}{\left(-1 \cdot y0\right) \cdot y3}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto c \cdot \left(z \cdot \mathsf{fma}\left(i, t, \color{blue}{\left(\mathsf{neg}\left(y0\right)\right)} \cdot y3\right)\right) \]
      8. neg-lowering-neg.f6444.2

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

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

    if -1.71999999999999995e-133 < b < -9.19999999999999989e-235

    1. Initial program 26.0%

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

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

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto \color{blue}{i \cdot \left(k \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

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

        \[\leadsto \color{blue}{\left(i \cdot k\right) \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(i \cdot k\right)} \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right) \]
      4. mul-1-negN/A

        \[\leadsto \left(i \cdot k\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot z\right)\right)} + y \cdot y5\right) \]
      5. distribute-rgt-neg-inN/A

        \[\leadsto \left(i \cdot k\right) \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(z\right)\right)} + y \cdot y5\right) \]
      6. mul-1-negN/A

        \[\leadsto \left(i \cdot k\right) \cdot \left(y1 \cdot \color{blue}{\left(-1 \cdot z\right)} + y \cdot y5\right) \]
      7. accelerator-lowering-fma.f64N/A

        \[\leadsto \left(i \cdot k\right) \cdot \color{blue}{\mathsf{fma}\left(y1, -1 \cdot z, y \cdot y5\right)} \]
      8. mul-1-negN/A

        \[\leadsto \left(i \cdot k\right) \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(z\right)}, y \cdot y5\right) \]
      9. neg-lowering-neg.f64N/A

        \[\leadsto \left(i \cdot k\right) \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(z\right)}, y \cdot y5\right) \]
      10. *-lowering-*.f6449.5

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

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

    if -9.19999999999999989e-235 < b < 9.00000000000000017e-258

    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. *-lowering-*.f64N/A

        \[\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)} \]
      2. associate--l+N/A

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

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

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, \color{blue}{y1 \cdot y4 - y0 \cdot y5}, x \cdot \left(c \cdot y0 - a \cdot y1\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, \color{blue}{y1 \cdot y4} - y0 \cdot y5, x \cdot \left(c \cdot y0 - a \cdot y1\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. *-lowering-*.f64N/A

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

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{x \cdot \left(c \cdot y0 - a \cdot y1\right) + \left(\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)}\right) \]
      8. *-commutativeN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + \left(\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \left(c \cdot y0 - a \cdot y1\right) \cdot x + \color{blue}{-1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)}\right) \]
      10. accelerator-lowering-fma.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)}\right) \]
      11. --lowering--.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      12. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      13. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, -1 \cdot \left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      14. mul-1-negN/A

        \[\leadsto y2 \cdot \mathsf{fma}\left(k, y1 \cdot y4 - y0 \cdot y5, \mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{\mathsf{neg}\left(t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)}\right)\right) \]
      15. *-commutativeN/A

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

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

      \[\leadsto \color{blue}{y0 \cdot \left(y2 \cdot \left(-1 \cdot \left(k \cdot y5\right) + c \cdot x\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

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

        \[\leadsto \color{blue}{\left(y0 \cdot y2\right) \cdot \left(-1 \cdot \left(k \cdot y5\right) + c \cdot x\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(y0 \cdot y2\right)} \cdot \left(-1 \cdot \left(k \cdot y5\right) + c \cdot x\right) \]
      4. +-commutativeN/A

        \[\leadsto \left(y0 \cdot y2\right) \cdot \color{blue}{\left(c \cdot x + -1 \cdot \left(k \cdot y5\right)\right)} \]
      5. mul-1-negN/A

        \[\leadsto \left(y0 \cdot y2\right) \cdot \left(c \cdot x + \color{blue}{\left(\mathsf{neg}\left(k \cdot y5\right)\right)}\right) \]
      6. unsub-negN/A

        \[\leadsto \left(y0 \cdot y2\right) \cdot \color{blue}{\left(c \cdot x - k \cdot y5\right)} \]
      7. --lowering--.f64N/A

        \[\leadsto \left(y0 \cdot y2\right) \cdot \color{blue}{\left(c \cdot x - k \cdot y5\right)} \]
      8. *-lowering-*.f64N/A

        \[\leadsto \left(y0 \cdot y2\right) \cdot \left(\color{blue}{c \cdot x} - k \cdot y5\right) \]
      9. *-lowering-*.f6447.0

        \[\leadsto \left(y0 \cdot y2\right) \cdot \left(c \cdot x - \color{blue}{k \cdot y5}\right) \]
    8. Simplified47.0%

      \[\leadsto \color{blue}{\left(y0 \cdot y2\right) \cdot \left(c \cdot x - k \cdot y5\right)} \]

    if 6.3999999999999997e215 < b

    1. Initial program 29.4%

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

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

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 + -1 \cdot \left(b \cdot y\right)\right)}\right) \]
      3. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\mathsf{fma}\left(y1, y2, -1 \cdot \left(b \cdot y\right)\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \color{blue}{\mathsf{neg}\left(b \cdot y\right)}\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \mathsf{neg}\left(\color{blue}{y \cdot b}\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \color{blue}{y \cdot \left(\mathsf{neg}\left(b\right)\right)}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \color{blue}{\left(-1 \cdot b\right)}\right)\right) \]
      8. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \color{blue}{y \cdot \left(-1 \cdot b\right)}\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \color{blue}{\left(\mathsf{neg}\left(b\right)\right)}\right)\right) \]
      10. neg-lowering-neg.f6482.4

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \color{blue}{\left(-b\right)}\right)\right) \]
    8. Simplified82.4%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.7 \cdot 10^{+36}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;b \leq -1.72 \cdot 10^{-133}:\\ \;\;\;\;c \cdot \left(z \cdot \mathsf{fma}\left(i, t, y0 \cdot \left(-y3\right)\right)\right)\\ \mathbf{elif}\;b \leq -9.2 \cdot 10^{-235}:\\ \;\;\;\;\left(i \cdot k\right) \cdot \mathsf{fma}\left(y1, -z, y \cdot y5\right)\\ \mathbf{elif}\;b \leq 9 \cdot 10^{-258}:\\ \;\;\;\;\left(y0 \cdot y2\right) \cdot \left(x \cdot c - k \cdot y5\right)\\ \mathbf{elif}\;b \leq 1.08 \cdot 10^{+120}:\\ \;\;\;\;c \cdot \left(z \cdot \mathsf{fma}\left(i, t, y0 \cdot \left(-y3\right)\right)\right)\\ \mathbf{elif}\;b \leq 6.4 \cdot 10^{+215}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \left(-b\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 13: 32.4% accurate, 3.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(z \cdot \mathsf{fma}\left(i, t, y0 \cdot \left(-y3\right)\right)\right)\\ t_2 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{if}\;b \leq -2.3 \cdot 10^{+37}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;b \leq -2 \cdot 10^{-134}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq -2.15 \cdot 10^{-234}:\\ \;\;\;\;\left(i \cdot k\right) \cdot \mathsf{fma}\left(y1, -z, y \cdot y5\right)\\ \mathbf{elif}\;b \leq 2.4 \cdot 10^{-260}:\\ \;\;\;\;y2 \cdot \left(k \cdot \mathsf{fma}\left(y4, y1, y0 \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;b \leq 1.15 \cdot 10^{+120}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 1.28 \cdot 10^{+222}:\\ \;\;\;\;t\_2\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \left(-b\right)\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* c (* z (fma i t (* y0 (- y3))))))
        (t_2 (* a (* b (- (* x y) (* z t))))))
   (if (<= b -2.3e+37)
     t_2
     (if (<= b -2e-134)
       t_1
       (if (<= b -2.15e-234)
         (* (* i k) (fma y1 (- z) (* y y5)))
         (if (<= b 2.4e-260)
           (* y2 (* k (fma y4 y1 (* y0 (- y5)))))
           (if (<= b 1.15e+120)
             t_1
             (if (<= b 1.28e+222)
               t_2
               (* k (* y4 (fma y1 y2 (* y (- b)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = c * (z * fma(i, t, (y0 * -y3)));
	double t_2 = a * (b * ((x * y) - (z * t)));
	double tmp;
	if (b <= -2.3e+37) {
		tmp = t_2;
	} else if (b <= -2e-134) {
		tmp = t_1;
	} else if (b <= -2.15e-234) {
		tmp = (i * k) * fma(y1, -z, (y * y5));
	} else if (b <= 2.4e-260) {
		tmp = y2 * (k * fma(y4, y1, (y0 * -y5)));
	} else if (b <= 1.15e+120) {
		tmp = t_1;
	} else if (b <= 1.28e+222) {
		tmp = t_2;
	} else {
		tmp = k * (y4 * fma(y1, y2, (y * -b)));
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(c * Float64(z * fma(i, t, Float64(y0 * Float64(-y3)))))
	t_2 = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))))
	tmp = 0.0
	if (b <= -2.3e+37)
		tmp = t_2;
	elseif (b <= -2e-134)
		tmp = t_1;
	elseif (b <= -2.15e-234)
		tmp = Float64(Float64(i * k) * fma(y1, Float64(-z), Float64(y * y5)));
	elseif (b <= 2.4e-260)
		tmp = Float64(y2 * Float64(k * fma(y4, y1, Float64(y0 * Float64(-y5)))));
	elseif (b <= 1.15e+120)
		tmp = t_1;
	elseif (b <= 1.28e+222)
		tmp = t_2;
	else
		tmp = Float64(k * Float64(y4 * fma(y1, y2, Float64(y * Float64(-b)))));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(z * N[(i * t + N[(y0 * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -2.3e+37], t$95$2, If[LessEqual[b, -2e-134], t$95$1, If[LessEqual[b, -2.15e-234], N[(N[(i * k), $MachinePrecision] * N[(y1 * (-z) + N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.4e-260], N[(y2 * N[(k * N[(y4 * y1 + N[(y0 * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.15e+120], t$95$1, If[LessEqual[b, 1.28e+222], t$95$2, N[(k * N[(y4 * N[(y1 * y2 + N[(y * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(z \cdot \mathsf{fma}\left(i, t, y0 \cdot \left(-y3\right)\right)\right)\\
t_2 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{if}\;b \leq -2.3 \cdot 10^{+37}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;b \leq -2 \cdot 10^{-134}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq -2.15 \cdot 10^{-234}:\\
\;\;\;\;\left(i \cdot k\right) \cdot \mathsf{fma}\left(y1, -z, y \cdot y5\right)\\

\mathbf{elif}\;b \leq 2.4 \cdot 10^{-260}:\\
\;\;\;\;y2 \cdot \left(k \cdot \mathsf{fma}\left(y4, y1, y0 \cdot \left(-y5\right)\right)\right)\\

\mathbf{elif}\;b \leq 1.15 \cdot 10^{+120}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq 1.28 \cdot 10^{+222}:\\
\;\;\;\;t\_2\\

\mathbf{else}:\\
\;\;\;\;k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \left(-b\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if b < -2.30000000000000002e37 or 1.14999999999999996e120 < b < 1.28e222

    1. Initial program 27.3%

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
    5. Simplified51.3%

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

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y - t \cdot z\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(b \cdot \left(\color{blue}{x \cdot y} - t \cdot z\right)\right) \]
      4. *-lowering-*.f6455.1

        \[\leadsto a \cdot \left(b \cdot \left(x \cdot y - \color{blue}{t \cdot z}\right)\right) \]
    8. Simplified55.1%

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

    if -2.30000000000000002e37 < b < -2.00000000000000008e-134 or 2.4000000000000001e-260 < b < 1.14999999999999996e120

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

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

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

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

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

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

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot \left(-1 \cdot c\right)} \]
    5. Simplified50.2%

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

      \[\leadsto \color{blue}{c \cdot \left(z \cdot \left(-1 \cdot \left(y0 \cdot y3\right) + i \cdot t\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

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

        \[\leadsto c \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(y0 \cdot y3\right) + i \cdot t\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto c \cdot \left(z \cdot \color{blue}{\left(i \cdot t + -1 \cdot \left(y0 \cdot y3\right)\right)}\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto c \cdot \left(z \cdot \color{blue}{\mathsf{fma}\left(i, t, -1 \cdot \left(y0 \cdot y3\right)\right)}\right) \]
      5. associate-*r*N/A

        \[\leadsto c \cdot \left(z \cdot \mathsf{fma}\left(i, t, \color{blue}{\left(-1 \cdot y0\right) \cdot y3}\right)\right) \]
      6. *-lowering-*.f64N/A

        \[\leadsto c \cdot \left(z \cdot \mathsf{fma}\left(i, t, \color{blue}{\left(-1 \cdot y0\right) \cdot y3}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto c \cdot \left(z \cdot \mathsf{fma}\left(i, t, \color{blue}{\left(\mathsf{neg}\left(y0\right)\right)} \cdot y3\right)\right) \]
      8. neg-lowering-neg.f6444.2

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

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

    if -2.00000000000000008e-134 < b < -2.15e-234

    1. Initial program 26.0%

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

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

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto \color{blue}{i \cdot \left(k \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

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

        \[\leadsto \color{blue}{\left(i \cdot k\right) \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(i \cdot k\right)} \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right) \]
      4. mul-1-negN/A

        \[\leadsto \left(i \cdot k\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot z\right)\right)} + y \cdot y5\right) \]
      5. distribute-rgt-neg-inN/A

        \[\leadsto \left(i \cdot k\right) \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(z\right)\right)} + y \cdot y5\right) \]
      6. mul-1-negN/A

        \[\leadsto \left(i \cdot k\right) \cdot \left(y1 \cdot \color{blue}{\left(-1 \cdot z\right)} + y \cdot y5\right) \]
      7. accelerator-lowering-fma.f64N/A

        \[\leadsto \left(i \cdot k\right) \cdot \color{blue}{\mathsf{fma}\left(y1, -1 \cdot z, y \cdot y5\right)} \]
      8. mul-1-negN/A

        \[\leadsto \left(i \cdot k\right) \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(z\right)}, y \cdot y5\right) \]
      9. neg-lowering-neg.f64N/A

        \[\leadsto \left(i \cdot k\right) \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(z\right)}, y \cdot y5\right) \]
      10. *-lowering-*.f6449.5

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

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

    if -2.15e-234 < b < 2.4000000000000001e-260

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \mathsf{fma}\left(\color{blue}{i \cdot \left(\frac{b \cdot y4}{i} - y5\right)}, \mathsf{neg}\left(y\right), \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \mathsf{fma}\left(\color{blue}{i \cdot \left(\frac{b \cdot y4}{i} - y5\right)}, \mathsf{neg}\left(y\right), \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      2. --lowering--.f64N/A

        \[\leadsto k \cdot \mathsf{fma}\left(i \cdot \color{blue}{\left(\frac{b \cdot y4}{i} - y5\right)}, \mathsf{neg}\left(y\right), \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      3. /-lowering-/.f64N/A

        \[\leadsto k \cdot \mathsf{fma}\left(i \cdot \left(\color{blue}{\frac{b \cdot y4}{i}} - y5\right), \mathsf{neg}\left(y\right), \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto k \cdot \mathsf{fma}\left(i \cdot \left(\frac{\color{blue}{y4 \cdot b}}{i} - y5\right), \mathsf{neg}\left(y\right), \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. *-lowering-*.f6451.0

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

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

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

        \[\leadsto \color{blue}{\left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) \cdot k} \]
      2. associate-*r*N/A

        \[\leadsto \color{blue}{y2 \cdot \left(\left(y1 \cdot y4 - y0 \cdot y5\right) \cdot k\right)} \]
      3. *-commutativeN/A

        \[\leadsto y2 \cdot \color{blue}{\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} \]
      4. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} \]
      5. *-commutativeN/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(y1 \cdot y4 - y0 \cdot y5\right) \cdot k\right)} \]
      6. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(y1 \cdot y4 - y0 \cdot y5\right) \cdot k\right)} \]
      7. sub-negN/A

        \[\leadsto y2 \cdot \left(\color{blue}{\left(y1 \cdot y4 + \left(\mathsf{neg}\left(y0 \cdot y5\right)\right)\right)} \cdot k\right) \]
      8. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\left(\color{blue}{y4 \cdot y1} + \left(\mathsf{neg}\left(y0 \cdot y5\right)\right)\right) \cdot k\right) \]
      9. accelerator-lowering-fma.f64N/A

        \[\leadsto y2 \cdot \left(\color{blue}{\mathsf{fma}\left(y4, y1, \mathsf{neg}\left(y0 \cdot y5\right)\right)} \cdot k\right) \]
      10. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(y4, y1, \mathsf{neg}\left(\color{blue}{y5 \cdot y0}\right)\right) \cdot k\right) \]
      11. distribute-rgt-neg-inN/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(y4, y1, \color{blue}{y5 \cdot \left(\mathsf{neg}\left(y0\right)\right)}\right) \cdot k\right) \]
      12. mul-1-negN/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(y4, y1, y5 \cdot \color{blue}{\left(-1 \cdot y0\right)}\right) \cdot k\right) \]
      13. *-lowering-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(y4, y1, \color{blue}{y5 \cdot \left(-1 \cdot y0\right)}\right) \cdot k\right) \]
      14. mul-1-negN/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(y4, y1, y5 \cdot \color{blue}{\left(\mathsf{neg}\left(y0\right)\right)}\right) \cdot k\right) \]
      15. neg-lowering-neg.f6446.9

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

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

    if 1.28e222 < b

    1. Initial program 29.4%

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

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

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 + -1 \cdot \left(b \cdot y\right)\right)}\right) \]
      3. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\mathsf{fma}\left(y1, y2, -1 \cdot \left(b \cdot y\right)\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \color{blue}{\mathsf{neg}\left(b \cdot y\right)}\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \mathsf{neg}\left(\color{blue}{y \cdot b}\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \color{blue}{y \cdot \left(\mathsf{neg}\left(b\right)\right)}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \color{blue}{\left(-1 \cdot b\right)}\right)\right) \]
      8. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \color{blue}{y \cdot \left(-1 \cdot b\right)}\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \color{blue}{\left(\mathsf{neg}\left(b\right)\right)}\right)\right) \]
      10. neg-lowering-neg.f6482.4

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \color{blue}{\left(-b\right)}\right)\right) \]
    8. Simplified82.4%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.3 \cdot 10^{+37}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;b \leq -2 \cdot 10^{-134}:\\ \;\;\;\;c \cdot \left(z \cdot \mathsf{fma}\left(i, t, y0 \cdot \left(-y3\right)\right)\right)\\ \mathbf{elif}\;b \leq -2.15 \cdot 10^{-234}:\\ \;\;\;\;\left(i \cdot k\right) \cdot \mathsf{fma}\left(y1, -z, y \cdot y5\right)\\ \mathbf{elif}\;b \leq 2.4 \cdot 10^{-260}:\\ \;\;\;\;y2 \cdot \left(k \cdot \mathsf{fma}\left(y4, y1, y0 \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;b \leq 1.15 \cdot 10^{+120}:\\ \;\;\;\;c \cdot \left(z \cdot \mathsf{fma}\left(i, t, y0 \cdot \left(-y3\right)\right)\right)\\ \mathbf{elif}\;b \leq 1.28 \cdot 10^{+222}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \left(-b\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 14: 21.8% accurate, 3.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\ \mathbf{if}\;y4 \leq -1.05 \cdot 10^{+230}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;y4 \leq -1 \cdot 10^{+32}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y4 \leq -5.8 \cdot 10^{-72}:\\ \;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1\right)\\ \mathbf{elif}\;y4 \leq -1.85 \cdot 10^{-233}:\\ \;\;\;\;\left(-y1\right) \cdot \left(k \cdot \left(z \cdot i\right)\right)\\ \mathbf{elif}\;y4 \leq 2.2 \cdot 10^{+34}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{elif}\;y4 \leq 9.2 \cdot 10^{+120}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* k (* b (* y (- y4))))))
   (if (<= y4 -1.05e+230)
     (* c (* y (* y3 y4)))
     (if (<= y4 -1e+32)
       t_1
       (if (<= y4 -5.8e-72)
         (* (* x j) (* i y1))
         (if (<= y4 -1.85e-233)
           (* (- y1) (* k (* z i)))
           (if (<= y4 2.2e+34)
             (* a (* y (* x b)))
             (if (<= y4 9.2e+120) (* c (* y4 (* 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 = k * (b * (y * -y4));
	double tmp;
	if (y4 <= -1.05e+230) {
		tmp = c * (y * (y3 * y4));
	} else if (y4 <= -1e+32) {
		tmp = t_1;
	} else if (y4 <= -5.8e-72) {
		tmp = (x * j) * (i * y1);
	} else if (y4 <= -1.85e-233) {
		tmp = -y1 * (k * (z * i));
	} else if (y4 <= 2.2e+34) {
		tmp = a * (y * (x * b));
	} else if (y4 <= 9.2e+120) {
		tmp = c * (y4 * (y * y3));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = k * (b * (y * -y4))
    if (y4 <= (-1.05d+230)) then
        tmp = c * (y * (y3 * y4))
    else if (y4 <= (-1d+32)) then
        tmp = t_1
    else if (y4 <= (-5.8d-72)) then
        tmp = (x * j) * (i * y1)
    else if (y4 <= (-1.85d-233)) then
        tmp = -y1 * (k * (z * i))
    else if (y4 <= 2.2d+34) then
        tmp = a * (y * (x * b))
    else if (y4 <= 9.2d+120) then
        tmp = c * (y4 * (y * y3))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (b * (y * -y4));
	double tmp;
	if (y4 <= -1.05e+230) {
		tmp = c * (y * (y3 * y4));
	} else if (y4 <= -1e+32) {
		tmp = t_1;
	} else if (y4 <= -5.8e-72) {
		tmp = (x * j) * (i * y1);
	} else if (y4 <= -1.85e-233) {
		tmp = -y1 * (k * (z * i));
	} else if (y4 <= 2.2e+34) {
		tmp = a * (y * (x * b));
	} else if (y4 <= 9.2e+120) {
		tmp = c * (y4 * (y * y3));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = k * (b * (y * -y4))
	tmp = 0
	if y4 <= -1.05e+230:
		tmp = c * (y * (y3 * y4))
	elif y4 <= -1e+32:
		tmp = t_1
	elif y4 <= -5.8e-72:
		tmp = (x * j) * (i * y1)
	elif y4 <= -1.85e-233:
		tmp = -y1 * (k * (z * i))
	elif y4 <= 2.2e+34:
		tmp = a * (y * (x * b))
	elif y4 <= 9.2e+120:
		tmp = c * (y4 * (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(k * Float64(b * Float64(y * Float64(-y4))))
	tmp = 0.0
	if (y4 <= -1.05e+230)
		tmp = Float64(c * Float64(y * Float64(y3 * y4)));
	elseif (y4 <= -1e+32)
		tmp = t_1;
	elseif (y4 <= -5.8e-72)
		tmp = Float64(Float64(x * j) * Float64(i * y1));
	elseif (y4 <= -1.85e-233)
		tmp = Float64(Float64(-y1) * Float64(k * Float64(z * i)));
	elseif (y4 <= 2.2e+34)
		tmp = Float64(a * Float64(y * Float64(x * b)));
	elseif (y4 <= 9.2e+120)
		tmp = Float64(c * Float64(y4 * Float64(y * y3)));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = k * (b * (y * -y4));
	tmp = 0.0;
	if (y4 <= -1.05e+230)
		tmp = c * (y * (y3 * y4));
	elseif (y4 <= -1e+32)
		tmp = t_1;
	elseif (y4 <= -5.8e-72)
		tmp = (x * j) * (i * y1);
	elseif (y4 <= -1.85e-233)
		tmp = -y1 * (k * (z * i));
	elseif (y4 <= 2.2e+34)
		tmp = a * (y * (x * b));
	elseif (y4 <= 9.2e+120)
		tmp = c * (y4 * (y * y3));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(b * N[(y * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -1.05e+230], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -1e+32], t$95$1, If[LessEqual[y4, -5.8e-72], N[(N[(x * j), $MachinePrecision] * N[(i * y1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -1.85e-233], N[((-y1) * N[(k * N[(z * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 2.2e+34], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 9.2e+120], N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\
\mathbf{if}\;y4 \leq -1.05 \cdot 10^{+230}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\

\mathbf{elif}\;y4 \leq -1 \cdot 10^{+32}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y4 \leq -5.8 \cdot 10^{-72}:\\
\;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1\right)\\

\mathbf{elif}\;y4 \leq -1.85 \cdot 10^{-233}:\\
\;\;\;\;\left(-y1\right) \cdot \left(k \cdot \left(z \cdot i\right)\right)\\

\mathbf{elif}\;y4 \leq 2.2 \cdot 10^{+34}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\

\mathbf{elif}\;y4 \leq 9.2 \cdot 10^{+120}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if y4 < -1.04999999999999996e230

    1. Initial program 12.5%

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

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

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

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

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

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

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot \left(-1 \cdot c\right)} \]
    5. Simplified56.3%

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

      \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      2. --lowering--.f64N/A

        \[\leadsto \left(y4 \cdot \color{blue}{\left(t \cdot y2 - y \cdot y3\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto \left(y4 \cdot \left(\color{blue}{t \cdot y2} - y \cdot y3\right)\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      4. *-lowering-*.f6456.9

        \[\leadsto \left(y4 \cdot \left(t \cdot y2 - \color{blue}{y \cdot y3}\right)\right) \cdot \left(-c\right) \]
    8. Simplified56.9%

      \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(-c\right) \]
    9. Taylor expanded in t around 0

      \[\leadsto \color{blue}{\left(-1 \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y \cdot \left(y3 \cdot y4\right)\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      2. distribute-rgt-neg-inN/A

        \[\leadsto \color{blue}{\left(y \cdot \left(\mathsf{neg}\left(y3 \cdot y4\right)\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      3. mul-1-negN/A

        \[\leadsto \left(y \cdot \color{blue}{\left(-1 \cdot \left(y3 \cdot y4\right)\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      4. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(y \cdot \left(-1 \cdot \left(y3 \cdot y4\right)\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      5. mul-1-negN/A

        \[\leadsto \left(y \cdot \color{blue}{\left(\mathsf{neg}\left(y3 \cdot y4\right)\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      6. *-commutativeN/A

        \[\leadsto \left(y \cdot \left(\mathsf{neg}\left(\color{blue}{y4 \cdot y3}\right)\right)\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      7. distribute-rgt-neg-inN/A

        \[\leadsto \left(y \cdot \color{blue}{\left(y4 \cdot \left(\mathsf{neg}\left(y3\right)\right)\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      8. mul-1-negN/A

        \[\leadsto \left(y \cdot \left(y4 \cdot \color{blue}{\left(-1 \cdot y3\right)}\right)\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto \left(y \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot y3\right)\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      10. mul-1-negN/A

        \[\leadsto \left(y \cdot \left(y4 \cdot \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)}\right)\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      11. neg-lowering-neg.f6457.3

        \[\leadsto \left(y \cdot \left(y4 \cdot \color{blue}{\left(-y3\right)}\right)\right) \cdot \left(-c\right) \]
    11. Simplified57.3%

      \[\leadsto \color{blue}{\left(y \cdot \left(y4 \cdot \left(-y3\right)\right)\right)} \cdot \left(-c\right) \]

    if -1.04999999999999996e230 < y4 < -1.00000000000000005e32 or 9.1999999999999997e120 < y4

    1. Initial program 20.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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y0 \cdot z + -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      3. *-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \left(\color{blue}{z \cdot y0} + -1 \cdot \left(y \cdot y4\right)\right)\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\mathsf{fma}\left(z, y0, -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      5. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{\mathsf{neg}\left(y \cdot y4\right)}\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-1 \cdot y4\right)}\right)\right) \]
      8. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(-1 \cdot y4\right)}\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      10. neg-lowering-neg.f6456.1

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-y4\right)}\right)\right) \]
    8. Simplified56.1%

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

      \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(-1 \cdot \left(y \cdot y4\right)\right)}\right) \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(\mathsf{neg}\left(y \cdot y4\right)\right)}\right) \]
      2. *-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \left(\mathsf{neg}\left(\color{blue}{y4 \cdot y}\right)\right)\right) \]
      3. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y4 \cdot \left(\mathsf{neg}\left(y\right)\right)\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \left(y4 \cdot \color{blue}{\left(-1 \cdot y\right)}\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot y\right)\right)}\right) \]
      6. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \left(y4 \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right)\right) \]
      7. neg-lowering-neg.f6445.7

        \[\leadsto k \cdot \left(b \cdot \left(y4 \cdot \color{blue}{\left(-y\right)}\right)\right) \]
    11. Simplified45.7%

      \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y4 \cdot \left(-y\right)\right)}\right) \]

    if -1.00000000000000005e32 < y4 < -5.79999999999999995e-72

    1. Initial program 42.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right)} \cdot \left(i \cdot y1 - b \cdot y0\right) \]
      4. --lowering--.f64N/A

        \[\leadsto \left(j \cdot x\right) \cdot \color{blue}{\left(i \cdot y1 - b \cdot y0\right)} \]
      5. *-lowering-*.f64N/A

        \[\leadsto \left(j \cdot x\right) \cdot \left(\color{blue}{i \cdot y1} - b \cdot y0\right) \]
      6. *-lowering-*.f6439.4

        \[\leadsto \left(j \cdot x\right) \cdot \left(i \cdot y1 - \color{blue}{b \cdot y0}\right) \]
    8. Simplified39.4%

      \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
    9. Taylor expanded in i around inf

      \[\leadsto \left(j \cdot x\right) \cdot \color{blue}{\left(i \cdot y1\right)} \]
    10. Step-by-step derivation
      1. *-lowering-*.f6439.0

        \[\leadsto \left(j \cdot x\right) \cdot \color{blue}{\left(i \cdot y1\right)} \]
    11. Simplified39.0%

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

    if -5.79999999999999995e-72 < y4 < -1.8499999999999999e-233

    1. Initial program 37.1%

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

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto \color{blue}{k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(k \cdot z\right) \cdot \left(b \cdot y0 - i \cdot y1\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(k \cdot z\right) \cdot \left(b \cdot y0 - i \cdot y1\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(k \cdot z\right)} \cdot \left(b \cdot y0 - i \cdot y1\right) \]
      4. --lowering--.f64N/A

        \[\leadsto \left(k \cdot z\right) \cdot \color{blue}{\left(b \cdot y0 - i \cdot y1\right)} \]
      5. *-commutativeN/A

        \[\leadsto \left(k \cdot z\right) \cdot \left(\color{blue}{y0 \cdot b} - i \cdot y1\right) \]
      6. *-lowering-*.f64N/A

        \[\leadsto \left(k \cdot z\right) \cdot \left(\color{blue}{y0 \cdot b} - i \cdot y1\right) \]
      7. *-lowering-*.f6441.2

        \[\leadsto \left(k \cdot z\right) \cdot \left(y0 \cdot b - \color{blue}{i \cdot y1}\right) \]
    8. Simplified41.2%

      \[\leadsto \color{blue}{\left(k \cdot z\right) \cdot \left(y0 \cdot b - i \cdot y1\right)} \]
    9. Taylor expanded in y0 around 0

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(k \cdot \left(y1 \cdot z\right)\right)\right)} \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(i \cdot \left(k \cdot \left(y1 \cdot z\right)\right)\right)} \]
      2. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(i \cdot k\right) \cdot \left(y1 \cdot z\right)}\right) \]
      3. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(\left(i \cdot k\right) \cdot \color{blue}{\left(z \cdot y1\right)}\right) \]
      4. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(\left(i \cdot k\right) \cdot z\right) \cdot y1}\right) \]
      5. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(i \cdot \left(k \cdot z\right)\right)} \cdot y1\right) \]
      6. distribute-lft-neg-outN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(i \cdot \left(k \cdot z\right)\right)\right) \cdot y1} \]
      7. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i \cdot \color{blue}{\left(z \cdot k\right)}\right)\right) \cdot y1 \]
      8. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(\color{blue}{\left(i \cdot z\right) \cdot k}\right)\right) \cdot y1 \]
      9. distribute-lft-neg-outN/A

        \[\leadsto \color{blue}{\left(\left(\mathsf{neg}\left(i \cdot z\right)\right) \cdot k\right)} \cdot y1 \]
      10. mul-1-negN/A

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot z\right)\right)} \cdot k\right) \cdot y1 \]
      11. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot z\right)\right) \cdot k\right) \cdot y1} \]
      12. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot z\right)\right) \cdot k\right)} \cdot y1 \]
      13. associate-*r*N/A

        \[\leadsto \left(\color{blue}{\left(\left(-1 \cdot i\right) \cdot z\right)} \cdot k\right) \cdot y1 \]
      14. *-lowering-*.f64N/A

        \[\leadsto \left(\color{blue}{\left(\left(-1 \cdot i\right) \cdot z\right)} \cdot k\right) \cdot y1 \]
      15. mul-1-negN/A

        \[\leadsto \left(\left(\color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot z\right) \cdot k\right) \cdot y1 \]
      16. neg-lowering-neg.f6441.2

        \[\leadsto \left(\left(\color{blue}{\left(-i\right)} \cdot z\right) \cdot k\right) \cdot y1 \]
    11. Simplified41.2%

      \[\leadsto \color{blue}{\left(\left(\left(-i\right) \cdot z\right) \cdot k\right) \cdot y1} \]

    if -1.8499999999999999e-233 < y4 < 2.2000000000000002e34

    1. Initial program 28.4%

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
    5. Simplified42.2%

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

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y - t \cdot z\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(b \cdot \left(\color{blue}{x \cdot y} - t \cdot z\right)\right) \]
      4. *-lowering-*.f6438.6

        \[\leadsto a \cdot \left(b \cdot \left(x \cdot y - \color{blue}{t \cdot z}\right)\right) \]
    8. Simplified38.6%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    9. Taylor expanded in x around inf

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
    10. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
      3. *-commutativeN/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
      4. *-lowering-*.f6424.5

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
    11. Simplified24.5%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(y \cdot x\right)\right)} \]
    12. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
      2. associate-*r*N/A

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
      4. *-lowering-*.f6428.0

        \[\leadsto a \cdot \left(\color{blue}{\left(b \cdot x\right)} \cdot y\right) \]
    13. Applied egg-rr28.0%

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

    if 2.2000000000000002e34 < y4 < 9.1999999999999997e120

    1. Initial program 41.3%

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

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

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

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

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

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

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot \left(-1 \cdot c\right)} \]
    5. Simplified36.9%

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

      \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      2. --lowering--.f64N/A

        \[\leadsto \left(y4 \cdot \color{blue}{\left(t \cdot y2 - y \cdot y3\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto \left(y4 \cdot \left(\color{blue}{t \cdot y2} - y \cdot y3\right)\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      4. *-lowering-*.f6455.6

        \[\leadsto \left(y4 \cdot \left(t \cdot y2 - \color{blue}{y \cdot y3}\right)\right) \cdot \left(-c\right) \]
    8. Simplified55.6%

      \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(-c\right) \]
    9. Taylor expanded in t around 0

      \[\leadsto \left(y4 \cdot \color{blue}{\left(-1 \cdot \left(y \cdot y3\right)\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \left(y4 \cdot \color{blue}{\left(\mathsf{neg}\left(y \cdot y3\right)\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      2. distribute-rgt-neg-inN/A

        \[\leadsto \left(y4 \cdot \color{blue}{\left(y \cdot \left(\mathsf{neg}\left(y3\right)\right)\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      3. mul-1-negN/A

        \[\leadsto \left(y4 \cdot \left(y \cdot \color{blue}{\left(-1 \cdot y3\right)}\right)\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      4. *-lowering-*.f64N/A

        \[\leadsto \left(y4 \cdot \color{blue}{\left(y \cdot \left(-1 \cdot y3\right)\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      5. mul-1-negN/A

        \[\leadsto \left(y4 \cdot \left(y \cdot \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)}\right)\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      6. neg-lowering-neg.f6451.1

        \[\leadsto \left(y4 \cdot \left(y \cdot \color{blue}{\left(-y3\right)}\right)\right) \cdot \left(-c\right) \]
    11. Simplified51.1%

      \[\leadsto \left(y4 \cdot \color{blue}{\left(y \cdot \left(-y3\right)\right)}\right) \cdot \left(-c\right) \]
  3. Recombined 6 regimes into one program.
  4. Final simplification40.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -1.05 \cdot 10^{+230}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;y4 \leq -1 \cdot 10^{+32}:\\ \;\;\;\;k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\ \mathbf{elif}\;y4 \leq -5.8 \cdot 10^{-72}:\\ \;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1\right)\\ \mathbf{elif}\;y4 \leq -1.85 \cdot 10^{-233}:\\ \;\;\;\;\left(-y1\right) \cdot \left(k \cdot \left(z \cdot i\right)\right)\\ \mathbf{elif}\;y4 \leq 2.2 \cdot 10^{+34}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{elif}\;y4 \leq 9.2 \cdot 10^{+120}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 15: 21.9% accurate, 3.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ t_2 := k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\ \mathbf{if}\;y4 \leq -2.1 \cdot 10^{+229}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y4 \leq -7.3 \cdot 10^{+28}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y4 \leq -8 \cdot 10^{-70}:\\ \;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1\right)\\ \mathbf{elif}\;y4 \leq -6.1 \cdot 10^{-230}:\\ \;\;\;\;\left(-y1\right) \cdot \left(k \cdot \left(z \cdot i\right)\right)\\ \mathbf{elif}\;y4 \leq 4.4 \cdot 10^{+34}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{elif}\;y4 \leq 1.82 \cdot 10^{+123}:\\ \;\;\;\;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 (* c (* y (* y3 y4)))) (t_2 (* k (* b (* y (- y4))))))
   (if (<= y4 -2.1e+229)
     t_1
     (if (<= y4 -7.3e+28)
       t_2
       (if (<= y4 -8e-70)
         (* (* x j) (* i y1))
         (if (<= y4 -6.1e-230)
           (* (- y1) (* k (* z i)))
           (if (<= y4 4.4e+34)
             (* a (* y (* x b)))
             (if (<= y4 1.82e+123) 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 = c * (y * (y3 * y4));
	double t_2 = k * (b * (y * -y4));
	double tmp;
	if (y4 <= -2.1e+229) {
		tmp = t_1;
	} else if (y4 <= -7.3e+28) {
		tmp = t_2;
	} else if (y4 <= -8e-70) {
		tmp = (x * j) * (i * y1);
	} else if (y4 <= -6.1e-230) {
		tmp = -y1 * (k * (z * i));
	} else if (y4 <= 4.4e+34) {
		tmp = a * (y * (x * b));
	} else if (y4 <= 1.82e+123) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = c * (y * (y3 * y4))
    t_2 = k * (b * (y * -y4))
    if (y4 <= (-2.1d+229)) then
        tmp = t_1
    else if (y4 <= (-7.3d+28)) then
        tmp = t_2
    else if (y4 <= (-8d-70)) then
        tmp = (x * j) * (i * y1)
    else if (y4 <= (-6.1d-230)) then
        tmp = -y1 * (k * (z * i))
    else if (y4 <= 4.4d+34) then
        tmp = a * (y * (x * b))
    else if (y4 <= 1.82d+123) then
        tmp = t_1
    else
        tmp = t_2
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = c * (y * (y3 * y4));
	double t_2 = k * (b * (y * -y4));
	double tmp;
	if (y4 <= -2.1e+229) {
		tmp = t_1;
	} else if (y4 <= -7.3e+28) {
		tmp = t_2;
	} else if (y4 <= -8e-70) {
		tmp = (x * j) * (i * y1);
	} else if (y4 <= -6.1e-230) {
		tmp = -y1 * (k * (z * i));
	} else if (y4 <= 4.4e+34) {
		tmp = a * (y * (x * b));
	} else if (y4 <= 1.82e+123) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = c * (y * (y3 * y4))
	t_2 = k * (b * (y * -y4))
	tmp = 0
	if y4 <= -2.1e+229:
		tmp = t_1
	elif y4 <= -7.3e+28:
		tmp = t_2
	elif y4 <= -8e-70:
		tmp = (x * j) * (i * y1)
	elif y4 <= -6.1e-230:
		tmp = -y1 * (k * (z * i))
	elif y4 <= 4.4e+34:
		tmp = a * (y * (x * b))
	elif y4 <= 1.82e+123:
		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(c * Float64(y * Float64(y3 * y4)))
	t_2 = Float64(k * Float64(b * Float64(y * Float64(-y4))))
	tmp = 0.0
	if (y4 <= -2.1e+229)
		tmp = t_1;
	elseif (y4 <= -7.3e+28)
		tmp = t_2;
	elseif (y4 <= -8e-70)
		tmp = Float64(Float64(x * j) * Float64(i * y1));
	elseif (y4 <= -6.1e-230)
		tmp = Float64(Float64(-y1) * Float64(k * Float64(z * i)));
	elseif (y4 <= 4.4e+34)
		tmp = Float64(a * Float64(y * Float64(x * b)));
	elseif (y4 <= 1.82e+123)
		tmp = t_1;
	else
		tmp = t_2;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = c * (y * (y3 * y4));
	t_2 = k * (b * (y * -y4));
	tmp = 0.0;
	if (y4 <= -2.1e+229)
		tmp = t_1;
	elseif (y4 <= -7.3e+28)
		tmp = t_2;
	elseif (y4 <= -8e-70)
		tmp = (x * j) * (i * y1);
	elseif (y4 <= -6.1e-230)
		tmp = -y1 * (k * (z * i));
	elseif (y4 <= 4.4e+34)
		tmp = a * (y * (x * b));
	elseif (y4 <= 1.82e+123)
		tmp = t_1;
	else
		tmp = t_2;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(k * N[(b * N[(y * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -2.1e+229], t$95$1, If[LessEqual[y4, -7.3e+28], t$95$2, If[LessEqual[y4, -8e-70], N[(N[(x * j), $MachinePrecision] * N[(i * y1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -6.1e-230], N[((-y1) * N[(k * N[(z * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 4.4e+34], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.82e+123], t$95$1, t$95$2]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
t_2 := k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\
\mathbf{if}\;y4 \leq -2.1 \cdot 10^{+229}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y4 \leq -7.3 \cdot 10^{+28}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y4 \leq -8 \cdot 10^{-70}:\\
\;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1\right)\\

\mathbf{elif}\;y4 \leq -6.1 \cdot 10^{-230}:\\
\;\;\;\;\left(-y1\right) \cdot \left(k \cdot \left(z \cdot i\right)\right)\\

\mathbf{elif}\;y4 \leq 4.4 \cdot 10^{+34}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\

\mathbf{elif}\;y4 \leq 1.82 \cdot 10^{+123}:\\
\;\;\;\;t\_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y4 < -2.09999999999999988e229 or 4.4000000000000005e34 < y4 < 1.81999999999999987e123

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      2. --lowering--.f64N/A

        \[\leadsto \left(y4 \cdot \color{blue}{\left(t \cdot y2 - y \cdot y3\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto \left(y4 \cdot \left(\color{blue}{t \cdot y2} - y \cdot y3\right)\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      4. *-lowering-*.f6456.2

        \[\leadsto \left(y4 \cdot \left(t \cdot y2 - \color{blue}{y \cdot y3}\right)\right) \cdot \left(-c\right) \]
    8. Simplified56.2%

      \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(-c\right) \]
    9. Taylor expanded in t around 0

      \[\leadsto \color{blue}{\left(-1 \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y \cdot \left(y3 \cdot y4\right)\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      2. distribute-rgt-neg-inN/A

        \[\leadsto \color{blue}{\left(y \cdot \left(\mathsf{neg}\left(y3 \cdot y4\right)\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      3. mul-1-negN/A

        \[\leadsto \left(y \cdot \color{blue}{\left(-1 \cdot \left(y3 \cdot y4\right)\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      4. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(y \cdot \left(-1 \cdot \left(y3 \cdot y4\right)\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      5. mul-1-negN/A

        \[\leadsto \left(y \cdot \color{blue}{\left(\mathsf{neg}\left(y3 \cdot y4\right)\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      6. *-commutativeN/A

        \[\leadsto \left(y \cdot \left(\mathsf{neg}\left(\color{blue}{y4 \cdot y3}\right)\right)\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      7. distribute-rgt-neg-inN/A

        \[\leadsto \left(y \cdot \color{blue}{\left(y4 \cdot \left(\mathsf{neg}\left(y3\right)\right)\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      8. mul-1-negN/A

        \[\leadsto \left(y \cdot \left(y4 \cdot \color{blue}{\left(-1 \cdot y3\right)}\right)\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto \left(y \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot y3\right)\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      10. mul-1-negN/A

        \[\leadsto \left(y \cdot \left(y4 \cdot \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)}\right)\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      11. neg-lowering-neg.f6453.7

        \[\leadsto \left(y \cdot \left(y4 \cdot \color{blue}{\left(-y3\right)}\right)\right) \cdot \left(-c\right) \]
    11. Simplified53.7%

      \[\leadsto \color{blue}{\left(y \cdot \left(y4 \cdot \left(-y3\right)\right)\right)} \cdot \left(-c\right) \]

    if -2.09999999999999988e229 < y4 < -7.2999999999999998e28 or 1.81999999999999987e123 < y4

    1. Initial program 20.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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y0 \cdot z + -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      3. *-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \left(\color{blue}{z \cdot y0} + -1 \cdot \left(y \cdot y4\right)\right)\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\mathsf{fma}\left(z, y0, -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      5. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{\mathsf{neg}\left(y \cdot y4\right)}\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-1 \cdot y4\right)}\right)\right) \]
      8. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(-1 \cdot y4\right)}\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      10. neg-lowering-neg.f6456.1

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-y4\right)}\right)\right) \]
    8. Simplified56.1%

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

      \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(-1 \cdot \left(y \cdot y4\right)\right)}\right) \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(\mathsf{neg}\left(y \cdot y4\right)\right)}\right) \]
      2. *-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \left(\mathsf{neg}\left(\color{blue}{y4 \cdot y}\right)\right)\right) \]
      3. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y4 \cdot \left(\mathsf{neg}\left(y\right)\right)\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \left(y4 \cdot \color{blue}{\left(-1 \cdot y\right)}\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot y\right)\right)}\right) \]
      6. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \left(y4 \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right)\right) \]
      7. neg-lowering-neg.f6445.7

        \[\leadsto k \cdot \left(b \cdot \left(y4 \cdot \color{blue}{\left(-y\right)}\right)\right) \]
    11. Simplified45.7%

      \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y4 \cdot \left(-y\right)\right)}\right) \]

    if -7.2999999999999998e28 < y4 < -7.99999999999999997e-70

    1. Initial program 42.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right)} \cdot \left(i \cdot y1 - b \cdot y0\right) \]
      4. --lowering--.f64N/A

        \[\leadsto \left(j \cdot x\right) \cdot \color{blue}{\left(i \cdot y1 - b \cdot y0\right)} \]
      5. *-lowering-*.f64N/A

        \[\leadsto \left(j \cdot x\right) \cdot \left(\color{blue}{i \cdot y1} - b \cdot y0\right) \]
      6. *-lowering-*.f6439.4

        \[\leadsto \left(j \cdot x\right) \cdot \left(i \cdot y1 - \color{blue}{b \cdot y0}\right) \]
    8. Simplified39.4%

      \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
    9. Taylor expanded in i around inf

      \[\leadsto \left(j \cdot x\right) \cdot \color{blue}{\left(i \cdot y1\right)} \]
    10. Step-by-step derivation
      1. *-lowering-*.f6439.0

        \[\leadsto \left(j \cdot x\right) \cdot \color{blue}{\left(i \cdot y1\right)} \]
    11. Simplified39.0%

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

    if -7.99999999999999997e-70 < y4 < -6.09999999999999956e-230

    1. Initial program 37.1%

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

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto \color{blue}{k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(k \cdot z\right) \cdot \left(b \cdot y0 - i \cdot y1\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(k \cdot z\right) \cdot \left(b \cdot y0 - i \cdot y1\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(k \cdot z\right)} \cdot \left(b \cdot y0 - i \cdot y1\right) \]
      4. --lowering--.f64N/A

        \[\leadsto \left(k \cdot z\right) \cdot \color{blue}{\left(b \cdot y0 - i \cdot y1\right)} \]
      5. *-commutativeN/A

        \[\leadsto \left(k \cdot z\right) \cdot \left(\color{blue}{y0 \cdot b} - i \cdot y1\right) \]
      6. *-lowering-*.f64N/A

        \[\leadsto \left(k \cdot z\right) \cdot \left(\color{blue}{y0 \cdot b} - i \cdot y1\right) \]
      7. *-lowering-*.f6441.2

        \[\leadsto \left(k \cdot z\right) \cdot \left(y0 \cdot b - \color{blue}{i \cdot y1}\right) \]
    8. Simplified41.2%

      \[\leadsto \color{blue}{\left(k \cdot z\right) \cdot \left(y0 \cdot b - i \cdot y1\right)} \]
    9. Taylor expanded in y0 around 0

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(k \cdot \left(y1 \cdot z\right)\right)\right)} \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(i \cdot \left(k \cdot \left(y1 \cdot z\right)\right)\right)} \]
      2. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(i \cdot k\right) \cdot \left(y1 \cdot z\right)}\right) \]
      3. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(\left(i \cdot k\right) \cdot \color{blue}{\left(z \cdot y1\right)}\right) \]
      4. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(\left(i \cdot k\right) \cdot z\right) \cdot y1}\right) \]
      5. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(i \cdot \left(k \cdot z\right)\right)} \cdot y1\right) \]
      6. distribute-lft-neg-outN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(i \cdot \left(k \cdot z\right)\right)\right) \cdot y1} \]
      7. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i \cdot \color{blue}{\left(z \cdot k\right)}\right)\right) \cdot y1 \]
      8. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(\color{blue}{\left(i \cdot z\right) \cdot k}\right)\right) \cdot y1 \]
      9. distribute-lft-neg-outN/A

        \[\leadsto \color{blue}{\left(\left(\mathsf{neg}\left(i \cdot z\right)\right) \cdot k\right)} \cdot y1 \]
      10. mul-1-negN/A

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot z\right)\right)} \cdot k\right) \cdot y1 \]
      11. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot z\right)\right) \cdot k\right) \cdot y1} \]
      12. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot z\right)\right) \cdot k\right)} \cdot y1 \]
      13. associate-*r*N/A

        \[\leadsto \left(\color{blue}{\left(\left(-1 \cdot i\right) \cdot z\right)} \cdot k\right) \cdot y1 \]
      14. *-lowering-*.f64N/A

        \[\leadsto \left(\color{blue}{\left(\left(-1 \cdot i\right) \cdot z\right)} \cdot k\right) \cdot y1 \]
      15. mul-1-negN/A

        \[\leadsto \left(\left(\color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot z\right) \cdot k\right) \cdot y1 \]
      16. neg-lowering-neg.f6441.2

        \[\leadsto \left(\left(\color{blue}{\left(-i\right)} \cdot z\right) \cdot k\right) \cdot y1 \]
    11. Simplified41.2%

      \[\leadsto \color{blue}{\left(\left(\left(-i\right) \cdot z\right) \cdot k\right) \cdot y1} \]

    if -6.09999999999999956e-230 < y4 < 4.4000000000000005e34

    1. Initial program 28.4%

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
    5. Simplified42.2%

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

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y - t \cdot z\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(b \cdot \left(\color{blue}{x \cdot y} - t \cdot z\right)\right) \]
      4. *-lowering-*.f6438.6

        \[\leadsto a \cdot \left(b \cdot \left(x \cdot y - \color{blue}{t \cdot z}\right)\right) \]
    8. Simplified38.6%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    9. Taylor expanded in x around inf

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
    10. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
      3. *-commutativeN/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
      4. *-lowering-*.f6424.5

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
    11. Simplified24.5%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(y \cdot x\right)\right)} \]
    12. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
      2. associate-*r*N/A

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
      4. *-lowering-*.f6428.0

        \[\leadsto a \cdot \left(\color{blue}{\left(b \cdot x\right)} \cdot y\right) \]
    13. Applied egg-rr28.0%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -2.1 \cdot 10^{+229}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;y4 \leq -7.3 \cdot 10^{+28}:\\ \;\;\;\;k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\ \mathbf{elif}\;y4 \leq -8 \cdot 10^{-70}:\\ \;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1\right)\\ \mathbf{elif}\;y4 \leq -6.1 \cdot 10^{-230}:\\ \;\;\;\;\left(-y1\right) \cdot \left(k \cdot \left(z \cdot i\right)\right)\\ \mathbf{elif}\;y4 \leq 4.4 \cdot 10^{+34}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{elif}\;y4 \leq 1.82 \cdot 10^{+123}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 16: 21.5% accurate, 4.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\ \mathbf{if}\;y4 \leq -1.1 \cdot 10^{+230}:\\ \;\;\;\;\left(y \cdot c\right) \cdot \left(y3 \cdot y4\right)\\ \mathbf{elif}\;y4 \leq -1.9 \cdot 10^{+30}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y4 \leq -1.35 \cdot 10^{-73}:\\ \;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1\right)\\ \mathbf{elif}\;y4 \leq -1.9 \cdot 10^{-229}:\\ \;\;\;\;\left(-y1\right) \cdot \left(k \cdot \left(z \cdot i\right)\right)\\ \mathbf{elif}\;y4 \leq 2.15 \cdot 10^{+35}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* k (* b (* y (- y4))))))
   (if (<= y4 -1.1e+230)
     (* (* y c) (* y3 y4))
     (if (<= y4 -1.9e+30)
       t_1
       (if (<= y4 -1.35e-73)
         (* (* x j) (* i y1))
         (if (<= y4 -1.9e-229)
           (* (- y1) (* k (* z i)))
           (if (<= y4 2.15e+35) (* a (* y (* x b))) t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (b * (y * -y4));
	double tmp;
	if (y4 <= -1.1e+230) {
		tmp = (y * c) * (y3 * y4);
	} else if (y4 <= -1.9e+30) {
		tmp = t_1;
	} else if (y4 <= -1.35e-73) {
		tmp = (x * j) * (i * y1);
	} else if (y4 <= -1.9e-229) {
		tmp = -y1 * (k * (z * i));
	} else if (y4 <= 2.15e+35) {
		tmp = a * (y * (x * b));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = k * (b * (y * -y4))
    if (y4 <= (-1.1d+230)) then
        tmp = (y * c) * (y3 * y4)
    else if (y4 <= (-1.9d+30)) then
        tmp = t_1
    else if (y4 <= (-1.35d-73)) then
        tmp = (x * j) * (i * y1)
    else if (y4 <= (-1.9d-229)) then
        tmp = -y1 * (k * (z * i))
    else if (y4 <= 2.15d+35) then
        tmp = a * (y * (x * b))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (b * (y * -y4));
	double tmp;
	if (y4 <= -1.1e+230) {
		tmp = (y * c) * (y3 * y4);
	} else if (y4 <= -1.9e+30) {
		tmp = t_1;
	} else if (y4 <= -1.35e-73) {
		tmp = (x * j) * (i * y1);
	} else if (y4 <= -1.9e-229) {
		tmp = -y1 * (k * (z * i));
	} else if (y4 <= 2.15e+35) {
		tmp = a * (y * (x * b));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = k * (b * (y * -y4))
	tmp = 0
	if y4 <= -1.1e+230:
		tmp = (y * c) * (y3 * y4)
	elif y4 <= -1.9e+30:
		tmp = t_1
	elif y4 <= -1.35e-73:
		tmp = (x * j) * (i * y1)
	elif y4 <= -1.9e-229:
		tmp = -y1 * (k * (z * i))
	elif y4 <= 2.15e+35:
		tmp = a * (y * (x * b))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(k * Float64(b * Float64(y * Float64(-y4))))
	tmp = 0.0
	if (y4 <= -1.1e+230)
		tmp = Float64(Float64(y * c) * Float64(y3 * y4));
	elseif (y4 <= -1.9e+30)
		tmp = t_1;
	elseif (y4 <= -1.35e-73)
		tmp = Float64(Float64(x * j) * Float64(i * y1));
	elseif (y4 <= -1.9e-229)
		tmp = Float64(Float64(-y1) * Float64(k * Float64(z * i)));
	elseif (y4 <= 2.15e+35)
		tmp = Float64(a * Float64(y * Float64(x * b)));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = k * (b * (y * -y4));
	tmp = 0.0;
	if (y4 <= -1.1e+230)
		tmp = (y * c) * (y3 * y4);
	elseif (y4 <= -1.9e+30)
		tmp = t_1;
	elseif (y4 <= -1.35e-73)
		tmp = (x * j) * (i * y1);
	elseif (y4 <= -1.9e-229)
		tmp = -y1 * (k * (z * i));
	elseif (y4 <= 2.15e+35)
		tmp = a * (y * (x * b));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(b * N[(y * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -1.1e+230], N[(N[(y * c), $MachinePrecision] * N[(y3 * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -1.9e+30], t$95$1, If[LessEqual[y4, -1.35e-73], N[(N[(x * j), $MachinePrecision] * N[(i * y1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -1.9e-229], N[((-y1) * N[(k * N[(z * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 2.15e+35], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\
\mathbf{if}\;y4 \leq -1.1 \cdot 10^{+230}:\\
\;\;\;\;\left(y \cdot c\right) \cdot \left(y3 \cdot y4\right)\\

\mathbf{elif}\;y4 \leq -1.9 \cdot 10^{+30}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y4 \leq -1.35 \cdot 10^{-73}:\\
\;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1\right)\\

\mathbf{elif}\;y4 \leq -1.9 \cdot 10^{-229}:\\
\;\;\;\;\left(-y1\right) \cdot \left(k \cdot \left(z \cdot i\right)\right)\\

\mathbf{elif}\;y4 \leq 2.15 \cdot 10^{+35}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y4 < -1.1e230

    1. Initial program 12.5%

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

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

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

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

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

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

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot \left(-1 \cdot c\right)} \]
    5. Simplified56.3%

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

      \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      2. --lowering--.f64N/A

        \[\leadsto \left(y4 \cdot \color{blue}{\left(t \cdot y2 - y \cdot y3\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto \left(y4 \cdot \left(\color{blue}{t \cdot y2} - y \cdot y3\right)\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      4. *-lowering-*.f6456.9

        \[\leadsto \left(y4 \cdot \left(t \cdot y2 - \color{blue}{y \cdot y3}\right)\right) \cdot \left(-c\right) \]
    8. Simplified56.9%

      \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(-c\right) \]
    9. Taylor expanded in t around 0

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} \]
    10. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(c \cdot y\right) \cdot \left(y3 \cdot y4\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(c \cdot y\right) \cdot \left(y3 \cdot y4\right)} \]
      3. *-commutativeN/A

        \[\leadsto \color{blue}{\left(y \cdot c\right)} \cdot \left(y3 \cdot y4\right) \]
      4. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(y \cdot c\right)} \cdot \left(y3 \cdot y4\right) \]
      5. *-commutativeN/A

        \[\leadsto \left(y \cdot c\right) \cdot \color{blue}{\left(y4 \cdot y3\right)} \]
      6. *-lowering-*.f6451.1

        \[\leadsto \left(y \cdot c\right) \cdot \color{blue}{\left(y4 \cdot y3\right)} \]
    11. Simplified51.1%

      \[\leadsto \color{blue}{\left(y \cdot c\right) \cdot \left(y4 \cdot y3\right)} \]

    if -1.1e230 < y4 < -1.9000000000000001e30 or 2.1499999999999999e35 < y4

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y0 \cdot z + -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      3. *-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \left(\color{blue}{z \cdot y0} + -1 \cdot \left(y \cdot y4\right)\right)\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\mathsf{fma}\left(z, y0, -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      5. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{\mathsf{neg}\left(y \cdot y4\right)}\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-1 \cdot y4\right)}\right)\right) \]
      8. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(-1 \cdot y4\right)}\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      10. neg-lowering-neg.f6451.9

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-y4\right)}\right)\right) \]
    8. Simplified51.9%

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

      \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(-1 \cdot \left(y \cdot y4\right)\right)}\right) \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(\mathsf{neg}\left(y \cdot y4\right)\right)}\right) \]
      2. *-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \left(\mathsf{neg}\left(\color{blue}{y4 \cdot y}\right)\right)\right) \]
      3. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y4 \cdot \left(\mathsf{neg}\left(y\right)\right)\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \left(y4 \cdot \color{blue}{\left(-1 \cdot y\right)}\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot y\right)\right)}\right) \]
      6. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \left(y4 \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right)\right) \]
      7. neg-lowering-neg.f6441.7

        \[\leadsto k \cdot \left(b \cdot \left(y4 \cdot \color{blue}{\left(-y\right)}\right)\right) \]
    11. Simplified41.7%

      \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y4 \cdot \left(-y\right)\right)}\right) \]

    if -1.9000000000000001e30 < y4 < -1.34999999999999997e-73

    1. Initial program 42.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right)} \cdot \left(i \cdot y1 - b \cdot y0\right) \]
      4. --lowering--.f64N/A

        \[\leadsto \left(j \cdot x\right) \cdot \color{blue}{\left(i \cdot y1 - b \cdot y0\right)} \]
      5. *-lowering-*.f64N/A

        \[\leadsto \left(j \cdot x\right) \cdot \left(\color{blue}{i \cdot y1} - b \cdot y0\right) \]
      6. *-lowering-*.f6439.4

        \[\leadsto \left(j \cdot x\right) \cdot \left(i \cdot y1 - \color{blue}{b \cdot y0}\right) \]
    8. Simplified39.4%

      \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
    9. Taylor expanded in i around inf

      \[\leadsto \left(j \cdot x\right) \cdot \color{blue}{\left(i \cdot y1\right)} \]
    10. Step-by-step derivation
      1. *-lowering-*.f6439.0

        \[\leadsto \left(j \cdot x\right) \cdot \color{blue}{\left(i \cdot y1\right)} \]
    11. Simplified39.0%

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

    if -1.34999999999999997e-73 < y4 < -1.9000000000000001e-229

    1. Initial program 37.1%

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

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto \color{blue}{k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(k \cdot z\right) \cdot \left(b \cdot y0 - i \cdot y1\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(k \cdot z\right) \cdot \left(b \cdot y0 - i \cdot y1\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(k \cdot z\right)} \cdot \left(b \cdot y0 - i \cdot y1\right) \]
      4. --lowering--.f64N/A

        \[\leadsto \left(k \cdot z\right) \cdot \color{blue}{\left(b \cdot y0 - i \cdot y1\right)} \]
      5. *-commutativeN/A

        \[\leadsto \left(k \cdot z\right) \cdot \left(\color{blue}{y0 \cdot b} - i \cdot y1\right) \]
      6. *-lowering-*.f64N/A

        \[\leadsto \left(k \cdot z\right) \cdot \left(\color{blue}{y0 \cdot b} - i \cdot y1\right) \]
      7. *-lowering-*.f6441.2

        \[\leadsto \left(k \cdot z\right) \cdot \left(y0 \cdot b - \color{blue}{i \cdot y1}\right) \]
    8. Simplified41.2%

      \[\leadsto \color{blue}{\left(k \cdot z\right) \cdot \left(y0 \cdot b - i \cdot y1\right)} \]
    9. Taylor expanded in y0 around 0

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(k \cdot \left(y1 \cdot z\right)\right)\right)} \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(i \cdot \left(k \cdot \left(y1 \cdot z\right)\right)\right)} \]
      2. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(i \cdot k\right) \cdot \left(y1 \cdot z\right)}\right) \]
      3. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(\left(i \cdot k\right) \cdot \color{blue}{\left(z \cdot y1\right)}\right) \]
      4. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(\left(i \cdot k\right) \cdot z\right) \cdot y1}\right) \]
      5. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(i \cdot \left(k \cdot z\right)\right)} \cdot y1\right) \]
      6. distribute-lft-neg-outN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(i \cdot \left(k \cdot z\right)\right)\right) \cdot y1} \]
      7. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i \cdot \color{blue}{\left(z \cdot k\right)}\right)\right) \cdot y1 \]
      8. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(\color{blue}{\left(i \cdot z\right) \cdot k}\right)\right) \cdot y1 \]
      9. distribute-lft-neg-outN/A

        \[\leadsto \color{blue}{\left(\left(\mathsf{neg}\left(i \cdot z\right)\right) \cdot k\right)} \cdot y1 \]
      10. mul-1-negN/A

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot z\right)\right)} \cdot k\right) \cdot y1 \]
      11. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot z\right)\right) \cdot k\right) \cdot y1} \]
      12. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot z\right)\right) \cdot k\right)} \cdot y1 \]
      13. associate-*r*N/A

        \[\leadsto \left(\color{blue}{\left(\left(-1 \cdot i\right) \cdot z\right)} \cdot k\right) \cdot y1 \]
      14. *-lowering-*.f64N/A

        \[\leadsto \left(\color{blue}{\left(\left(-1 \cdot i\right) \cdot z\right)} \cdot k\right) \cdot y1 \]
      15. mul-1-negN/A

        \[\leadsto \left(\left(\color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot z\right) \cdot k\right) \cdot y1 \]
      16. neg-lowering-neg.f6441.2

        \[\leadsto \left(\left(\color{blue}{\left(-i\right)} \cdot z\right) \cdot k\right) \cdot y1 \]
    11. Simplified41.2%

      \[\leadsto \color{blue}{\left(\left(\left(-i\right) \cdot z\right) \cdot k\right) \cdot y1} \]

    if -1.9000000000000001e-229 < y4 < 2.1499999999999999e35

    1. Initial program 28.0%

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

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

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

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y - t \cdot z\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(b \cdot \left(\color{blue}{x \cdot y} - t \cdot z\right)\right) \]
      4. *-lowering-*.f6439.4

        \[\leadsto a \cdot \left(b \cdot \left(x \cdot y - \color{blue}{t \cdot z}\right)\right) \]
    8. Simplified39.4%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    9. Taylor expanded in x around inf

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
    10. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
      3. *-commutativeN/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
      4. *-lowering-*.f6425.5

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
    11. Simplified25.5%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(y \cdot x\right)\right)} \]
    12. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
      2. associate-*r*N/A

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
      4. *-lowering-*.f6429.0

        \[\leadsto a \cdot \left(\color{blue}{\left(b \cdot x\right)} \cdot y\right) \]
    13. Applied egg-rr29.0%

      \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification38.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -1.1 \cdot 10^{+230}:\\ \;\;\;\;\left(y \cdot c\right) \cdot \left(y3 \cdot y4\right)\\ \mathbf{elif}\;y4 \leq -1.9 \cdot 10^{+30}:\\ \;\;\;\;k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\ \mathbf{elif}\;y4 \leq -1.35 \cdot 10^{-73}:\\ \;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1\right)\\ \mathbf{elif}\;y4 \leq -1.9 \cdot 10^{-229}:\\ \;\;\;\;\left(-y1\right) \cdot \left(k \cdot \left(z \cdot i\right)\right)\\ \mathbf{elif}\;y4 \leq 2.15 \cdot 10^{+35}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 17: 21.6% accurate, 4.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\ \mathbf{if}\;y4 \leq -3.8 \cdot 10^{+229}:\\ \;\;\;\;\left(y \cdot c\right) \cdot \left(y3 \cdot y4\right)\\ \mathbf{elif}\;y4 \leq -7.5 \cdot 10^{+28}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y4 \leq -6.5 \cdot 10^{-42}:\\ \;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1\right)\\ \mathbf{elif}\;y4 \leq -4.3 \cdot 10^{-233}:\\ \;\;\;\;\left(z \cdot k\right) \cdot \left(y1 \cdot \left(-i\right)\right)\\ \mathbf{elif}\;y4 \leq 1.52 \cdot 10^{+35}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* k (* b (* y (- y4))))))
   (if (<= y4 -3.8e+229)
     (* (* y c) (* y3 y4))
     (if (<= y4 -7.5e+28)
       t_1
       (if (<= y4 -6.5e-42)
         (* (* x j) (* i y1))
         (if (<= y4 -4.3e-233)
           (* (* z k) (* y1 (- i)))
           (if (<= y4 1.52e+35) (* a (* y (* x b))) t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (b * (y * -y4));
	double tmp;
	if (y4 <= -3.8e+229) {
		tmp = (y * c) * (y3 * y4);
	} else if (y4 <= -7.5e+28) {
		tmp = t_1;
	} else if (y4 <= -6.5e-42) {
		tmp = (x * j) * (i * y1);
	} else if (y4 <= -4.3e-233) {
		tmp = (z * k) * (y1 * -i);
	} else if (y4 <= 1.52e+35) {
		tmp = a * (y * (x * b));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = k * (b * (y * -y4))
    if (y4 <= (-3.8d+229)) then
        tmp = (y * c) * (y3 * y4)
    else if (y4 <= (-7.5d+28)) then
        tmp = t_1
    else if (y4 <= (-6.5d-42)) then
        tmp = (x * j) * (i * y1)
    else if (y4 <= (-4.3d-233)) then
        tmp = (z * k) * (y1 * -i)
    else if (y4 <= 1.52d+35) then
        tmp = a * (y * (x * b))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (b * (y * -y4));
	double tmp;
	if (y4 <= -3.8e+229) {
		tmp = (y * c) * (y3 * y4);
	} else if (y4 <= -7.5e+28) {
		tmp = t_1;
	} else if (y4 <= -6.5e-42) {
		tmp = (x * j) * (i * y1);
	} else if (y4 <= -4.3e-233) {
		tmp = (z * k) * (y1 * -i);
	} else if (y4 <= 1.52e+35) {
		tmp = a * (y * (x * b));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = k * (b * (y * -y4))
	tmp = 0
	if y4 <= -3.8e+229:
		tmp = (y * c) * (y3 * y4)
	elif y4 <= -7.5e+28:
		tmp = t_1
	elif y4 <= -6.5e-42:
		tmp = (x * j) * (i * y1)
	elif y4 <= -4.3e-233:
		tmp = (z * k) * (y1 * -i)
	elif y4 <= 1.52e+35:
		tmp = a * (y * (x * b))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(k * Float64(b * Float64(y * Float64(-y4))))
	tmp = 0.0
	if (y4 <= -3.8e+229)
		tmp = Float64(Float64(y * c) * Float64(y3 * y4));
	elseif (y4 <= -7.5e+28)
		tmp = t_1;
	elseif (y4 <= -6.5e-42)
		tmp = Float64(Float64(x * j) * Float64(i * y1));
	elseif (y4 <= -4.3e-233)
		tmp = Float64(Float64(z * k) * Float64(y1 * Float64(-i)));
	elseif (y4 <= 1.52e+35)
		tmp = Float64(a * Float64(y * Float64(x * b)));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = k * (b * (y * -y4));
	tmp = 0.0;
	if (y4 <= -3.8e+229)
		tmp = (y * c) * (y3 * y4);
	elseif (y4 <= -7.5e+28)
		tmp = t_1;
	elseif (y4 <= -6.5e-42)
		tmp = (x * j) * (i * y1);
	elseif (y4 <= -4.3e-233)
		tmp = (z * k) * (y1 * -i);
	elseif (y4 <= 1.52e+35)
		tmp = a * (y * (x * b));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(b * N[(y * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -3.8e+229], N[(N[(y * c), $MachinePrecision] * N[(y3 * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -7.5e+28], t$95$1, If[LessEqual[y4, -6.5e-42], N[(N[(x * j), $MachinePrecision] * N[(i * y1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -4.3e-233], N[(N[(z * k), $MachinePrecision] * N[(y1 * (-i)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.52e+35], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\
\mathbf{if}\;y4 \leq -3.8 \cdot 10^{+229}:\\
\;\;\;\;\left(y \cdot c\right) \cdot \left(y3 \cdot y4\right)\\

\mathbf{elif}\;y4 \leq -7.5 \cdot 10^{+28}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y4 \leq -6.5 \cdot 10^{-42}:\\
\;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1\right)\\

\mathbf{elif}\;y4 \leq -4.3 \cdot 10^{-233}:\\
\;\;\;\;\left(z \cdot k\right) \cdot \left(y1 \cdot \left(-i\right)\right)\\

\mathbf{elif}\;y4 \leq 1.52 \cdot 10^{+35}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y4 < -3.80000000000000018e229

    1. Initial program 12.5%

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

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

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

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

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

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

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot \left(-1 \cdot c\right)} \]
    5. Simplified56.3%

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

      \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      2. --lowering--.f64N/A

        \[\leadsto \left(y4 \cdot \color{blue}{\left(t \cdot y2 - y \cdot y3\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto \left(y4 \cdot \left(\color{blue}{t \cdot y2} - y \cdot y3\right)\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      4. *-lowering-*.f6456.9

        \[\leadsto \left(y4 \cdot \left(t \cdot y2 - \color{blue}{y \cdot y3}\right)\right) \cdot \left(-c\right) \]
    8. Simplified56.9%

      \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(-c\right) \]
    9. Taylor expanded in t around 0

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} \]
    10. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(c \cdot y\right) \cdot \left(y3 \cdot y4\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(c \cdot y\right) \cdot \left(y3 \cdot y4\right)} \]
      3. *-commutativeN/A

        \[\leadsto \color{blue}{\left(y \cdot c\right)} \cdot \left(y3 \cdot y4\right) \]
      4. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(y \cdot c\right)} \cdot \left(y3 \cdot y4\right) \]
      5. *-commutativeN/A

        \[\leadsto \left(y \cdot c\right) \cdot \color{blue}{\left(y4 \cdot y3\right)} \]
      6. *-lowering-*.f6451.1

        \[\leadsto \left(y \cdot c\right) \cdot \color{blue}{\left(y4 \cdot y3\right)} \]
    11. Simplified51.1%

      \[\leadsto \color{blue}{\left(y \cdot c\right) \cdot \left(y4 \cdot y3\right)} \]

    if -3.80000000000000018e229 < y4 < -7.4999999999999998e28 or 1.5200000000000001e35 < y4

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y0 \cdot z + -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      3. *-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \left(\color{blue}{z \cdot y0} + -1 \cdot \left(y \cdot y4\right)\right)\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\mathsf{fma}\left(z, y0, -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      5. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{\mathsf{neg}\left(y \cdot y4\right)}\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-1 \cdot y4\right)}\right)\right) \]
      8. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(-1 \cdot y4\right)}\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      10. neg-lowering-neg.f6451.9

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-y4\right)}\right)\right) \]
    8. Simplified51.9%

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

      \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(-1 \cdot \left(y \cdot y4\right)\right)}\right) \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(\mathsf{neg}\left(y \cdot y4\right)\right)}\right) \]
      2. *-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \left(\mathsf{neg}\left(\color{blue}{y4 \cdot y}\right)\right)\right) \]
      3. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y4 \cdot \left(\mathsf{neg}\left(y\right)\right)\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \left(y4 \cdot \color{blue}{\left(-1 \cdot y\right)}\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot y\right)\right)}\right) \]
      6. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \left(y4 \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right)\right) \]
      7. neg-lowering-neg.f6441.7

        \[\leadsto k \cdot \left(b \cdot \left(y4 \cdot \color{blue}{\left(-y\right)}\right)\right) \]
    11. Simplified41.7%

      \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y4 \cdot \left(-y\right)\right)}\right) \]

    if -7.4999999999999998e28 < y4 < -6.4999999999999998e-42

    1. Initial program 46.7%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right)} \cdot \left(i \cdot y1 - b \cdot y0\right) \]
      4. --lowering--.f64N/A

        \[\leadsto \left(j \cdot x\right) \cdot \color{blue}{\left(i \cdot y1 - b \cdot y0\right)} \]
      5. *-lowering-*.f64N/A

        \[\leadsto \left(j \cdot x\right) \cdot \left(\color{blue}{i \cdot y1} - b \cdot y0\right) \]
      6. *-lowering-*.f6448.1

        \[\leadsto \left(j \cdot x\right) \cdot \left(i \cdot y1 - \color{blue}{b \cdot y0}\right) \]
    8. Simplified48.1%

      \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
    9. Taylor expanded in i around inf

      \[\leadsto \left(j \cdot x\right) \cdot \color{blue}{\left(i \cdot y1\right)} \]
    10. Step-by-step derivation
      1. *-lowering-*.f6447.5

        \[\leadsto \left(j \cdot x\right) \cdot \color{blue}{\left(i \cdot y1\right)} \]
    11. Simplified47.5%

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

    if -6.4999999999999998e-42 < y4 < -4.29999999999999988e-233

    1. Initial program 36.5%

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

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto \color{blue}{k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(k \cdot z\right) \cdot \left(b \cdot y0 - i \cdot y1\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(k \cdot z\right) \cdot \left(b \cdot y0 - i \cdot y1\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(k \cdot z\right)} \cdot \left(b \cdot y0 - i \cdot y1\right) \]
      4. --lowering--.f64N/A

        \[\leadsto \left(k \cdot z\right) \cdot \color{blue}{\left(b \cdot y0 - i \cdot y1\right)} \]
      5. *-commutativeN/A

        \[\leadsto \left(k \cdot z\right) \cdot \left(\color{blue}{y0 \cdot b} - i \cdot y1\right) \]
      6. *-lowering-*.f64N/A

        \[\leadsto \left(k \cdot z\right) \cdot \left(\color{blue}{y0 \cdot b} - i \cdot y1\right) \]
      7. *-lowering-*.f6437.8

        \[\leadsto \left(k \cdot z\right) \cdot \left(y0 \cdot b - \color{blue}{i \cdot y1}\right) \]
    8. Simplified37.8%

      \[\leadsto \color{blue}{\left(k \cdot z\right) \cdot \left(y0 \cdot b - i \cdot y1\right)} \]
    9. Taylor expanded in y0 around 0

      \[\leadsto \left(k \cdot z\right) \cdot \color{blue}{\left(-1 \cdot \left(i \cdot y1\right)\right)} \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \left(k \cdot z\right) \cdot \color{blue}{\left(\mathsf{neg}\left(i \cdot y1\right)\right)} \]
      2. distribute-rgt-neg-inN/A

        \[\leadsto \left(k \cdot z\right) \cdot \color{blue}{\left(i \cdot \left(\mathsf{neg}\left(y1\right)\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto \left(k \cdot z\right) \cdot \left(i \cdot \color{blue}{\left(-1 \cdot y1\right)}\right) \]
      4. *-lowering-*.f64N/A

        \[\leadsto \left(k \cdot z\right) \cdot \color{blue}{\left(i \cdot \left(-1 \cdot y1\right)\right)} \]
      5. mul-1-negN/A

        \[\leadsto \left(k \cdot z\right) \cdot \left(i \cdot \color{blue}{\left(\mathsf{neg}\left(y1\right)\right)}\right) \]
      6. neg-lowering-neg.f6437.7

        \[\leadsto \left(k \cdot z\right) \cdot \left(i \cdot \color{blue}{\left(-y1\right)}\right) \]
    11. Simplified37.7%

      \[\leadsto \left(k \cdot z\right) \cdot \color{blue}{\left(i \cdot \left(-y1\right)\right)} \]

    if -4.29999999999999988e-233 < y4 < 1.5200000000000001e35

    1. Initial program 28.0%

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

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

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

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y - t \cdot z\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(b \cdot \left(\color{blue}{x \cdot y} - t \cdot z\right)\right) \]
      4. *-lowering-*.f6439.4

        \[\leadsto a \cdot \left(b \cdot \left(x \cdot y - \color{blue}{t \cdot z}\right)\right) \]
    8. Simplified39.4%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    9. Taylor expanded in x around inf

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
    10. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
      3. *-commutativeN/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
      4. *-lowering-*.f6425.5

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
    11. Simplified25.5%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(y \cdot x\right)\right)} \]
    12. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
      2. associate-*r*N/A

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
      4. *-lowering-*.f6429.0

        \[\leadsto a \cdot \left(\color{blue}{\left(b \cdot x\right)} \cdot y\right) \]
    13. Applied egg-rr29.0%

      \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification38.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -3.8 \cdot 10^{+229}:\\ \;\;\;\;\left(y \cdot c\right) \cdot \left(y3 \cdot y4\right)\\ \mathbf{elif}\;y4 \leq -7.5 \cdot 10^{+28}:\\ \;\;\;\;k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\ \mathbf{elif}\;y4 \leq -6.5 \cdot 10^{-42}:\\ \;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1\right)\\ \mathbf{elif}\;y4 \leq -4.3 \cdot 10^{-233}:\\ \;\;\;\;\left(z \cdot k\right) \cdot \left(y1 \cdot \left(-i\right)\right)\\ \mathbf{elif}\;y4 \leq 1.52 \cdot 10^{+35}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 18: 32.1% accurate, 4.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{if}\;b \leq -1.6 \cdot 10^{+106}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq -1.7 \cdot 10^{-148}:\\ \;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\ \mathbf{elif}\;b \leq 2.5 \cdot 10^{+105}:\\ \;\;\;\;c \cdot \left(y3 \cdot \mathsf{fma}\left(y, y4, z \cdot \left(-y0\right)\right)\right)\\ \mathbf{elif}\;b \leq 5 \cdot 10^{+220}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y \cdot \left(-b\right)\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* a (* b (- (* x y) (* z t))))))
   (if (<= b -1.6e+106)
     t_1
     (if (<= b -1.7e-148)
       (* a (* y3 (- (* z y1) (* y y5))))
       (if (<= b 2.5e+105)
         (* c (* y3 (fma y y4 (* z (- y0)))))
         (if (<= b 5e+220) t_1 (* k (* y4 (* y (- b))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (b * ((x * y) - (z * t)));
	double tmp;
	if (b <= -1.6e+106) {
		tmp = t_1;
	} else if (b <= -1.7e-148) {
		tmp = a * (y3 * ((z * y1) - (y * y5)));
	} else if (b <= 2.5e+105) {
		tmp = c * (y3 * fma(y, y4, (z * -y0)));
	} else if (b <= 5e+220) {
		tmp = t_1;
	} else {
		tmp = k * (y4 * (y * -b));
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))))
	tmp = 0.0
	if (b <= -1.6e+106)
		tmp = t_1;
	elseif (b <= -1.7e-148)
		tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5))));
	elseif (b <= 2.5e+105)
		tmp = Float64(c * Float64(y3 * fma(y, y4, Float64(z * Float64(-y0)))));
	elseif (b <= 5e+220)
		tmp = t_1;
	else
		tmp = Float64(k * Float64(y4 * Float64(y * Float64(-b))));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -1.6e+106], t$95$1, If[LessEqual[b, -1.7e-148], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.5e+105], N[(c * N[(y3 * N[(y * y4 + N[(z * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 5e+220], t$95$1, N[(k * N[(y4 * N[(y * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{if}\;b \leq -1.6 \cdot 10^{+106}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq -1.7 \cdot 10^{-148}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\

\mathbf{elif}\;b \leq 2.5 \cdot 10^{+105}:\\
\;\;\;\;c \cdot \left(y3 \cdot \mathsf{fma}\left(y, y4, z \cdot \left(-y0\right)\right)\right)\\

\mathbf{elif}\;b \leq 5 \cdot 10^{+220}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y \cdot \left(-b\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if b < -1.5999999999999999e106 or 2.50000000000000023e105 < b < 5.0000000000000002e220

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

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

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

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y - t \cdot z\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(b \cdot \left(\color{blue}{x \cdot y} - t \cdot z\right)\right) \]
      4. *-lowering-*.f6459.7

        \[\leadsto a \cdot \left(b \cdot \left(x \cdot y - \color{blue}{t \cdot z}\right)\right) \]
    8. Simplified59.7%

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

    if -1.5999999999999999e106 < b < -1.7000000000000001e-148

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
    5. Simplified38.0%

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

      \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y \cdot y5\right) + y1 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y \cdot y5\right) + y1 \cdot z\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z + -1 \cdot \left(y \cdot y5\right)\right)}\right) \]
      3. mul-1-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \left(y1 \cdot z + \color{blue}{\left(\mathsf{neg}\left(y \cdot y5\right)\right)}\right)\right) \]
      4. unsub-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z - y \cdot y5\right)}\right) \]
      5. --lowering--.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z - y \cdot y5\right)}\right) \]
      6. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \left(\color{blue}{y1 \cdot z} - y \cdot y5\right)\right) \]
      7. *-lowering-*.f6436.2

        \[\leadsto a \cdot \left(y3 \cdot \left(y1 \cdot z - \color{blue}{y \cdot y5}\right)\right) \]
    8. Simplified36.2%

      \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(y1 \cdot z - y \cdot y5\right)\right)} \]

    if -1.7000000000000001e-148 < b < 2.50000000000000023e105

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{c \cdot \left(y3 \cdot \left(-1 \cdot \left(y0 \cdot z\right) + y \cdot y4\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

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

        \[\leadsto c \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y0 \cdot z\right) + y \cdot y4\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto c \cdot \left(y3 \cdot \color{blue}{\left(y \cdot y4 + -1 \cdot \left(y0 \cdot z\right)\right)}\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto c \cdot \left(y3 \cdot \color{blue}{\mathsf{fma}\left(y, y4, -1 \cdot \left(y0 \cdot z\right)\right)}\right) \]
      5. associate-*r*N/A

        \[\leadsto c \cdot \left(y3 \cdot \mathsf{fma}\left(y, y4, \color{blue}{\left(-1 \cdot y0\right) \cdot z}\right)\right) \]
      6. *-lowering-*.f64N/A

        \[\leadsto c \cdot \left(y3 \cdot \mathsf{fma}\left(y, y4, \color{blue}{\left(-1 \cdot y0\right) \cdot z}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto c \cdot \left(y3 \cdot \mathsf{fma}\left(y, y4, \color{blue}{\left(\mathsf{neg}\left(y0\right)\right)} \cdot z\right)\right) \]
      8. neg-lowering-neg.f6435.7

        \[\leadsto c \cdot \left(y3 \cdot \mathsf{fma}\left(y, y4, \color{blue}{\left(-y0\right)} \cdot z\right)\right) \]
    8. Simplified35.7%

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

    if 5.0000000000000002e220 < b

    1. Initial program 29.4%

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

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

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y0 \cdot z + -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      3. *-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \left(\color{blue}{z \cdot y0} + -1 \cdot \left(y \cdot y4\right)\right)\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\mathsf{fma}\left(z, y0, -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      5. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{\mathsf{neg}\left(y \cdot y4\right)}\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-1 \cdot y4\right)}\right)\right) \]
      8. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(-1 \cdot y4\right)}\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      10. neg-lowering-neg.f6464.7

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-y4\right)}\right)\right) \]
    8. Simplified64.7%

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

      \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(b \cdot \left(y \cdot y4\right)\right)\right)} \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto k \cdot \color{blue}{\left(\mathsf{neg}\left(b \cdot \left(y \cdot y4\right)\right)\right)} \]
      2. neg-lowering-neg.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(\mathsf{neg}\left(b \cdot \left(y \cdot y4\right)\right)\right)} \]
      3. *-commutativeN/A

        \[\leadsto k \cdot \left(\mathsf{neg}\left(b \cdot \color{blue}{\left(y4 \cdot y\right)}\right)\right) \]
      4. associate-*r*N/A

        \[\leadsto k \cdot \left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4\right) \cdot y}\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\mathsf{neg}\left(\color{blue}{\left(y4 \cdot b\right)} \cdot y\right)\right) \]
      6. associate-*r*N/A

        \[\leadsto k \cdot \left(\mathsf{neg}\left(\color{blue}{y4 \cdot \left(b \cdot y\right)}\right)\right) \]
      7. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(\mathsf{neg}\left(\color{blue}{y4 \cdot \left(b \cdot y\right)}\right)\right) \]
      8. *-lowering-*.f6476.8

        \[\leadsto k \cdot \left(-y4 \cdot \color{blue}{\left(b \cdot y\right)}\right) \]
    11. Simplified76.8%

      \[\leadsto k \cdot \color{blue}{\left(-y4 \cdot \left(b \cdot y\right)\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification45.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.6 \cdot 10^{+106}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;b \leq -1.7 \cdot 10^{-148}:\\ \;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\ \mathbf{elif}\;b \leq 2.5 \cdot 10^{+105}:\\ \;\;\;\;c \cdot \left(y3 \cdot \mathsf{fma}\left(y, y4, z \cdot \left(-y0\right)\right)\right)\\ \mathbf{elif}\;b \leq 5 \cdot 10^{+220}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y \cdot \left(-b\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 19: 21.2% accurate, 4.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\ \mathbf{if}\;y4 \leq -1.05 \cdot 10^{+230}:\\ \;\;\;\;\left(y \cdot c\right) \cdot \left(y3 \cdot y4\right)\\ \mathbf{elif}\;y4 \leq -1.05 \cdot 10^{+34}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y4 \leq -6 \cdot 10^{-200}:\\ \;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1\right)\\ \mathbf{elif}\;y4 \leq 9.2 \cdot 10^{+34}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* k (* b (* y (- y4))))))
   (if (<= y4 -1.05e+230)
     (* (* y c) (* y3 y4))
     (if (<= y4 -1.05e+34)
       t_1
       (if (<= y4 -6e-200)
         (* (* x j) (* i y1))
         (if (<= y4 9.2e+34) (* a (* y (* x b))) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (b * (y * -y4));
	double tmp;
	if (y4 <= -1.05e+230) {
		tmp = (y * c) * (y3 * y4);
	} else if (y4 <= -1.05e+34) {
		tmp = t_1;
	} else if (y4 <= -6e-200) {
		tmp = (x * j) * (i * y1);
	} else if (y4 <= 9.2e+34) {
		tmp = a * (y * (x * b));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = k * (b * (y * -y4))
    if (y4 <= (-1.05d+230)) then
        tmp = (y * c) * (y3 * y4)
    else if (y4 <= (-1.05d+34)) then
        tmp = t_1
    else if (y4 <= (-6d-200)) then
        tmp = (x * j) * (i * y1)
    else if (y4 <= 9.2d+34) then
        tmp = a * (y * (x * b))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (b * (y * -y4));
	double tmp;
	if (y4 <= -1.05e+230) {
		tmp = (y * c) * (y3 * y4);
	} else if (y4 <= -1.05e+34) {
		tmp = t_1;
	} else if (y4 <= -6e-200) {
		tmp = (x * j) * (i * y1);
	} else if (y4 <= 9.2e+34) {
		tmp = a * (y * (x * b));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = k * (b * (y * -y4))
	tmp = 0
	if y4 <= -1.05e+230:
		tmp = (y * c) * (y3 * y4)
	elif y4 <= -1.05e+34:
		tmp = t_1
	elif y4 <= -6e-200:
		tmp = (x * j) * (i * y1)
	elif y4 <= 9.2e+34:
		tmp = a * (y * (x * b))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(k * Float64(b * Float64(y * Float64(-y4))))
	tmp = 0.0
	if (y4 <= -1.05e+230)
		tmp = Float64(Float64(y * c) * Float64(y3 * y4));
	elseif (y4 <= -1.05e+34)
		tmp = t_1;
	elseif (y4 <= -6e-200)
		tmp = Float64(Float64(x * j) * Float64(i * y1));
	elseif (y4 <= 9.2e+34)
		tmp = Float64(a * Float64(y * Float64(x * b)));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = k * (b * (y * -y4));
	tmp = 0.0;
	if (y4 <= -1.05e+230)
		tmp = (y * c) * (y3 * y4);
	elseif (y4 <= -1.05e+34)
		tmp = t_1;
	elseif (y4 <= -6e-200)
		tmp = (x * j) * (i * y1);
	elseif (y4 <= 9.2e+34)
		tmp = a * (y * (x * b));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(b * N[(y * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -1.05e+230], N[(N[(y * c), $MachinePrecision] * N[(y3 * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -1.05e+34], t$95$1, If[LessEqual[y4, -6e-200], N[(N[(x * j), $MachinePrecision] * N[(i * y1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 9.2e+34], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\
\mathbf{if}\;y4 \leq -1.05 \cdot 10^{+230}:\\
\;\;\;\;\left(y \cdot c\right) \cdot \left(y3 \cdot y4\right)\\

\mathbf{elif}\;y4 \leq -1.05 \cdot 10^{+34}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y4 \leq -6 \cdot 10^{-200}:\\
\;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1\right)\\

\mathbf{elif}\;y4 \leq 9.2 \cdot 10^{+34}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if y4 < -1.04999999999999996e230

    1. Initial program 12.5%

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

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

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

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

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

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

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot \left(-1 \cdot c\right)} \]
    5. Simplified56.3%

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

      \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      2. --lowering--.f64N/A

        \[\leadsto \left(y4 \cdot \color{blue}{\left(t \cdot y2 - y \cdot y3\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto \left(y4 \cdot \left(\color{blue}{t \cdot y2} - y \cdot y3\right)\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      4. *-lowering-*.f6456.9

        \[\leadsto \left(y4 \cdot \left(t \cdot y2 - \color{blue}{y \cdot y3}\right)\right) \cdot \left(-c\right) \]
    8. Simplified56.9%

      \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(-c\right) \]
    9. Taylor expanded in t around 0

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} \]
    10. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(c \cdot y\right) \cdot \left(y3 \cdot y4\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(c \cdot y\right) \cdot \left(y3 \cdot y4\right)} \]
      3. *-commutativeN/A

        \[\leadsto \color{blue}{\left(y \cdot c\right)} \cdot \left(y3 \cdot y4\right) \]
      4. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(y \cdot c\right)} \cdot \left(y3 \cdot y4\right) \]
      5. *-commutativeN/A

        \[\leadsto \left(y \cdot c\right) \cdot \color{blue}{\left(y4 \cdot y3\right)} \]
      6. *-lowering-*.f6451.1

        \[\leadsto \left(y \cdot c\right) \cdot \color{blue}{\left(y4 \cdot y3\right)} \]
    11. Simplified51.1%

      \[\leadsto \color{blue}{\left(y \cdot c\right) \cdot \left(y4 \cdot y3\right)} \]

    if -1.04999999999999996e230 < y4 < -1.05000000000000009e34 or 9.1999999999999993e34 < y4

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y0 \cdot z + -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      3. *-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \left(\color{blue}{z \cdot y0} + -1 \cdot \left(y \cdot y4\right)\right)\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\mathsf{fma}\left(z, y0, -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      5. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{\mathsf{neg}\left(y \cdot y4\right)}\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-1 \cdot y4\right)}\right)\right) \]
      8. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(-1 \cdot y4\right)}\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      10. neg-lowering-neg.f6451.9

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-y4\right)}\right)\right) \]
    8. Simplified51.9%

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

      \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(-1 \cdot \left(y \cdot y4\right)\right)}\right) \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(\mathsf{neg}\left(y \cdot y4\right)\right)}\right) \]
      2. *-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \left(\mathsf{neg}\left(\color{blue}{y4 \cdot y}\right)\right)\right) \]
      3. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y4 \cdot \left(\mathsf{neg}\left(y\right)\right)\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \left(y4 \cdot \color{blue}{\left(-1 \cdot y\right)}\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot y\right)\right)}\right) \]
      6. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \left(y4 \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right)\right) \]
      7. neg-lowering-neg.f6441.7

        \[\leadsto k \cdot \left(b \cdot \left(y4 \cdot \color{blue}{\left(-y\right)}\right)\right) \]
    11. Simplified41.7%

      \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y4 \cdot \left(-y\right)\right)}\right) \]

    if -1.05000000000000009e34 < y4 < -5.99999999999999989e-200

    1. Initial program 42.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right)} \cdot \left(i \cdot y1 - b \cdot y0\right) \]
      4. --lowering--.f64N/A

        \[\leadsto \left(j \cdot x\right) \cdot \color{blue}{\left(i \cdot y1 - b \cdot y0\right)} \]
      5. *-lowering-*.f64N/A

        \[\leadsto \left(j \cdot x\right) \cdot \left(\color{blue}{i \cdot y1} - b \cdot y0\right) \]
      6. *-lowering-*.f6430.1

        \[\leadsto \left(j \cdot x\right) \cdot \left(i \cdot y1 - \color{blue}{b \cdot y0}\right) \]
    8. Simplified30.1%

      \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
    9. Taylor expanded in i around inf

      \[\leadsto \left(j \cdot x\right) \cdot \color{blue}{\left(i \cdot y1\right)} \]
    10. Step-by-step derivation
      1. *-lowering-*.f6425.5

        \[\leadsto \left(j \cdot x\right) \cdot \color{blue}{\left(i \cdot y1\right)} \]
    11. Simplified25.5%

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

    if -5.99999999999999989e-200 < y4 < 9.1999999999999993e34

    1. Initial program 26.9%

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
    5. Simplified41.8%

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

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y - t \cdot z\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(b \cdot \left(\color{blue}{x \cdot y} - t \cdot z\right)\right) \]
      4. *-lowering-*.f6438.5

        \[\leadsto a \cdot \left(b \cdot \left(x \cdot y - \color{blue}{t \cdot z}\right)\right) \]
    8. Simplified38.5%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    9. Taylor expanded in x around inf

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
    10. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
      3. *-commutativeN/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
      4. *-lowering-*.f6427.0

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
    11. Simplified27.0%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(y \cdot x\right)\right)} \]
    12. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
      2. associate-*r*N/A

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
      4. *-lowering-*.f6429.1

        \[\leadsto a \cdot \left(\color{blue}{\left(b \cdot x\right)} \cdot y\right) \]
    13. Applied egg-rr29.1%

      \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification35.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -1.05 \cdot 10^{+230}:\\ \;\;\;\;\left(y \cdot c\right) \cdot \left(y3 \cdot y4\right)\\ \mathbf{elif}\;y4 \leq -1.05 \cdot 10^{+34}:\\ \;\;\;\;k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\ \mathbf{elif}\;y4 \leq -6 \cdot 10^{-200}:\\ \;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1\right)\\ \mathbf{elif}\;y4 \leq 9.2 \cdot 10^{+34}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 20: 32.0% accurate, 4.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(z \cdot \mathsf{fma}\left(i, t, y0 \cdot \left(-y3\right)\right)\right)\\ \mathbf{if}\;z \leq -1.05 \cdot 10^{+177}:\\ \;\;\;\;a \cdot \left(z \cdot \mathsf{fma}\left(y1, y3, t \cdot \left(-b\right)\right)\right)\\ \mathbf{elif}\;z \leq -3.4 \cdot 10^{+75}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 2.6 \cdot 10^{+128}:\\ \;\;\;\;k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \left(-b\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* c (* z (fma i t (* y0 (- y3)))))))
   (if (<= z -1.05e+177)
     (* a (* z (fma y1 y3 (* t (- b)))))
     (if (<= z -3.4e+75)
       t_1
       (if (<= z 2.6e+128) (* k (* y4 (fma y1 y2 (* y (- b))))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = c * (z * fma(i, t, (y0 * -y3)));
	double tmp;
	if (z <= -1.05e+177) {
		tmp = a * (z * fma(y1, y3, (t * -b)));
	} else if (z <= -3.4e+75) {
		tmp = t_1;
	} else if (z <= 2.6e+128) {
		tmp = k * (y4 * fma(y1, y2, (y * -b)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(c * Float64(z * fma(i, t, Float64(y0 * Float64(-y3)))))
	tmp = 0.0
	if (z <= -1.05e+177)
		tmp = Float64(a * Float64(z * fma(y1, y3, Float64(t * Float64(-b)))));
	elseif (z <= -3.4e+75)
		tmp = t_1;
	elseif (z <= 2.6e+128)
		tmp = Float64(k * Float64(y4 * fma(y1, y2, Float64(y * Float64(-b)))));
	else
		tmp = t_1;
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(z * N[(i * t + N[(y0 * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.05e+177], N[(a * N[(z * N[(y1 * y3 + N[(t * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -3.4e+75], t$95$1, If[LessEqual[z, 2.6e+128], N[(k * N[(y4 * N[(y1 * y2 + N[(y * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(z \cdot \mathsf{fma}\left(i, t, y0 \cdot \left(-y3\right)\right)\right)\\
\mathbf{if}\;z \leq -1.05 \cdot 10^{+177}:\\
\;\;\;\;a \cdot \left(z \cdot \mathsf{fma}\left(y1, y3, t \cdot \left(-b\right)\right)\right)\\

\mathbf{elif}\;z \leq -3.4 \cdot 10^{+75}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq 2.6 \cdot 10^{+128}:\\
\;\;\;\;k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \left(-b\right)\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if z < -1.05000000000000006e177

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
    5. Simplified52.3%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(y1, -\left(y2 \cdot x - z \cdot y3\right), \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot y2 - y3 \cdot y\right)\right)\right)} \]
    6. Taylor expanded in z 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. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto a \cdot \left(z \cdot \color{blue}{\left(y1 \cdot y3 + -1 \cdot \left(b \cdot t\right)\right)}\right) \]
      3. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \left(z \cdot \color{blue}{\mathsf{fma}\left(y1, y3, -1 \cdot \left(b \cdot t\right)\right)}\right) \]
      4. associate-*r*N/A

        \[\leadsto a \cdot \left(z \cdot \mathsf{fma}\left(y1, y3, \color{blue}{\left(-1 \cdot b\right) \cdot t}\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(z \cdot \mathsf{fma}\left(y1, y3, \color{blue}{\left(-1 \cdot b\right) \cdot t}\right)\right) \]
      6. mul-1-negN/A

        \[\leadsto a \cdot \left(z \cdot \mathsf{fma}\left(y1, y3, \color{blue}{\left(\mathsf{neg}\left(b\right)\right)} \cdot t\right)\right) \]
      7. neg-lowering-neg.f6469.3

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

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

    if -1.05000000000000006e177 < z < -3.40000000000000011e75 or 2.6e128 < z

    1. Initial program 16.1%

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

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

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

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

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

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

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot \left(-1 \cdot c\right)} \]
    5. Simplified48.7%

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

      \[\leadsto \color{blue}{c \cdot \left(z \cdot \left(-1 \cdot \left(y0 \cdot y3\right) + i \cdot t\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

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

        \[\leadsto c \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(y0 \cdot y3\right) + i \cdot t\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto c \cdot \left(z \cdot \color{blue}{\left(i \cdot t + -1 \cdot \left(y0 \cdot y3\right)\right)}\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto c \cdot \left(z \cdot \color{blue}{\mathsf{fma}\left(i, t, -1 \cdot \left(y0 \cdot y3\right)\right)}\right) \]
      5. associate-*r*N/A

        \[\leadsto c \cdot \left(z \cdot \mathsf{fma}\left(i, t, \color{blue}{\left(-1 \cdot y0\right) \cdot y3}\right)\right) \]
      6. *-lowering-*.f64N/A

        \[\leadsto c \cdot \left(z \cdot \mathsf{fma}\left(i, t, \color{blue}{\left(-1 \cdot y0\right) \cdot y3}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto c \cdot \left(z \cdot \mathsf{fma}\left(i, t, \color{blue}{\left(\mathsf{neg}\left(y0\right)\right)} \cdot y3\right)\right) \]
      8. neg-lowering-neg.f6460.2

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

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

    if -3.40000000000000011e75 < z < 2.6e128

    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. *-lowering-*.f64N/A

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 + -1 \cdot \left(b \cdot y\right)\right)}\right) \]
      3. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\mathsf{fma}\left(y1, y2, -1 \cdot \left(b \cdot y\right)\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \color{blue}{\mathsf{neg}\left(b \cdot y\right)}\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \mathsf{neg}\left(\color{blue}{y \cdot b}\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \color{blue}{y \cdot \left(\mathsf{neg}\left(b\right)\right)}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \color{blue}{\left(-1 \cdot b\right)}\right)\right) \]
      8. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, \color{blue}{y \cdot \left(-1 \cdot b\right)}\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \color{blue}{\left(\mathsf{neg}\left(b\right)\right)}\right)\right) \]
      10. neg-lowering-neg.f6437.0

        \[\leadsto k \cdot \left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \color{blue}{\left(-b\right)}\right)\right) \]
    8. Simplified37.0%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \mathsf{fma}\left(y1, y2, y \cdot \left(-b\right)\right)\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification46.2%

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

Alternative 21: 31.8% accurate, 4.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{if}\;b \leq -9.2 \cdot 10^{+36}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 7 \cdot 10^{+118}:\\ \;\;\;\;c \cdot \left(z \cdot \mathsf{fma}\left(i, t, y0 \cdot \left(-y3\right)\right)\right)\\ \mathbf{elif}\;b \leq 1.12 \cdot 10^{+223}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y \cdot \left(-b\right)\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* a (* b (- (* x y) (* z t))))))
   (if (<= b -9.2e+36)
     t_1
     (if (<= b 7e+118)
       (* c (* z (fma i t (* y0 (- y3)))))
       (if (<= b 1.12e+223) t_1 (* k (* y4 (* y (- b)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (b * ((x * y) - (z * t)));
	double tmp;
	if (b <= -9.2e+36) {
		tmp = t_1;
	} else if (b <= 7e+118) {
		tmp = c * (z * fma(i, t, (y0 * -y3)));
	} else if (b <= 1.12e+223) {
		tmp = t_1;
	} else {
		tmp = k * (y4 * (y * -b));
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))))
	tmp = 0.0
	if (b <= -9.2e+36)
		tmp = t_1;
	elseif (b <= 7e+118)
		tmp = Float64(c * Float64(z * fma(i, t, Float64(y0 * Float64(-y3)))));
	elseif (b <= 1.12e+223)
		tmp = t_1;
	else
		tmp = Float64(k * Float64(y4 * Float64(y * Float64(-b))));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -9.2e+36], t$95$1, If[LessEqual[b, 7e+118], N[(c * N[(z * N[(i * t + N[(y0 * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.12e+223], t$95$1, N[(k * N[(y4 * N[(y * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{if}\;b \leq -9.2 \cdot 10^{+36}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq 7 \cdot 10^{+118}:\\
\;\;\;\;c \cdot \left(z \cdot \mathsf{fma}\left(i, t, y0 \cdot \left(-y3\right)\right)\right)\\

\mathbf{elif}\;b \leq 1.12 \cdot 10^{+223}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y \cdot \left(-b\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -9.19999999999999986e36 or 7.00000000000000033e118 < b < 1.1200000000000001e223

    1. Initial program 27.3%

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
    5. Simplified51.3%

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

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y - t \cdot z\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(b \cdot \left(\color{blue}{x \cdot y} - t \cdot z\right)\right) \]
      4. *-lowering-*.f6455.1

        \[\leadsto a \cdot \left(b \cdot \left(x \cdot y - \color{blue}{t \cdot z}\right)\right) \]
    8. Simplified55.1%

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

    if -9.19999999999999986e36 < b < 7.00000000000000033e118

    1. Initial program 28.7%

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

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

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

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

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

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

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot \left(-1 \cdot c\right)} \]
    5. Simplified45.7%

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

      \[\leadsto \color{blue}{c \cdot \left(z \cdot \left(-1 \cdot \left(y0 \cdot y3\right) + i \cdot t\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

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

        \[\leadsto c \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(y0 \cdot y3\right) + i \cdot t\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto c \cdot \left(z \cdot \color{blue}{\left(i \cdot t + -1 \cdot \left(y0 \cdot y3\right)\right)}\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto c \cdot \left(z \cdot \color{blue}{\mathsf{fma}\left(i, t, -1 \cdot \left(y0 \cdot y3\right)\right)}\right) \]
      5. associate-*r*N/A

        \[\leadsto c \cdot \left(z \cdot \mathsf{fma}\left(i, t, \color{blue}{\left(-1 \cdot y0\right) \cdot y3}\right)\right) \]
      6. *-lowering-*.f64N/A

        \[\leadsto c \cdot \left(z \cdot \mathsf{fma}\left(i, t, \color{blue}{\left(-1 \cdot y0\right) \cdot y3}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto c \cdot \left(z \cdot \mathsf{fma}\left(i, t, \color{blue}{\left(\mathsf{neg}\left(y0\right)\right)} \cdot y3\right)\right) \]
      8. neg-lowering-neg.f6437.2

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

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

    if 1.1200000000000001e223 < b

    1. Initial program 29.4%

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

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

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y0 \cdot z + -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      3. *-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \left(\color{blue}{z \cdot y0} + -1 \cdot \left(y \cdot y4\right)\right)\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\mathsf{fma}\left(z, y0, -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      5. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{\mathsf{neg}\left(y \cdot y4\right)}\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-1 \cdot y4\right)}\right)\right) \]
      8. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(-1 \cdot y4\right)}\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      10. neg-lowering-neg.f6464.7

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-y4\right)}\right)\right) \]
    8. Simplified64.7%

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

      \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(b \cdot \left(y \cdot y4\right)\right)\right)} \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto k \cdot \color{blue}{\left(\mathsf{neg}\left(b \cdot \left(y \cdot y4\right)\right)\right)} \]
      2. neg-lowering-neg.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(\mathsf{neg}\left(b \cdot \left(y \cdot y4\right)\right)\right)} \]
      3. *-commutativeN/A

        \[\leadsto k \cdot \left(\mathsf{neg}\left(b \cdot \color{blue}{\left(y4 \cdot y\right)}\right)\right) \]
      4. associate-*r*N/A

        \[\leadsto k \cdot \left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4\right) \cdot y}\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\mathsf{neg}\left(\color{blue}{\left(y4 \cdot b\right)} \cdot y\right)\right) \]
      6. associate-*r*N/A

        \[\leadsto k \cdot \left(\mathsf{neg}\left(\color{blue}{y4 \cdot \left(b \cdot y\right)}\right)\right) \]
      7. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(\mathsf{neg}\left(\color{blue}{y4 \cdot \left(b \cdot y\right)}\right)\right) \]
      8. *-lowering-*.f6476.8

        \[\leadsto k \cdot \left(-y4 \cdot \color{blue}{\left(b \cdot y\right)}\right) \]
    11. Simplified76.8%

      \[\leadsto k \cdot \color{blue}{\left(-y4 \cdot \left(b \cdot y\right)\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification45.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -9.2 \cdot 10^{+36}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;b \leq 7 \cdot 10^{+118}:\\ \;\;\;\;c \cdot \left(z \cdot \mathsf{fma}\left(i, t, y0 \cdot \left(-y3\right)\right)\right)\\ \mathbf{elif}\;b \leq 1.12 \cdot 10^{+223}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y \cdot \left(-b\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 22: 30.9% accurate, 4.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{if}\;b \leq -3.4 \cdot 10^{+98}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 1.2 \cdot 10^{+105}:\\ \;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\ \mathbf{elif}\;b \leq 4.9 \cdot 10^{+221}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y \cdot \left(-b\right)\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* a (* b (- (* x y) (* z t))))))
   (if (<= b -3.4e+98)
     t_1
     (if (<= b 1.2e+105)
       (* a (* y1 (- (* z y3) (* x y2))))
       (if (<= b 4.9e+221) t_1 (* k (* y4 (* y (- b)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (b * ((x * y) - (z * t)));
	double tmp;
	if (b <= -3.4e+98) {
		tmp = t_1;
	} else if (b <= 1.2e+105) {
		tmp = a * (y1 * ((z * y3) - (x * y2)));
	} else if (b <= 4.9e+221) {
		tmp = t_1;
	} else {
		tmp = k * (y4 * (y * -b));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = a * (b * ((x * y) - (z * t)))
    if (b <= (-3.4d+98)) then
        tmp = t_1
    else if (b <= 1.2d+105) then
        tmp = a * (y1 * ((z * y3) - (x * y2)))
    else if (b <= 4.9d+221) then
        tmp = t_1
    else
        tmp = k * (y4 * (y * -b))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (b * ((x * y) - (z * t)));
	double tmp;
	if (b <= -3.4e+98) {
		tmp = t_1;
	} else if (b <= 1.2e+105) {
		tmp = a * (y1 * ((z * y3) - (x * y2)));
	} else if (b <= 4.9e+221) {
		tmp = t_1;
	} else {
		tmp = k * (y4 * (y * -b));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = a * (b * ((x * y) - (z * t)))
	tmp = 0
	if b <= -3.4e+98:
		tmp = t_1
	elif b <= 1.2e+105:
		tmp = a * (y1 * ((z * y3) - (x * y2)))
	elif b <= 4.9e+221:
		tmp = t_1
	else:
		tmp = k * (y4 * (y * -b))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))))
	tmp = 0.0
	if (b <= -3.4e+98)
		tmp = t_1;
	elseif (b <= 1.2e+105)
		tmp = Float64(a * Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2))));
	elseif (b <= 4.9e+221)
		tmp = t_1;
	else
		tmp = Float64(k * Float64(y4 * Float64(y * Float64(-b))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = a * (b * ((x * y) - (z * t)));
	tmp = 0.0;
	if (b <= -3.4e+98)
		tmp = t_1;
	elseif (b <= 1.2e+105)
		tmp = a * (y1 * ((z * y3) - (x * y2)));
	elseif (b <= 4.9e+221)
		tmp = t_1;
	else
		tmp = k * (y4 * (y * -b));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -3.4e+98], t$95$1, If[LessEqual[b, 1.2e+105], N[(a * N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 4.9e+221], t$95$1, N[(k * N[(y4 * N[(y * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{if}\;b \leq -3.4 \cdot 10^{+98}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq 1.2 \cdot 10^{+105}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\

\mathbf{elif}\;b \leq 4.9 \cdot 10^{+221}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y \cdot \left(-b\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -3.39999999999999972e98 or 1.19999999999999987e105 < b < 4.8999999999999999e221

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
    5. Simplified54.8%

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

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y - t \cdot z\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(b \cdot \left(\color{blue}{x \cdot y} - t \cdot z\right)\right) \]
      4. *-lowering-*.f6460.2

        \[\leadsto a \cdot \left(b \cdot \left(x \cdot y - \color{blue}{t \cdot z}\right)\right) \]
    8. Simplified60.2%

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

    if -3.39999999999999972e98 < b < 1.19999999999999987e105

    1. Initial program 28.7%

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

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

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

      \[\leadsto a \cdot \color{blue}{\left(y1 \cdot \left(y3 \cdot z - x \cdot y2\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(y1 \cdot \left(y3 \cdot z - x \cdot y2\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto a \cdot \left(y1 \cdot \color{blue}{\left(y3 \cdot z - x \cdot y2\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(y1 \cdot \left(\color{blue}{y3 \cdot z} - x \cdot y2\right)\right) \]
      4. *-lowering-*.f6432.3

        \[\leadsto a \cdot \left(y1 \cdot \left(y3 \cdot z - \color{blue}{x \cdot y2}\right)\right) \]
    8. Simplified32.3%

      \[\leadsto a \cdot \color{blue}{\left(y1 \cdot \left(y3 \cdot z - x \cdot y2\right)\right)} \]

    if 4.8999999999999999e221 < b

    1. Initial program 29.4%

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

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

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y0 \cdot z + -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      3. *-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \left(\color{blue}{z \cdot y0} + -1 \cdot \left(y \cdot y4\right)\right)\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\mathsf{fma}\left(z, y0, -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      5. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{\mathsf{neg}\left(y \cdot y4\right)}\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-1 \cdot y4\right)}\right)\right) \]
      8. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(-1 \cdot y4\right)}\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      10. neg-lowering-neg.f6464.7

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-y4\right)}\right)\right) \]
    8. Simplified64.7%

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

      \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(b \cdot \left(y \cdot y4\right)\right)\right)} \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto k \cdot \color{blue}{\left(\mathsf{neg}\left(b \cdot \left(y \cdot y4\right)\right)\right)} \]
      2. neg-lowering-neg.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(\mathsf{neg}\left(b \cdot \left(y \cdot y4\right)\right)\right)} \]
      3. *-commutativeN/A

        \[\leadsto k \cdot \left(\mathsf{neg}\left(b \cdot \color{blue}{\left(y4 \cdot y\right)}\right)\right) \]
      4. associate-*r*N/A

        \[\leadsto k \cdot \left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4\right) \cdot y}\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\mathsf{neg}\left(\color{blue}{\left(y4 \cdot b\right)} \cdot y\right)\right) \]
      6. associate-*r*N/A

        \[\leadsto k \cdot \left(\mathsf{neg}\left(\color{blue}{y4 \cdot \left(b \cdot y\right)}\right)\right) \]
      7. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(\mathsf{neg}\left(\color{blue}{y4 \cdot \left(b \cdot y\right)}\right)\right) \]
      8. *-lowering-*.f6476.8

        \[\leadsto k \cdot \left(-y4 \cdot \color{blue}{\left(b \cdot y\right)}\right) \]
    11. Simplified76.8%

      \[\leadsto k \cdot \color{blue}{\left(-y4 \cdot \left(b \cdot y\right)\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification43.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -3.4 \cdot 10^{+98}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;b \leq 1.2 \cdot 10^{+105}:\\ \;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\ \mathbf{elif}\;b \leq 4.9 \cdot 10^{+221}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y \cdot \left(-b\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 23: 27.7% accurate, 4.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\ \mathbf{if}\;y4 \leq -3.1 \cdot 10^{+229}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;y4 \leq -6.6 \cdot 10^{+60}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y4 \leq 1.12 \cdot 10^{+77}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* k (* b (* y (- y4))))))
   (if (<= y4 -3.1e+229)
     (* c (* y (* y3 y4)))
     (if (<= y4 -6.6e+60)
       t_1
       (if (<= y4 1.12e+77) (* a (* b (- (* x y) (* z t)))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (b * (y * -y4));
	double tmp;
	if (y4 <= -3.1e+229) {
		tmp = c * (y * (y3 * y4));
	} else if (y4 <= -6.6e+60) {
		tmp = t_1;
	} else if (y4 <= 1.12e+77) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = k * (b * (y * -y4))
    if (y4 <= (-3.1d+229)) then
        tmp = c * (y * (y3 * y4))
    else if (y4 <= (-6.6d+60)) then
        tmp = t_1
    else if (y4 <= 1.12d+77) then
        tmp = a * (b * ((x * y) - (z * t)))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (b * (y * -y4));
	double tmp;
	if (y4 <= -3.1e+229) {
		tmp = c * (y * (y3 * y4));
	} else if (y4 <= -6.6e+60) {
		tmp = t_1;
	} else if (y4 <= 1.12e+77) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = k * (b * (y * -y4))
	tmp = 0
	if y4 <= -3.1e+229:
		tmp = c * (y * (y3 * y4))
	elif y4 <= -6.6e+60:
		tmp = t_1
	elif y4 <= 1.12e+77:
		tmp = a * (b * ((x * y) - (z * t)))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(k * Float64(b * Float64(y * Float64(-y4))))
	tmp = 0.0
	if (y4 <= -3.1e+229)
		tmp = Float64(c * Float64(y * Float64(y3 * y4)));
	elseif (y4 <= -6.6e+60)
		tmp = t_1;
	elseif (y4 <= 1.12e+77)
		tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = k * (b * (y * -y4));
	tmp = 0.0;
	if (y4 <= -3.1e+229)
		tmp = c * (y * (y3 * y4));
	elseif (y4 <= -6.6e+60)
		tmp = t_1;
	elseif (y4 <= 1.12e+77)
		tmp = a * (b * ((x * y) - (z * t)));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(b * N[(y * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -3.1e+229], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -6.6e+60], t$95$1, If[LessEqual[y4, 1.12e+77], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\
\mathbf{if}\;y4 \leq -3.1 \cdot 10^{+229}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\

\mathbf{elif}\;y4 \leq -6.6 \cdot 10^{+60}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y4 \leq 1.12 \cdot 10^{+77}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if y4 < -3.10000000000000014e229

    1. Initial program 12.5%

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

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

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

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

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

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

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot \left(-1 \cdot c\right)} \]
    5. Simplified56.3%

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

      \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      2. --lowering--.f64N/A

        \[\leadsto \left(y4 \cdot \color{blue}{\left(t \cdot y2 - y \cdot y3\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto \left(y4 \cdot \left(\color{blue}{t \cdot y2} - y \cdot y3\right)\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      4. *-lowering-*.f6456.9

        \[\leadsto \left(y4 \cdot \left(t \cdot y2 - \color{blue}{y \cdot y3}\right)\right) \cdot \left(-c\right) \]
    8. Simplified56.9%

      \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(-c\right) \]
    9. Taylor expanded in t around 0

      \[\leadsto \color{blue}{\left(-1 \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y \cdot \left(y3 \cdot y4\right)\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      2. distribute-rgt-neg-inN/A

        \[\leadsto \color{blue}{\left(y \cdot \left(\mathsf{neg}\left(y3 \cdot y4\right)\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      3. mul-1-negN/A

        \[\leadsto \left(y \cdot \color{blue}{\left(-1 \cdot \left(y3 \cdot y4\right)\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      4. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(y \cdot \left(-1 \cdot \left(y3 \cdot y4\right)\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      5. mul-1-negN/A

        \[\leadsto \left(y \cdot \color{blue}{\left(\mathsf{neg}\left(y3 \cdot y4\right)\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      6. *-commutativeN/A

        \[\leadsto \left(y \cdot \left(\mathsf{neg}\left(\color{blue}{y4 \cdot y3}\right)\right)\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      7. distribute-rgt-neg-inN/A

        \[\leadsto \left(y \cdot \color{blue}{\left(y4 \cdot \left(\mathsf{neg}\left(y3\right)\right)\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      8. mul-1-negN/A

        \[\leadsto \left(y \cdot \left(y4 \cdot \color{blue}{\left(-1 \cdot y3\right)}\right)\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto \left(y \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot y3\right)\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      10. mul-1-negN/A

        \[\leadsto \left(y \cdot \left(y4 \cdot \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)}\right)\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      11. neg-lowering-neg.f6457.3

        \[\leadsto \left(y \cdot \left(y4 \cdot \color{blue}{\left(-y3\right)}\right)\right) \cdot \left(-c\right) \]
    11. Simplified57.3%

      \[\leadsto \color{blue}{\left(y \cdot \left(y4 \cdot \left(-y3\right)\right)\right)} \cdot \left(-c\right) \]

    if -3.10000000000000014e229 < y4 < -6.5999999999999995e60 or 1.1199999999999999e77 < y4

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y0 \cdot z + -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      3. *-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \left(\color{blue}{z \cdot y0} + -1 \cdot \left(y \cdot y4\right)\right)\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\mathsf{fma}\left(z, y0, -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      5. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{\mathsf{neg}\left(y \cdot y4\right)}\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-1 \cdot y4\right)}\right)\right) \]
      8. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(-1 \cdot y4\right)}\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      10. neg-lowering-neg.f6451.6

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-y4\right)}\right)\right) \]
    8. Simplified51.6%

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

      \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(-1 \cdot \left(y \cdot y4\right)\right)}\right) \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(\mathsf{neg}\left(y \cdot y4\right)\right)}\right) \]
      2. *-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \left(\mathsf{neg}\left(\color{blue}{y4 \cdot y}\right)\right)\right) \]
      3. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y4 \cdot \left(\mathsf{neg}\left(y\right)\right)\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \left(y4 \cdot \color{blue}{\left(-1 \cdot y\right)}\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot y\right)\right)}\right) \]
      6. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \left(y4 \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right)\right) \]
      7. neg-lowering-neg.f6444.8

        \[\leadsto k \cdot \left(b \cdot \left(y4 \cdot \color{blue}{\left(-y\right)}\right)\right) \]
    11. Simplified44.8%

      \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y4 \cdot \left(-y\right)\right)}\right) \]

    if -6.5999999999999995e60 < y4 < 1.1199999999999999e77

    1. Initial program 34.4%

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

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

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

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y - t \cdot z\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(b \cdot \left(\color{blue}{x \cdot y} - t \cdot z\right)\right) \]
      4. *-lowering-*.f6434.1

        \[\leadsto a \cdot \left(b \cdot \left(x \cdot y - \color{blue}{t \cdot z}\right)\right) \]
    8. Simplified34.1%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification39.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -3.1 \cdot 10^{+229}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;y4 \leq -6.6 \cdot 10^{+60}:\\ \;\;\;\;k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\ \mathbf{elif}\;y4 \leq 1.12 \cdot 10^{+77}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(b \cdot \left(y \cdot \left(-y4\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 24: 21.5% accurate, 7.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;x \leq -5.8 \cdot 10^{-107}:\\ \;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1\right)\\ \mathbf{elif}\;x \leq 3.7 \cdot 10^{+40}:\\ \;\;\;\;\left(y \cdot c\right) \cdot \left(y3 \cdot y4\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (if (<= x -5.8e-107)
   (* (* x j) (* i y1))
   (if (<= x 3.7e+40) (* (* y c) (* y3 y4)) (* a (* y (* x b))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (x <= -5.8e-107) {
		tmp = (x * j) * (i * y1);
	} else if (x <= 3.7e+40) {
		tmp = (y * c) * (y3 * y4);
	} else {
		tmp = a * (y * (x * b));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if (x <= (-5.8d-107)) then
        tmp = (x * j) * (i * y1)
    else if (x <= 3.7d+40) then
        tmp = (y * c) * (y3 * y4)
    else
        tmp = a * (y * (x * b))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (x <= -5.8e-107) {
		tmp = (x * j) * (i * y1);
	} else if (x <= 3.7e+40) {
		tmp = (y * c) * (y3 * y4);
	} else {
		tmp = a * (y * (x * b));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if x <= -5.8e-107:
		tmp = (x * j) * (i * y1)
	elif x <= 3.7e+40:
		tmp = (y * c) * (y3 * y4)
	else:
		tmp = a * (y * (x * b))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (x <= -5.8e-107)
		tmp = Float64(Float64(x * j) * Float64(i * y1));
	elseif (x <= 3.7e+40)
		tmp = Float64(Float64(y * c) * Float64(y3 * y4));
	else
		tmp = Float64(a * Float64(y * Float64(x * b)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0;
	if (x <= -5.8e-107)
		tmp = (x * j) * (i * y1);
	elseif (x <= 3.7e+40)
		tmp = (y * c) * (y3 * y4);
	else
		tmp = a * (y * (x * b));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -5.8e-107], N[(N[(x * j), $MachinePrecision] * N[(i * y1), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3.7e+40], N[(N[(y * c), $MachinePrecision] * N[(y3 * y4), $MachinePrecision]), $MachinePrecision], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;x \leq -5.8 \cdot 10^{-107}:\\
\;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1\right)\\

\mathbf{elif}\;x \leq 3.7 \cdot 10^{+40}:\\
\;\;\;\;\left(y \cdot c\right) \cdot \left(y3 \cdot y4\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if x < -5.7999999999999996e-107

    1. Initial program 23.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right)} \cdot \left(i \cdot y1 - b \cdot y0\right) \]
      4. --lowering--.f64N/A

        \[\leadsto \left(j \cdot x\right) \cdot \color{blue}{\left(i \cdot y1 - b \cdot y0\right)} \]
      5. *-lowering-*.f64N/A

        \[\leadsto \left(j \cdot x\right) \cdot \left(\color{blue}{i \cdot y1} - b \cdot y0\right) \]
      6. *-lowering-*.f6439.3

        \[\leadsto \left(j \cdot x\right) \cdot \left(i \cdot y1 - \color{blue}{b \cdot y0}\right) \]
    8. Simplified39.3%

      \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
    9. Taylor expanded in i around inf

      \[\leadsto \left(j \cdot x\right) \cdot \color{blue}{\left(i \cdot y1\right)} \]
    10. Step-by-step derivation
      1. *-lowering-*.f6432.5

        \[\leadsto \left(j \cdot x\right) \cdot \color{blue}{\left(i \cdot y1\right)} \]
    11. Simplified32.5%

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

    if -5.7999999999999996e-107 < x < 3.7e40

    1. Initial program 31.4%

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

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

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

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

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

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

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot \left(-1 \cdot c\right)} \]
    5. Simplified43.3%

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

      \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      2. --lowering--.f64N/A

        \[\leadsto \left(y4 \cdot \color{blue}{\left(t \cdot y2 - y \cdot y3\right)}\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto \left(y4 \cdot \left(\color{blue}{t \cdot y2} - y \cdot y3\right)\right) \cdot \left(\mathsf{neg}\left(c\right)\right) \]
      4. *-lowering-*.f6435.5

        \[\leadsto \left(y4 \cdot \left(t \cdot y2 - \color{blue}{y \cdot y3}\right)\right) \cdot \left(-c\right) \]
    8. Simplified35.5%

      \[\leadsto \color{blue}{\left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \cdot \left(-c\right) \]
    9. Taylor expanded in t around 0

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} \]
    10. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(c \cdot y\right) \cdot \left(y3 \cdot y4\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(c \cdot y\right) \cdot \left(y3 \cdot y4\right)} \]
      3. *-commutativeN/A

        \[\leadsto \color{blue}{\left(y \cdot c\right)} \cdot \left(y3 \cdot y4\right) \]
      4. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(y \cdot c\right)} \cdot \left(y3 \cdot y4\right) \]
      5. *-commutativeN/A

        \[\leadsto \left(y \cdot c\right) \cdot \color{blue}{\left(y4 \cdot y3\right)} \]
      6. *-lowering-*.f6427.4

        \[\leadsto \left(y \cdot c\right) \cdot \color{blue}{\left(y4 \cdot y3\right)} \]
    11. Simplified27.4%

      \[\leadsto \color{blue}{\left(y \cdot c\right) \cdot \left(y4 \cdot y3\right)} \]

    if 3.7e40 < x

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

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

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

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y - t \cdot z\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(b \cdot \left(\color{blue}{x \cdot y} - t \cdot z\right)\right) \]
      4. *-lowering-*.f6440.5

        \[\leadsto a \cdot \left(b \cdot \left(x \cdot y - \color{blue}{t \cdot z}\right)\right) \]
    8. Simplified40.5%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    9. Taylor expanded in x around inf

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
    10. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
      3. *-commutativeN/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
      4. *-lowering-*.f6434.2

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
    11. Simplified34.2%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(y \cdot x\right)\right)} \]
    12. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
      2. associate-*r*N/A

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
      4. *-lowering-*.f6440.6

        \[\leadsto a \cdot \left(\color{blue}{\left(b \cdot x\right)} \cdot y\right) \]
    13. Applied egg-rr40.6%

      \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification31.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -5.8 \cdot 10^{-107}:\\ \;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1\right)\\ \mathbf{elif}\;x \leq 3.7 \cdot 10^{+40}:\\ \;\;\;\;\left(y \cdot c\right) \cdot \left(y3 \cdot y4\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 25: 21.2% accurate, 7.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;x \leq -2.1 \cdot 10^{-89}:\\ \;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1\right)\\ \mathbf{elif}\;x \leq 1.1 \cdot 10^{+62}:\\ \;\;\;\;k \cdot \left(y0 \cdot \left(z \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (if (<= x -2.1e-89)
   (* (* x j) (* i y1))
   (if (<= x 1.1e+62) (* k (* y0 (* z b))) (* a (* y (* x b))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (x <= -2.1e-89) {
		tmp = (x * j) * (i * y1);
	} else if (x <= 1.1e+62) {
		tmp = k * (y0 * (z * b));
	} else {
		tmp = a * (y * (x * b));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if (x <= (-2.1d-89)) then
        tmp = (x * j) * (i * y1)
    else if (x <= 1.1d+62) then
        tmp = k * (y0 * (z * b))
    else
        tmp = a * (y * (x * b))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (x <= -2.1e-89) {
		tmp = (x * j) * (i * y1);
	} else if (x <= 1.1e+62) {
		tmp = k * (y0 * (z * b));
	} else {
		tmp = a * (y * (x * b));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if x <= -2.1e-89:
		tmp = (x * j) * (i * y1)
	elif x <= 1.1e+62:
		tmp = k * (y0 * (z * b))
	else:
		tmp = a * (y * (x * b))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (x <= -2.1e-89)
		tmp = Float64(Float64(x * j) * Float64(i * y1));
	elseif (x <= 1.1e+62)
		tmp = Float64(k * Float64(y0 * Float64(z * b)));
	else
		tmp = Float64(a * Float64(y * Float64(x * b)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0;
	if (x <= -2.1e-89)
		tmp = (x * j) * (i * y1);
	elseif (x <= 1.1e+62)
		tmp = k * (y0 * (z * b));
	else
		tmp = a * (y * (x * b));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -2.1e-89], N[(N[(x * j), $MachinePrecision] * N[(i * y1), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.1e+62], N[(k * N[(y0 * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;x \leq -2.1 \cdot 10^{-89}:\\
\;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1\right)\\

\mathbf{elif}\;x \leq 1.1 \cdot 10^{+62}:\\
\;\;\;\;k \cdot \left(y0 \cdot \left(z \cdot b\right)\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if x < -2.1000000000000001e-89

    1. Initial program 23.2%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right)} \cdot \left(i \cdot y1 - b \cdot y0\right) \]
      4. --lowering--.f64N/A

        \[\leadsto \left(j \cdot x\right) \cdot \color{blue}{\left(i \cdot y1 - b \cdot y0\right)} \]
      5. *-lowering-*.f64N/A

        \[\leadsto \left(j \cdot x\right) \cdot \left(\color{blue}{i \cdot y1} - b \cdot y0\right) \]
      6. *-lowering-*.f6440.4

        \[\leadsto \left(j \cdot x\right) \cdot \left(i \cdot y1 - \color{blue}{b \cdot y0}\right) \]
    8. Simplified40.4%

      \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
    9. Taylor expanded in i around inf

      \[\leadsto \left(j \cdot x\right) \cdot \color{blue}{\left(i \cdot y1\right)} \]
    10. Step-by-step derivation
      1. *-lowering-*.f6433.3

        \[\leadsto \left(j \cdot x\right) \cdot \color{blue}{\left(i \cdot y1\right)} \]
    11. Simplified33.3%

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

    if -2.1000000000000001e-89 < x < 1.10000000000000007e62

    1. Initial program 32.3%

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

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y0 \cdot z + -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      3. *-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \left(\color{blue}{z \cdot y0} + -1 \cdot \left(y \cdot y4\right)\right)\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\mathsf{fma}\left(z, y0, -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      5. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{\mathsf{neg}\left(y \cdot y4\right)}\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-1 \cdot y4\right)}\right)\right) \]
      8. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(-1 \cdot y4\right)}\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      10. neg-lowering-neg.f6434.1

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-y4\right)}\right)\right) \]
    8. Simplified34.1%

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

      \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(y0 \cdot z\right)\right)} \]
    10. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto k \cdot \color{blue}{\left(\left(b \cdot y0\right) \cdot z\right)} \]
      2. *-commutativeN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(y0 \cdot b\right)} \cdot z\right) \]
      3. associate-*r*N/A

        \[\leadsto k \cdot \color{blue}{\left(y0 \cdot \left(b \cdot z\right)\right)} \]
      4. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(y0 \cdot \left(b \cdot z\right)\right)} \]
      5. *-lowering-*.f6422.7

        \[\leadsto k \cdot \left(y0 \cdot \color{blue}{\left(b \cdot z\right)}\right) \]
    11. Simplified22.7%

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

    if 1.10000000000000007e62 < x

    1. Initial program 25.5%

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
    5. Simplified47.3%

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

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y - t \cdot z\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(b \cdot \left(\color{blue}{x \cdot y} - t \cdot z\right)\right) \]
      4. *-lowering-*.f6438.2

        \[\leadsto a \cdot \left(b \cdot \left(x \cdot y - \color{blue}{t \cdot z}\right)\right) \]
    8. Simplified38.2%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    9. Taylor expanded in x around inf

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
    10. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
      3. *-commutativeN/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
      4. *-lowering-*.f6438.4

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
    11. Simplified38.4%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(y \cdot x\right)\right)} \]
    12. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
      2. associate-*r*N/A

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
      4. *-lowering-*.f6442.1

        \[\leadsto a \cdot \left(\color{blue}{\left(b \cdot x\right)} \cdot y\right) \]
    13. Applied egg-rr42.1%

      \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification29.7%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -2.1 \cdot 10^{-89}:\\ \;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1\right)\\ \mathbf{elif}\;x \leq 1.1 \cdot 10^{+62}:\\ \;\;\;\;k \cdot \left(y0 \cdot \left(z \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 26: 21.1% accurate, 7.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;x \leq -1.85 \cdot 10^{-159}:\\ \;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1\right)\right)\\ \mathbf{elif}\;x \leq 1.95 \cdot 10^{+62}:\\ \;\;\;\;k \cdot \left(y0 \cdot \left(z \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (if (<= x -1.85e-159)
   (* i (* j (* x y1)))
   (if (<= x 1.95e+62) (* k (* y0 (* z b))) (* a (* y (* x b))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (x <= -1.85e-159) {
		tmp = i * (j * (x * y1));
	} else if (x <= 1.95e+62) {
		tmp = k * (y0 * (z * b));
	} else {
		tmp = a * (y * (x * b));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if (x <= (-1.85d-159)) then
        tmp = i * (j * (x * y1))
    else if (x <= 1.95d+62) then
        tmp = k * (y0 * (z * b))
    else
        tmp = a * (y * (x * b))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (x <= -1.85e-159) {
		tmp = i * (j * (x * y1));
	} else if (x <= 1.95e+62) {
		tmp = k * (y0 * (z * b));
	} else {
		tmp = a * (y * (x * b));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if x <= -1.85e-159:
		tmp = i * (j * (x * y1))
	elif x <= 1.95e+62:
		tmp = k * (y0 * (z * b))
	else:
		tmp = a * (y * (x * b))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (x <= -1.85e-159)
		tmp = Float64(i * Float64(j * Float64(x * y1)));
	elseif (x <= 1.95e+62)
		tmp = Float64(k * Float64(y0 * Float64(z * b)));
	else
		tmp = Float64(a * Float64(y * Float64(x * b)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0;
	if (x <= -1.85e-159)
		tmp = i * (j * (x * y1));
	elseif (x <= 1.95e+62)
		tmp = k * (y0 * (z * b));
	else
		tmp = a * (y * (x * b));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -1.85e-159], N[(i * N[(j * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.95e+62], N[(k * N[(y0 * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;x \leq -1.85 \cdot 10^{-159}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1\right)\right)\\

\mathbf{elif}\;x \leq 1.95 \cdot 10^{+62}:\\
\;\;\;\;k \cdot \left(y0 \cdot \left(z \cdot b\right)\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if x < -1.8499999999999999e-159

    1. Initial program 27.1%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right)} \cdot \left(i \cdot y1 - b \cdot y0\right) \]
      4. --lowering--.f64N/A

        \[\leadsto \left(j \cdot x\right) \cdot \color{blue}{\left(i \cdot y1 - b \cdot y0\right)} \]
      5. *-lowering-*.f64N/A

        \[\leadsto \left(j \cdot x\right) \cdot \left(\color{blue}{i \cdot y1} - b \cdot y0\right) \]
      6. *-lowering-*.f6436.6

        \[\leadsto \left(j \cdot x\right) \cdot \left(i \cdot y1 - \color{blue}{b \cdot y0}\right) \]
    8. Simplified36.6%

      \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
    9. Taylor expanded in i around inf

      \[\leadsto \color{blue}{i \cdot \left(j \cdot \left(x \cdot y1\right)\right)} \]
    10. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{i \cdot \left(j \cdot \left(x \cdot y1\right)\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto i \cdot \color{blue}{\left(j \cdot \left(x \cdot y1\right)\right)} \]
      3. *-commutativeN/A

        \[\leadsto i \cdot \left(j \cdot \color{blue}{\left(y1 \cdot x\right)}\right) \]
      4. *-lowering-*.f6429.2

        \[\leadsto i \cdot \left(j \cdot \color{blue}{\left(y1 \cdot x\right)}\right) \]
    11. Simplified29.2%

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

    if -1.8499999999999999e-159 < x < 1.95e62

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

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

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

      \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y0 \cdot z + -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      3. *-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \left(\color{blue}{z \cdot y0} + -1 \cdot \left(y \cdot y4\right)\right)\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\mathsf{fma}\left(z, y0, -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      5. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{\mathsf{neg}\left(y \cdot y4\right)}\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-1 \cdot y4\right)}\right)\right) \]
      8. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(-1 \cdot y4\right)}\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      10. neg-lowering-neg.f6433.7

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-y4\right)}\right)\right) \]
    8. Simplified33.7%

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

      \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(y0 \cdot z\right)\right)} \]
    10. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto k \cdot \color{blue}{\left(\left(b \cdot y0\right) \cdot z\right)} \]
      2. *-commutativeN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(y0 \cdot b\right)} \cdot z\right) \]
      3. associate-*r*N/A

        \[\leadsto k \cdot \color{blue}{\left(y0 \cdot \left(b \cdot z\right)\right)} \]
      4. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(y0 \cdot \left(b \cdot z\right)\right)} \]
      5. *-lowering-*.f6423.3

        \[\leadsto k \cdot \left(y0 \cdot \color{blue}{\left(b \cdot z\right)}\right) \]
    11. Simplified23.3%

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

    if 1.95e62 < x

    1. Initial program 25.5%

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
    5. Simplified47.3%

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

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y - t \cdot z\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(b \cdot \left(\color{blue}{x \cdot y} - t \cdot z\right)\right) \]
      4. *-lowering-*.f6438.2

        \[\leadsto a \cdot \left(b \cdot \left(x \cdot y - \color{blue}{t \cdot z}\right)\right) \]
    8. Simplified38.2%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    9. Taylor expanded in x around inf

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
    10. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
      3. *-commutativeN/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
      4. *-lowering-*.f6438.4

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
    11. Simplified38.4%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(y \cdot x\right)\right)} \]
    12. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
      2. associate-*r*N/A

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
      4. *-lowering-*.f6442.1

        \[\leadsto a \cdot \left(\color{blue}{\left(b \cdot x\right)} \cdot y\right) \]
    13. Applied egg-rr42.1%

      \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification28.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -1.85 \cdot 10^{-159}:\\ \;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1\right)\right)\\ \mathbf{elif}\;x \leq 1.95 \cdot 10^{+62}:\\ \;\;\;\;k \cdot \left(y0 \cdot \left(z \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 27: 22.3% accurate, 7.2× speedup?

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

\\
\begin{array}{l}
t_1 := a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\
\mathbf{if}\;b \leq -3.2 \cdot 10^{+35}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq 3 \cdot 10^{+128}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if b < -3.19999999999999983e35 or 2.9999999999999998e128 < b

    1. Initial program 28.6%

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

        \[\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)} \]
      2. associate--l+N/A

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

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

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

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

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y - t \cdot z\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(b \cdot \left(\color{blue}{x \cdot y} - t \cdot z\right)\right) \]
      4. *-lowering-*.f6453.3

        \[\leadsto a \cdot \left(b \cdot \left(x \cdot y - \color{blue}{t \cdot z}\right)\right) \]
    8. Simplified53.3%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    9. Taylor expanded in x around inf

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
    10. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
      3. *-commutativeN/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
      4. *-lowering-*.f6436.9

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
    11. Simplified36.9%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(y \cdot x\right)\right)} \]
    12. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
      2. associate-*r*N/A

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
      4. *-lowering-*.f6440.8

        \[\leadsto a \cdot \left(\color{blue}{\left(b \cdot x\right)} \cdot y\right) \]
    13. Applied egg-rr40.8%

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

    if -3.19999999999999983e35 < b < 2.9999999999999998e128

    1. Initial program 28.2%

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

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

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

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

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

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

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{a \cdot b} - c \cdot i, y, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
      7. *-lowering-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(a \cdot b - \color{blue}{c \cdot i}, y, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(a \cdot b - c \cdot i, y, \color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(a \cdot b - c \cdot i, y, \color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
      10. --lowering--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(a \cdot b - c \cdot i, y, \color{blue}{\left(c \cdot y0 - a \cdot y1\right)} \cdot y2\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(a \cdot b - c \cdot i, y, \left(\color{blue}{c \cdot y0} - a \cdot y1\right) \cdot y2\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
      12. *-lowering-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(a \cdot b - c \cdot i, y, \left(c \cdot y0 - \color{blue}{a \cdot y1}\right) \cdot y2\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
      13. *-lowering-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(a \cdot b - c \cdot i, y, \left(c \cdot y0 - a \cdot y1\right) \cdot y2\right) - \color{blue}{j \cdot \left(b \cdot y0 - i \cdot y1\right)}\right) \]
      14. --lowering--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(a \cdot b - c \cdot i, y, \left(c \cdot y0 - a \cdot y1\right) \cdot y2\right) - j \cdot \color{blue}{\left(b \cdot y0 - i \cdot y1\right)}\right) \]
      15. *-lowering-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(a \cdot b - c \cdot i, y, \left(c \cdot y0 - a \cdot y1\right) \cdot y2\right) - j \cdot \left(\color{blue}{b \cdot y0} - i \cdot y1\right)\right) \]
      16. *-lowering-*.f6433.0

        \[\leadsto x \cdot \left(\mathsf{fma}\left(a \cdot b - c \cdot i, y, \left(c \cdot y0 - a \cdot y1\right) \cdot y2\right) - j \cdot \left(b \cdot y0 - \color{blue}{i \cdot y1}\right)\right) \]
    5. Simplified33.0%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(a \cdot b - c \cdot i, y, \left(c \cdot y0 - a \cdot y1\right) \cdot y2\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    6. Taylor expanded in j around inf

      \[\leadsto \color{blue}{j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{\left(j \cdot x\right)} \cdot \left(i \cdot y1 - b \cdot y0\right) \]
      4. --lowering--.f64N/A

        \[\leadsto \left(j \cdot x\right) \cdot \color{blue}{\left(i \cdot y1 - b \cdot y0\right)} \]
      5. *-lowering-*.f64N/A

        \[\leadsto \left(j \cdot x\right) \cdot \left(\color{blue}{i \cdot y1} - b \cdot y0\right) \]
      6. *-lowering-*.f6423.9

        \[\leadsto \left(j \cdot x\right) \cdot \left(i \cdot y1 - \color{blue}{b \cdot y0}\right) \]
    8. Simplified23.9%

      \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
    9. Taylor expanded in i around inf

      \[\leadsto \color{blue}{i \cdot \left(j \cdot \left(x \cdot y1\right)\right)} \]
    10. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{i \cdot \left(j \cdot \left(x \cdot y1\right)\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto i \cdot \color{blue}{\left(j \cdot \left(x \cdot y1\right)\right)} \]
      3. *-commutativeN/A

        \[\leadsto i \cdot \left(j \cdot \color{blue}{\left(y1 \cdot x\right)}\right) \]
      4. *-lowering-*.f6420.9

        \[\leadsto i \cdot \left(j \cdot \color{blue}{\left(y1 \cdot x\right)}\right) \]
    11. Simplified20.9%

      \[\leadsto \color{blue}{i \cdot \left(j \cdot \left(y1 \cdot x\right)\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification28.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -3.2 \cdot 10^{+35}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{elif}\;b \leq 3 \cdot 10^{+128}:\\ \;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 28: 22.1% accurate, 7.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;x \leq -1.7 \cdot 10^{-22}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\ \mathbf{elif}\;x \leq 2.3 \cdot 10^{+63}:\\ \;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (if (<= x -1.7e-22)
   (* a (* (* x y) b))
   (if (<= x 2.3e+63) (* b (* k (* z y0))) (* a (* y (* x b))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (x <= -1.7e-22) {
		tmp = a * ((x * y) * b);
	} else if (x <= 2.3e+63) {
		tmp = b * (k * (z * y0));
	} else {
		tmp = a * (y * (x * b));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if (x <= (-1.7d-22)) then
        tmp = a * ((x * y) * b)
    else if (x <= 2.3d+63) then
        tmp = b * (k * (z * y0))
    else
        tmp = a * (y * (x * b))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (x <= -1.7e-22) {
		tmp = a * ((x * y) * b);
	} else if (x <= 2.3e+63) {
		tmp = b * (k * (z * y0));
	} else {
		tmp = a * (y * (x * b));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if x <= -1.7e-22:
		tmp = a * ((x * y) * b)
	elif x <= 2.3e+63:
		tmp = b * (k * (z * y0))
	else:
		tmp = a * (y * (x * b))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (x <= -1.7e-22)
		tmp = Float64(a * Float64(Float64(x * y) * b));
	elseif (x <= 2.3e+63)
		tmp = Float64(b * Float64(k * Float64(z * y0)));
	else
		tmp = Float64(a * Float64(y * Float64(x * b)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0;
	if (x <= -1.7e-22)
		tmp = a * ((x * y) * b);
	elseif (x <= 2.3e+63)
		tmp = b * (k * (z * y0));
	else
		tmp = a * (y * (x * b));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -1.7e-22], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.3e+63], N[(b * N[(k * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;x \leq -1.7 \cdot 10^{-22}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\

\mathbf{elif}\;x \leq 2.3 \cdot 10^{+63}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if x < -1.6999999999999999e-22

    1. Initial program 24.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. associate--l+N/A

        \[\leadsto a \cdot \color{blue}{\left(-1 \cdot \left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
    5. Simplified45.0%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(y1, -\left(y2 \cdot x - z \cdot y3\right), \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot y2 - y3 \cdot y\right)\right)\right)} \]
    6. Taylor expanded in b around inf

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y - t \cdot z\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(b \cdot \left(\color{blue}{x \cdot y} - t \cdot z\right)\right) \]
      4. *-lowering-*.f6436.0

        \[\leadsto a \cdot \left(b \cdot \left(x \cdot y - \color{blue}{t \cdot z}\right)\right) \]
    8. Simplified36.0%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    9. Taylor expanded in x around inf

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
    10. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
      3. *-commutativeN/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
      4. *-lowering-*.f6429.8

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
    11. Simplified29.8%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(y \cdot x\right)\right)} \]

    if -1.6999999999999999e-22 < x < 2.29999999999999993e63

    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 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. mul-1-negN/A

        \[\leadsto 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) - \color{blue}{\left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
      3. associate--l+N/A

        \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      5. *-commutativeN/A

        \[\leadsto k \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right)\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
      7. neg-mul-1N/A

        \[\leadsto k \cdot \left(\left(b \cdot y4 - i \cdot y5\right) \cdot \color{blue}{\left(-1 \cdot y\right)} + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - \left(\mathsf{neg}\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)\right) \]
    5. Simplified47.8%

      \[\leadsto \color{blue}{k \cdot \mathsf{fma}\left(b \cdot y4 - i \cdot y5, -y, \mathsf{fma}\left(y2, y1 \cdot y4 - y0 \cdot y5, z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    6. Taylor expanded in b around inf

      \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\left(y0 \cdot z + -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      3. *-commutativeN/A

        \[\leadsto k \cdot \left(b \cdot \left(\color{blue}{z \cdot y0} + -1 \cdot \left(y \cdot y4\right)\right)\right) \]
      4. accelerator-lowering-fma.f64N/A

        \[\leadsto k \cdot \left(b \cdot \color{blue}{\mathsf{fma}\left(z, y0, -1 \cdot \left(y \cdot y4\right)\right)}\right) \]
      5. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{\mathsf{neg}\left(y \cdot y4\right)}\right)\right) \]
      6. distribute-rgt-neg-inN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-1 \cdot y4\right)}\right)\right) \]
      8. *-lowering-*.f64N/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, \color{blue}{y \cdot \left(-1 \cdot y4\right)}\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(\mathsf{neg}\left(y4\right)\right)}\right)\right) \]
      10. neg-lowering-neg.f6432.2

        \[\leadsto k \cdot \left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \color{blue}{\left(-y4\right)}\right)\right) \]
    8. Simplified32.2%

      \[\leadsto k \cdot \color{blue}{\left(b \cdot \mathsf{fma}\left(z, y0, y \cdot \left(-y4\right)\right)\right)} \]
    9. Taylor expanded in z around inf

      \[\leadsto \color{blue}{b \cdot \left(k \cdot \left(y0 \cdot z\right)\right)} \]
    10. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{b \cdot \left(k \cdot \left(y0 \cdot z\right)\right)} \]
      2. *-commutativeN/A

        \[\leadsto b \cdot \color{blue}{\left(\left(y0 \cdot z\right) \cdot k\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto b \cdot \color{blue}{\left(\left(y0 \cdot z\right) \cdot k\right)} \]
      4. *-lowering-*.f6420.5

        \[\leadsto b \cdot \left(\color{blue}{\left(y0 \cdot z\right)} \cdot k\right) \]
    11. Simplified20.5%

      \[\leadsto \color{blue}{b \cdot \left(\left(y0 \cdot z\right) \cdot k\right)} \]

    if 2.29999999999999993e63 < x

    1. Initial program 25.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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. *-lowering-*.f64N/A

        \[\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)} \]
      2. associate--l+N/A

        \[\leadsto a \cdot \color{blue}{\left(-1 \cdot \left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      4. distribute-rgt-neg-inN/A

        \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
      5. accelerator-lowering-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      6. neg-lowering-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      7. --lowering--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      9. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      10. *-commutativeN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      11. *-lowering-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      12. sub-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
    5. Simplified47.3%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(y1, -\left(y2 \cdot x - z \cdot y3\right), \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot y2 - y3 \cdot y\right)\right)\right)} \]
    6. Taylor expanded in b around inf

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
      2. --lowering--.f64N/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y - t \cdot z\right)}\right) \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \left(b \cdot \left(\color{blue}{x \cdot y} - t \cdot z\right)\right) \]
      4. *-lowering-*.f6438.2

        \[\leadsto a \cdot \left(b \cdot \left(x \cdot y - \color{blue}{t \cdot z}\right)\right) \]
    8. Simplified38.2%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    9. Taylor expanded in x around inf

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
    10. Step-by-step derivation
      1. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
      2. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
      3. *-commutativeN/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
      4. *-lowering-*.f6438.4

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
    11. Simplified38.4%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(y \cdot x\right)\right)} \]
    12. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
      2. associate-*r*N/A

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
      3. *-lowering-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
      4. *-lowering-*.f6442.1

        \[\leadsto a \cdot \left(\color{blue}{\left(b \cdot x\right)} \cdot y\right) \]
    13. Applied egg-rr42.1%

      \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification27.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -1.7 \cdot 10^{-22}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\ \mathbf{elif}\;x \leq 2.3 \cdot 10^{+63}:\\ \;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 29: 17.0% accurate, 12.6× speedup?

\[\begin{array}{l} \\ a \cdot \left(y \cdot \left(x \cdot b\right)\right) \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (* a (* y (* x b))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	return a * (y * (x * b));
}
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 = a * (y * (x * b))
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 a * (y * (x * b));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	return a * (y * (x * b))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	return Float64(a * Float64(y * Float64(x * b)))
end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = a * (y * (x * b));
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
a \cdot \left(y \cdot \left(x \cdot b\right)\right)
\end{array}
Derivation
  1. Initial program 28.3%

    \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
  2. Add Preprocessing
  3. Taylor expanded in a around inf

    \[\leadsto \color{blue}{a \cdot \left(\left(-1 \cdot \left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + b \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
  4. Step-by-step derivation
    1. *-lowering-*.f64N/A

      \[\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)} \]
    2. associate--l+N/A

      \[\leadsto a \cdot \color{blue}{\left(-1 \cdot \left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)} \]
    3. mul-1-negN/A

      \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
    4. distribute-rgt-neg-inN/A

      \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
    5. accelerator-lowering-fma.f64N/A

      \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
    6. neg-lowering-neg.f64N/A

      \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
    7. --lowering--.f64N/A

      \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
    8. *-commutativeN/A

      \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
    9. *-lowering-*.f64N/A

      \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
    10. *-commutativeN/A

      \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
    11. *-lowering-*.f64N/A

      \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
    12. sub-negN/A

      \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
  5. Simplified42.8%

    \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(y1, -\left(y2 \cdot x - z \cdot y3\right), \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot y2 - y3 \cdot y\right)\right)\right)} \]
  6. Taylor expanded in b around inf

    \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
  7. Step-by-step derivation
    1. *-lowering-*.f64N/A

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    2. --lowering--.f64N/A

      \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y - t \cdot z\right)}\right) \]
    3. *-lowering-*.f64N/A

      \[\leadsto a \cdot \left(b \cdot \left(\color{blue}{x \cdot y} - t \cdot z\right)\right) \]
    4. *-lowering-*.f6428.5

      \[\leadsto a \cdot \left(b \cdot \left(x \cdot y - \color{blue}{t \cdot z}\right)\right) \]
  8. Simplified28.5%

    \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
  9. Taylor expanded in x around inf

    \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
  10. Step-by-step derivation
    1. *-lowering-*.f64N/A

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
    2. *-lowering-*.f64N/A

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
    3. *-commutativeN/A

      \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
    4. *-lowering-*.f6419.5

      \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
  11. Simplified19.5%

    \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(y \cdot x\right)\right)} \]
  12. Step-by-step derivation
    1. *-commutativeN/A

      \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
    2. associate-*r*N/A

      \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
    3. *-lowering-*.f64N/A

      \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
    4. *-lowering-*.f6420.1

      \[\leadsto a \cdot \left(\color{blue}{\left(b \cdot x\right)} \cdot y\right) \]
  13. Applied egg-rr20.1%

    \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
  14. Final simplification20.1%

    \[\leadsto a \cdot \left(y \cdot \left(x \cdot b\right)\right) \]
  15. Add Preprocessing

Alternative 30: 17.4% accurate, 12.6× speedup?

\[\begin{array}{l} \\ a \cdot \left(\left(x \cdot y\right) \cdot b\right) \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (* a (* (* x y) b)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	return a * ((x * y) * b);
}
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 = a * ((x * y) * b)
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 a * ((x * y) * b);
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	return a * ((x * y) * b)
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	return Float64(a * Float64(Float64(x * y) * b))
end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = a * ((x * y) * b);
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
a \cdot \left(\left(x \cdot y\right) \cdot b\right)
\end{array}
Derivation
  1. Initial program 28.3%

    \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
  2. Add Preprocessing
  3. Taylor expanded in a around inf

    \[\leadsto \color{blue}{a \cdot \left(\left(-1 \cdot \left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + b \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
  4. Step-by-step derivation
    1. *-lowering-*.f64N/A

      \[\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)} \]
    2. associate--l+N/A

      \[\leadsto a \cdot \color{blue}{\left(-1 \cdot \left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)} \]
    3. mul-1-negN/A

      \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
    4. distribute-rgt-neg-inN/A

      \[\leadsto a \cdot \left(\color{blue}{y1 \cdot \left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)\right)} + \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
    5. accelerator-lowering-fma.f64N/A

      \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(y1, \mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
    6. neg-lowering-neg.f64N/A

      \[\leadsto a \cdot \mathsf{fma}\left(y1, \color{blue}{\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right)}, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
    7. --lowering--.f64N/A

      \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right)}\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
    8. *-commutativeN/A

      \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
    9. *-lowering-*.f64N/A

      \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
    10. *-commutativeN/A

      \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
    11. *-lowering-*.f64N/A

      \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right), b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
    12. sub-negN/A

      \[\leadsto a \cdot \mathsf{fma}\left(y1, \mathsf{neg}\left(\left(y2 \cdot x - z \cdot y3\right)\right), \color{blue}{b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right)}\right) \]
  5. Simplified42.8%

    \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(y1, -\left(y2 \cdot x - z \cdot y3\right), \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot y2 - y3 \cdot y\right)\right)\right)} \]
  6. Taylor expanded in b around inf

    \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
  7. Step-by-step derivation
    1. *-lowering-*.f64N/A

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    2. --lowering--.f64N/A

      \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y - t \cdot z\right)}\right) \]
    3. *-lowering-*.f64N/A

      \[\leadsto a \cdot \left(b \cdot \left(\color{blue}{x \cdot y} - t \cdot z\right)\right) \]
    4. *-lowering-*.f6428.5

      \[\leadsto a \cdot \left(b \cdot \left(x \cdot y - \color{blue}{t \cdot z}\right)\right) \]
  8. Simplified28.5%

    \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
  9. Taylor expanded in x around inf

    \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
  10. Step-by-step derivation
    1. *-lowering-*.f64N/A

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
    2. *-lowering-*.f64N/A

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
    3. *-commutativeN/A

      \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
    4. *-lowering-*.f6419.5

      \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(y \cdot x\right)}\right) \]
  11. Simplified19.5%

    \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(y \cdot x\right)\right)} \]
  12. Final simplification19.5%

    \[\leadsto a \cdot \left(\left(x \cdot y\right) \cdot b\right) \]
  13. Add Preprocessing

Developer Target 1: 27.3% 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 2024199 
(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)))))