Linear.Matrix:det44 from linear-1.19.1.3

Percentage Accurate: 30.7% → 42.9%
Time: 41.5s
Alternatives: 46
Speedup: 5.5×

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

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

Initial Program: 30.7% accurate, 1.0× speedup?

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

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

Alternative 1: 42.9% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot y - z \cdot t\\ t_2 := t \cdot j - y \cdot k\\ t_3 := a \cdot b - c \cdot i\\ t_4 := x \cdot y2 - z \cdot y3\\ t_5 := \mathsf{fma}\left(t, y2, y \cdot \left(-y3\right)\right)\\ t_6 := a \cdot \mathsf{fma}\left(-y1, t\_4, \mathsf{fma}\left(b, t\_1, y5 \cdot t\_5\right)\right)\\ \mathbf{if}\;a \leq -3 \cdot 10^{+200}:\\ \;\;\;\;t\_6\\ \mathbf{elif}\;a \leq -3.2 \cdot 10^{-206}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) - \mathsf{fma}\left(y3, c \cdot y0 - a \cdot y1, t \cdot t\_3\right)\right)\\ \mathbf{elif}\;a \leq -7 \cdot 10^{-288}:\\ \;\;\;\;t\_6\\ \mathbf{elif}\;a \leq 3.3 \cdot 10^{-178}:\\ \;\;\;\;y4 \cdot \left(\mathsf{fma}\left(b, t\_2, y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot t\_5\right)\\ \mathbf{elif}\;a \leq 1.02 \cdot 10^{-104}:\\ \;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) - \mathsf{fma}\left(c, t\_1, y5 \cdot t\_2\right)\right)\\ \mathbf{elif}\;a \leq 2.9 \cdot 10^{+67}:\\ \;\;\;\;\left(-c\right) \cdot \mathsf{fma}\left(-y0, t\_4, \mathsf{fma}\left(i, t\_1, y4 \cdot t\_5\right)\right)\\ \mathbf{elif}\;a \leq 3.7 \cdot 10^{+147}:\\ \;\;\;\;-t \cdot \mathsf{fma}\left(i \cdot y5 - b \cdot y4, j, \mathsf{fma}\left(z, t\_3, y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_6\\ \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 (- (* x y) (* z t)))
        (t_2 (- (* t j) (* y k)))
        (t_3 (- (* a b) (* c i)))
        (t_4 (- (* x y2) (* z y3)))
        (t_5 (fma t y2 (* y (- y3))))
        (t_6 (* a (fma (- y1) t_4 (fma b t_1 (* y5 t_5))))))
   (if (<= a -3e+200)
     t_6
     (if (<= a -3.2e-206)
       (*
        z
        (-
         (* k (- (* b y0) (* i y1)))
         (fma y3 (- (* c y0) (* a y1)) (* t t_3))))
       (if (<= a -7e-288)
         t_6
         (if (<= a 3.3e-178)
           (* y4 (- (fma b t_2 (* y1 (- (* k y2) (* j y3)))) (* c t_5)))
           (if (<= a 1.02e-104)
             (* i (- (* y1 (- (* x j) (* z k))) (fma c t_1 (* y5 t_2))))
             (if (<= a 2.9e+67)
               (* (- c) (fma (- y0) t_4 (fma i t_1 (* y4 t_5))))
               (if (<= a 3.7e+147)
                 (-
                  (*
                   t
                   (fma
                    (- (* i y5) (* b y4))
                    j
                    (fma z t_3 (* y2 (- (* c y4) (* a y5)))))))
                 t_6)))))))))
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 = (x * y) - (z * t);
	double t_2 = (t * j) - (y * k);
	double t_3 = (a * b) - (c * i);
	double t_4 = (x * y2) - (z * y3);
	double t_5 = fma(t, y2, (y * -y3));
	double t_6 = a * fma(-y1, t_4, fma(b, t_1, (y5 * t_5)));
	double tmp;
	if (a <= -3e+200) {
		tmp = t_6;
	} else if (a <= -3.2e-206) {
		tmp = z * ((k * ((b * y0) - (i * y1))) - fma(y3, ((c * y0) - (a * y1)), (t * t_3)));
	} else if (a <= -7e-288) {
		tmp = t_6;
	} else if (a <= 3.3e-178) {
		tmp = y4 * (fma(b, t_2, (y1 * ((k * y2) - (j * y3)))) - (c * t_5));
	} else if (a <= 1.02e-104) {
		tmp = i * ((y1 * ((x * j) - (z * k))) - fma(c, t_1, (y5 * t_2)));
	} else if (a <= 2.9e+67) {
		tmp = -c * fma(-y0, t_4, fma(i, t_1, (y4 * t_5)));
	} else if (a <= 3.7e+147) {
		tmp = -(t * fma(((i * y5) - (b * y4)), j, fma(z, t_3, (y2 * ((c * y4) - (a * y5))))));
	} else {
		tmp = t_6;
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(x * y) - Float64(z * t))
	t_2 = Float64(Float64(t * j) - Float64(y * k))
	t_3 = Float64(Float64(a * b) - Float64(c * i))
	t_4 = Float64(Float64(x * y2) - Float64(z * y3))
	t_5 = fma(t, y2, Float64(y * Float64(-y3)))
	t_6 = Float64(a * fma(Float64(-y1), t_4, fma(b, t_1, Float64(y5 * t_5))))
	tmp = 0.0
	if (a <= -3e+200)
		tmp = t_6;
	elseif (a <= -3.2e-206)
		tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) - fma(y3, Float64(Float64(c * y0) - Float64(a * y1)), Float64(t * t_3))));
	elseif (a <= -7e-288)
		tmp = t_6;
	elseif (a <= 3.3e-178)
		tmp = Float64(y4 * Float64(fma(b, t_2, Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) - Float64(c * t_5)));
	elseif (a <= 1.02e-104)
		tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) - fma(c, t_1, Float64(y5 * t_2))));
	elseif (a <= 2.9e+67)
		tmp = Float64(Float64(-c) * fma(Float64(-y0), t_4, fma(i, t_1, Float64(y4 * t_5))));
	elseif (a <= 3.7e+147)
		tmp = Float64(-Float64(t * fma(Float64(Float64(i * y5) - Float64(b * y4)), j, fma(z, t_3, Float64(y2 * Float64(Float64(c * y4) - Float64(a * y5)))))));
	else
		tmp = t_6;
	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[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(t * y2 + N[(y * (-y3)), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(a * N[((-y1) * t$95$4 + N[(b * t$95$1 + N[(y5 * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -3e+200], t$95$6, If[LessEqual[a, -3.2e-206], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y3 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] + N[(t * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -7e-288], t$95$6, If[LessEqual[a, 3.3e-178], N[(y4 * N[(N[(b * t$95$2 + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.02e-104], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * t$95$1 + N[(y5 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.9e+67], N[((-c) * N[((-y0) * t$95$4 + N[(i * t$95$1 + N[(y4 * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3.7e+147], (-N[(t * N[(N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision] * j + N[(z * t$95$3 + N[(y2 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), t$95$6]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := x \cdot y - z \cdot t\\
t_2 := t \cdot j - y \cdot k\\
t_3 := a \cdot b - c \cdot i\\
t_4 := x \cdot y2 - z \cdot y3\\
t_5 := \mathsf{fma}\left(t, y2, y \cdot \left(-y3\right)\right)\\
t_6 := a \cdot \mathsf{fma}\left(-y1, t\_4, \mathsf{fma}\left(b, t\_1, y5 \cdot t\_5\right)\right)\\
\mathbf{if}\;a \leq -3 \cdot 10^{+200}:\\
\;\;\;\;t\_6\\

\mathbf{elif}\;a \leq -3.2 \cdot 10^{-206}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) - \mathsf{fma}\left(y3, c \cdot y0 - a \cdot y1, t \cdot t\_3\right)\right)\\

\mathbf{elif}\;a \leq -7 \cdot 10^{-288}:\\
\;\;\;\;t\_6\\

\mathbf{elif}\;a \leq 3.3 \cdot 10^{-178}:\\
\;\;\;\;y4 \cdot \left(\mathsf{fma}\left(b, t\_2, y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot t\_5\right)\\

\mathbf{elif}\;a \leq 1.02 \cdot 10^{-104}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) - \mathsf{fma}\left(c, t\_1, y5 \cdot t\_2\right)\right)\\

\mathbf{elif}\;a \leq 2.9 \cdot 10^{+67}:\\
\;\;\;\;\left(-c\right) \cdot \mathsf{fma}\left(-y0, t\_4, \mathsf{fma}\left(i, t\_1, y4 \cdot t\_5\right)\right)\\

\mathbf{elif}\;a \leq 3.7 \cdot 10^{+147}:\\
\;\;\;\;-t \cdot \mathsf{fma}\left(i \cdot y5 - b \cdot y4, j, \mathsf{fma}\left(z, t\_3, y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if a < -2.99999999999999991e200 or -3.19999999999999976e-206 < a < -7.0000000000000006e-288 or 3.7e147 < a

    1. Initial program 17.2%

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

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

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

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

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

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

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

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

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

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

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

    if -2.99999999999999991e200 < a < -3.19999999999999976e-206

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

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

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

        \[\leadsto \color{blue}{\left(-1 \cdot z\right) \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
      3. neg-mul-1N/A

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

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

        \[\leadsto \left(\mathsf{neg}\left(z\right)\right) \cdot \color{blue}{\left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
      6. +-commutativeN/A

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

        \[\leadsto \left(\mathsf{neg}\left(z\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(y3, c \cdot y0 - a \cdot y1, t \cdot \left(a \cdot b - c \cdot i\right)\right)} - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
      8. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(z\right)\right) \cdot \left(\mathsf{fma}\left(y3, \color{blue}{c \cdot y0 - a \cdot y1}, t \cdot \left(a \cdot b - c \cdot i\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(z\right)\right) \cdot \left(\mathsf{fma}\left(y3, \color{blue}{c \cdot y0} - a \cdot y1, t \cdot \left(a \cdot b - c \cdot i\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
      10. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(z\right)\right) \cdot \left(\mathsf{fma}\left(y3, c \cdot y0 - \color{blue}{a \cdot y1}, t \cdot \left(a \cdot b - c \cdot i\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(z\right)\right) \cdot \left(\mathsf{fma}\left(y3, c \cdot y0 - a \cdot y1, \color{blue}{t \cdot \left(a \cdot b - c \cdot i\right)}\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
      12. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(z\right)\right) \cdot \left(\mathsf{fma}\left(y3, c \cdot y0 - a \cdot y1, t \cdot \color{blue}{\left(a \cdot b - c \cdot i\right)}\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(z\right)\right) \cdot \left(\mathsf{fma}\left(y3, c \cdot y0 - a \cdot y1, t \cdot \left(\color{blue}{a \cdot b} - c \cdot i\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(z\right)\right) \cdot \left(\mathsf{fma}\left(y3, c \cdot y0 - a \cdot y1, t \cdot \left(a \cdot b - \color{blue}{c \cdot i}\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
      15. lower-*.f64N/A

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

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

    if -7.0000000000000006e-288 < a < 3.3000000000000002e-178

    1. Initial program 35.7%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto y4 \cdot \left(\mathsf{fma}\left(b, t \cdot j - k \cdot y, y1 \cdot \left(k \cdot y2 - y3 \cdot j\right)\right) - c \cdot \color{blue}{\mathsf{fma}\left(t, y2, \mathsf{neg}\left(y \cdot y3\right)\right)}\right) \]
      16. distribute-lft-neg-inN/A

        \[\leadsto y4 \cdot \left(\mathsf{fma}\left(b, t \cdot j - k \cdot y, y1 \cdot \left(k \cdot y2 - y3 \cdot j\right)\right) - c \cdot \mathsf{fma}\left(t, y2, \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot y3}\right)\right) \]
      17. neg-mul-1N/A

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

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

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

    if 3.3000000000000002e-178 < a < 1.02000000000000001e-104

    1. Initial program 41.7%

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

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

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

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

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

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

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

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(c, x \cdot y - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{x \cdot y - t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      10. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - \color{blue}{t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, \color{blue}{y5 \cdot \left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      12. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \color{blue}{\left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      13. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      15. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - \color{blue}{k \cdot y}\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      16. lower-*.f64N/A

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

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

    if 1.02000000000000001e-104 < a < 2.90000000000000023e67

    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. associate-*r*N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \left(\mathsf{neg}\left(c\right)\right) \cdot \mathsf{fma}\left(\mathsf{neg}\left(y0\right), y2 \cdot x - \color{blue}{z \cdot y3}, i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      15. sub-negN/A

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

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

    if 2.90000000000000023e67 < a < 3.7e147

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

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

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

        \[\leadsto \color{blue}{\left(-1 \cdot t\right) \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      3. neg-mul-1N/A

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

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      5. associate--l+N/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right)} \]
      6. mul-1-negN/A

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

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot j}\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      8. distribute-lft-neg-inN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(b \cdot y4 - i \cdot y5\right)\right)\right) \cdot j} + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      9. mul-1-negN/A

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

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot \left(b \cdot y4 - i \cdot y5\right), j, z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    5. Simplified69.9%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -3 \cdot 10^{+200}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(-y1, x \cdot y2 - z \cdot y3, \mathsf{fma}\left(b, x \cdot y - z \cdot t, y5 \cdot \mathsf{fma}\left(t, y2, y \cdot \left(-y3\right)\right)\right)\right)\\ \mathbf{elif}\;a \leq -3.2 \cdot 10^{-206}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) - \mathsf{fma}\left(y3, c \cdot y0 - a \cdot y1, t \cdot \left(a \cdot b - c \cdot i\right)\right)\right)\\ \mathbf{elif}\;a \leq -7 \cdot 10^{-288}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(-y1, x \cdot y2 - z \cdot y3, \mathsf{fma}\left(b, x \cdot y - z \cdot t, y5 \cdot \mathsf{fma}\left(t, y2, y \cdot \left(-y3\right)\right)\right)\right)\\ \mathbf{elif}\;a \leq 3.3 \cdot 10^{-178}:\\ \;\;\;\;y4 \cdot \left(\mathsf{fma}\left(b, t \cdot j - y \cdot k, y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \mathsf{fma}\left(t, y2, y \cdot \left(-y3\right)\right)\right)\\ \mathbf{elif}\;a \leq 1.02 \cdot 10^{-104}:\\ \;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) - \mathsf{fma}\left(c, x \cdot y - z \cdot t, y5 \cdot \left(t \cdot j - y \cdot k\right)\right)\right)\\ \mathbf{elif}\;a \leq 2.9 \cdot 10^{+67}:\\ \;\;\;\;\left(-c\right) \cdot \mathsf{fma}\left(-y0, x \cdot y2 - z \cdot y3, \mathsf{fma}\left(i, x \cdot y - z \cdot t, y4 \cdot \mathsf{fma}\left(t, y2, y \cdot \left(-y3\right)\right)\right)\right)\\ \mathbf{elif}\;a \leq 3.7 \cdot 10^{+147}:\\ \;\;\;\;-t \cdot \mathsf{fma}\left(i \cdot y5 - b \cdot y4, j, \mathsf{fma}\left(z, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(-y1, x \cdot y2 - z \cdot y3, \mathsf{fma}\left(b, x \cdot y - z \cdot t, y5 \cdot \mathsf{fma}\left(t, y2, y \cdot \left(-y3\right)\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 2: 56.0% accurate, 0.5× speedup?

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

\\
\begin{array}{l}
t_1 := \left(\left(\left(t \cdot j - y \cdot k\right) \cdot \left(b \cdot y4 - i \cdot y5\right) - \left(\left(\left(b \cdot y0 - i \cdot y1\right) \cdot \left(x \cdot j - z \cdot k\right) + \left(a \cdot b - c \cdot i\right) \cdot \left(z \cdot t - x \cdot y\right)\right) + \left(z \cdot y3 - x \cdot y2\right) \cdot \left(c \cdot y0 - a \cdot y1\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{if}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;a \cdot \mathsf{fma}\left(-y1, x \cdot y2 - z \cdot y3, \mathsf{fma}\left(b, x \cdot y - z \cdot t, y5 \cdot \mathsf{fma}\left(t, y2, y \cdot \left(-y3\right)\right)\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 92.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

    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 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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

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

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

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

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

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

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

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

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

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(-y1, y2 \cdot x - z \cdot y3, \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right)\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification60.7%

    \[\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(\left(b \cdot y0 - i \cdot y1\right) \cdot \left(x \cdot j - z \cdot k\right) + \left(a \cdot b - c \cdot i\right) \cdot \left(z \cdot t - x \cdot y\right)\right) + \left(z \cdot y3 - x \cdot y2\right) \cdot \left(c \cdot y0 - a \cdot y1\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(\left(b \cdot y0 - i \cdot y1\right) \cdot \left(x \cdot j - z \cdot k\right) + \left(a \cdot b - c \cdot i\right) \cdot \left(z \cdot t - x \cdot y\right)\right) + \left(z \cdot y3 - x \cdot y2\right) \cdot \left(c \cdot y0 - a \cdot y1\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}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(-y1, x \cdot y2 - z \cdot y3, \mathsf{fma}\left(b, x \cdot y - z \cdot t, y5 \cdot \mathsf{fma}\left(t, y2, y \cdot \left(-y3\right)\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 3: 43.6% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot y - z \cdot t\\ t_2 := x \cdot y2 - z \cdot y3\\ t_3 := \mathsf{fma}\left(t, y2, y \cdot \left(-y3\right)\right)\\ t_4 := a \cdot \mathsf{fma}\left(-y1, t\_2, \mathsf{fma}\left(b, t\_1, y5 \cdot t\_3\right)\right)\\ t_5 := t \cdot j - y \cdot k\\ \mathbf{if}\;a \leq -8 \cdot 10^{+69}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;a \leq -5 \cdot 10^{-221}:\\ \;\;\;\;k \cdot \left(\mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right) - \mathsf{fma}\left(-y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq -7 \cdot 10^{-288}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;a \leq 3.3 \cdot 10^{-178}:\\ \;\;\;\;y4 \cdot \left(\mathsf{fma}\left(b, t\_5, y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot t\_3\right)\\ \mathbf{elif}\;a \leq 1.02 \cdot 10^{-104}:\\ \;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) - \mathsf{fma}\left(c, t\_1, y5 \cdot t\_5\right)\right)\\ \mathbf{elif}\;a \leq 2.9 \cdot 10^{+67}:\\ \;\;\;\;\left(-c\right) \cdot \mathsf{fma}\left(-y0, t\_2, \mathsf{fma}\left(i, t\_1, y4 \cdot t\_3\right)\right)\\ \mathbf{elif}\;a \leq 3.7 \cdot 10^{+147}:\\ \;\;\;\;-t \cdot \mathsf{fma}\left(i \cdot y5 - b \cdot y4, j, \mathsf{fma}\left(z, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y4 - a \cdot y5\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 (- (* x y) (* z t)))
        (t_2 (- (* x y2) (* z y3)))
        (t_3 (fma t y2 (* y (- y3))))
        (t_4 (* a (fma (- y1) t_2 (fma b t_1 (* y5 t_3)))))
        (t_5 (- (* t j) (* y k))))
   (if (<= a -8e+69)
     t_4
     (if (<= a -5e-221)
       (*
        k
        (-
         (fma z (- (* b y0) (* i y1)) (* i y5))
         (fma (- y2) (- (* y1 y4) (* y0 y5)) (* b y4))))
       (if (<= a -7e-288)
         t_4
         (if (<= a 3.3e-178)
           (* y4 (- (fma b t_5 (* y1 (- (* k y2) (* j y3)))) (* c t_3)))
           (if (<= a 1.02e-104)
             (* i (- (* y1 (- (* x j) (* z k))) (fma c t_1 (* y5 t_5))))
             (if (<= a 2.9e+67)
               (* (- c) (fma (- y0) t_2 (fma i t_1 (* y4 t_3))))
               (if (<= a 3.7e+147)
                 (-
                  (*
                   t
                   (fma
                    (- (* i y5) (* b y4))
                    j
                    (fma z (- (* a b) (* c i)) (* y2 (- (* c y4) (* a y5)))))))
                 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 = (x * y) - (z * t);
	double t_2 = (x * y2) - (z * y3);
	double t_3 = fma(t, y2, (y * -y3));
	double t_4 = a * fma(-y1, t_2, fma(b, t_1, (y5 * t_3)));
	double t_5 = (t * j) - (y * k);
	double tmp;
	if (a <= -8e+69) {
		tmp = t_4;
	} else if (a <= -5e-221) {
		tmp = k * (fma(z, ((b * y0) - (i * y1)), (i * y5)) - fma(-y2, ((y1 * y4) - (y0 * y5)), (b * y4)));
	} else if (a <= -7e-288) {
		tmp = t_4;
	} else if (a <= 3.3e-178) {
		tmp = y4 * (fma(b, t_5, (y1 * ((k * y2) - (j * y3)))) - (c * t_3));
	} else if (a <= 1.02e-104) {
		tmp = i * ((y1 * ((x * j) - (z * k))) - fma(c, t_1, (y5 * t_5)));
	} else if (a <= 2.9e+67) {
		tmp = -c * fma(-y0, t_2, fma(i, t_1, (y4 * t_3)));
	} else if (a <= 3.7e+147) {
		tmp = -(t * fma(((i * y5) - (b * y4)), j, fma(z, ((a * b) - (c * i)), (y2 * ((c * y4) - (a * y5))))));
	} 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(x * y) - Float64(z * t))
	t_2 = Float64(Float64(x * y2) - Float64(z * y3))
	t_3 = fma(t, y2, Float64(y * Float64(-y3)))
	t_4 = Float64(a * fma(Float64(-y1), t_2, fma(b, t_1, Float64(y5 * t_3))))
	t_5 = Float64(Float64(t * j) - Float64(y * k))
	tmp = 0.0
	if (a <= -8e+69)
		tmp = t_4;
	elseif (a <= -5e-221)
		tmp = Float64(k * Float64(fma(z, Float64(Float64(b * y0) - Float64(i * y1)), Float64(i * y5)) - fma(Float64(-y2), Float64(Float64(y1 * y4) - Float64(y0 * y5)), Float64(b * y4))));
	elseif (a <= -7e-288)
		tmp = t_4;
	elseif (a <= 3.3e-178)
		tmp = Float64(y4 * Float64(fma(b, t_5, Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) - Float64(c * t_3)));
	elseif (a <= 1.02e-104)
		tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) - fma(c, t_1, Float64(y5 * t_5))));
	elseif (a <= 2.9e+67)
		tmp = Float64(Float64(-c) * fma(Float64(-y0), t_2, fma(i, t_1, Float64(y4 * t_3))));
	elseif (a <= 3.7e+147)
		tmp = Float64(-Float64(t * fma(Float64(Float64(i * y5) - Float64(b * y4)), j, fma(z, Float64(Float64(a * b) - Float64(c * i)), Float64(y2 * Float64(Float64(c * y4) - Float64(a * y5)))))));
	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[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(t * y2 + N[(y * (-y3)), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(a * N[((-y1) * t$95$2 + N[(b * t$95$1 + N[(y5 * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -8e+69], t$95$4, If[LessEqual[a, -5e-221], N[(k * N[(N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] + N[(i * y5), $MachinePrecision]), $MachinePrecision] - N[((-y2) * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision] + N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -7e-288], t$95$4, If[LessEqual[a, 3.3e-178], N[(y4 * N[(N[(b * t$95$5 + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.02e-104], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * t$95$1 + N[(y5 * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.9e+67], N[((-c) * N[((-y0) * t$95$2 + N[(i * t$95$1 + N[(y4 * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3.7e+147], (-N[(t * N[(N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision] * j + N[(z * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), t$95$4]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := x \cdot y - z \cdot t\\
t_2 := x \cdot y2 - z \cdot y3\\
t_3 := \mathsf{fma}\left(t, y2, y \cdot \left(-y3\right)\right)\\
t_4 := a \cdot \mathsf{fma}\left(-y1, t\_2, \mathsf{fma}\left(b, t\_1, y5 \cdot t\_3\right)\right)\\
t_5 := t \cdot j - y \cdot k\\
\mathbf{if}\;a \leq -8 \cdot 10^{+69}:\\
\;\;\;\;t\_4\\

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

\mathbf{elif}\;a \leq -7 \cdot 10^{-288}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;a \leq 3.3 \cdot 10^{-178}:\\
\;\;\;\;y4 \cdot \left(\mathsf{fma}\left(b, t\_5, y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot t\_3\right)\\

\mathbf{elif}\;a \leq 1.02 \cdot 10^{-104}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) - \mathsf{fma}\left(c, t\_1, y5 \cdot t\_5\right)\right)\\

\mathbf{elif}\;a \leq 2.9 \cdot 10^{+67}:\\
\;\;\;\;\left(-c\right) \cdot \mathsf{fma}\left(-y0, t\_2, \mathsf{fma}\left(i, t\_1, y4 \cdot t\_3\right)\right)\\

\mathbf{elif}\;a \leq 3.7 \cdot 10^{+147}:\\
\;\;\;\;-t \cdot \mathsf{fma}\left(i \cdot y5 - b \cdot y4, j, \mathsf{fma}\left(z, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if a < -8.0000000000000006e69 or -4.99999999999999996e-221 < a < -7.0000000000000006e-288 or 3.7e147 < a

    1. Initial program 18.8%

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

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

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

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

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

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

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

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

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

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

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

    if -8.0000000000000006e69 < a < -4.99999999999999996e-221

    1. Initial program 38.4%

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4 - y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4} - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - \color{blue}{y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      13. lower-*.f64N/A

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

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

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

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

    if -7.0000000000000006e-288 < a < 3.3000000000000002e-178

    1. Initial program 35.7%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto y4 \cdot \left(\mathsf{fma}\left(b, t \cdot j - k \cdot y, y1 \cdot \left(k \cdot y2 - y3 \cdot j\right)\right) - c \cdot \color{blue}{\mathsf{fma}\left(t, y2, \mathsf{neg}\left(y \cdot y3\right)\right)}\right) \]
      16. distribute-lft-neg-inN/A

        \[\leadsto y4 \cdot \left(\mathsf{fma}\left(b, t \cdot j - k \cdot y, y1 \cdot \left(k \cdot y2 - y3 \cdot j\right)\right) - c \cdot \mathsf{fma}\left(t, y2, \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot y3}\right)\right) \]
      17. neg-mul-1N/A

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

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

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

    if 3.3000000000000002e-178 < a < 1.02000000000000001e-104

    1. Initial program 41.7%

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

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

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

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

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

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

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

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(c, x \cdot y - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{x \cdot y - t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      10. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - \color{blue}{t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, \color{blue}{y5 \cdot \left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      12. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \color{blue}{\left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      13. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      15. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - \color{blue}{k \cdot y}\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      16. lower-*.f64N/A

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

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

    if 1.02000000000000001e-104 < a < 2.90000000000000023e67

    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. associate-*r*N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \left(\mathsf{neg}\left(c\right)\right) \cdot \mathsf{fma}\left(\mathsf{neg}\left(y0\right), y2 \cdot x - \color{blue}{z \cdot y3}, i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
      15. sub-negN/A

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

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

    if 2.90000000000000023e67 < a < 3.7e147

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

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

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

        \[\leadsto \color{blue}{\left(-1 \cdot t\right) \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      3. neg-mul-1N/A

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

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      5. associate--l+N/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right)} \]
      6. mul-1-negN/A

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

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot j}\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      8. distribute-lft-neg-inN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(b \cdot y4 - i \cdot y5\right)\right)\right) \cdot j} + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      9. mul-1-negN/A

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

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot \left(b \cdot y4 - i \cdot y5\right), j, z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    5. Simplified69.9%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -8 \cdot 10^{+69}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(-y1, x \cdot y2 - z \cdot y3, \mathsf{fma}\left(b, x \cdot y - z \cdot t, y5 \cdot \mathsf{fma}\left(t, y2, y \cdot \left(-y3\right)\right)\right)\right)\\ \mathbf{elif}\;a \leq -5 \cdot 10^{-221}:\\ \;\;\;\;k \cdot \left(\mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right) - \mathsf{fma}\left(-y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq -7 \cdot 10^{-288}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(-y1, x \cdot y2 - z \cdot y3, \mathsf{fma}\left(b, x \cdot y - z \cdot t, y5 \cdot \mathsf{fma}\left(t, y2, y \cdot \left(-y3\right)\right)\right)\right)\\ \mathbf{elif}\;a \leq 3.3 \cdot 10^{-178}:\\ \;\;\;\;y4 \cdot \left(\mathsf{fma}\left(b, t \cdot j - y \cdot k, y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \mathsf{fma}\left(t, y2, y \cdot \left(-y3\right)\right)\right)\\ \mathbf{elif}\;a \leq 1.02 \cdot 10^{-104}:\\ \;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) - \mathsf{fma}\left(c, x \cdot y - z \cdot t, y5 \cdot \left(t \cdot j - y \cdot k\right)\right)\right)\\ \mathbf{elif}\;a \leq 2.9 \cdot 10^{+67}:\\ \;\;\;\;\left(-c\right) \cdot \mathsf{fma}\left(-y0, x \cdot y2 - z \cdot y3, \mathsf{fma}\left(i, x \cdot y - z \cdot t, y4 \cdot \mathsf{fma}\left(t, y2, y \cdot \left(-y3\right)\right)\right)\right)\\ \mathbf{elif}\;a \leq 3.7 \cdot 10^{+147}:\\ \;\;\;\;-t \cdot \mathsf{fma}\left(i \cdot y5 - b \cdot y4, j, \mathsf{fma}\left(z, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(-y1, x \cdot y2 - z \cdot y3, \mathsf{fma}\left(b, x \cdot y - z \cdot t, y5 \cdot \mathsf{fma}\left(t, y2, y \cdot \left(-y3\right)\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 4: 35.5% accurate, 2.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)\\ t_2 := y3 \cdot \left(c \cdot y4 - \mathsf{fma}\left(y1, \mathsf{fma}\left(z, -a, j \cdot y4\right), c \cdot \left(z \cdot y0\right)\right)\right)\\ \mathbf{if}\;x \leq -8.8 \cdot 10^{+73}:\\ \;\;\;\;x \cdot \left(t\_1 - j \cdot y0\right)\\ \mathbf{elif}\;x \leq -1.2 \cdot 10^{-206}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;x \leq 6.8 \cdot 10^{-279}:\\ \;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;x \leq 3.3 \cdot 10^{-164}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;x \leq 4.8 \cdot 10^{+41}:\\ \;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(t\_1 - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\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 (fma (- (* c y0) (* a y1)) y2 (* a b)))
        (t_2
         (* y3 (- (* c y4) (fma y1 (fma z (- a) (* j y4)) (* c (* z y0)))))))
   (if (<= x -8.8e+73)
     (* x (- t_1 (* j y0)))
     (if (<= x -1.2e-206)
       t_2
       (if (<= x 6.8e-279)
         (* y2 (* t (- (* a y5) (* c y4))))
         (if (<= x 3.3e-164)
           t_2
           (if (<= x 4.8e+41)
             (* i (* y5 (- (* y k) (* t j))))
             (* x (- t_1 (fma j (- (* b y0) (* i y1)) (* c i)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = fma(((c * y0) - (a * y1)), y2, (a * b));
	double t_2 = y3 * ((c * y4) - fma(y1, fma(z, -a, (j * y4)), (c * (z * y0))));
	double tmp;
	if (x <= -8.8e+73) {
		tmp = x * (t_1 - (j * y0));
	} else if (x <= -1.2e-206) {
		tmp = t_2;
	} else if (x <= 6.8e-279) {
		tmp = y2 * (t * ((a * y5) - (c * y4)));
	} else if (x <= 3.3e-164) {
		tmp = t_2;
	} else if (x <= 4.8e+41) {
		tmp = i * (y5 * ((y * k) - (t * j)));
	} else {
		tmp = x * (t_1 - fma(j, ((b * y0) - (i * y1)), (c * i)));
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = fma(Float64(Float64(c * y0) - Float64(a * y1)), y2, Float64(a * b))
	t_2 = Float64(y3 * Float64(Float64(c * y4) - fma(y1, fma(z, Float64(-a), Float64(j * y4)), Float64(c * Float64(z * y0)))))
	tmp = 0.0
	if (x <= -8.8e+73)
		tmp = Float64(x * Float64(t_1 - Float64(j * y0)));
	elseif (x <= -1.2e-206)
		tmp = t_2;
	elseif (x <= 6.8e-279)
		tmp = Float64(y2 * Float64(t * Float64(Float64(a * y5) - Float64(c * y4))));
	elseif (x <= 3.3e-164)
		tmp = t_2;
	elseif (x <= 4.8e+41)
		tmp = Float64(i * Float64(y5 * Float64(Float64(y * k) - Float64(t * j))));
	else
		tmp = Float64(x * Float64(t_1 - fma(j, Float64(Float64(b * y0) - Float64(i * y1)), Float64(c * i))));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * y2 + N[(a * b), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(y1 * N[(z * (-a) + N[(j * y4), $MachinePrecision]), $MachinePrecision] + N[(c * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -8.8e+73], N[(x * N[(t$95$1 - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.2e-206], t$95$2, If[LessEqual[x, 6.8e-279], N[(y2 * N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3.3e-164], t$95$2, If[LessEqual[x, 4.8e+41], N[(i * N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(t$95$1 - N[(j * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] + N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)\\
t_2 := y3 \cdot \left(c \cdot y4 - \mathsf{fma}\left(y1, \mathsf{fma}\left(z, -a, j \cdot y4\right), c \cdot \left(z \cdot y0\right)\right)\right)\\
\mathbf{if}\;x \leq -8.8 \cdot 10^{+73}:\\
\;\;\;\;x \cdot \left(t\_1 - j \cdot y0\right)\\

\mathbf{elif}\;x \leq -1.2 \cdot 10^{-206}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;x \leq 6.8 \cdot 10^{-279}:\\
\;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\

\mathbf{elif}\;x \leq 3.3 \cdot 10^{-164}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;x \leq 4.8 \cdot 10^{+41}:\\
\;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\\

\mathbf{else}:\\
\;\;\;\;x \cdot \left(t\_1 - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if x < -8.8e73

    1. Initial program 15.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(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{j \cdot y0}\right) \]
    7. Step-by-step derivation
      1. lower-*.f6457.8

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

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

    if -8.8e73 < x < -1.2e-206 or 6.8000000000000003e-279 < x < 3.3e-164

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

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

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

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

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

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

      \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\color{blue}{\left(j \cdot \left(y1 \cdot y4\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} - c \cdot y4\right) \]
    7. Step-by-step derivation
      1. +-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\color{blue}{\left(z \cdot \left(c \cdot y0 - a \cdot y1\right) + j \cdot \left(y1 \cdot y4\right)\right)} - c \cdot y4\right) \]
      2. sub-negN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(z \cdot \color{blue}{\left(c \cdot y0 + \left(\mathsf{neg}\left(a \cdot y1\right)\right)\right)} + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      3. distribute-rgt-inN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\color{blue}{\left(\left(c \cdot y0\right) \cdot z + \left(\mathsf{neg}\left(a \cdot y1\right)\right) \cdot z\right)} + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      4. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(\color{blue}{c \cdot \left(y0 \cdot z\right)} + \left(\mathsf{neg}\left(a \cdot y1\right)\right) \cdot z\right) + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      5. distribute-lft-neg-inN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \color{blue}{\left(\left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)} \cdot z\right) + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      6. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \left(\color{blue}{\left(-1 \cdot a\right)} \cdot y1\right) \cdot z\right) + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      7. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \color{blue}{\left(-1 \cdot a\right) \cdot \left(y1 \cdot z\right)}\right) + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      8. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \left(-1 \cdot a\right) \cdot \color{blue}{\left(z \cdot y1\right)}\right) + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      9. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \color{blue}{\left(\left(-1 \cdot a\right) \cdot z\right) \cdot y1}\right) + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      10. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \color{blue}{\left(-1 \cdot \left(a \cdot z\right)\right)} \cdot y1\right) + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      11. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \left(-1 \cdot \left(a \cdot z\right)\right) \cdot y1\right) + j \cdot \color{blue}{\left(y4 \cdot y1\right)}\right) - c \cdot y4\right) \]
      12. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \left(-1 \cdot \left(a \cdot z\right)\right) \cdot y1\right) + \color{blue}{\left(j \cdot y4\right) \cdot y1}\right) - c \cdot y4\right) \]
      13. associate-+r+N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\color{blue}{\left(c \cdot \left(y0 \cdot z\right) + \left(\left(-1 \cdot \left(a \cdot z\right)\right) \cdot y1 + \left(j \cdot y4\right) \cdot y1\right)\right)} - c \cdot y4\right) \]
      14. distribute-rgt-inN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(c \cdot \left(y0 \cdot z\right) + \color{blue}{y1 \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right)}\right) - c \cdot y4\right) \]
      15. +-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\color{blue}{\left(y1 \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right) + c \cdot \left(y0 \cdot z\right)\right)} - c \cdot y4\right) \]
      16. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(y1, -1 \cdot \left(a \cdot z\right) + j \cdot y4, c \cdot \left(y0 \cdot z\right)\right)} - c \cdot y4\right) \]
    8. Simplified46.5%

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

    if -1.2e-206 < x < 6.8000000000000003e-279

    1. Initial program 19.3%

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

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.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. lower--.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto y2 \cdot \left(t \cdot \color{blue}{\left(a \cdot y5 - c \cdot y4\right)}\right) \]
      3. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(t \cdot \left(\color{blue}{a \cdot y5} - c \cdot y4\right)\right) \]
      4. lower-*.f6457.2

        \[\leadsto y2 \cdot \left(t \cdot \left(a \cdot y5 - \color{blue}{c \cdot y4}\right)\right) \]
    8. Simplified57.2%

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

    if 3.3e-164 < x < 4.8000000000000003e41

    1. Initial program 38.1%

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

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

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

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

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

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

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

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(c, x \cdot y - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{x \cdot y - t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      10. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - \color{blue}{t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, \color{blue}{y5 \cdot \left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      12. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \color{blue}{\left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      13. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      15. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - \color{blue}{k \cdot y}\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      16. lower-*.f64N/A

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

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

      \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \color{blue}{\left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \color{blue}{\left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(y5 \cdot \color{blue}{\left(j \cdot t - k \cdot y\right)}\right) \]
      3. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(y5 \cdot \left(\color{blue}{j \cdot t} - k \cdot y\right)\right) \]
      4. lower-*.f6443.5

        \[\leadsto \left(-i\right) \cdot \left(y5 \cdot \left(j \cdot t - \color{blue}{k \cdot y}\right)\right) \]
    8. Simplified43.5%

      \[\leadsto \left(-i\right) \cdot \color{blue}{\left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} \]

    if 4.8000000000000003e41 < x

    1. Initial program 31.0%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -8.8 \cdot 10^{+73}:\\ \;\;\;\;x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - j \cdot y0\right)\\ \mathbf{elif}\;x \leq -1.2 \cdot 10^{-206}:\\ \;\;\;\;y3 \cdot \left(c \cdot y4 - \mathsf{fma}\left(y1, \mathsf{fma}\left(z, -a, j \cdot y4\right), c \cdot \left(z \cdot y0\right)\right)\right)\\ \mathbf{elif}\;x \leq 6.8 \cdot 10^{-279}:\\ \;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;x \leq 3.3 \cdot 10^{-164}:\\ \;\;\;\;y3 \cdot \left(c \cdot y4 - \mathsf{fma}\left(y1, \mathsf{fma}\left(z, -a, j \cdot y4\right), c \cdot \left(z \cdot y0\right)\right)\right)\\ \mathbf{elif}\;x \leq 4.8 \cdot 10^{+41}:\\ \;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 5: 39.4% accurate, 2.5× speedup?

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

\\
\begin{array}{l}
t_1 := y1 \cdot y4 - y0 \cdot y5\\
t_2 := c \cdot y0 - a \cdot y1\\
\mathbf{if}\;y2 \leq -1.25 \cdot 10^{+43}:\\
\;\;\;\;x \cdot \left(\mathsf{fma}\left(t\_2, y2, a \cdot b\right) - j \cdot y0\right)\\

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

\mathbf{elif}\;y2 \leq 1.62 \cdot 10^{+87}:\\
\;\;\;\;y \cdot \mathsf{fma}\left(i \cdot y5 - b \cdot y4, k, \mathsf{fma}\left(a \cdot b - c \cdot i, x, y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\\

\mathbf{elif}\;y2 \leq 7.2 \cdot 10^{+248}:\\
\;\;\;\;y3 \cdot \left(c \cdot y4 - \mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, t\_2, j \cdot t\_1\right)\right)\right)\\

\mathbf{else}:\\
\;\;\;\;y2 \cdot \left(k \cdot t\_1\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y2 < -1.2500000000000001e43

    1. Initial program 25.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(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{j \cdot y0}\right) \]
    7. Step-by-step derivation
      1. lower-*.f6450.8

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

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

    if -1.2500000000000001e43 < y2 < -3.25000000000000002e-220

    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 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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

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

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

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

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

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

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

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

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

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

    if -3.25000000000000002e-220 < y2 < 1.62e87

    1. Initial program 43.3%

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

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

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

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

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

        \[\leadsto y \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot k}\right)\right) + \left(x \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      5. distribute-lft-neg-inN/A

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

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

        \[\leadsto y \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot \left(b \cdot y4 - i \cdot y5\right), k, x \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      8. mul-1-negN/A

        \[\leadsto y \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(\left(b \cdot y4 - i \cdot y5\right)\right)}, k, x \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      9. lower-neg.f64N/A

        \[\leadsto y \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(\left(b \cdot y4 - i \cdot y5\right)\right)}, k, x \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      10. lower--.f64N/A

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

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

        \[\leadsto y \cdot \mathsf{fma}\left(\mathsf{neg}\left(\left(b \cdot y4 - \color{blue}{i \cdot y5}\right)\right), k, x \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
    5. Simplified52.8%

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

    if 1.62e87 < y2 < 7.20000000000000003e248

    1. Initial program 6.3%

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

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

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

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

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

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

    if 7.20000000000000003e248 < y2

    1. Initial program 17.6%

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

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.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. lower--.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto y2 \cdot \left(k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) \]
      3. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) \]
      4. lower-*.f6470.6

        \[\leadsto y2 \cdot \left(k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) \]
    8. Simplified70.6%

      \[\leadsto y2 \cdot \color{blue}{\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification55.6%

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

Alternative 6: 31.3% accurate, 2.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - j \cdot y0\right)\\ \mathbf{if}\;x \leq -9.5 \cdot 10^{+67}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;x \leq -4.4 \cdot 10^{-65}:\\ \;\;\;\;\left(t \cdot j\right) \cdot \left(b \cdot y4 - i \cdot y5\right)\\ \mathbf{elif}\;x \leq -1.4 \cdot 10^{-182}:\\ \;\;\;\;\left(z \cdot a\right) \cdot \mathsf{fma}\left(y1, y3, t \cdot \left(-b\right)\right)\\ \mathbf{elif}\;x \leq 5.4 \cdot 10^{-278}:\\ \;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;x \leq 9.5 \cdot 10^{-165}:\\ \;\;\;\;y1 \cdot \left(y3 \cdot \left(z - j \cdot y4\right)\right)\\ \mathbf{elif}\;x \leq 1.4 \cdot 10^{+44}:\\ \;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\\ \mathbf{elif}\;x \leq 3.5 \cdot 10^{+113}:\\ \;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\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 (* x (- (fma (- (* c y0) (* a y1)) y2 (* a b)) (* j y0)))))
   (if (<= x -9.5e+67)
     t_1
     (if (<= x -4.4e-65)
       (* (* t j) (- (* b y4) (* i y5)))
       (if (<= x -1.4e-182)
         (* (* z a) (fma y1 y3 (* t (- b))))
         (if (<= x 5.4e-278)
           (* y2 (* t (- (* a y5) (* c y4))))
           (if (<= x 9.5e-165)
             (* y1 (* y3 (- z (* j y4))))
             (if (<= x 1.4e+44)
               (* i (* y5 (- (* y k) (* t j))))
               (if (<= x 3.5e+113)
                 (* y2 (* k (- (* y1 y4) (* y0 y5))))
                 t_1)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = x * (fma(((c * y0) - (a * y1)), y2, (a * b)) - (j * y0));
	double tmp;
	if (x <= -9.5e+67) {
		tmp = t_1;
	} else if (x <= -4.4e-65) {
		tmp = (t * j) * ((b * y4) - (i * y5));
	} else if (x <= -1.4e-182) {
		tmp = (z * a) * fma(y1, y3, (t * -b));
	} else if (x <= 5.4e-278) {
		tmp = y2 * (t * ((a * y5) - (c * y4)));
	} else if (x <= 9.5e-165) {
		tmp = y1 * (y3 * (z - (j * y4)));
	} else if (x <= 1.4e+44) {
		tmp = i * (y5 * ((y * k) - (t * j)));
	} else if (x <= 3.5e+113) {
		tmp = y2 * (k * ((y1 * y4) - (y0 * y5)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(x * Float64(fma(Float64(Float64(c * y0) - Float64(a * y1)), y2, Float64(a * b)) - Float64(j * y0)))
	tmp = 0.0
	if (x <= -9.5e+67)
		tmp = t_1;
	elseif (x <= -4.4e-65)
		tmp = Float64(Float64(t * j) * Float64(Float64(b * y4) - Float64(i * y5)));
	elseif (x <= -1.4e-182)
		tmp = Float64(Float64(z * a) * fma(y1, y3, Float64(t * Float64(-b))));
	elseif (x <= 5.4e-278)
		tmp = Float64(y2 * Float64(t * Float64(Float64(a * y5) - Float64(c * y4))));
	elseif (x <= 9.5e-165)
		tmp = Float64(y1 * Float64(y3 * Float64(z - Float64(j * y4))));
	elseif (x <= 1.4e+44)
		tmp = Float64(i * Float64(y5 * Float64(Float64(y * k) - Float64(t * j))));
	elseif (x <= 3.5e+113)
		tmp = Float64(y2 * Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))));
	else
		tmp = t_1;
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(N[(N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * y2 + N[(a * b), $MachinePrecision]), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -9.5e+67], t$95$1, If[LessEqual[x, -4.4e-65], N[(N[(t * j), $MachinePrecision] * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.4e-182], N[(N[(z * a), $MachinePrecision] * N[(y1 * y3 + N[(t * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 5.4e-278], N[(y2 * N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 9.5e-165], N[(y1 * N[(y3 * N[(z - N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.4e+44], N[(i * N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3.5e+113], N[(y2 * N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - j \cdot y0\right)\\
\mathbf{if}\;x \leq -9.5 \cdot 10^{+67}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;x \leq -4.4 \cdot 10^{-65}:\\
\;\;\;\;\left(t \cdot j\right) \cdot \left(b \cdot y4 - i \cdot y5\right)\\

\mathbf{elif}\;x \leq -1.4 \cdot 10^{-182}:\\
\;\;\;\;\left(z \cdot a\right) \cdot \mathsf{fma}\left(y1, y3, t \cdot \left(-b\right)\right)\\

\mathbf{elif}\;x \leq 5.4 \cdot 10^{-278}:\\
\;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\

\mathbf{elif}\;x \leq 9.5 \cdot 10^{-165}:\\
\;\;\;\;y1 \cdot \left(y3 \cdot \left(z - j \cdot y4\right)\right)\\

\mathbf{elif}\;x \leq 1.4 \cdot 10^{+44}:\\
\;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\\

\mathbf{elif}\;x \leq 3.5 \cdot 10^{+113}:\\
\;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if x < -9.5000000000000002e67 or 3.5000000000000001e113 < x

    1. Initial program 19.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{j \cdot y0}\right) \]
    7. Step-by-step derivation
      1. lower-*.f6463.3

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

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

    if -9.5000000000000002e67 < x < -4.40000000000000042e-65

    1. Initial program 39.5%

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

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

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

        \[\leadsto \color{blue}{\left(-1 \cdot t\right) \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      3. neg-mul-1N/A

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

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      5. associate--l+N/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right)} \]
      6. mul-1-negN/A

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

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot j}\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      8. distribute-lft-neg-inN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(b \cdot y4 - i \cdot y5\right)\right)\right) \cdot j} + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      9. mul-1-negN/A

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

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot \left(b \cdot y4 - i \cdot y5\right), j, z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    5. Simplified36.2%

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

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

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

        \[\leadsto \color{blue}{\left(\left(-1 \cdot j\right) \cdot t\right) \cdot \left(i \cdot y5 - b \cdot y4\right)} \]
      3. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(\left(-1 \cdot j\right) \cdot t\right) \cdot \left(i \cdot y5 - b \cdot y4\right)} \]
      4. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(\left(-1 \cdot j\right) \cdot t\right)} \cdot \left(i \cdot y5 - b \cdot y4\right) \]
      5. mul-1-negN/A

        \[\leadsto \left(\color{blue}{\left(\mathsf{neg}\left(j\right)\right)} \cdot t\right) \cdot \left(i \cdot y5 - b \cdot y4\right) \]
      6. lower-neg.f64N/A

        \[\leadsto \left(\color{blue}{\left(\mathsf{neg}\left(j\right)\right)} \cdot t\right) \cdot \left(i \cdot y5 - b \cdot y4\right) \]
      7. lower--.f64N/A

        \[\leadsto \left(\left(\mathsf{neg}\left(j\right)\right) \cdot t\right) \cdot \color{blue}{\left(i \cdot y5 - b \cdot y4\right)} \]
      8. lower-*.f64N/A

        \[\leadsto \left(\left(\mathsf{neg}\left(j\right)\right) \cdot t\right) \cdot \left(\color{blue}{i \cdot y5} - b \cdot y4\right) \]
      9. lower-*.f6442.2

        \[\leadsto \left(\left(-j\right) \cdot t\right) \cdot \left(i \cdot y5 - \color{blue}{b \cdot y4}\right) \]
    8. Simplified42.2%

      \[\leadsto \color{blue}{\left(\left(-j\right) \cdot t\right) \cdot \left(i \cdot y5 - b \cdot y4\right)} \]

    if -4.40000000000000042e-65 < x < -1.39999999999999997e-182

    1. Initial program 37.9%

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

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

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

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

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

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

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

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \left(a \cdot z\right) \cdot \mathsf{fma}\left(y1, y3, \color{blue}{\left(\mathsf{neg}\left(b\right)\right)} \cdot t\right) \]
      9. lower-neg.f6443.5

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

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

    if -1.39999999999999997e-182 < x < 5.4000000000000003e-278

    1. Initial program 24.8%

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

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.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. lower--.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto y2 \cdot \left(t \cdot \color{blue}{\left(a \cdot y5 - c \cdot y4\right)}\right) \]
      3. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(t \cdot \left(\color{blue}{a \cdot y5} - c \cdot y4\right)\right) \]
      4. lower-*.f6455.0

        \[\leadsto y2 \cdot \left(t \cdot \left(a \cdot y5 - \color{blue}{c \cdot y4}\right)\right) \]
    8. Simplified55.0%

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

    if 5.4000000000000003e-278 < x < 9.49999999999999973e-165

    1. Initial program 26.3%

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

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

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

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

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

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

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

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

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

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

        \[\leadsto y1 \cdot \left(y3 \cdot \color{blue}{\left(z - j \cdot y4\right)}\right) \]
      5. lower--.f64N/A

        \[\leadsto y1 \cdot \left(y3 \cdot \color{blue}{\left(z - j \cdot y4\right)}\right) \]
      6. lower-*.f6453.6

        \[\leadsto y1 \cdot \left(y3 \cdot \left(z - \color{blue}{j \cdot y4}\right)\right) \]
    8. Simplified53.6%

      \[\leadsto \color{blue}{y1 \cdot \left(y3 \cdot \left(z - j \cdot y4\right)\right)} \]

    if 9.49999999999999973e-165 < x < 1.4e44

    1. Initial program 38.1%

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

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

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

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

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

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

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

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(c, x \cdot y - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{x \cdot y - t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      10. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - \color{blue}{t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, \color{blue}{y5 \cdot \left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      12. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \color{blue}{\left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      13. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      15. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - \color{blue}{k \cdot y}\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      16. lower-*.f64N/A

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

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

      \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \color{blue}{\left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \color{blue}{\left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(y5 \cdot \color{blue}{\left(j \cdot t - k \cdot y\right)}\right) \]
      3. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(y5 \cdot \left(\color{blue}{j \cdot t} - k \cdot y\right)\right) \]
      4. lower-*.f6443.5

        \[\leadsto \left(-i\right) \cdot \left(y5 \cdot \left(j \cdot t - \color{blue}{k \cdot y}\right)\right) \]
    8. Simplified43.5%

      \[\leadsto \left(-i\right) \cdot \color{blue}{\left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} \]

    if 1.4e44 < x < 3.5000000000000001e113

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto y2 \cdot \left(k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) \]
      3. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) \]
      4. lower-*.f6453.2

        \[\leadsto y2 \cdot \left(k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) \]
    8. Simplified53.2%

      \[\leadsto y2 \cdot \color{blue}{\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} \]
  3. Recombined 7 regimes into one program.
  4. Final simplification52.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -9.5 \cdot 10^{+67}:\\ \;\;\;\;x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - j \cdot y0\right)\\ \mathbf{elif}\;x \leq -4.4 \cdot 10^{-65}:\\ \;\;\;\;\left(t \cdot j\right) \cdot \left(b \cdot y4 - i \cdot y5\right)\\ \mathbf{elif}\;x \leq -1.4 \cdot 10^{-182}:\\ \;\;\;\;\left(z \cdot a\right) \cdot \mathsf{fma}\left(y1, y3, t \cdot \left(-b\right)\right)\\ \mathbf{elif}\;x \leq 5.4 \cdot 10^{-278}:\\ \;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;x \leq 9.5 \cdot 10^{-165}:\\ \;\;\;\;y1 \cdot \left(y3 \cdot \left(z - j \cdot y4\right)\right)\\ \mathbf{elif}\;x \leq 1.4 \cdot 10^{+44}:\\ \;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\\ \mathbf{elif}\;x \leq 3.5 \cdot 10^{+113}:\\ \;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - j \cdot y0\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 7: 37.0% accurate, 2.6× speedup?

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

\\
\begin{array}{l}
t_1 := c \cdot y0 - a \cdot y1\\
t_2 := y1 \cdot y4 - y0 \cdot y5\\
\mathbf{if}\;c \leq 2.4 \cdot 10^{-255}:\\
\;\;\;\;a \cdot \mathsf{fma}\left(-y1, x \cdot y2 - z \cdot y3, \mathsf{fma}\left(b, x \cdot y - z \cdot t, y5 \cdot \mathsf{fma}\left(t, y2, y \cdot \left(-y3\right)\right)\right)\right)\\

\mathbf{elif}\;c \leq 4.8 \cdot 10^{+36}:\\
\;\;\;\;y3 \cdot \left(c \cdot y4 - \mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, t\_1, j \cdot t\_2\right)\right)\right)\\

\mathbf{elif}\;c \leq 9.6 \cdot 10^{+156}:\\
\;\;\;\;k \cdot \left(z \cdot y0 - \mathsf{fma}\left(-y2, t\_2, b \cdot y4\right)\right)\\

\mathbf{else}:\\
\;\;\;\;y3 \cdot \mathsf{fma}\left(-j, t\_2, \mathsf{fma}\left(-z, t\_1, c \cdot y4 - a \cdot y5\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if c < 2.3999999999999998e-255

    1. Initial program 29.7%

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

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

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

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

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

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

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

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

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

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

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

    if 2.3999999999999998e-255 < c < 4.79999999999999985e36

    1. Initial program 39.7%

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

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

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

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
    5. Simplified49.5%

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

    if 4.79999999999999985e36 < c < 9.6000000000000004e156

    1. Initial program 22.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}{-1 \cdot \left(k \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

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

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

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

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

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

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

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

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

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

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4 - y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4} - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - \color{blue}{y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      13. lower-*.f64N/A

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

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

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

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

      \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{y0 \cdot z}\right) \]
    7. Step-by-step derivation
      1. lower-*.f6461.0

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

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

    if 9.6000000000000004e156 < c

    1. Initial program 22.7%

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

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

        \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      2. associate--l+N/A

        \[\leadsto y3 \cdot \color{blue}{\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + \left(-1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - -1 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      3. associate-*r*N/A

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

        \[\leadsto y3 \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot j, y1 \cdot y4 - y0 \cdot y5, -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - -1 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      5. neg-mul-1N/A

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

        \[\leadsto y3 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(j\right)}, y1 \cdot y4 - y0 \cdot y5, -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - -1 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto y3 \cdot \mathsf{fma}\left(\mathsf{neg}\left(j\right), \color{blue}{y1 \cdot y4 - y0 \cdot y5}, -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - -1 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto y3 \cdot \mathsf{fma}\left(\mathsf{neg}\left(j\right), \color{blue}{y1 \cdot y4} - y0 \cdot y5, -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - -1 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y3 \cdot \mathsf{fma}\left(\mathsf{neg}\left(j\right), y1 \cdot y4 - \color{blue}{y0 \cdot y5}, -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - -1 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. sub-negN/A

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

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

        \[\leadsto y3 \cdot \mathsf{fma}\left(\mathsf{neg}\left(j\right), y1 \cdot y4 - y0 \cdot y5, \left(-1 \cdot z\right) \cdot \left(c \cdot y0 - a \cdot y1\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(\left(c \cdot y4 - a \cdot y5\right)\right)\right)}\right)\right)\right) \]
      13. remove-double-negN/A

        \[\leadsto y3 \cdot \mathsf{fma}\left(\mathsf{neg}\left(j\right), y1 \cdot y4 - y0 \cdot y5, \left(-1 \cdot z\right) \cdot \left(c \cdot y0 - a \cdot y1\right) + \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified55.4%

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

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

Alternative 8: 45.3% accurate, 2.7× speedup?

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

\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(t, y2, y \cdot \left(-y3\right)\right)\\
t_2 := y4 \cdot \left(\mathsf{fma}\left(b, t \cdot j - y \cdot k, y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot t\_1\right)\\
\mathbf{if}\;y4 \leq -2.9 \cdot 10^{+132}:\\
\;\;\;\;t\_2\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if y4 < -2.8999999999999999e132 or 1.9000000000000001e130 < y4

    1. Initial program 32.2%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto y4 \cdot \left(\mathsf{fma}\left(b, t \cdot j - k \cdot y, y1 \cdot \left(k \cdot y2 - y3 \cdot j\right)\right) - c \cdot \color{blue}{\mathsf{fma}\left(t, y2, \mathsf{neg}\left(y \cdot y3\right)\right)}\right) \]
      16. distribute-lft-neg-inN/A

        \[\leadsto y4 \cdot \left(\mathsf{fma}\left(b, t \cdot j - k \cdot y, y1 \cdot \left(k \cdot y2 - y3 \cdot j\right)\right) - c \cdot \mathsf{fma}\left(t, y2, \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot y3}\right)\right) \]
      17. neg-mul-1N/A

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

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

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

    if -2.8999999999999999e132 < y4 < 1.9000000000000001e130

    1. Initial program 29.3%

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

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

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

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

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

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

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

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

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

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

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(-y1, y2 \cdot x - z \cdot y3, \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right)\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification55.1%

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

Alternative 9: 34.3% accurate, 2.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - j \cdot y0\right)\\ t_2 := y3 \cdot \left(c \cdot y4 - \mathsf{fma}\left(y1, \mathsf{fma}\left(z, -a, j \cdot y4\right), c \cdot \left(z \cdot y0\right)\right)\right)\\ \mathbf{if}\;x \leq -8.8 \cdot 10^{+73}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;x \leq -1.2 \cdot 10^{-206}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;x \leq 6.8 \cdot 10^{-279}:\\ \;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;x \leq 3.3 \cdot 10^{-164}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;x \leq 1.4 \cdot 10^{+44}:\\ \;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\\ \mathbf{elif}\;x \leq 3.5 \cdot 10^{+113}:\\ \;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\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 (* x (- (fma (- (* c y0) (* a y1)) y2 (* a b)) (* j y0))))
        (t_2
         (* y3 (- (* c y4) (fma y1 (fma z (- a) (* j y4)) (* c (* z y0)))))))
   (if (<= x -8.8e+73)
     t_1
     (if (<= x -1.2e-206)
       t_2
       (if (<= x 6.8e-279)
         (* y2 (* t (- (* a y5) (* c y4))))
         (if (<= x 3.3e-164)
           t_2
           (if (<= x 1.4e+44)
             (* i (* y5 (- (* y k) (* t j))))
             (if (<= x 3.5e+113)
               (* y2 (* k (- (* y1 y4) (* y0 y5))))
               t_1))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = x * (fma(((c * y0) - (a * y1)), y2, (a * b)) - (j * y0));
	double t_2 = y3 * ((c * y4) - fma(y1, fma(z, -a, (j * y4)), (c * (z * y0))));
	double tmp;
	if (x <= -8.8e+73) {
		tmp = t_1;
	} else if (x <= -1.2e-206) {
		tmp = t_2;
	} else if (x <= 6.8e-279) {
		tmp = y2 * (t * ((a * y5) - (c * y4)));
	} else if (x <= 3.3e-164) {
		tmp = t_2;
	} else if (x <= 1.4e+44) {
		tmp = i * (y5 * ((y * k) - (t * j)));
	} else if (x <= 3.5e+113) {
		tmp = y2 * (k * ((y1 * y4) - (y0 * y5)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(x * Float64(fma(Float64(Float64(c * y0) - Float64(a * y1)), y2, Float64(a * b)) - Float64(j * y0)))
	t_2 = Float64(y3 * Float64(Float64(c * y4) - fma(y1, fma(z, Float64(-a), Float64(j * y4)), Float64(c * Float64(z * y0)))))
	tmp = 0.0
	if (x <= -8.8e+73)
		tmp = t_1;
	elseif (x <= -1.2e-206)
		tmp = t_2;
	elseif (x <= 6.8e-279)
		tmp = Float64(y2 * Float64(t * Float64(Float64(a * y5) - Float64(c * y4))));
	elseif (x <= 3.3e-164)
		tmp = t_2;
	elseif (x <= 1.4e+44)
		tmp = Float64(i * Float64(y5 * Float64(Float64(y * k) - Float64(t * j))));
	elseif (x <= 3.5e+113)
		tmp = Float64(y2 * Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))));
	else
		tmp = t_1;
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(N[(N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * y2 + N[(a * b), $MachinePrecision]), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(y1 * N[(z * (-a) + N[(j * y4), $MachinePrecision]), $MachinePrecision] + N[(c * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -8.8e+73], t$95$1, If[LessEqual[x, -1.2e-206], t$95$2, If[LessEqual[x, 6.8e-279], N[(y2 * N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3.3e-164], t$95$2, If[LessEqual[x, 1.4e+44], N[(i * N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3.5e+113], N[(y2 * N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - j \cdot y0\right)\\
t_2 := y3 \cdot \left(c \cdot y4 - \mathsf{fma}\left(y1, \mathsf{fma}\left(z, -a, j \cdot y4\right), c \cdot \left(z \cdot y0\right)\right)\right)\\
\mathbf{if}\;x \leq -8.8 \cdot 10^{+73}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;x \leq -1.2 \cdot 10^{-206}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;x \leq 6.8 \cdot 10^{-279}:\\
\;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\

\mathbf{elif}\;x \leq 3.3 \cdot 10^{-164}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;x \leq 1.4 \cdot 10^{+44}:\\
\;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\\

\mathbf{elif}\;x \leq 3.5 \cdot 10^{+113}:\\
\;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if x < -8.8e73 or 3.5000000000000001e113 < x

    1. Initial program 19.7%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{j \cdot y0}\right) \]
    7. Step-by-step derivation
      1. lower-*.f6462.8

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

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

    if -8.8e73 < x < -1.2e-206 or 6.8000000000000003e-279 < x < 3.3e-164

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

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

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

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

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

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

      \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\color{blue}{\left(j \cdot \left(y1 \cdot y4\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} - c \cdot y4\right) \]
    7. Step-by-step derivation
      1. +-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\color{blue}{\left(z \cdot \left(c \cdot y0 - a \cdot y1\right) + j \cdot \left(y1 \cdot y4\right)\right)} - c \cdot y4\right) \]
      2. sub-negN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(z \cdot \color{blue}{\left(c \cdot y0 + \left(\mathsf{neg}\left(a \cdot y1\right)\right)\right)} + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      3. distribute-rgt-inN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\color{blue}{\left(\left(c \cdot y0\right) \cdot z + \left(\mathsf{neg}\left(a \cdot y1\right)\right) \cdot z\right)} + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      4. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(\color{blue}{c \cdot \left(y0 \cdot z\right)} + \left(\mathsf{neg}\left(a \cdot y1\right)\right) \cdot z\right) + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      5. distribute-lft-neg-inN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \color{blue}{\left(\left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)} \cdot z\right) + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      6. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \left(\color{blue}{\left(-1 \cdot a\right)} \cdot y1\right) \cdot z\right) + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      7. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \color{blue}{\left(-1 \cdot a\right) \cdot \left(y1 \cdot z\right)}\right) + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      8. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \left(-1 \cdot a\right) \cdot \color{blue}{\left(z \cdot y1\right)}\right) + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      9. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \color{blue}{\left(\left(-1 \cdot a\right) \cdot z\right) \cdot y1}\right) + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      10. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \color{blue}{\left(-1 \cdot \left(a \cdot z\right)\right)} \cdot y1\right) + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      11. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \left(-1 \cdot \left(a \cdot z\right)\right) \cdot y1\right) + j \cdot \color{blue}{\left(y4 \cdot y1\right)}\right) - c \cdot y4\right) \]
      12. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \left(-1 \cdot \left(a \cdot z\right)\right) \cdot y1\right) + \color{blue}{\left(j \cdot y4\right) \cdot y1}\right) - c \cdot y4\right) \]
      13. associate-+r+N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\color{blue}{\left(c \cdot \left(y0 \cdot z\right) + \left(\left(-1 \cdot \left(a \cdot z\right)\right) \cdot y1 + \left(j \cdot y4\right) \cdot y1\right)\right)} - c \cdot y4\right) \]
      14. distribute-rgt-inN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(c \cdot \left(y0 \cdot z\right) + \color{blue}{y1 \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right)}\right) - c \cdot y4\right) \]
      15. +-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\color{blue}{\left(y1 \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right) + c \cdot \left(y0 \cdot z\right)\right)} - c \cdot y4\right) \]
      16. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(y1, -1 \cdot \left(a \cdot z\right) + j \cdot y4, c \cdot \left(y0 \cdot z\right)\right)} - c \cdot y4\right) \]
    8. Simplified46.5%

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

    if -1.2e-206 < x < 6.8000000000000003e-279

    1. Initial program 19.3%

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

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.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. lower--.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto y2 \cdot \left(t \cdot \color{blue}{\left(a \cdot y5 - c \cdot y4\right)}\right) \]
      3. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(t \cdot \left(\color{blue}{a \cdot y5} - c \cdot y4\right)\right) \]
      4. lower-*.f6457.2

        \[\leadsto y2 \cdot \left(t \cdot \left(a \cdot y5 - \color{blue}{c \cdot y4}\right)\right) \]
    8. Simplified57.2%

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

    if 3.3e-164 < x < 1.4e44

    1. Initial program 38.1%

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

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

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

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

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

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

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

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(c, x \cdot y - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{x \cdot y - t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      10. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - \color{blue}{t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, \color{blue}{y5 \cdot \left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      12. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \color{blue}{\left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      13. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      15. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - \color{blue}{k \cdot y}\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      16. lower-*.f64N/A

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

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

      \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \color{blue}{\left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \color{blue}{\left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(y5 \cdot \color{blue}{\left(j \cdot t - k \cdot y\right)}\right) \]
      3. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(y5 \cdot \left(\color{blue}{j \cdot t} - k \cdot y\right)\right) \]
      4. lower-*.f6443.5

        \[\leadsto \left(-i\right) \cdot \left(y5 \cdot \left(j \cdot t - \color{blue}{k \cdot y}\right)\right) \]
    8. Simplified43.5%

      \[\leadsto \left(-i\right) \cdot \color{blue}{\left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} \]

    if 1.4e44 < x < 3.5000000000000001e113

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto y2 \cdot \left(k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) \]
      3. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) \]
      4. lower-*.f6453.2

        \[\leadsto y2 \cdot \left(k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) \]
    8. Simplified53.2%

      \[\leadsto y2 \cdot \color{blue}{\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification52.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -8.8 \cdot 10^{+73}:\\ \;\;\;\;x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - j \cdot y0\right)\\ \mathbf{elif}\;x \leq -1.2 \cdot 10^{-206}:\\ \;\;\;\;y3 \cdot \left(c \cdot y4 - \mathsf{fma}\left(y1, \mathsf{fma}\left(z, -a, j \cdot y4\right), c \cdot \left(z \cdot y0\right)\right)\right)\\ \mathbf{elif}\;x \leq 6.8 \cdot 10^{-279}:\\ \;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;x \leq 3.3 \cdot 10^{-164}:\\ \;\;\;\;y3 \cdot \left(c \cdot y4 - \mathsf{fma}\left(y1, \mathsf{fma}\left(z, -a, j \cdot y4\right), c \cdot \left(z \cdot y0\right)\right)\right)\\ \mathbf{elif}\;x \leq 1.4 \cdot 10^{+44}:\\ \;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\\ \mathbf{elif}\;x \leq 3.5 \cdot 10^{+113}:\\ \;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - j \cdot y0\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 10: 35.6% accurate, 2.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - j \cdot y0\right)\\ \mathbf{if}\;x \leq -8.8 \cdot 10^{+73}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;x \leq -1.2 \cdot 10^{-206}:\\ \;\;\;\;y3 \cdot \left(c \cdot y4 - \mathsf{fma}\left(y1, \mathsf{fma}\left(z, -a, j \cdot y4\right), c \cdot \left(z \cdot y0\right)\right)\right)\\ \mathbf{elif}\;x \leq 5.8 \cdot 10^{-279}:\\ \;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;x \leq 1.3 \cdot 10^{+71}:\\ \;\;\;\;\left(-i\right) \cdot \mathsf{fma}\left(y5, t \cdot j - y \cdot k, y1 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;x \leq 3.5 \cdot 10^{+113}:\\ \;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\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 (* x (- (fma (- (* c y0) (* a y1)) y2 (* a b)) (* j y0)))))
   (if (<= x -8.8e+73)
     t_1
     (if (<= x -1.2e-206)
       (* y3 (- (* c y4) (fma y1 (fma z (- a) (* j y4)) (* c (* z y0)))))
       (if (<= x 5.8e-279)
         (* y2 (* t (- (* a y5) (* c y4))))
         (if (<= x 1.3e+71)
           (* (- i) (fma y5 (- (* t j) (* y k)) (* y1 (- (* z k) (* x j)))))
           (if (<= x 3.5e+113) (* y2 (* k (- (* y1 y4) (* y0 y5)))) t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = x * (fma(((c * y0) - (a * y1)), y2, (a * b)) - (j * y0));
	double tmp;
	if (x <= -8.8e+73) {
		tmp = t_1;
	} else if (x <= -1.2e-206) {
		tmp = y3 * ((c * y4) - fma(y1, fma(z, -a, (j * y4)), (c * (z * y0))));
	} else if (x <= 5.8e-279) {
		tmp = y2 * (t * ((a * y5) - (c * y4)));
	} else if (x <= 1.3e+71) {
		tmp = -i * fma(y5, ((t * j) - (y * k)), (y1 * ((z * k) - (x * j))));
	} else if (x <= 3.5e+113) {
		tmp = y2 * (k * ((y1 * y4) - (y0 * y5)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(x * Float64(fma(Float64(Float64(c * y0) - Float64(a * y1)), y2, Float64(a * b)) - Float64(j * y0)))
	tmp = 0.0
	if (x <= -8.8e+73)
		tmp = t_1;
	elseif (x <= -1.2e-206)
		tmp = Float64(y3 * Float64(Float64(c * y4) - fma(y1, fma(z, Float64(-a), Float64(j * y4)), Float64(c * Float64(z * y0)))));
	elseif (x <= 5.8e-279)
		tmp = Float64(y2 * Float64(t * Float64(Float64(a * y5) - Float64(c * y4))));
	elseif (x <= 1.3e+71)
		tmp = Float64(Float64(-i) * fma(y5, Float64(Float64(t * j) - Float64(y * k)), Float64(y1 * Float64(Float64(z * k) - Float64(x * j)))));
	elseif (x <= 3.5e+113)
		tmp = Float64(y2 * Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))));
	else
		tmp = t_1;
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(N[(N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * y2 + N[(a * b), $MachinePrecision]), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -8.8e+73], t$95$1, If[LessEqual[x, -1.2e-206], N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(y1 * N[(z * (-a) + N[(j * y4), $MachinePrecision]), $MachinePrecision] + N[(c * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 5.8e-279], N[(y2 * N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.3e+71], N[((-i) * N[(y5 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3.5e+113], N[(y2 * N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - j \cdot y0\right)\\
\mathbf{if}\;x \leq -8.8 \cdot 10^{+73}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;x \leq -1.2 \cdot 10^{-206}:\\
\;\;\;\;y3 \cdot \left(c \cdot y4 - \mathsf{fma}\left(y1, \mathsf{fma}\left(z, -a, j \cdot y4\right), c \cdot \left(z \cdot y0\right)\right)\right)\\

\mathbf{elif}\;x \leq 5.8 \cdot 10^{-279}:\\
\;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\

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

\mathbf{elif}\;x \leq 3.5 \cdot 10^{+113}:\\
\;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if x < -8.8e73 or 3.5000000000000001e113 < x

    1. Initial program 19.7%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{j \cdot y0}\right) \]
    7. Step-by-step derivation
      1. lower-*.f6462.8

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

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

    if -8.8e73 < x < -1.2e-206

    1. Initial program 39.8%

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

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

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

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

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

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

      \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\color{blue}{\left(j \cdot \left(y1 \cdot y4\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} - c \cdot y4\right) \]
    7. Step-by-step derivation
      1. +-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\color{blue}{\left(z \cdot \left(c \cdot y0 - a \cdot y1\right) + j \cdot \left(y1 \cdot y4\right)\right)} - c \cdot y4\right) \]
      2. sub-negN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(z \cdot \color{blue}{\left(c \cdot y0 + \left(\mathsf{neg}\left(a \cdot y1\right)\right)\right)} + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      3. distribute-rgt-inN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\color{blue}{\left(\left(c \cdot y0\right) \cdot z + \left(\mathsf{neg}\left(a \cdot y1\right)\right) \cdot z\right)} + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      4. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(\color{blue}{c \cdot \left(y0 \cdot z\right)} + \left(\mathsf{neg}\left(a \cdot y1\right)\right) \cdot z\right) + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      5. distribute-lft-neg-inN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \color{blue}{\left(\left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)} \cdot z\right) + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      6. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \left(\color{blue}{\left(-1 \cdot a\right)} \cdot y1\right) \cdot z\right) + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      7. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \color{blue}{\left(-1 \cdot a\right) \cdot \left(y1 \cdot z\right)}\right) + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      8. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \left(-1 \cdot a\right) \cdot \color{blue}{\left(z \cdot y1\right)}\right) + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      9. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \color{blue}{\left(\left(-1 \cdot a\right) \cdot z\right) \cdot y1}\right) + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      10. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \color{blue}{\left(-1 \cdot \left(a \cdot z\right)\right)} \cdot y1\right) + j \cdot \left(y1 \cdot y4\right)\right) - c \cdot y4\right) \]
      11. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \left(-1 \cdot \left(a \cdot z\right)\right) \cdot y1\right) + j \cdot \color{blue}{\left(y4 \cdot y1\right)}\right) - c \cdot y4\right) \]
      12. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(\left(c \cdot \left(y0 \cdot z\right) + \left(-1 \cdot \left(a \cdot z\right)\right) \cdot y1\right) + \color{blue}{\left(j \cdot y4\right) \cdot y1}\right) - c \cdot y4\right) \]
      13. associate-+r+N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\color{blue}{\left(c \cdot \left(y0 \cdot z\right) + \left(\left(-1 \cdot \left(a \cdot z\right)\right) \cdot y1 + \left(j \cdot y4\right) \cdot y1\right)\right)} - c \cdot y4\right) \]
      14. distribute-rgt-inN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(c \cdot \left(y0 \cdot z\right) + \color{blue}{y1 \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right)}\right) - c \cdot y4\right) \]
      15. +-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\color{blue}{\left(y1 \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right) + c \cdot \left(y0 \cdot z\right)\right)} - c \cdot y4\right) \]
      16. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(y1, -1 \cdot \left(a \cdot z\right) + j \cdot y4, c \cdot \left(y0 \cdot z\right)\right)} - c \cdot y4\right) \]
    8. Simplified42.6%

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

    if -1.2e-206 < x < 5.8e-279

    1. Initial program 19.3%

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

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.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. lower--.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto y2 \cdot \left(t \cdot \color{blue}{\left(a \cdot y5 - c \cdot y4\right)}\right) \]
      3. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(t \cdot \left(\color{blue}{a \cdot y5} - c \cdot y4\right)\right) \]
      4. lower-*.f6457.2

        \[\leadsto y2 \cdot \left(t \cdot \left(a \cdot y5 - \color{blue}{c \cdot y4}\right)\right) \]
    8. Simplified57.2%

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

    if 5.8e-279 < x < 1.29999999999999996e71

    1. Initial program 35.1%

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

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

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

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

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

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

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

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(c, x \cdot y - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{x \cdot y - t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      10. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - \color{blue}{t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, \color{blue}{y5 \cdot \left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      12. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \color{blue}{\left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      13. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      15. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - \color{blue}{k \cdot y}\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      16. lower-*.f64N/A

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

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

      \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \color{blue}{\left(y5 \cdot \left(j \cdot t - k \cdot y\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. sub-negN/A

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

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \color{blue}{\mathsf{fma}\left(y5, j \cdot t - k \cdot y, \mathsf{neg}\left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
      3. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \mathsf{fma}\left(y5, \color{blue}{j \cdot t - k \cdot y}, \mathsf{neg}\left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \]
      4. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \mathsf{fma}\left(y5, \color{blue}{j \cdot t} - k \cdot y, \mathsf{neg}\left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \]
      5. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \mathsf{fma}\left(y5, j \cdot t - \color{blue}{k \cdot y}, \mathsf{neg}\left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \]
      6. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \mathsf{fma}\left(y5, j \cdot t - k \cdot y, \color{blue}{-1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)}\right) \]
      7. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \mathsf{fma}\left(y5, j \cdot t - k \cdot y, \color{blue}{\left(-1 \cdot y1\right) \cdot \left(j \cdot x - k \cdot z\right)}\right) \]
      8. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \mathsf{fma}\left(y5, j \cdot t - k \cdot y, \color{blue}{\left(-1 \cdot y1\right) \cdot \left(j \cdot x - k \cdot z\right)}\right) \]
      9. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \mathsf{fma}\left(y5, j \cdot t - k \cdot y, \color{blue}{\left(\mathsf{neg}\left(y1\right)\right)} \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      10. lower-neg.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \mathsf{fma}\left(y5, j \cdot t - k \cdot y, \color{blue}{\left(\mathsf{neg}\left(y1\right)\right)} \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      11. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \mathsf{fma}\left(y5, j \cdot t - k \cdot y, \left(\mathsf{neg}\left(y1\right)\right) \cdot \color{blue}{\left(j \cdot x - k \cdot z\right)}\right) \]
      12. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \mathsf{fma}\left(y5, j \cdot t - k \cdot y, \left(\mathsf{neg}\left(y1\right)\right) \cdot \left(\color{blue}{j \cdot x} - k \cdot z\right)\right) \]
      13. lower-*.f6443.8

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

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

    if 1.29999999999999996e71 < x < 3.5000000000000001e113

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto y2 \cdot \left(k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) \]
      3. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) \]
      4. lower-*.f6454.6

        \[\leadsto y2 \cdot \left(k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) \]
    8. Simplified54.6%

      \[\leadsto y2 \cdot \color{blue}{\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification51.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -8.8 \cdot 10^{+73}:\\ \;\;\;\;x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - j \cdot y0\right)\\ \mathbf{elif}\;x \leq -1.2 \cdot 10^{-206}:\\ \;\;\;\;y3 \cdot \left(c \cdot y4 - \mathsf{fma}\left(y1, \mathsf{fma}\left(z, -a, j \cdot y4\right), c \cdot \left(z \cdot y0\right)\right)\right)\\ \mathbf{elif}\;x \leq 5.8 \cdot 10^{-279}:\\ \;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;x \leq 1.3 \cdot 10^{+71}:\\ \;\;\;\;\left(-i\right) \cdot \mathsf{fma}\left(y5, t \cdot j - y \cdot k, y1 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;x \leq 3.5 \cdot 10^{+113}:\\ \;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - j \cdot y0\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 11: 39.3% accurate, 2.9× speedup?

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

\\
\begin{array}{l}
t_1 := c \cdot y0 - a \cdot y1\\
t_2 := \mathsf{fma}\left(t\_1, y2, a \cdot b\right)\\
\mathbf{if}\;x \leq -6 \cdot 10^{+77}:\\
\;\;\;\;x \cdot \left(t\_2 - j \cdot y0\right)\\

\mathbf{elif}\;x \leq 5 \cdot 10^{+32}:\\
\;\;\;\;y3 \cdot \left(c \cdot y4 - \mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, t\_1, j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right)\right)\\

\mathbf{else}:\\
\;\;\;\;x \cdot \left(t\_2 - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if x < -5.9999999999999996e77

    1. Initial program 15.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(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{j \cdot y0}\right) \]
    7. Step-by-step derivation
      1. lower-*.f6457.8

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

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

    if -5.9999999999999996e77 < x < 4.9999999999999997e32

    1. Initial program 34.2%

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

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

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

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

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

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

    if 4.9999999999999997e32 < x

    1. Initial program 29.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Alternative 12: 30.6% accurate, 3.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := i \cdot \left(t \cdot \mathsf{fma}\left(c, z, j \cdot \left(-y5\right)\right)\right)\\ \mathbf{if}\;y3 \leq -1.15 \cdot 10^{+73}:\\ \;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq -2.45 \cdot 10^{-17}:\\ \;\;\;\;y5 \cdot \left(t \cdot \mathsf{fma}\left(j, -i, a \cdot y2\right)\right)\\ \mathbf{elif}\;y3 \leq -4.3 \cdot 10^{-58}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1\right)\right)\\ \mathbf{elif}\;y3 \leq -2.1 \cdot 10^{-118}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq 8.5 \cdot 10^{-205}:\\ \;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y3 \leq 4.4 \cdot 10^{+142}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot a\right) \cdot \mathsf{fma}\left(y1, y3, t \cdot \left(-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
 (let* ((t_1 (* i (* t (fma c z (* j (- y5)))))))
   (if (<= y3 -1.15e+73)
     (* a (* y3 (fma (- y) y5 (* z y1))))
     (if (<= y3 -2.45e-17)
       (* y5 (* t (fma j (- i) (* a y2))))
       (if (<= y3 -4.3e-58)
         (* a (* x (- (* y b) y1)))
         (if (<= y3 -2.1e-118)
           t_1
           (if (<= y3 8.5e-205)
             (* y2 (* t (- (* a y5) (* c y4))))
             (if (<= y3 4.4e+142)
               t_1
               (* (* z a) (fma y1 y3 (* t (- 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 = i * (t * fma(c, z, (j * -y5)));
	double tmp;
	if (y3 <= -1.15e+73) {
		tmp = a * (y3 * fma(-y, y5, (z * y1)));
	} else if (y3 <= -2.45e-17) {
		tmp = y5 * (t * fma(j, -i, (a * y2)));
	} else if (y3 <= -4.3e-58) {
		tmp = a * (x * ((y * b) - y1));
	} else if (y3 <= -2.1e-118) {
		tmp = t_1;
	} else if (y3 <= 8.5e-205) {
		tmp = y2 * (t * ((a * y5) - (c * y4)));
	} else if (y3 <= 4.4e+142) {
		tmp = t_1;
	} else {
		tmp = (z * a) * fma(y1, y3, (t * -b));
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(i * Float64(t * fma(c, z, Float64(j * Float64(-y5)))))
	tmp = 0.0
	if (y3 <= -1.15e+73)
		tmp = Float64(a * Float64(y3 * fma(Float64(-y), y5, Float64(z * y1))));
	elseif (y3 <= -2.45e-17)
		tmp = Float64(y5 * Float64(t * fma(j, Float64(-i), Float64(a * y2))));
	elseif (y3 <= -4.3e-58)
		tmp = Float64(a * Float64(x * Float64(Float64(y * b) - y1)));
	elseif (y3 <= -2.1e-118)
		tmp = t_1;
	elseif (y3 <= 8.5e-205)
		tmp = Float64(y2 * Float64(t * Float64(Float64(a * y5) - Float64(c * y4))));
	elseif (y3 <= 4.4e+142)
		tmp = t_1;
	else
		tmp = Float64(Float64(z * a) * fma(y1, y3, Float64(t * 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[(i * N[(t * N[(c * z + N[(j * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -1.15e+73], N[(a * N[(y3 * N[((-y) * y5 + N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -2.45e-17], N[(y5 * N[(t * N[(j * (-i) + N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -4.3e-58], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -2.1e-118], t$95$1, If[LessEqual[y3, 8.5e-205], N[(y2 * N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 4.4e+142], t$95$1, N[(N[(z * a), $MachinePrecision] * N[(y1 * y3 + N[(t * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := i \cdot \left(t \cdot \mathsf{fma}\left(c, z, j \cdot \left(-y5\right)\right)\right)\\
\mathbf{if}\;y3 \leq -1.15 \cdot 10^{+73}:\\
\;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\

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

\mathbf{elif}\;y3 \leq -4.3 \cdot 10^{-58}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1\right)\right)\\

\mathbf{elif}\;y3 \leq -2.1 \cdot 10^{-118}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y3 \leq 8.5 \cdot 10^{-205}:\\
\;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\

\mathbf{elif}\;y3 \leq 4.4 \cdot 10^{+142}:\\
\;\;\;\;t\_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if y3 < -1.15e73

    1. Initial program 20.0%

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

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

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

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

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

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

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

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

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

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

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

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

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

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

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

        \[\leadsto a \cdot \left(y3 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y\right)}, y5, y1 \cdot z\right)\right) \]
      6. lower-*.f6450.0

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

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

    if -1.15e73 < y3 < -2.45000000000000006e-17

    1. Initial program 26.3%

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

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

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

        \[\leadsto \color{blue}{\left(-1 \cdot t\right) \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      3. neg-mul-1N/A

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

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      5. associate--l+N/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right)} \]
      6. mul-1-negN/A

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

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot j}\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      8. distribute-lft-neg-inN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(b \cdot y4 - i \cdot y5\right)\right)\right) \cdot j} + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      9. mul-1-negN/A

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

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot \left(b \cdot y4 - i \cdot y5\right), j, z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    5. Simplified42.3%

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

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

        \[\leadsto t \cdot \color{blue}{\left(\left(-1 \cdot \left(i \cdot j\right) + a \cdot y2\right) \cdot y5\right)} \]
      2. associate-*r*N/A

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

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

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

        \[\leadsto \left(t \cdot \left(\color{blue}{\left(\mathsf{neg}\left(i \cdot j\right)\right)} + a \cdot y2\right)\right) \cdot y5 \]
      6. *-commutativeN/A

        \[\leadsto \left(t \cdot \left(\left(\mathsf{neg}\left(\color{blue}{j \cdot i}\right)\right) + a \cdot y2\right)\right) \cdot y5 \]
      7. distribute-rgt-neg-inN/A

        \[\leadsto \left(t \cdot \left(\color{blue}{j \cdot \left(\mathsf{neg}\left(i\right)\right)} + a \cdot y2\right)\right) \cdot y5 \]
      8. mul-1-negN/A

        \[\leadsto \left(t \cdot \left(j \cdot \color{blue}{\left(-1 \cdot i\right)} + a \cdot y2\right)\right) \cdot y5 \]
      9. lower-fma.f64N/A

        \[\leadsto \left(t \cdot \color{blue}{\mathsf{fma}\left(j, -1 \cdot i, a \cdot y2\right)}\right) \cdot y5 \]
      10. mul-1-negN/A

        \[\leadsto \left(t \cdot \mathsf{fma}\left(j, \color{blue}{\mathsf{neg}\left(i\right)}, a \cdot y2\right)\right) \cdot y5 \]
      11. lower-neg.f64N/A

        \[\leadsto \left(t \cdot \mathsf{fma}\left(j, \color{blue}{\mathsf{neg}\left(i\right)}, a \cdot y2\right)\right) \cdot y5 \]
      12. *-commutativeN/A

        \[\leadsto \left(t \cdot \mathsf{fma}\left(j, \mathsf{neg}\left(i\right), \color{blue}{y2 \cdot a}\right)\right) \cdot y5 \]
      13. lower-*.f6474.1

        \[\leadsto \left(t \cdot \mathsf{fma}\left(j, -i, \color{blue}{y2 \cdot a}\right)\right) \cdot y5 \]
    8. Simplified74.1%

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

    if -2.45000000000000006e-17 < y3 < -4.2999999999999999e-58

    1. Initial program 40.0%

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

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

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

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

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

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

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

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

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

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

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

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

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

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

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

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1\right)}\right) \]
      5. lower--.f64N/A

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1\right)}\right) \]
      6. lower-*.f6470.8

        \[\leadsto a \cdot \left(x \cdot \left(\color{blue}{b \cdot y} - y1\right)\right) \]
    8. Simplified70.8%

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

    if -4.2999999999999999e-58 < y3 < -2.1e-118 or 8.5000000000000005e-205 < y3 < 4.39999999999999974e142

    1. Initial program 33.2%

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

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

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

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

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

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

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

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(c, x \cdot y - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{x \cdot y - t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      10. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - \color{blue}{t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, \color{blue}{y5 \cdot \left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      12. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \color{blue}{\left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      13. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      15. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - \color{blue}{k \cdot y}\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      16. lower-*.f64N/A

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

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

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

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

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

        \[\leadsto i \cdot \left(t \cdot \color{blue}{\left(c \cdot z + -1 \cdot \left(j \cdot y5\right)\right)}\right) \]
      4. lower-fma.f64N/A

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

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

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

        \[\leadsto i \cdot \left(t \cdot \mathsf{fma}\left(c, z, \color{blue}{\left(\mathsf{neg}\left(j\right)\right)} \cdot y5\right)\right) \]
      8. lower-neg.f6443.2

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

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

    if -2.1e-118 < y3 < 8.5000000000000005e-205

    1. Initial program 35.7%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto y2 \cdot \left(t \cdot \color{blue}{\left(a \cdot y5 - c \cdot y4\right)}\right) \]
      3. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(t \cdot \left(\color{blue}{a \cdot y5} - c \cdot y4\right)\right) \]
      4. lower-*.f6446.1

        \[\leadsto y2 \cdot \left(t \cdot \left(a \cdot y5 - \color{blue}{c \cdot y4}\right)\right) \]
    8. Simplified46.1%

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

    if 4.39999999999999974e142 < y3

    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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

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

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

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

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

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

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -1.15 \cdot 10^{+73}:\\ \;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq -2.45 \cdot 10^{-17}:\\ \;\;\;\;y5 \cdot \left(t \cdot \mathsf{fma}\left(j, -i, a \cdot y2\right)\right)\\ \mathbf{elif}\;y3 \leq -4.3 \cdot 10^{-58}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1\right)\right)\\ \mathbf{elif}\;y3 \leq -2.1 \cdot 10^{-118}:\\ \;\;\;\;i \cdot \left(t \cdot \mathsf{fma}\left(c, z, j \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;y3 \leq 8.5 \cdot 10^{-205}:\\ \;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y3 \leq 4.4 \cdot 10^{+142}:\\ \;\;\;\;i \cdot \left(t \cdot \mathsf{fma}\left(c, z, j \cdot \left(-y5\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot a\right) \cdot \mathsf{fma}\left(y1, y3, t \cdot \left(-b\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 13: 31.8% accurate, 3.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\ \mathbf{if}\;t \leq -6.8 \cdot 10^{+24}:\\ \;\;\;\;i \cdot \left(t \cdot \mathsf{fma}\left(c, z, j \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;t \leq -4.5 \cdot 10^{-97}:\\ \;\;\;\;k \cdot \left(z \cdot \mathsf{fma}\left(-i, y1, b \cdot y0\right)\right)\\ \mathbf{elif}\;t \leq -3.2 \cdot 10^{-258}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq 9.5 \cdot 10^{-259}:\\ \;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq 2.25 \cdot 10^{+42}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq 2.4 \cdot 10^{+176}:\\ \;\;\;\;y3 \cdot \left(c \cdot \left(y4 - z \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* a (* y3 (fma (- y) y5 (* z y1))))))
   (if (<= t -6.8e+24)
     (* i (* t (fma c z (* j (- y5)))))
     (if (<= t -4.5e-97)
       (* k (* z (fma (- i) y1 (* b y0))))
       (if (<= t -3.2e-258)
         t_1
         (if (<= t 9.5e-259)
           (* y2 (* k (- (* y1 y4) (* y0 y5))))
           (if (<= t 2.25e+42)
             t_1
             (if (<= t 2.4e+176)
               (* y3 (* c (- y4 (* z y0))))
               (* a (* t (- (* y2 y5) z)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (y3 * fma(-y, y5, (z * y1)));
	double tmp;
	if (t <= -6.8e+24) {
		tmp = i * (t * fma(c, z, (j * -y5)));
	} else if (t <= -4.5e-97) {
		tmp = k * (z * fma(-i, y1, (b * y0)));
	} else if (t <= -3.2e-258) {
		tmp = t_1;
	} else if (t <= 9.5e-259) {
		tmp = y2 * (k * ((y1 * y4) - (y0 * y5)));
	} else if (t <= 2.25e+42) {
		tmp = t_1;
	} else if (t <= 2.4e+176) {
		tmp = y3 * (c * (y4 - (z * y0)));
	} else {
		tmp = a * (t * ((y2 * y5) - z));
	}
	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 * fma(Float64(-y), y5, Float64(z * y1))))
	tmp = 0.0
	if (t <= -6.8e+24)
		tmp = Float64(i * Float64(t * fma(c, z, Float64(j * Float64(-y5)))));
	elseif (t <= -4.5e-97)
		tmp = Float64(k * Float64(z * fma(Float64(-i), y1, Float64(b * y0))));
	elseif (t <= -3.2e-258)
		tmp = t_1;
	elseif (t <= 9.5e-259)
		tmp = Float64(y2 * Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))));
	elseif (t <= 2.25e+42)
		tmp = t_1;
	elseif (t <= 2.4e+176)
		tmp = Float64(y3 * Float64(c * Float64(y4 - Float64(z * y0))));
	else
		tmp = Float64(a * Float64(t * Float64(Float64(y2 * y5) - z)));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(y3 * N[((-y) * y5 + N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -6.8e+24], N[(i * N[(t * N[(c * z + N[(j * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -4.5e-97], N[(k * N[(z * N[((-i) * y1 + N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -3.2e-258], t$95$1, If[LessEqual[t, 9.5e-259], N[(y2 * N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.25e+42], t$95$1, If[LessEqual[t, 2.4e+176], N[(y3 * N[(c * N[(y4 - N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\
\mathbf{if}\;t \leq -6.8 \cdot 10^{+24}:\\
\;\;\;\;i \cdot \left(t \cdot \mathsf{fma}\left(c, z, j \cdot \left(-y5\right)\right)\right)\\

\mathbf{elif}\;t \leq -4.5 \cdot 10^{-97}:\\
\;\;\;\;k \cdot \left(z \cdot \mathsf{fma}\left(-i, y1, b \cdot y0\right)\right)\\

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

\mathbf{elif}\;t \leq 9.5 \cdot 10^{-259}:\\
\;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\

\mathbf{elif}\;t \leq 2.25 \cdot 10^{+42}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t \leq 2.4 \cdot 10^{+176}:\\
\;\;\;\;y3 \cdot \left(c \cdot \left(y4 - z \cdot y0\right)\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if t < -6.8000000000000001e24

    1. Initial program 18.7%

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

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

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

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

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

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

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

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(c, x \cdot y - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{x \cdot y - t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      10. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - \color{blue}{t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, \color{blue}{y5 \cdot \left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      12. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \color{blue}{\left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      13. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      15. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - \color{blue}{k \cdot y}\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      16. lower-*.f64N/A

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

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

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

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

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

        \[\leadsto i \cdot \left(t \cdot \color{blue}{\left(c \cdot z + -1 \cdot \left(j \cdot y5\right)\right)}\right) \]
      4. lower-fma.f64N/A

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

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

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

        \[\leadsto i \cdot \left(t \cdot \mathsf{fma}\left(c, z, \color{blue}{\left(\mathsf{neg}\left(j\right)\right)} \cdot y5\right)\right) \]
      8. lower-neg.f6448.0

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

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

    if -6.8000000000000001e24 < t < -4.5000000000000001e-97

    1. Initial program 28.9%

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4 - y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4} - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - \color{blue}{y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      13. lower-*.f64N/A

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

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

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

      \[\leadsto \color{blue}{\left(-k\right) \cdot \left(\mathsf{fma}\left(-y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\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. lower-*.f64N/A

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

        \[\leadsto k \cdot \color{blue}{\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
      3. sub-negN/A

        \[\leadsto k \cdot \left(z \cdot \color{blue}{\left(b \cdot y0 + \left(\mathsf{neg}\left(i \cdot y1\right)\right)\right)}\right) \]
      4. +-commutativeN/A

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

        \[\leadsto k \cdot \left(z \cdot \left(\color{blue}{-1 \cdot \left(i \cdot y1\right)} + b \cdot y0\right)\right) \]
      6. associate-*r*N/A

        \[\leadsto k \cdot \left(z \cdot \left(\color{blue}{\left(-1 \cdot i\right) \cdot y1} + b \cdot y0\right)\right) \]
      7. lower-fma.f64N/A

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

        \[\leadsto k \cdot \left(z \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(i\right)}, y1, b \cdot y0\right)\right) \]
      9. lower-neg.f64N/A

        \[\leadsto k \cdot \left(z \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(i\right)}, y1, b \cdot y0\right)\right) \]
      10. lower-*.f6444.3

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

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

    if -4.5000000000000001e-97 < t < -3.2000000000000002e-258 or 9.4999999999999995e-259 < t < 2.25000000000000006e42

    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 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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

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

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

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

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

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

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

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

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

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

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

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

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

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

        \[\leadsto a \cdot \left(y3 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y\right)}, y5, y1 \cdot z\right)\right) \]
      6. lower-*.f6445.9

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

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

    if -3.2000000000000002e-258 < t < 9.4999999999999995e-259

    1. Initial program 46.0%

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

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.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. lower--.f64N/A

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

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

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

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

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

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

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - \color{blue}{t \cdot \left(c \cdot y4 - a \cdot y5\right)}\right) \]
      14. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified59.5%

      \[\leadsto \color{blue}{y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    6. Taylor expanded in k around inf

      \[\leadsto y2 \cdot \color{blue}{\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto y2 \cdot \left(k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) \]
      3. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) \]
      4. lower-*.f6450.8

        \[\leadsto y2 \cdot \left(k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) \]
    8. Simplified50.8%

      \[\leadsto y2 \cdot \color{blue}{\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} \]

    if 2.25000000000000006e42 < t < 2.4000000000000001e176

    1. Initial program 18.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
    5. Simplified52.3%

      \[\leadsto \color{blue}{\left(-y3\right) \cdot \left(\mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, c \cdot y0 - a \cdot y1, j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right) - c \cdot y4\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(c \cdot \left(y0 \cdot z - y4\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(c \cdot \left(y0 \cdot z - y4\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(c \cdot \color{blue}{\left(y0 \cdot z - y4\right)}\right) \]
      3. lower-*.f6441.8

        \[\leadsto \left(-y3\right) \cdot \left(c \cdot \left(\color{blue}{y0 \cdot z} - y4\right)\right) \]
    8. Simplified41.8%

      \[\leadsto \left(-y3\right) \cdot \color{blue}{\left(c \cdot \left(y0 \cdot z - y4\right)\right)} \]

    if 2.4000000000000001e176 < t

    1. Initial program 37.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(t \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot t\right) \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot t\right) \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      5. associate--l+N/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right)} \]
      6. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      7. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot j}\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      8. distribute-lft-neg-inN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(b \cdot y4 - i \cdot y5\right)\right)\right) \cdot j} + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(-1 \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \cdot j + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      10. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot \left(b \cdot y4 - i \cdot y5\right), j, z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    5. Simplified70.8%

      \[\leadsto \color{blue}{\left(-t\right) \cdot \mathsf{fma}\left(-\left(b \cdot y4 - i \cdot y5\right), j, \mathsf{fma}\left(z, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    6. Taylor expanded in a around inf

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)\right)} \]
      2. lower-neg.f64N/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)\right)} \]
      3. lower-*.f64N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)}\right) \]
      4. lower-*.f64N/A

        \[\leadsto \mathsf{neg}\left(a \cdot \color{blue}{\left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)}\right) \]
      5. mul-1-negN/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \left(z + \color{blue}{\left(\mathsf{neg}\left(y2 \cdot y5\right)\right)}\right)\right)\right) \]
      6. unsub-negN/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \color{blue}{\left(z - y2 \cdot y5\right)}\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \color{blue}{\left(z - y2 \cdot y5\right)}\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \left(z - \color{blue}{y5 \cdot y2}\right)\right)\right) \]
      9. lower-*.f6459.0

        \[\leadsto -a \cdot \left(t \cdot \left(z - \color{blue}{y5 \cdot y2}\right)\right) \]
    8. Simplified59.0%

      \[\leadsto \color{blue}{-a \cdot \left(t \cdot \left(z - y5 \cdot y2\right)\right)} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification47.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -6.8 \cdot 10^{+24}:\\ \;\;\;\;i \cdot \left(t \cdot \mathsf{fma}\left(c, z, j \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;t \leq -4.5 \cdot 10^{-97}:\\ \;\;\;\;k \cdot \left(z \cdot \mathsf{fma}\left(-i, y1, b \cdot y0\right)\right)\\ \mathbf{elif}\;t \leq -3.2 \cdot 10^{-258}:\\ \;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\ \mathbf{elif}\;t \leq 9.5 \cdot 10^{-259}:\\ \;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq 2.25 \cdot 10^{+42}:\\ \;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\ \mathbf{elif}\;t \leq 2.4 \cdot 10^{+176}:\\ \;\;\;\;y3 \cdot \left(c \cdot \left(y4 - z \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 14: 28.1% accurate, 3.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y3 \leq -3.2 \cdot 10^{+97}:\\ \;\;\;\;c \cdot \left(y3 \cdot \mathsf{fma}\left(y0, -z, y4\right)\right)\\ \mathbf{elif}\;y3 \leq -380:\\ \;\;\;\;x \cdot \left(a \cdot \left(b - y1 \cdot y2\right)\right)\\ \mathbf{elif}\;y3 \leq -8 \cdot 10^{-112}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1\right)\right)\\ \mathbf{elif}\;y3 \leq 4.3 \cdot 10^{-305}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(j - c \cdot y2\right)\right)\\ \mathbf{elif}\;y3 \leq 2.5 \cdot 10^{-214}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\ \mathbf{elif}\;y3 \leq 8.5 \cdot 10^{+54}:\\ \;\;\;\;y2 \cdot \left(c \cdot \left(x - t \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y1 \cdot \left(y3 \cdot \left(z - j \cdot y4\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (if (<= y3 -3.2e+97)
   (* c (* y3 (fma y0 (- z) y4)))
   (if (<= y3 -380.0)
     (* x (* a (- b (* y1 y2))))
     (if (<= y3 -8e-112)
       (* a (* x (- (* y b) y1)))
       (if (<= y3 4.3e-305)
         (* t (* y4 (- j (* c y2))))
         (if (<= y3 2.5e-214)
           (* a (* t (- y5 (* z b))))
           (if (<= y3 8.5e+54)
             (* y2 (* c (- x (* t y4))))
             (* y1 (* y3 (- z (* j y4)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (y3 <= -3.2e+97) {
		tmp = c * (y3 * fma(y0, -z, y4));
	} else if (y3 <= -380.0) {
		tmp = x * (a * (b - (y1 * y2)));
	} else if (y3 <= -8e-112) {
		tmp = a * (x * ((y * b) - y1));
	} else if (y3 <= 4.3e-305) {
		tmp = t * (y4 * (j - (c * y2)));
	} else if (y3 <= 2.5e-214) {
		tmp = a * (t * (y5 - (z * b)));
	} else if (y3 <= 8.5e+54) {
		tmp = y2 * (c * (x - (t * y4)));
	} else {
		tmp = y1 * (y3 * (z - (j * y4)));
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (y3 <= -3.2e+97)
		tmp = Float64(c * Float64(y3 * fma(y0, Float64(-z), y4)));
	elseif (y3 <= -380.0)
		tmp = Float64(x * Float64(a * Float64(b - Float64(y1 * y2))));
	elseif (y3 <= -8e-112)
		tmp = Float64(a * Float64(x * Float64(Float64(y * b) - y1)));
	elseif (y3 <= 4.3e-305)
		tmp = Float64(t * Float64(y4 * Float64(j - Float64(c * y2))));
	elseif (y3 <= 2.5e-214)
		tmp = Float64(a * Float64(t * Float64(y5 - Float64(z * b))));
	elseif (y3 <= 8.5e+54)
		tmp = Float64(y2 * Float64(c * Float64(x - Float64(t * y4))));
	else
		tmp = Float64(y1 * Float64(y3 * Float64(z - Float64(j * y4))));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y3, -3.2e+97], N[(c * N[(y3 * N[(y0 * (-z) + y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -380.0], N[(x * N[(a * N[(b - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -8e-112], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 4.3e-305], N[(t * N[(y4 * N[(j - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.5e-214], N[(a * N[(t * N[(y5 - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 8.5e+54], N[(y2 * N[(c * N[(x - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y3 * N[(z - N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y3 \leq -3.2 \cdot 10^{+97}:\\
\;\;\;\;c \cdot \left(y3 \cdot \mathsf{fma}\left(y0, -z, y4\right)\right)\\

\mathbf{elif}\;y3 \leq -380:\\
\;\;\;\;x \cdot \left(a \cdot \left(b - y1 \cdot y2\right)\right)\\

\mathbf{elif}\;y3 \leq -8 \cdot 10^{-112}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1\right)\right)\\

\mathbf{elif}\;y3 \leq 4.3 \cdot 10^{-305}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(j - c \cdot y2\right)\right)\\

\mathbf{elif}\;y3 \leq 2.5 \cdot 10^{-214}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\

\mathbf{elif}\;y3 \leq 8.5 \cdot 10^{+54}:\\
\;\;\;\;y2 \cdot \left(c \cdot \left(x - t \cdot y4\right)\right)\\

\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y3 \cdot \left(z - j \cdot y4\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if y3 < -3.20000000000000016e97

    1. Initial program 22.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
    5. Simplified60.6%

      \[\leadsto \color{blue}{\left(-y3\right) \cdot \left(\mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, c \cdot y0 - a \cdot y1, j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right) - c \cdot y4\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(y3 \cdot \left(y0 \cdot z - y4\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(c \cdot \left(y3 \cdot \left(y0 \cdot z - y4\right)\right)\right)} \]
      2. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(c \cdot y3\right) \cdot \left(y0 \cdot z - y4\right)}\right) \]
      3. distribute-rgt-neg-inN/A

        \[\leadsto \color{blue}{\left(c \cdot y3\right) \cdot \left(\mathsf{neg}\left(\left(y0 \cdot z - y4\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto \left(c \cdot y3\right) \cdot \color{blue}{\left(-1 \cdot \left(y0 \cdot z - y4\right)\right)} \]
      5. distribute-lft-out--N/A

        \[\leadsto \left(c \cdot y3\right) \cdot \color{blue}{\left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right)} \]
      6. associate-*r*N/A

        \[\leadsto \color{blue}{c \cdot \left(y3 \cdot \left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right)\right)} \]
      7. lower-*.f64N/A

        \[\leadsto \color{blue}{c \cdot \left(y3 \cdot \left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right)\right)} \]
      8. *-commutativeN/A

        \[\leadsto c \cdot \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right) \cdot y3\right)} \]
      9. lower-*.f64N/A

        \[\leadsto c \cdot \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right) \cdot y3\right)} \]
      10. sub-negN/A

        \[\leadsto c \cdot \left(\color{blue}{\left(-1 \cdot \left(y0 \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right)} \cdot y3\right) \]
      11. mul-1-negN/A

        \[\leadsto c \cdot \left(\left(\color{blue}{\left(\mathsf{neg}\left(y0 \cdot z\right)\right)} + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right) \cdot y3\right) \]
      12. distribute-rgt-neg-inN/A

        \[\leadsto c \cdot \left(\left(\color{blue}{y0 \cdot \left(\mathsf{neg}\left(z\right)\right)} + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right) \cdot y3\right) \]
      13. mul-1-negN/A

        \[\leadsto c \cdot \left(\left(y0 \cdot \color{blue}{\left(-1 \cdot z\right)} + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right) \cdot y3\right) \]
      14. mul-1-negN/A

        \[\leadsto c \cdot \left(\left(y0 \cdot \left(-1 \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y4\right)\right)}\right)\right)\right) \cdot y3\right) \]
      15. remove-double-negN/A

        \[\leadsto c \cdot \left(\left(y0 \cdot \left(-1 \cdot z\right) + \color{blue}{y4}\right) \cdot y3\right) \]
      16. lower-fma.f64N/A

        \[\leadsto c \cdot \left(\color{blue}{\mathsf{fma}\left(y0, -1 \cdot z, y4\right)} \cdot y3\right) \]
      17. mul-1-negN/A

        \[\leadsto c \cdot \left(\mathsf{fma}\left(y0, \color{blue}{\mathsf{neg}\left(z\right)}, y4\right) \cdot y3\right) \]
      18. lower-neg.f6443.4

        \[\leadsto c \cdot \left(\mathsf{fma}\left(y0, \color{blue}{-z}, y4\right) \cdot y3\right) \]
    8. Simplified43.4%

      \[\leadsto \color{blue}{c \cdot \left(\mathsf{fma}\left(y0, -z, y4\right) \cdot y3\right)} \]

    if -3.20000000000000016e97 < y3 < -380

    1. Initial program 15.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(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6447.4

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified47.4%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in a around inf

      \[\leadsto x \cdot \color{blue}{\left(a \cdot \left(b + -1 \cdot \left(y1 \cdot y2\right)\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(a \cdot \left(b + -1 \cdot \left(y1 \cdot y2\right)\right)\right)} \]
      2. mul-1-negN/A

        \[\leadsto x \cdot \left(a \cdot \left(b + \color{blue}{\left(\mathsf{neg}\left(y1 \cdot y2\right)\right)}\right)\right) \]
      3. unsub-negN/A

        \[\leadsto x \cdot \left(a \cdot \color{blue}{\left(b - y1 \cdot y2\right)}\right) \]
      4. lower--.f64N/A

        \[\leadsto x \cdot \left(a \cdot \color{blue}{\left(b - y1 \cdot y2\right)}\right) \]
      5. lower-*.f6458.3

        \[\leadsto x \cdot \left(a \cdot \left(b - \color{blue}{y1 \cdot y2}\right)\right) \]
    8. Simplified58.3%

      \[\leadsto x \cdot \color{blue}{\left(a \cdot \left(b - y1 \cdot y2\right)\right)} \]

    if -380 < y3 < -7.9999999999999996e-112

    1. Initial program 33.7%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, x \cdot y2 - y3 \cdot z, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      5. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{x \cdot y2 - y3 \cdot z}, b \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(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)}\right)\right)\right) \]
      14. remove-double-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \color{blue}{y5 \cdot \left(t \cdot y2 - y \cdot y3\right)}\right) \]
    5. Simplified46.6%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(-y1, y2 \cdot x - z \cdot y3, \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right)\right)} \]
    6. Taylor expanded in x around inf

      \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(-1 \cdot y1 + b \cdot y\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(-1 \cdot y1 + b \cdot y\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y + -1 \cdot y1\right)}\right) \]
      3. mul-1-negN/A

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y + \color{blue}{\left(\mathsf{neg}\left(y1\right)\right)}\right)\right) \]
      4. unsub-negN/A

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1\right)}\right) \]
      5. lower--.f64N/A

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1\right)}\right) \]
      6. lower-*.f6442.5

        \[\leadsto a \cdot \left(x \cdot \left(\color{blue}{b \cdot y} - y1\right)\right) \]
    8. Simplified42.5%

      \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(b \cdot y - y1\right)\right)} \]

    if -7.9999999999999996e-112 < y3 < 4.3000000000000002e-305

    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 t around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(t \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot t\right) \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot t\right) \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      5. associate--l+N/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right)} \]
      6. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      7. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot j}\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      8. distribute-lft-neg-inN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(b \cdot y4 - i \cdot y5\right)\right)\right) \cdot j} + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(-1 \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \cdot j + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      10. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot \left(b \cdot y4 - i \cdot y5\right), j, z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    5. Simplified50.5%

      \[\leadsto \color{blue}{\left(-t\right) \cdot \mathsf{fma}\left(-\left(b \cdot y4 - i \cdot y5\right), j, \mathsf{fma}\left(z, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    6. Taylor expanded in y4 around -inf

      \[\leadsto \color{blue}{t \cdot \left(y4 \cdot \left(j + -1 \cdot \left(c \cdot y2\right)\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{t \cdot \left(y4 \cdot \left(j + -1 \cdot \left(c \cdot y2\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto t \cdot \color{blue}{\left(y4 \cdot \left(j + -1 \cdot \left(c \cdot y2\right)\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto t \cdot \left(y4 \cdot \left(j + \color{blue}{\left(\mathsf{neg}\left(c \cdot y2\right)\right)}\right)\right) \]
      4. unsub-negN/A

        \[\leadsto t \cdot \left(y4 \cdot \color{blue}{\left(j - c \cdot y2\right)}\right) \]
      5. lower--.f64N/A

        \[\leadsto t \cdot \left(y4 \cdot \color{blue}{\left(j - c \cdot y2\right)}\right) \]
      6. *-commutativeN/A

        \[\leadsto t \cdot \left(y4 \cdot \left(j - \color{blue}{y2 \cdot c}\right)\right) \]
      7. lower-*.f6441.5

        \[\leadsto t \cdot \left(y4 \cdot \left(j - \color{blue}{y2 \cdot c}\right)\right) \]
    8. Simplified41.5%

      \[\leadsto \color{blue}{t \cdot \left(y4 \cdot \left(j - y2 \cdot c\right)\right)} \]

    if 4.3000000000000002e-305 < y3 < 2.4999999999999999e-214

    1. Initial program 45.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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, x \cdot y2 - y3 \cdot z, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      5. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{x \cdot y2 - y3 \cdot z}, b \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(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)}\right)\right)\right) \]
      14. remove-double-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \color{blue}{y5 \cdot \left(t \cdot y2 - y \cdot y3\right)}\right) \]
    5. Simplified51.0%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(-y1, y2 \cdot x - z \cdot y3, \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right)\right)} \]
    6. Taylor expanded in t around inf

      \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 + -1 \cdot \left(b \cdot z\right)\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 + -1 \cdot \left(b \cdot z\right)\right)\right)} \]
      2. mul-1-negN/A

        \[\leadsto a \cdot \left(t \cdot \left(y5 + \color{blue}{\left(\mathsf{neg}\left(b \cdot z\right)\right)}\right)\right) \]
      3. unsub-negN/A

        \[\leadsto a \cdot \left(t \cdot \color{blue}{\left(y5 - b \cdot z\right)}\right) \]
      4. lower--.f64N/A

        \[\leadsto a \cdot \left(t \cdot \color{blue}{\left(y5 - b \cdot z\right)}\right) \]
      5. lower-*.f6451.2

        \[\leadsto a \cdot \left(t \cdot \left(y5 - \color{blue}{b \cdot z}\right)\right) \]
    8. Simplified51.2%

      \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 - b \cdot z\right)\right)} \]

    if 2.4999999999999999e-214 < y3 < 8.4999999999999995e54

    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 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. lower-*.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. lower--.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y2 \cdot \left(\color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto y2 \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - \color{blue}{t \cdot \left(c \cdot y4 - a \cdot y5\right)}\right) \]
      14. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified39.0%

      \[\leadsto \color{blue}{y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto y2 \cdot \left(c \cdot \color{blue}{\left(x - t \cdot y4\right)}\right) \]
      3. lower-*.f6434.3

        \[\leadsto y2 \cdot \left(c \cdot \left(x - \color{blue}{t \cdot y4}\right)\right) \]
    8. Simplified34.3%

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]

    if 8.4999999999999995e54 < y3

    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 y3 around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
    5. Simplified51.5%

      \[\leadsto \color{blue}{\left(-y3\right) \cdot \left(\mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, c \cdot y0 - a \cdot y1, j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right) - c \cdot y4\right)} \]
    6. Taylor expanded in y1 around -inf

      \[\leadsto \color{blue}{y1 \cdot \left(y3 \cdot \left(z + -1 \cdot \left(j \cdot y4\right)\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{y1 \cdot \left(y3 \cdot \left(z + -1 \cdot \left(j \cdot y4\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto y1 \cdot \color{blue}{\left(y3 \cdot \left(z + -1 \cdot \left(j \cdot y4\right)\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto y1 \cdot \left(y3 \cdot \left(z + \color{blue}{\left(\mathsf{neg}\left(j \cdot y4\right)\right)}\right)\right) \]
      4. unsub-negN/A

        \[\leadsto y1 \cdot \left(y3 \cdot \color{blue}{\left(z - j \cdot y4\right)}\right) \]
      5. lower--.f64N/A

        \[\leadsto y1 \cdot \left(y3 \cdot \color{blue}{\left(z - j \cdot y4\right)}\right) \]
      6. lower-*.f6441.9

        \[\leadsto y1 \cdot \left(y3 \cdot \left(z - \color{blue}{j \cdot y4}\right)\right) \]
    8. Simplified41.9%

      \[\leadsto \color{blue}{y1 \cdot \left(y3 \cdot \left(z - j \cdot y4\right)\right)} \]
  3. Recombined 7 regimes into one program.
  4. Final simplification42.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -3.2 \cdot 10^{+97}:\\ \;\;\;\;c \cdot \left(y3 \cdot \mathsf{fma}\left(y0, -z, y4\right)\right)\\ \mathbf{elif}\;y3 \leq -380:\\ \;\;\;\;x \cdot \left(a \cdot \left(b - y1 \cdot y2\right)\right)\\ \mathbf{elif}\;y3 \leq -8 \cdot 10^{-112}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1\right)\right)\\ \mathbf{elif}\;y3 \leq 4.3 \cdot 10^{-305}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(j - c \cdot y2\right)\right)\\ \mathbf{elif}\;y3 \leq 2.5 \cdot 10^{-214}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\ \mathbf{elif}\;y3 \leq 8.5 \cdot 10^{+54}:\\ \;\;\;\;y2 \cdot \left(c \cdot \left(x - t \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y1 \cdot \left(y3 \cdot \left(z - j \cdot y4\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 15: 32.2% accurate, 3.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\ \mathbf{if}\;t \leq -2.1 \cdot 10^{-64}:\\ \;\;\;\;i \cdot \left(t \cdot \mathsf{fma}\left(c, z, j \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;t \leq -6.5 \cdot 10^{-111}:\\ \;\;\;\;\left(i \cdot y1\right) \cdot \left(x \cdot j - z \cdot k\right)\\ \mathbf{elif}\;t \leq -3.2 \cdot 10^{-258}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq 9.5 \cdot 10^{-259}:\\ \;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq 1.05 \cdot 10^{+140}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* a (* y3 (fma (- y) y5 (* z y1))))))
   (if (<= t -2.1e-64)
     (* i (* t (fma c z (* j (- y5)))))
     (if (<= t -6.5e-111)
       (* (* i y1) (- (* x j) (* z k)))
       (if (<= t -3.2e-258)
         t_1
         (if (<= t 9.5e-259)
           (* y2 (* k (- (* y1 y4) (* y0 y5))))
           (if (<= t 1.05e+140) t_1 (* y2 (* t (- (* a y5) (* c y4)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (y3 * fma(-y, y5, (z * y1)));
	double tmp;
	if (t <= -2.1e-64) {
		tmp = i * (t * fma(c, z, (j * -y5)));
	} else if (t <= -6.5e-111) {
		tmp = (i * y1) * ((x * j) - (z * k));
	} else if (t <= -3.2e-258) {
		tmp = t_1;
	} else if (t <= 9.5e-259) {
		tmp = y2 * (k * ((y1 * y4) - (y0 * y5)));
	} else if (t <= 1.05e+140) {
		tmp = t_1;
	} else {
		tmp = y2 * (t * ((a * y5) - (c * y4)));
	}
	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 * fma(Float64(-y), y5, Float64(z * y1))))
	tmp = 0.0
	if (t <= -2.1e-64)
		tmp = Float64(i * Float64(t * fma(c, z, Float64(j * Float64(-y5)))));
	elseif (t <= -6.5e-111)
		tmp = Float64(Float64(i * y1) * Float64(Float64(x * j) - Float64(z * k)));
	elseif (t <= -3.2e-258)
		tmp = t_1;
	elseif (t <= 9.5e-259)
		tmp = Float64(y2 * Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))));
	elseif (t <= 1.05e+140)
		tmp = t_1;
	else
		tmp = Float64(y2 * Float64(t * Float64(Float64(a * y5) - Float64(c * y4))));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(y3 * N[((-y) * y5 + N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.1e-64], N[(i * N[(t * N[(c * z + N[(j * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -6.5e-111], N[(N[(i * y1), $MachinePrecision] * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -3.2e-258], t$95$1, If[LessEqual[t, 9.5e-259], N[(y2 * N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.05e+140], t$95$1, N[(y2 * N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\
\mathbf{if}\;t \leq -2.1 \cdot 10^{-64}:\\
\;\;\;\;i \cdot \left(t \cdot \mathsf{fma}\left(c, z, j \cdot \left(-y5\right)\right)\right)\\

\mathbf{elif}\;t \leq -6.5 \cdot 10^{-111}:\\
\;\;\;\;\left(i \cdot y1\right) \cdot \left(x \cdot j - z \cdot k\right)\\

\mathbf{elif}\;t \leq -3.2 \cdot 10^{-258}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t \leq 9.5 \cdot 10^{-259}:\\
\;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\

\mathbf{elif}\;t \leq 1.05 \cdot 10^{+140}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if t < -2.10000000000000011e-64

    1. Initial program 19.9%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in i around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \color{blue}{\left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      6. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(c, x \cdot y - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{x \cdot y - t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      10. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - \color{blue}{t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, \color{blue}{y5 \cdot \left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      12. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \color{blue}{\left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      13. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      15. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - \color{blue}{k \cdot y}\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      16. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - k \cdot y\right)\right) - \color{blue}{y1 \cdot \left(j \cdot x - k \cdot z\right)}\right) \]
    5. Simplified44.9%

      \[\leadsto \color{blue}{\left(-i\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - z \cdot k\right)\right)} \]
    6. Taylor expanded in t around -inf

      \[\leadsto \color{blue}{i \cdot \left(t \cdot \left(-1 \cdot \left(j \cdot y5\right) + c \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{i \cdot \left(t \cdot \left(-1 \cdot \left(j \cdot y5\right) + c \cdot z\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto i \cdot \color{blue}{\left(t \cdot \left(-1 \cdot \left(j \cdot y5\right) + c \cdot z\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto i \cdot \left(t \cdot \color{blue}{\left(c \cdot z + -1 \cdot \left(j \cdot y5\right)\right)}\right) \]
      4. lower-fma.f64N/A

        \[\leadsto i \cdot \left(t \cdot \color{blue}{\mathsf{fma}\left(c, z, -1 \cdot \left(j \cdot y5\right)\right)}\right) \]
      5. associate-*r*N/A

        \[\leadsto i \cdot \left(t \cdot \mathsf{fma}\left(c, z, \color{blue}{\left(-1 \cdot j\right) \cdot y5}\right)\right) \]
      6. lower-*.f64N/A

        \[\leadsto i \cdot \left(t \cdot \mathsf{fma}\left(c, z, \color{blue}{\left(-1 \cdot j\right) \cdot y5}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto i \cdot \left(t \cdot \mathsf{fma}\left(c, z, \color{blue}{\left(\mathsf{neg}\left(j\right)\right)} \cdot y5\right)\right) \]
      8. lower-neg.f6444.0

        \[\leadsto i \cdot \left(t \cdot \mathsf{fma}\left(c, z, \color{blue}{\left(-j\right)} \cdot y5\right)\right) \]
    8. Simplified44.0%

      \[\leadsto \color{blue}{i \cdot \left(t \cdot \mathsf{fma}\left(c, z, \left(-j\right) \cdot y5\right)\right)} \]

    if -2.10000000000000011e-64 < t < -6.49999999999999974e-111

    1. Initial program 62.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in i around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \color{blue}{\left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      6. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(c, x \cdot y - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{x \cdot y - t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      10. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - \color{blue}{t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, \color{blue}{y5 \cdot \left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      12. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \color{blue}{\left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      13. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      15. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - \color{blue}{k \cdot y}\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      16. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - k \cdot y\right)\right) - \color{blue}{y1 \cdot \left(j \cdot x - k \cdot z\right)}\right) \]
    5. Simplified74.8%

      \[\leadsto \color{blue}{\left(-i\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - z \cdot k\right)\right)} \]
    6. Taylor expanded in y1 around -inf

      \[\leadsto \color{blue}{i \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(i \cdot y1\right) \cdot \left(j \cdot x - k \cdot z\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(i \cdot y1\right) \cdot \left(j \cdot x - k \cdot z\right)} \]
      3. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(i \cdot y1\right)} \cdot \left(j \cdot x - k \cdot z\right) \]
      4. lower--.f64N/A

        \[\leadsto \left(i \cdot y1\right) \cdot \color{blue}{\left(j \cdot x - k \cdot z\right)} \]
      5. lower-*.f64N/A

        \[\leadsto \left(i \cdot y1\right) \cdot \left(\color{blue}{j \cdot x} - k \cdot z\right) \]
      6. lower-*.f6486.4

        \[\leadsto \left(i \cdot y1\right) \cdot \left(j \cdot x - \color{blue}{k \cdot z}\right) \]
    8. Simplified86.4%

      \[\leadsto \color{blue}{\left(i \cdot y1\right) \cdot \left(j \cdot x - k \cdot z\right)} \]

    if -6.49999999999999974e-111 < t < -3.2000000000000002e-258 or 9.4999999999999995e-259 < t < 1.0500000000000001e140

    1. Initial program 31.0%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, x \cdot y2 - y3 \cdot z, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      5. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{x \cdot y2 - y3 \cdot z}, b \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(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)}\right)\right)\right) \]
      14. remove-double-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \color{blue}{y5 \cdot \left(t \cdot y2 - y \cdot y3\right)}\right) \]
    5. Simplified51.0%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(-y1, y2 \cdot x - z \cdot y3, \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\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. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y \cdot y5\right) + y1 \cdot z\right)\right)} \]
      2. associate-*r*N/A

        \[\leadsto a \cdot \left(y3 \cdot \left(\color{blue}{\left(-1 \cdot y\right) \cdot y5} + y1 \cdot z\right)\right) \]
      3. lower-fma.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y, y5, y1 \cdot z\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y\right)}, y5, y1 \cdot z\right)\right) \]
      5. lower-neg.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y\right)}, y5, y1 \cdot z\right)\right) \]
      6. lower-*.f6441.7

        \[\leadsto a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, \color{blue}{y1 \cdot z}\right)\right) \]
    8. Simplified41.7%

      \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \mathsf{fma}\left(-y, y5, y1 \cdot z\right)\right)} \]

    if -3.2000000000000002e-258 < t < 9.4999999999999995e-259

    1. Initial program 46.0%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y2 around inf

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.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. lower--.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y2 \cdot \left(\color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto y2 \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - \color{blue}{t \cdot \left(c \cdot y4 - a \cdot y5\right)}\right) \]
      14. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified59.5%

      \[\leadsto \color{blue}{y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    6. Taylor expanded in k around inf

      \[\leadsto y2 \cdot \color{blue}{\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto y2 \cdot \left(k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) \]
      3. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) \]
      4. lower-*.f6450.8

        \[\leadsto y2 \cdot \left(k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) \]
    8. Simplified50.8%

      \[\leadsto y2 \cdot \color{blue}{\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} \]

    if 1.0500000000000001e140 < t

    1. Initial program 34.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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. lower-*.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. lower--.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y2 \cdot \left(\color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto y2 \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - \color{blue}{t \cdot \left(c \cdot y4 - a \cdot y5\right)}\right) \]
      14. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified37.9%

      \[\leadsto \color{blue}{y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    6. Taylor expanded in t around inf

      \[\leadsto y2 \cdot \color{blue}{\left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto y2 \cdot \left(t \cdot \color{blue}{\left(a \cdot y5 - c \cdot y4\right)}\right) \]
      3. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(t \cdot \left(\color{blue}{a \cdot y5} - c \cdot y4\right)\right) \]
      4. lower-*.f6472.4

        \[\leadsto y2 \cdot \left(t \cdot \left(a \cdot y5 - \color{blue}{c \cdot y4}\right)\right) \]
    8. Simplified72.4%

      \[\leadsto y2 \cdot \color{blue}{\left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification48.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -2.1 \cdot 10^{-64}:\\ \;\;\;\;i \cdot \left(t \cdot \mathsf{fma}\left(c, z, j \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;t \leq -6.5 \cdot 10^{-111}:\\ \;\;\;\;\left(i \cdot y1\right) \cdot \left(x \cdot j - z \cdot k\right)\\ \mathbf{elif}\;t \leq -3.2 \cdot 10^{-258}:\\ \;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\ \mathbf{elif}\;t \leq 9.5 \cdot 10^{-259}:\\ \;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq 1.05 \cdot 10^{+140}:\\ \;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 16: 33.2% accurate, 3.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\ \mathbf{if}\;t \leq -6.8 \cdot 10^{+24}:\\ \;\;\;\;i \cdot \left(t \cdot \mathsf{fma}\left(c, z, j \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;t \leq -4.5 \cdot 10^{-97}:\\ \;\;\;\;k \cdot \left(z \cdot \mathsf{fma}\left(-i, y1, b \cdot y0\right)\right)\\ \mathbf{elif}\;t \leq -3.2 \cdot 10^{-258}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq 9.5 \cdot 10^{-259}:\\ \;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq 1.05 \cdot 10^{+140}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* a (* y3 (fma (- y) y5 (* z y1))))))
   (if (<= t -6.8e+24)
     (* i (* t (fma c z (* j (- y5)))))
     (if (<= t -4.5e-97)
       (* k (* z (fma (- i) y1 (* b y0))))
       (if (<= t -3.2e-258)
         t_1
         (if (<= t 9.5e-259)
           (* y2 (* k (- (* y1 y4) (* y0 y5))))
           (if (<= t 1.05e+140) t_1 (* y2 (* t (- (* a y5) (* c y4)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (y3 * fma(-y, y5, (z * y1)));
	double tmp;
	if (t <= -6.8e+24) {
		tmp = i * (t * fma(c, z, (j * -y5)));
	} else if (t <= -4.5e-97) {
		tmp = k * (z * fma(-i, y1, (b * y0)));
	} else if (t <= -3.2e-258) {
		tmp = t_1;
	} else if (t <= 9.5e-259) {
		tmp = y2 * (k * ((y1 * y4) - (y0 * y5)));
	} else if (t <= 1.05e+140) {
		tmp = t_1;
	} else {
		tmp = y2 * (t * ((a * y5) - (c * y4)));
	}
	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 * fma(Float64(-y), y5, Float64(z * y1))))
	tmp = 0.0
	if (t <= -6.8e+24)
		tmp = Float64(i * Float64(t * fma(c, z, Float64(j * Float64(-y5)))));
	elseif (t <= -4.5e-97)
		tmp = Float64(k * Float64(z * fma(Float64(-i), y1, Float64(b * y0))));
	elseif (t <= -3.2e-258)
		tmp = t_1;
	elseif (t <= 9.5e-259)
		tmp = Float64(y2 * Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))));
	elseif (t <= 1.05e+140)
		tmp = t_1;
	else
		tmp = Float64(y2 * Float64(t * Float64(Float64(a * y5) - Float64(c * y4))));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(y3 * N[((-y) * y5 + N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -6.8e+24], N[(i * N[(t * N[(c * z + N[(j * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -4.5e-97], N[(k * N[(z * N[((-i) * y1 + N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -3.2e-258], t$95$1, If[LessEqual[t, 9.5e-259], N[(y2 * N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.05e+140], t$95$1, N[(y2 * N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\
\mathbf{if}\;t \leq -6.8 \cdot 10^{+24}:\\
\;\;\;\;i \cdot \left(t \cdot \mathsf{fma}\left(c, z, j \cdot \left(-y5\right)\right)\right)\\

\mathbf{elif}\;t \leq -4.5 \cdot 10^{-97}:\\
\;\;\;\;k \cdot \left(z \cdot \mathsf{fma}\left(-i, y1, b \cdot y0\right)\right)\\

\mathbf{elif}\;t \leq -3.2 \cdot 10^{-258}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t \leq 9.5 \cdot 10^{-259}:\\
\;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\

\mathbf{elif}\;t \leq 1.05 \cdot 10^{+140}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if t < -6.8000000000000001e24

    1. Initial program 18.7%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in i around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \color{blue}{\left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      6. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(c, x \cdot y - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{x \cdot y - t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      10. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - \color{blue}{t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, \color{blue}{y5 \cdot \left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      12. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \color{blue}{\left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      13. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      15. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - \color{blue}{k \cdot y}\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      16. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - k \cdot y\right)\right) - \color{blue}{y1 \cdot \left(j \cdot x - k \cdot z\right)}\right) \]
    5. Simplified42.6%

      \[\leadsto \color{blue}{\left(-i\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - z \cdot k\right)\right)} \]
    6. Taylor expanded in t around -inf

      \[\leadsto \color{blue}{i \cdot \left(t \cdot \left(-1 \cdot \left(j \cdot y5\right) + c \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{i \cdot \left(t \cdot \left(-1 \cdot \left(j \cdot y5\right) + c \cdot z\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto i \cdot \color{blue}{\left(t \cdot \left(-1 \cdot \left(j \cdot y5\right) + c \cdot z\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto i \cdot \left(t \cdot \color{blue}{\left(c \cdot z + -1 \cdot \left(j \cdot y5\right)\right)}\right) \]
      4. lower-fma.f64N/A

        \[\leadsto i \cdot \left(t \cdot \color{blue}{\mathsf{fma}\left(c, z, -1 \cdot \left(j \cdot y5\right)\right)}\right) \]
      5. associate-*r*N/A

        \[\leadsto i \cdot \left(t \cdot \mathsf{fma}\left(c, z, \color{blue}{\left(-1 \cdot j\right) \cdot y5}\right)\right) \]
      6. lower-*.f64N/A

        \[\leadsto i \cdot \left(t \cdot \mathsf{fma}\left(c, z, \color{blue}{\left(-1 \cdot j\right) \cdot y5}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto i \cdot \left(t \cdot \mathsf{fma}\left(c, z, \color{blue}{\left(\mathsf{neg}\left(j\right)\right)} \cdot y5\right)\right) \]
      8. lower-neg.f6448.0

        \[\leadsto i \cdot \left(t \cdot \mathsf{fma}\left(c, z, \color{blue}{\left(-j\right)} \cdot y5\right)\right) \]
    8. Simplified48.0%

      \[\leadsto \color{blue}{i \cdot \left(t \cdot \mathsf{fma}\left(c, z, \left(-j\right) \cdot y5\right)\right)} \]

    if -6.8000000000000001e24 < t < -4.5000000000000001e-97

    1. Initial program 28.9%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in k around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      6. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\left(\color{blue}{\left(-1 \cdot y2\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)} + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(-1 \cdot y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right)} - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. neg-mul-1N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-neg.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4 - y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4} - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - \color{blue}{y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, \color{blue}{b \cdot y4}\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      14. +-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\left(z \cdot \left(b \cdot y0 - i \cdot y1\right) + i \cdot y5\right)}\right) \]
      15. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)}\right) \]
    5. Simplified47.0%

      \[\leadsto \color{blue}{\left(-k\right) \cdot \left(\mathsf{fma}\left(-y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\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. lower-*.f64N/A

        \[\leadsto \color{blue}{k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
      3. sub-negN/A

        \[\leadsto k \cdot \left(z \cdot \color{blue}{\left(b \cdot y0 + \left(\mathsf{neg}\left(i \cdot y1\right)\right)\right)}\right) \]
      4. +-commutativeN/A

        \[\leadsto k \cdot \left(z \cdot \color{blue}{\left(\left(\mathsf{neg}\left(i \cdot y1\right)\right) + b \cdot y0\right)}\right) \]
      5. mul-1-negN/A

        \[\leadsto k \cdot \left(z \cdot \left(\color{blue}{-1 \cdot \left(i \cdot y1\right)} + b \cdot y0\right)\right) \]
      6. associate-*r*N/A

        \[\leadsto k \cdot \left(z \cdot \left(\color{blue}{\left(-1 \cdot i\right) \cdot y1} + b \cdot y0\right)\right) \]
      7. lower-fma.f64N/A

        \[\leadsto k \cdot \left(z \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot i, y1, b \cdot y0\right)}\right) \]
      8. mul-1-negN/A

        \[\leadsto k \cdot \left(z \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(i\right)}, y1, b \cdot y0\right)\right) \]
      9. lower-neg.f64N/A

        \[\leadsto k \cdot \left(z \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(i\right)}, y1, b \cdot y0\right)\right) \]
      10. lower-*.f6444.3

        \[\leadsto k \cdot \left(z \cdot \mathsf{fma}\left(-i, y1, \color{blue}{b \cdot y0}\right)\right) \]
    8. Simplified44.3%

      \[\leadsto \color{blue}{k \cdot \left(z \cdot \mathsf{fma}\left(-i, y1, b \cdot y0\right)\right)} \]

    if -4.5000000000000001e-97 < t < -3.2000000000000002e-258 or 9.4999999999999995e-259 < t < 1.0500000000000001e140

    1. Initial program 32.2%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, x \cdot y2 - y3 \cdot z, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      5. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{x \cdot y2 - y3 \cdot z}, b \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(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)}\right)\right)\right) \]
      14. remove-double-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \color{blue}{y5 \cdot \left(t \cdot y2 - y \cdot y3\right)}\right) \]
    5. Simplified51.0%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(-y1, y2 \cdot x - z \cdot y3, \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\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. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y \cdot y5\right) + y1 \cdot z\right)\right)} \]
      2. associate-*r*N/A

        \[\leadsto a \cdot \left(y3 \cdot \left(\color{blue}{\left(-1 \cdot y\right) \cdot y5} + y1 \cdot z\right)\right) \]
      3. lower-fma.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y, y5, y1 \cdot z\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y\right)}, y5, y1 \cdot z\right)\right) \]
      5. lower-neg.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y\right)}, y5, y1 \cdot z\right)\right) \]
      6. lower-*.f6441.8

        \[\leadsto a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, \color{blue}{y1 \cdot z}\right)\right) \]
    8. Simplified41.8%

      \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \mathsf{fma}\left(-y, y5, y1 \cdot z\right)\right)} \]

    if -3.2000000000000002e-258 < t < 9.4999999999999995e-259

    1. Initial program 46.0%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y2 around inf

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.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. lower--.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y2 \cdot \left(\color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto y2 \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - \color{blue}{t \cdot \left(c \cdot y4 - a \cdot y5\right)}\right) \]
      14. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified59.5%

      \[\leadsto \color{blue}{y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    6. Taylor expanded in k around inf

      \[\leadsto y2 \cdot \color{blue}{\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto y2 \cdot \left(k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) \]
      3. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) \]
      4. lower-*.f6450.8

        \[\leadsto y2 \cdot \left(k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) \]
    8. Simplified50.8%

      \[\leadsto y2 \cdot \color{blue}{\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} \]

    if 1.0500000000000001e140 < t

    1. Initial program 34.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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. lower-*.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. lower--.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y2 \cdot \left(\color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto y2 \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - \color{blue}{t \cdot \left(c \cdot y4 - a \cdot y5\right)}\right) \]
      14. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified37.9%

      \[\leadsto \color{blue}{y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    6. Taylor expanded in t around inf

      \[\leadsto y2 \cdot \color{blue}{\left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto y2 \cdot \left(t \cdot \color{blue}{\left(a \cdot y5 - c \cdot y4\right)}\right) \]
      3. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(t \cdot \left(\color{blue}{a \cdot y5} - c \cdot y4\right)\right) \]
      4. lower-*.f6472.4

        \[\leadsto y2 \cdot \left(t \cdot \left(a \cdot y5 - \color{blue}{c \cdot y4}\right)\right) \]
    8. Simplified72.4%

      \[\leadsto y2 \cdot \color{blue}{\left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification47.7%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -6.8 \cdot 10^{+24}:\\ \;\;\;\;i \cdot \left(t \cdot \mathsf{fma}\left(c, z, j \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;t \leq -4.5 \cdot 10^{-97}:\\ \;\;\;\;k \cdot \left(z \cdot \mathsf{fma}\left(-i, y1, b \cdot y0\right)\right)\\ \mathbf{elif}\;t \leq -3.2 \cdot 10^{-258}:\\ \;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\ \mathbf{elif}\;t \leq 9.5 \cdot 10^{-259}:\\ \;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq 1.05 \cdot 10^{+140}:\\ \;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 17: 27.2% accurate, 4.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -3.2 \cdot 10^{+117}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\ \mathbf{elif}\;t \leq -1.65 \cdot 10^{-132}:\\ \;\;\;\;x \cdot \left(i \cdot \left(j \cdot y1 - c\right)\right)\\ \mathbf{elif}\;t \leq 1.45 \cdot 10^{-290}:\\ \;\;\;\;y0 \cdot \left(y2 \cdot \left(x - k \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq 4.8 \cdot 10^{+41}:\\ \;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)\\ \mathbf{elif}\;t \leq 2.4 \cdot 10^{+176}:\\ \;\;\;\;y3 \cdot \left(c \cdot \left(y4 - z \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (if (<= t -3.2e+117)
   (* a (* t (- y5 (* z b))))
   (if (<= t -1.65e-132)
     (* x (* i (- (* j y1) c)))
     (if (<= t 1.45e-290)
       (* y0 (* y2 (- x (* k y5))))
       (if (<= t 4.8e+41)
         (* a (* y3 (- (* z y1) y5)))
         (if (<= t 2.4e+176)
           (* y3 (* c (- y4 (* z y0))))
           (* a (* t (- (* y2 y5) z)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (t <= -3.2e+117) {
		tmp = a * (t * (y5 - (z * b)));
	} else if (t <= -1.65e-132) {
		tmp = x * (i * ((j * y1) - c));
	} else if (t <= 1.45e-290) {
		tmp = y0 * (y2 * (x - (k * y5)));
	} else if (t <= 4.8e+41) {
		tmp = a * (y3 * ((z * y1) - y5));
	} else if (t <= 2.4e+176) {
		tmp = y3 * (c * (y4 - (z * y0)));
	} else {
		tmp = a * (t * ((y2 * y5) - z));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if (t <= (-3.2d+117)) then
        tmp = a * (t * (y5 - (z * b)))
    else if (t <= (-1.65d-132)) then
        tmp = x * (i * ((j * y1) - c))
    else if (t <= 1.45d-290) then
        tmp = y0 * (y2 * (x - (k * y5)))
    else if (t <= 4.8d+41) then
        tmp = a * (y3 * ((z * y1) - y5))
    else if (t <= 2.4d+176) then
        tmp = y3 * (c * (y4 - (z * y0)))
    else
        tmp = a * (t * ((y2 * y5) - z))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (t <= -3.2e+117) {
		tmp = a * (t * (y5 - (z * b)));
	} else if (t <= -1.65e-132) {
		tmp = x * (i * ((j * y1) - c));
	} else if (t <= 1.45e-290) {
		tmp = y0 * (y2 * (x - (k * y5)));
	} else if (t <= 4.8e+41) {
		tmp = a * (y3 * ((z * y1) - y5));
	} else if (t <= 2.4e+176) {
		tmp = y3 * (c * (y4 - (z * y0)));
	} else {
		tmp = a * (t * ((y2 * y5) - z));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if t <= -3.2e+117:
		tmp = a * (t * (y5 - (z * b)))
	elif t <= -1.65e-132:
		tmp = x * (i * ((j * y1) - c))
	elif t <= 1.45e-290:
		tmp = y0 * (y2 * (x - (k * y5)))
	elif t <= 4.8e+41:
		tmp = a * (y3 * ((z * y1) - y5))
	elif t <= 2.4e+176:
		tmp = y3 * (c * (y4 - (z * y0)))
	else:
		tmp = a * (t * ((y2 * y5) - z))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (t <= -3.2e+117)
		tmp = Float64(a * Float64(t * Float64(y5 - Float64(z * b))));
	elseif (t <= -1.65e-132)
		tmp = Float64(x * Float64(i * Float64(Float64(j * y1) - c)));
	elseif (t <= 1.45e-290)
		tmp = Float64(y0 * Float64(y2 * Float64(x - Float64(k * y5))));
	elseif (t <= 4.8e+41)
		tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - y5)));
	elseif (t <= 2.4e+176)
		tmp = Float64(y3 * Float64(c * Float64(y4 - Float64(z * y0))));
	else
		tmp = Float64(a * Float64(t * Float64(Float64(y2 * y5) - z)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0;
	if (t <= -3.2e+117)
		tmp = a * (t * (y5 - (z * b)));
	elseif (t <= -1.65e-132)
		tmp = x * (i * ((j * y1) - c));
	elseif (t <= 1.45e-290)
		tmp = y0 * (y2 * (x - (k * y5)));
	elseif (t <= 4.8e+41)
		tmp = a * (y3 * ((z * y1) - y5));
	elseif (t <= 2.4e+176)
		tmp = y3 * (c * (y4 - (z * y0)));
	else
		tmp = a * (t * ((y2 * y5) - z));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[t, -3.2e+117], N[(a * N[(t * N[(y5 - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.65e-132], N[(x * N[(i * N[(N[(j * y1), $MachinePrecision] - c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.45e-290], N[(y0 * N[(y2 * N[(x - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 4.8e+41], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.4e+176], N[(y3 * N[(c * N[(y4 - N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;t \leq -3.2 \cdot 10^{+117}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\

\mathbf{elif}\;t \leq -1.65 \cdot 10^{-132}:\\
\;\;\;\;x \cdot \left(i \cdot \left(j \cdot y1 - c\right)\right)\\

\mathbf{elif}\;t \leq 1.45 \cdot 10^{-290}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x - k \cdot y5\right)\right)\\

\mathbf{elif}\;t \leq 4.8 \cdot 10^{+41}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)\\

\mathbf{elif}\;t \leq 2.4 \cdot 10^{+176}:\\
\;\;\;\;y3 \cdot \left(c \cdot \left(y4 - z \cdot y0\right)\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if t < -3.20000000000000005e117

    1. Initial program 15.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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, x \cdot y2 - y3 \cdot z, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      5. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{x \cdot y2 - y3 \cdot z}, b \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(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)}\right)\right)\right) \]
      14. remove-double-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \color{blue}{y5 \cdot \left(t \cdot y2 - y \cdot y3\right)}\right) \]
    5. Simplified50.2%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(-y1, y2 \cdot x - z \cdot y3, \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right)\right)} \]
    6. Taylor expanded in t around inf

      \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 + -1 \cdot \left(b \cdot z\right)\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 + -1 \cdot \left(b \cdot z\right)\right)\right)} \]
      2. mul-1-negN/A

        \[\leadsto a \cdot \left(t \cdot \left(y5 + \color{blue}{\left(\mathsf{neg}\left(b \cdot z\right)\right)}\right)\right) \]
      3. unsub-negN/A

        \[\leadsto a \cdot \left(t \cdot \color{blue}{\left(y5 - b \cdot z\right)}\right) \]
      4. lower--.f64N/A

        \[\leadsto a \cdot \left(t \cdot \color{blue}{\left(y5 - b \cdot z\right)}\right) \]
      5. lower-*.f6452.9

        \[\leadsto a \cdot \left(t \cdot \left(y5 - \color{blue}{b \cdot z}\right)\right) \]
    8. Simplified52.9%

      \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 - b \cdot z\right)\right)} \]

    if -3.20000000000000005e117 < t < -1.6499999999999999e-132

    1. Initial program 33.0%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6441.4

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified41.4%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in i around -inf

      \[\leadsto x \cdot \color{blue}{\left(i \cdot \left(-1 \cdot c + j \cdot y1\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(i \cdot \left(-1 \cdot c + j \cdot y1\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto x \cdot \left(i \cdot \color{blue}{\left(j \cdot y1 + -1 \cdot c\right)}\right) \]
      3. mul-1-negN/A

        \[\leadsto x \cdot \left(i \cdot \left(j \cdot y1 + \color{blue}{\left(\mathsf{neg}\left(c\right)\right)}\right)\right) \]
      4. unsub-negN/A

        \[\leadsto x \cdot \left(i \cdot \color{blue}{\left(j \cdot y1 - c\right)}\right) \]
      5. lower--.f64N/A

        \[\leadsto x \cdot \left(i \cdot \color{blue}{\left(j \cdot y1 - c\right)}\right) \]
      6. lower-*.f6439.5

        \[\leadsto x \cdot \left(i \cdot \left(\color{blue}{j \cdot y1} - c\right)\right) \]
    8. Simplified39.5%

      \[\leadsto x \cdot \color{blue}{\left(i \cdot \left(j \cdot y1 - c\right)\right)} \]

    if -1.6499999999999999e-132 < t < 1.44999999999999997e-290

    1. Initial program 37.7%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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. lower-*.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. lower--.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y2 \cdot \left(\color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto y2 \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - \color{blue}{t \cdot \left(c \cdot y4 - a \cdot y5\right)}\right) \]
      14. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified40.5%

      \[\leadsto \color{blue}{y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    6. Taylor expanded in y0 around inf

      \[\leadsto \color{blue}{y0 \cdot \left(y2 \cdot \left(x + -1 \cdot \left(k \cdot y5\right)\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{y0 \cdot \left(y2 \cdot \left(x + -1 \cdot \left(k \cdot y5\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto y0 \cdot \color{blue}{\left(y2 \cdot \left(x + -1 \cdot \left(k \cdot y5\right)\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto y0 \cdot \left(y2 \cdot \left(x + \color{blue}{\left(\mathsf{neg}\left(k \cdot y5\right)\right)}\right)\right) \]
      4. unsub-negN/A

        \[\leadsto y0 \cdot \left(y2 \cdot \color{blue}{\left(x - k \cdot y5\right)}\right) \]
      5. lower--.f64N/A

        \[\leadsto y0 \cdot \left(y2 \cdot \color{blue}{\left(x - k \cdot y5\right)}\right) \]
      6. lower-*.f6444.1

        \[\leadsto y0 \cdot \left(y2 \cdot \left(x - \color{blue}{k \cdot y5}\right)\right) \]
    8. Simplified44.1%

      \[\leadsto \color{blue}{y0 \cdot \left(y2 \cdot \left(x - k \cdot y5\right)\right)} \]

    if 1.44999999999999997e-290 < t < 4.8000000000000003e41

    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 y3 around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
    5. Simplified40.9%

      \[\leadsto \color{blue}{\left(-y3\right) \cdot \left(\mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, c \cdot y0 - a \cdot y1, j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right) - c \cdot y4\right)} \]
    6. Taylor expanded in a around -inf

      \[\leadsto \color{blue}{a \cdot \left(y3 \cdot \left(-1 \cdot y5 + y1 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{a \cdot \left(y3 \cdot \left(-1 \cdot y5 + y1 \cdot z\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot y5 + y1 \cdot z\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z + -1 \cdot y5\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \left(y1 \cdot z + \color{blue}{\left(\mathsf{neg}\left(y5\right)\right)}\right)\right) \]
      5. unsub-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z - y5\right)}\right) \]
      6. lower--.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z - y5\right)}\right) \]
      7. *-commutativeN/A

        \[\leadsto a \cdot \left(y3 \cdot \left(\color{blue}{z \cdot y1} - y5\right)\right) \]
      8. lower-*.f6428.8

        \[\leadsto a \cdot \left(y3 \cdot \left(\color{blue}{z \cdot y1} - y5\right)\right) \]
    8. Simplified28.8%

      \[\leadsto \color{blue}{a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)} \]

    if 4.8000000000000003e41 < t < 2.4000000000000001e176

    1. Initial program 18.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
    5. Simplified52.3%

      \[\leadsto \color{blue}{\left(-y3\right) \cdot \left(\mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, c \cdot y0 - a \cdot y1, j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right) - c \cdot y4\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(c \cdot \left(y0 \cdot z - y4\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(c \cdot \left(y0 \cdot z - y4\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(c \cdot \color{blue}{\left(y0 \cdot z - y4\right)}\right) \]
      3. lower-*.f6441.8

        \[\leadsto \left(-y3\right) \cdot \left(c \cdot \left(\color{blue}{y0 \cdot z} - y4\right)\right) \]
    8. Simplified41.8%

      \[\leadsto \left(-y3\right) \cdot \color{blue}{\left(c \cdot \left(y0 \cdot z - y4\right)\right)} \]

    if 2.4000000000000001e176 < t

    1. Initial program 37.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(t \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot t\right) \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot t\right) \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      5. associate--l+N/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right)} \]
      6. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      7. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot j}\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      8. distribute-lft-neg-inN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(b \cdot y4 - i \cdot y5\right)\right)\right) \cdot j} + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(-1 \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \cdot j + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      10. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot \left(b \cdot y4 - i \cdot y5\right), j, z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    5. Simplified70.8%

      \[\leadsto \color{blue}{\left(-t\right) \cdot \mathsf{fma}\left(-\left(b \cdot y4 - i \cdot y5\right), j, \mathsf{fma}\left(z, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    6. Taylor expanded in a around inf

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)\right)} \]
      2. lower-neg.f64N/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)\right)} \]
      3. lower-*.f64N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)}\right) \]
      4. lower-*.f64N/A

        \[\leadsto \mathsf{neg}\left(a \cdot \color{blue}{\left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)}\right) \]
      5. mul-1-negN/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \left(z + \color{blue}{\left(\mathsf{neg}\left(y2 \cdot y5\right)\right)}\right)\right)\right) \]
      6. unsub-negN/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \color{blue}{\left(z - y2 \cdot y5\right)}\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \color{blue}{\left(z - y2 \cdot y5\right)}\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \left(z - \color{blue}{y5 \cdot y2}\right)\right)\right) \]
      9. lower-*.f6459.0

        \[\leadsto -a \cdot \left(t \cdot \left(z - \color{blue}{y5 \cdot y2}\right)\right) \]
    8. Simplified59.0%

      \[\leadsto \color{blue}{-a \cdot \left(t \cdot \left(z - y5 \cdot y2\right)\right)} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification41.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -3.2 \cdot 10^{+117}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\ \mathbf{elif}\;t \leq -1.65 \cdot 10^{-132}:\\ \;\;\;\;x \cdot \left(i \cdot \left(j \cdot y1 - c\right)\right)\\ \mathbf{elif}\;t \leq 1.45 \cdot 10^{-290}:\\ \;\;\;\;y0 \cdot \left(y2 \cdot \left(x - k \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq 4.8 \cdot 10^{+41}:\\ \;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)\\ \mathbf{elif}\;t \leq 2.4 \cdot 10^{+176}:\\ \;\;\;\;y3 \cdot \left(c \cdot \left(y4 - z \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 18: 27.0% accurate, 4.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(y3 \cdot \mathsf{fma}\left(y0, -z, y4\right)\right)\\ \mathbf{if}\;y3 \leq -3.2 \cdot 10^{+97}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq -380:\\ \;\;\;\;x \cdot \left(a \cdot \left(b - y1 \cdot y2\right)\right)\\ \mathbf{elif}\;y3 \leq -8 \cdot 10^{-112}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1\right)\right)\\ \mathbf{elif}\;y3 \leq 9 \cdot 10^{-136}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(j - c \cdot y2\right)\right)\\ \mathbf{elif}\;y3 \leq 10^{+242}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - 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 (* c (* y3 (fma y0 (- z) y4)))))
   (if (<= y3 -3.2e+97)
     t_1
     (if (<= y3 -380.0)
       (* x (* a (- b (* y1 y2))))
       (if (<= y3 -8e-112)
         (* a (* x (- (* y b) y1)))
         (if (<= y3 9e-136)
           (* t (* y4 (- j (* c y2))))
           (if (<= y3 1e+242) t_1 (* a (* y3 (- (* z y1) 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 = c * (y3 * fma(y0, -z, y4));
	double tmp;
	if (y3 <= -3.2e+97) {
		tmp = t_1;
	} else if (y3 <= -380.0) {
		tmp = x * (a * (b - (y1 * y2)));
	} else if (y3 <= -8e-112) {
		tmp = a * (x * ((y * b) - y1));
	} else if (y3 <= 9e-136) {
		tmp = t * (y4 * (j - (c * y2)));
	} else if (y3 <= 1e+242) {
		tmp = t_1;
	} else {
		tmp = a * (y3 * ((z * y1) - y5));
	}
	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(y3 * fma(y0, Float64(-z), y4)))
	tmp = 0.0
	if (y3 <= -3.2e+97)
		tmp = t_1;
	elseif (y3 <= -380.0)
		tmp = Float64(x * Float64(a * Float64(b - Float64(y1 * y2))));
	elseif (y3 <= -8e-112)
		tmp = Float64(a * Float64(x * Float64(Float64(y * b) - y1)));
	elseif (y3 <= 9e-136)
		tmp = Float64(t * Float64(y4 * Float64(j - Float64(c * y2))));
	elseif (y3 <= 1e+242)
		tmp = t_1;
	else
		tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - 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[(c * N[(y3 * N[(y0 * (-z) + y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -3.2e+97], t$95$1, If[LessEqual[y3, -380.0], N[(x * N[(a * N[(b - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -8e-112], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 9e-136], N[(t * N[(y4 * N[(j - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1e+242], t$95$1, N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(y3 \cdot \mathsf{fma}\left(y0, -z, y4\right)\right)\\
\mathbf{if}\;y3 \leq -3.2 \cdot 10^{+97}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y3 \leq -380:\\
\;\;\;\;x \cdot \left(a \cdot \left(b - y1 \cdot y2\right)\right)\\

\mathbf{elif}\;y3 \leq -8 \cdot 10^{-112}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1\right)\right)\\

\mathbf{elif}\;y3 \leq 9 \cdot 10^{-136}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(j - c \cdot y2\right)\right)\\

\mathbf{elif}\;y3 \leq 10^{+242}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y3 < -3.20000000000000016e97 or 8.99999999999999944e-136 < y3 < 1.00000000000000005e242

    1. Initial program 27.7%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
    5. Simplified51.7%

      \[\leadsto \color{blue}{\left(-y3\right) \cdot \left(\mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, c \cdot y0 - a \cdot y1, j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right) - c \cdot y4\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(y3 \cdot \left(y0 \cdot z - y4\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(c \cdot \left(y3 \cdot \left(y0 \cdot z - y4\right)\right)\right)} \]
      2. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(c \cdot y3\right) \cdot \left(y0 \cdot z - y4\right)}\right) \]
      3. distribute-rgt-neg-inN/A

        \[\leadsto \color{blue}{\left(c \cdot y3\right) \cdot \left(\mathsf{neg}\left(\left(y0 \cdot z - y4\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto \left(c \cdot y3\right) \cdot \color{blue}{\left(-1 \cdot \left(y0 \cdot z - y4\right)\right)} \]
      5. distribute-lft-out--N/A

        \[\leadsto \left(c \cdot y3\right) \cdot \color{blue}{\left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right)} \]
      6. associate-*r*N/A

        \[\leadsto \color{blue}{c \cdot \left(y3 \cdot \left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right)\right)} \]
      7. lower-*.f64N/A

        \[\leadsto \color{blue}{c \cdot \left(y3 \cdot \left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right)\right)} \]
      8. *-commutativeN/A

        \[\leadsto c \cdot \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right) \cdot y3\right)} \]
      9. lower-*.f64N/A

        \[\leadsto c \cdot \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right) \cdot y3\right)} \]
      10. sub-negN/A

        \[\leadsto c \cdot \left(\color{blue}{\left(-1 \cdot \left(y0 \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right)} \cdot y3\right) \]
      11. mul-1-negN/A

        \[\leadsto c \cdot \left(\left(\color{blue}{\left(\mathsf{neg}\left(y0 \cdot z\right)\right)} + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right) \cdot y3\right) \]
      12. distribute-rgt-neg-inN/A

        \[\leadsto c \cdot \left(\left(\color{blue}{y0 \cdot \left(\mathsf{neg}\left(z\right)\right)} + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right) \cdot y3\right) \]
      13. mul-1-negN/A

        \[\leadsto c \cdot \left(\left(y0 \cdot \color{blue}{\left(-1 \cdot z\right)} + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right) \cdot y3\right) \]
      14. mul-1-negN/A

        \[\leadsto c \cdot \left(\left(y0 \cdot \left(-1 \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y4\right)\right)}\right)\right)\right) \cdot y3\right) \]
      15. remove-double-negN/A

        \[\leadsto c \cdot \left(\left(y0 \cdot \left(-1 \cdot z\right) + \color{blue}{y4}\right) \cdot y3\right) \]
      16. lower-fma.f64N/A

        \[\leadsto c \cdot \left(\color{blue}{\mathsf{fma}\left(y0, -1 \cdot z, y4\right)} \cdot y3\right) \]
      17. mul-1-negN/A

        \[\leadsto c \cdot \left(\mathsf{fma}\left(y0, \color{blue}{\mathsf{neg}\left(z\right)}, y4\right) \cdot y3\right) \]
      18. lower-neg.f6437.5

        \[\leadsto c \cdot \left(\mathsf{fma}\left(y0, \color{blue}{-z}, y4\right) \cdot y3\right) \]
    8. Simplified37.5%

      \[\leadsto \color{blue}{c \cdot \left(\mathsf{fma}\left(y0, -z, y4\right) \cdot y3\right)} \]

    if -3.20000000000000016e97 < y3 < -380

    1. Initial program 15.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(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6447.4

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified47.4%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in a around inf

      \[\leadsto x \cdot \color{blue}{\left(a \cdot \left(b + -1 \cdot \left(y1 \cdot y2\right)\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(a \cdot \left(b + -1 \cdot \left(y1 \cdot y2\right)\right)\right)} \]
      2. mul-1-negN/A

        \[\leadsto x \cdot \left(a \cdot \left(b + \color{blue}{\left(\mathsf{neg}\left(y1 \cdot y2\right)\right)}\right)\right) \]
      3. unsub-negN/A

        \[\leadsto x \cdot \left(a \cdot \color{blue}{\left(b - y1 \cdot y2\right)}\right) \]
      4. lower--.f64N/A

        \[\leadsto x \cdot \left(a \cdot \color{blue}{\left(b - y1 \cdot y2\right)}\right) \]
      5. lower-*.f6458.3

        \[\leadsto x \cdot \left(a \cdot \left(b - \color{blue}{y1 \cdot y2}\right)\right) \]
    8. Simplified58.3%

      \[\leadsto x \cdot \color{blue}{\left(a \cdot \left(b - y1 \cdot y2\right)\right)} \]

    if -380 < y3 < -7.9999999999999996e-112

    1. Initial program 33.7%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, x \cdot y2 - y3 \cdot z, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      5. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{x \cdot y2 - y3 \cdot z}, b \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(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)}\right)\right)\right) \]
      14. remove-double-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \color{blue}{y5 \cdot \left(t \cdot y2 - y \cdot y3\right)}\right) \]
    5. Simplified46.6%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(-y1, y2 \cdot x - z \cdot y3, \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right)\right)} \]
    6. Taylor expanded in x around inf

      \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(-1 \cdot y1 + b \cdot y\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(-1 \cdot y1 + b \cdot y\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y + -1 \cdot y1\right)}\right) \]
      3. mul-1-negN/A

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y + \color{blue}{\left(\mathsf{neg}\left(y1\right)\right)}\right)\right) \]
      4. unsub-negN/A

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1\right)}\right) \]
      5. lower--.f64N/A

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1\right)}\right) \]
      6. lower-*.f6442.5

        \[\leadsto a \cdot \left(x \cdot \left(\color{blue}{b \cdot y} - y1\right)\right) \]
    8. Simplified42.5%

      \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(b \cdot y - y1\right)\right)} \]

    if -7.9999999999999996e-112 < y3 < 8.99999999999999944e-136

    1. Initial program 38.7%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(t \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot t\right) \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot t\right) \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      5. associate--l+N/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right)} \]
      6. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      7. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot j}\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      8. distribute-lft-neg-inN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(b \cdot y4 - i \cdot y5\right)\right)\right) \cdot j} + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(-1 \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \cdot j + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      10. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot \left(b \cdot y4 - i \cdot y5\right), j, z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    5. Simplified51.3%

      \[\leadsto \color{blue}{\left(-t\right) \cdot \mathsf{fma}\left(-\left(b \cdot y4 - i \cdot y5\right), j, \mathsf{fma}\left(z, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    6. Taylor expanded in y4 around -inf

      \[\leadsto \color{blue}{t \cdot \left(y4 \cdot \left(j + -1 \cdot \left(c \cdot y2\right)\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{t \cdot \left(y4 \cdot \left(j + -1 \cdot \left(c \cdot y2\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto t \cdot \color{blue}{\left(y4 \cdot \left(j + -1 \cdot \left(c \cdot y2\right)\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto t \cdot \left(y4 \cdot \left(j + \color{blue}{\left(\mathsf{neg}\left(c \cdot y2\right)\right)}\right)\right) \]
      4. unsub-negN/A

        \[\leadsto t \cdot \left(y4 \cdot \color{blue}{\left(j - c \cdot y2\right)}\right) \]
      5. lower--.f64N/A

        \[\leadsto t \cdot \left(y4 \cdot \color{blue}{\left(j - c \cdot y2\right)}\right) \]
      6. *-commutativeN/A

        \[\leadsto t \cdot \left(y4 \cdot \left(j - \color{blue}{y2 \cdot c}\right)\right) \]
      7. lower-*.f6434.1

        \[\leadsto t \cdot \left(y4 \cdot \left(j - \color{blue}{y2 \cdot c}\right)\right) \]
    8. Simplified34.1%

      \[\leadsto \color{blue}{t \cdot \left(y4 \cdot \left(j - y2 \cdot c\right)\right)} \]

    if 1.00000000000000005e242 < y3

    1. Initial program 14.3%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
    5. Simplified57.2%

      \[\leadsto \color{blue}{\left(-y3\right) \cdot \left(\mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, c \cdot y0 - a \cdot y1, j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right) - c \cdot y4\right)} \]
    6. Taylor expanded in a around -inf

      \[\leadsto \color{blue}{a \cdot \left(y3 \cdot \left(-1 \cdot y5 + y1 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{a \cdot \left(y3 \cdot \left(-1 \cdot y5 + y1 \cdot z\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot y5 + y1 \cdot z\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z + -1 \cdot y5\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \left(y1 \cdot z + \color{blue}{\left(\mathsf{neg}\left(y5\right)\right)}\right)\right) \]
      5. unsub-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z - y5\right)}\right) \]
      6. lower--.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z - y5\right)}\right) \]
      7. *-commutativeN/A

        \[\leadsto a \cdot \left(y3 \cdot \left(\color{blue}{z \cdot y1} - y5\right)\right) \]
      8. lower-*.f6465.0

        \[\leadsto a \cdot \left(y3 \cdot \left(\color{blue}{z \cdot y1} - y5\right)\right) \]
    8. Simplified65.0%

      \[\leadsto \color{blue}{a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification39.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -3.2 \cdot 10^{+97}:\\ \;\;\;\;c \cdot \left(y3 \cdot \mathsf{fma}\left(y0, -z, y4\right)\right)\\ \mathbf{elif}\;y3 \leq -380:\\ \;\;\;\;x \cdot \left(a \cdot \left(b - y1 \cdot y2\right)\right)\\ \mathbf{elif}\;y3 \leq -8 \cdot 10^{-112}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1\right)\right)\\ \mathbf{elif}\;y3 \leq 9 \cdot 10^{-136}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(j - c \cdot y2\right)\right)\\ \mathbf{elif}\;y3 \leq 10^{+242}:\\ \;\;\;\;c \cdot \left(y3 \cdot \mathsf{fma}\left(y0, -z, y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 19: 26.8% accurate, 4.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(y3 \cdot \mathsf{fma}\left(y0, -z, y4\right)\right)\\ t_2 := a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)\\ \mathbf{if}\;y3 \leq -5 \cdot 10^{+221}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq -150:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y3 \leq -8 \cdot 10^{-112}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1\right)\right)\\ \mathbf{elif}\;y3 \leq 9 \cdot 10^{-136}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(j - c \cdot y2\right)\right)\\ \mathbf{elif}\;y3 \leq 10^{+242}:\\ \;\;\;\;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 (* y3 (fma y0 (- z) y4))))
        (t_2 (* a (* y3 (- (* z y1) y5)))))
   (if (<= y3 -5e+221)
     t_1
     (if (<= y3 -150.0)
       t_2
       (if (<= y3 -8e-112)
         (* a (* x (- (* y b) y1)))
         (if (<= y3 9e-136)
           (* t (* y4 (- j (* c y2))))
           (if (<= y3 1e+242) 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 * (y3 * fma(y0, -z, y4));
	double t_2 = a * (y3 * ((z * y1) - y5));
	double tmp;
	if (y3 <= -5e+221) {
		tmp = t_1;
	} else if (y3 <= -150.0) {
		tmp = t_2;
	} else if (y3 <= -8e-112) {
		tmp = a * (x * ((y * b) - y1));
	} else if (y3 <= 9e-136) {
		tmp = t * (y4 * (j - (c * y2)));
	} else if (y3 <= 1e+242) {
		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(y3 * fma(y0, Float64(-z), y4)))
	t_2 = Float64(a * Float64(y3 * Float64(Float64(z * y1) - y5)))
	tmp = 0.0
	if (y3 <= -5e+221)
		tmp = t_1;
	elseif (y3 <= -150.0)
		tmp = t_2;
	elseif (y3 <= -8e-112)
		tmp = Float64(a * Float64(x * Float64(Float64(y * b) - y1)));
	elseif (y3 <= 9e-136)
		tmp = Float64(t * Float64(y4 * Float64(j - Float64(c * y2))));
	elseif (y3 <= 1e+242)
		tmp = t_1;
	else
		tmp = t_2;
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(y3 * N[(y0 * (-z) + y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -5e+221], t$95$1, If[LessEqual[y3, -150.0], t$95$2, If[LessEqual[y3, -8e-112], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 9e-136], N[(t * N[(y4 * N[(j - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1e+242], t$95$1, t$95$2]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(y3 \cdot \mathsf{fma}\left(y0, -z, y4\right)\right)\\
t_2 := a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)\\
\mathbf{if}\;y3 \leq -5 \cdot 10^{+221}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y3 \leq -150:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y3 \leq -8 \cdot 10^{-112}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1\right)\right)\\

\mathbf{elif}\;y3 \leq 9 \cdot 10^{-136}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(j - c \cdot y2\right)\right)\\

\mathbf{elif}\;y3 \leq 10^{+242}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;t\_2\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if y3 < -5.0000000000000002e221 or 8.99999999999999944e-136 < y3 < 1.00000000000000005e242

    1. Initial program 28.9%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
    5. Simplified50.3%

      \[\leadsto \color{blue}{\left(-y3\right) \cdot \left(\mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, c \cdot y0 - a \cdot y1, j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right) - c \cdot y4\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(y3 \cdot \left(y0 \cdot z - y4\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(c \cdot \left(y3 \cdot \left(y0 \cdot z - y4\right)\right)\right)} \]
      2. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(c \cdot y3\right) \cdot \left(y0 \cdot z - y4\right)}\right) \]
      3. distribute-rgt-neg-inN/A

        \[\leadsto \color{blue}{\left(c \cdot y3\right) \cdot \left(\mathsf{neg}\left(\left(y0 \cdot z - y4\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto \left(c \cdot y3\right) \cdot \color{blue}{\left(-1 \cdot \left(y0 \cdot z - y4\right)\right)} \]
      5. distribute-lft-out--N/A

        \[\leadsto \left(c \cdot y3\right) \cdot \color{blue}{\left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right)} \]
      6. associate-*r*N/A

        \[\leadsto \color{blue}{c \cdot \left(y3 \cdot \left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right)\right)} \]
      7. lower-*.f64N/A

        \[\leadsto \color{blue}{c \cdot \left(y3 \cdot \left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right)\right)} \]
      8. *-commutativeN/A

        \[\leadsto c \cdot \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right) \cdot y3\right)} \]
      9. lower-*.f64N/A

        \[\leadsto c \cdot \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right) \cdot y3\right)} \]
      10. sub-negN/A

        \[\leadsto c \cdot \left(\color{blue}{\left(-1 \cdot \left(y0 \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right)} \cdot y3\right) \]
      11. mul-1-negN/A

        \[\leadsto c \cdot \left(\left(\color{blue}{\left(\mathsf{neg}\left(y0 \cdot z\right)\right)} + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right) \cdot y3\right) \]
      12. distribute-rgt-neg-inN/A

        \[\leadsto c \cdot \left(\left(\color{blue}{y0 \cdot \left(\mathsf{neg}\left(z\right)\right)} + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right) \cdot y3\right) \]
      13. mul-1-negN/A

        \[\leadsto c \cdot \left(\left(y0 \cdot \color{blue}{\left(-1 \cdot z\right)} + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right) \cdot y3\right) \]
      14. mul-1-negN/A

        \[\leadsto c \cdot \left(\left(y0 \cdot \left(-1 \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y4\right)\right)}\right)\right)\right) \cdot y3\right) \]
      15. remove-double-negN/A

        \[\leadsto c \cdot \left(\left(y0 \cdot \left(-1 \cdot z\right) + \color{blue}{y4}\right) \cdot y3\right) \]
      16. lower-fma.f64N/A

        \[\leadsto c \cdot \left(\color{blue}{\mathsf{fma}\left(y0, -1 \cdot z, y4\right)} \cdot y3\right) \]
      17. mul-1-negN/A

        \[\leadsto c \cdot \left(\mathsf{fma}\left(y0, \color{blue}{\mathsf{neg}\left(z\right)}, y4\right) \cdot y3\right) \]
      18. lower-neg.f6438.5

        \[\leadsto c \cdot \left(\mathsf{fma}\left(y0, \color{blue}{-z}, y4\right) \cdot y3\right) \]
    8. Simplified38.5%

      \[\leadsto \color{blue}{c \cdot \left(\mathsf{fma}\left(y0, -z, y4\right) \cdot y3\right)} \]

    if -5.0000000000000002e221 < y3 < -150 or 1.00000000000000005e242 < y3

    1. Initial program 17.3%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
    5. Simplified52.5%

      \[\leadsto \color{blue}{\left(-y3\right) \cdot \left(\mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, c \cdot y0 - a \cdot y1, j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right) - c \cdot y4\right)} \]
    6. Taylor expanded in a around -inf

      \[\leadsto \color{blue}{a \cdot \left(y3 \cdot \left(-1 \cdot y5 + y1 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{a \cdot \left(y3 \cdot \left(-1 \cdot y5 + y1 \cdot z\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot y5 + y1 \cdot z\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z + -1 \cdot y5\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \left(y1 \cdot z + \color{blue}{\left(\mathsf{neg}\left(y5\right)\right)}\right)\right) \]
      5. unsub-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z - y5\right)}\right) \]
      6. lower--.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z - y5\right)}\right) \]
      7. *-commutativeN/A

        \[\leadsto a \cdot \left(y3 \cdot \left(\color{blue}{z \cdot y1} - y5\right)\right) \]
      8. lower-*.f6449.0

        \[\leadsto a \cdot \left(y3 \cdot \left(\color{blue}{z \cdot y1} - y5\right)\right) \]
    8. Simplified49.0%

      \[\leadsto \color{blue}{a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)} \]

    if -150 < y3 < -7.9999999999999996e-112

    1. Initial program 33.7%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, x \cdot y2 - y3 \cdot z, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      5. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{x \cdot y2 - y3 \cdot z}, b \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(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)}\right)\right)\right) \]
      14. remove-double-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \color{blue}{y5 \cdot \left(t \cdot y2 - y \cdot y3\right)}\right) \]
    5. Simplified46.6%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(-y1, y2 \cdot x - z \cdot y3, \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right)\right)} \]
    6. Taylor expanded in x around inf

      \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(-1 \cdot y1 + b \cdot y\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(-1 \cdot y1 + b \cdot y\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y + -1 \cdot y1\right)}\right) \]
      3. mul-1-negN/A

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y + \color{blue}{\left(\mathsf{neg}\left(y1\right)\right)}\right)\right) \]
      4. unsub-negN/A

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1\right)}\right) \]
      5. lower--.f64N/A

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1\right)}\right) \]
      6. lower-*.f6442.5

        \[\leadsto a \cdot \left(x \cdot \left(\color{blue}{b \cdot y} - y1\right)\right) \]
    8. Simplified42.5%

      \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(b \cdot y - y1\right)\right)} \]

    if -7.9999999999999996e-112 < y3 < 8.99999999999999944e-136

    1. Initial program 38.7%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(t \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot t\right) \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot t\right) \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      5. associate--l+N/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right)} \]
      6. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      7. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot j}\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      8. distribute-lft-neg-inN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(b \cdot y4 - i \cdot y5\right)\right)\right) \cdot j} + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(-1 \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \cdot j + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      10. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot \left(b \cdot y4 - i \cdot y5\right), j, z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    5. Simplified51.3%

      \[\leadsto \color{blue}{\left(-t\right) \cdot \mathsf{fma}\left(-\left(b \cdot y4 - i \cdot y5\right), j, \mathsf{fma}\left(z, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    6. Taylor expanded in y4 around -inf

      \[\leadsto \color{blue}{t \cdot \left(y4 \cdot \left(j + -1 \cdot \left(c \cdot y2\right)\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{t \cdot \left(y4 \cdot \left(j + -1 \cdot \left(c \cdot y2\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto t \cdot \color{blue}{\left(y4 \cdot \left(j + -1 \cdot \left(c \cdot y2\right)\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto t \cdot \left(y4 \cdot \left(j + \color{blue}{\left(\mathsf{neg}\left(c \cdot y2\right)\right)}\right)\right) \]
      4. unsub-negN/A

        \[\leadsto t \cdot \left(y4 \cdot \color{blue}{\left(j - c \cdot y2\right)}\right) \]
      5. lower--.f64N/A

        \[\leadsto t \cdot \left(y4 \cdot \color{blue}{\left(j - c \cdot y2\right)}\right) \]
      6. *-commutativeN/A

        \[\leadsto t \cdot \left(y4 \cdot \left(j - \color{blue}{y2 \cdot c}\right)\right) \]
      7. lower-*.f6434.1

        \[\leadsto t \cdot \left(y4 \cdot \left(j - \color{blue}{y2 \cdot c}\right)\right) \]
    8. Simplified34.1%

      \[\leadsto \color{blue}{t \cdot \left(y4 \cdot \left(j - y2 \cdot c\right)\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification39.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -5 \cdot 10^{+221}:\\ \;\;\;\;c \cdot \left(y3 \cdot \mathsf{fma}\left(y0, -z, y4\right)\right)\\ \mathbf{elif}\;y3 \leq -150:\\ \;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)\\ \mathbf{elif}\;y3 \leq -8 \cdot 10^{-112}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1\right)\right)\\ \mathbf{elif}\;y3 \leq 9 \cdot 10^{-136}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(j - c \cdot y2\right)\right)\\ \mathbf{elif}\;y3 \leq 10^{+242}:\\ \;\;\;\;c \cdot \left(y3 \cdot \mathsf{fma}\left(y0, -z, y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 20: 25.6% accurate, 4.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;x \leq -5 \cdot 10^{+129}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1\right)\right)\\ \mathbf{elif}\;x \leq -1 \cdot 10^{-282}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\ \mathbf{elif}\;x \leq 6.5 \cdot 10^{-252}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(c \cdot \left(-y2\right)\right)\right)\\ \mathbf{elif}\;x \leq 3.8 \cdot 10^{+50}:\\ \;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)\\ \mathbf{elif}\;x \leq 1.48 \cdot 10^{+156}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y2 - b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(c \cdot \left(y2 - i\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 -5e+129)
   (* a (* x (- (* y b) y1)))
   (if (<= x -1e-282)
     (* a (* t (- y5 (* z b))))
     (if (<= x 6.5e-252)
       (* t (* y4 (* c (- y2))))
       (if (<= x 3.8e+50)
         (* a (* y3 (- (* z y1) y5)))
         (if (<= x 1.48e+156) (* k (* y4 (- y2 b))) (* x (* c (- y2 i)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (x <= -5e+129) {
		tmp = a * (x * ((y * b) - y1));
	} else if (x <= -1e-282) {
		tmp = a * (t * (y5 - (z * b)));
	} else if (x <= 6.5e-252) {
		tmp = t * (y4 * (c * -y2));
	} else if (x <= 3.8e+50) {
		tmp = a * (y3 * ((z * y1) - y5));
	} else if (x <= 1.48e+156) {
		tmp = k * (y4 * (y2 - b));
	} else {
		tmp = x * (c * (y2 - i));
	}
	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 <= (-5d+129)) then
        tmp = a * (x * ((y * b) - y1))
    else if (x <= (-1d-282)) then
        tmp = a * (t * (y5 - (z * b)))
    else if (x <= 6.5d-252) then
        tmp = t * (y4 * (c * -y2))
    else if (x <= 3.8d+50) then
        tmp = a * (y3 * ((z * y1) - y5))
    else if (x <= 1.48d+156) then
        tmp = k * (y4 * (y2 - b))
    else
        tmp = x * (c * (y2 - i))
    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 <= -5e+129) {
		tmp = a * (x * ((y * b) - y1));
	} else if (x <= -1e-282) {
		tmp = a * (t * (y5 - (z * b)));
	} else if (x <= 6.5e-252) {
		tmp = t * (y4 * (c * -y2));
	} else if (x <= 3.8e+50) {
		tmp = a * (y3 * ((z * y1) - y5));
	} else if (x <= 1.48e+156) {
		tmp = k * (y4 * (y2 - b));
	} else {
		tmp = x * (c * (y2 - i));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if x <= -5e+129:
		tmp = a * (x * ((y * b) - y1))
	elif x <= -1e-282:
		tmp = a * (t * (y5 - (z * b)))
	elif x <= 6.5e-252:
		tmp = t * (y4 * (c * -y2))
	elif x <= 3.8e+50:
		tmp = a * (y3 * ((z * y1) - y5))
	elif x <= 1.48e+156:
		tmp = k * (y4 * (y2 - b))
	else:
		tmp = x * (c * (y2 - i))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (x <= -5e+129)
		tmp = Float64(a * Float64(x * Float64(Float64(y * b) - y1)));
	elseif (x <= -1e-282)
		tmp = Float64(a * Float64(t * Float64(y5 - Float64(z * b))));
	elseif (x <= 6.5e-252)
		tmp = Float64(t * Float64(y4 * Float64(c * Float64(-y2))));
	elseif (x <= 3.8e+50)
		tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - y5)));
	elseif (x <= 1.48e+156)
		tmp = Float64(k * Float64(y4 * Float64(y2 - b)));
	else
		tmp = Float64(x * Float64(c * Float64(y2 - i)));
	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 <= -5e+129)
		tmp = a * (x * ((y * b) - y1));
	elseif (x <= -1e-282)
		tmp = a * (t * (y5 - (z * b)));
	elseif (x <= 6.5e-252)
		tmp = t * (y4 * (c * -y2));
	elseif (x <= 3.8e+50)
		tmp = a * (y3 * ((z * y1) - y5));
	elseif (x <= 1.48e+156)
		tmp = k * (y4 * (y2 - b));
	else
		tmp = x * (c * (y2 - i));
	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, -5e+129], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1e-282], N[(a * N[(t * N[(y5 - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 6.5e-252], N[(t * N[(y4 * N[(c * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3.8e+50], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.48e+156], N[(k * N[(y4 * N[(y2 - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(c * N[(y2 - i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;x \leq -5 \cdot 10^{+129}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1\right)\right)\\

\mathbf{elif}\;x \leq -1 \cdot 10^{-282}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\

\mathbf{elif}\;x \leq 6.5 \cdot 10^{-252}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(c \cdot \left(-y2\right)\right)\right)\\

\mathbf{elif}\;x \leq 3.8 \cdot 10^{+50}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)\\

\mathbf{elif}\;x \leq 1.48 \cdot 10^{+156}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y2 - b\right)\right)\\

\mathbf{else}:\\
\;\;\;\;x \cdot \left(c \cdot \left(y2 - i\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if x < -5.0000000000000003e129

    1. Initial program 20.8%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, x \cdot y2 - y3 \cdot z, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      5. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{x \cdot y2 - y3 \cdot z}, b \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(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)}\right)\right)\right) \]
      14. remove-double-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \color{blue}{y5 \cdot \left(t \cdot y2 - y \cdot y3\right)}\right) \]
    5. Simplified46.4%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(-y1, y2 \cdot x - z \cdot y3, \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right)\right)} \]
    6. Taylor expanded in x around inf

      \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(-1 \cdot y1 + b \cdot y\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(-1 \cdot y1 + b \cdot y\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y + -1 \cdot y1\right)}\right) \]
      3. mul-1-negN/A

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y + \color{blue}{\left(\mathsf{neg}\left(y1\right)\right)}\right)\right) \]
      4. unsub-negN/A

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1\right)}\right) \]
      5. lower--.f64N/A

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1\right)}\right) \]
      6. lower-*.f6454.8

        \[\leadsto a \cdot \left(x \cdot \left(\color{blue}{b \cdot y} - y1\right)\right) \]
    8. Simplified54.8%

      \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(b \cdot y - y1\right)\right)} \]

    if -5.0000000000000003e129 < x < -1e-282

    1. Initial program 29.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, x \cdot y2 - y3 \cdot z, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      5. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{x \cdot y2 - y3 \cdot z}, b \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(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)}\right)\right)\right) \]
      14. remove-double-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \color{blue}{y5 \cdot \left(t \cdot y2 - y \cdot y3\right)}\right) \]
    5. Simplified46.6%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(-y1, y2 \cdot x - z \cdot y3, \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right)\right)} \]
    6. Taylor expanded in t around inf

      \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 + -1 \cdot \left(b \cdot z\right)\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 + -1 \cdot \left(b \cdot z\right)\right)\right)} \]
      2. mul-1-negN/A

        \[\leadsto a \cdot \left(t \cdot \left(y5 + \color{blue}{\left(\mathsf{neg}\left(b \cdot z\right)\right)}\right)\right) \]
      3. unsub-negN/A

        \[\leadsto a \cdot \left(t \cdot \color{blue}{\left(y5 - b \cdot z\right)}\right) \]
      4. lower--.f64N/A

        \[\leadsto a \cdot \left(t \cdot \color{blue}{\left(y5 - b \cdot z\right)}\right) \]
      5. lower-*.f6430.0

        \[\leadsto a \cdot \left(t \cdot \left(y5 - \color{blue}{b \cdot z}\right)\right) \]
    8. Simplified30.0%

      \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 - b \cdot z\right)\right)} \]

    if -1e-282 < x < 6.4999999999999998e-252

    1. Initial program 35.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 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. lower-*.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. lower--.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y2 \cdot \left(\color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto y2 \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - \color{blue}{t \cdot \left(c \cdot y4 - a \cdot y5\right)}\right) \]
      14. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified16.5%

      \[\leadsto \color{blue}{y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto y2 \cdot \left(c \cdot \color{blue}{\left(x - t \cdot y4\right)}\right) \]
      3. lower-*.f6436.1

        \[\leadsto y2 \cdot \left(c \cdot \left(x - \color{blue}{t \cdot y4}\right)\right) \]
    8. Simplified36.1%

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    9. Taylor expanded in x around 0

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(t \cdot \left(y2 \cdot y4\right)\right)\right)} \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(c \cdot \left(t \cdot \left(y2 \cdot y4\right)\right)\right)} \]
      2. lower-neg.f64N/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(c \cdot \left(t \cdot \left(y2 \cdot y4\right)\right)\right)} \]
      3. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(c \cdot t\right) \cdot \left(y2 \cdot y4\right)}\right) \]
      4. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(t \cdot c\right)} \cdot \left(y2 \cdot y4\right)\right) \]
      5. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{t \cdot \left(c \cdot \left(y2 \cdot y4\right)\right)}\right) \]
      6. lower-*.f64N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{t \cdot \left(c \cdot \left(y2 \cdot y4\right)\right)}\right) \]
      7. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(t \cdot \color{blue}{\left(\left(y2 \cdot y4\right) \cdot c\right)}\right) \]
      8. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(t \cdot \left(\color{blue}{\left(y4 \cdot y2\right)} \cdot c\right)\right) \]
      9. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(t \cdot \color{blue}{\left(y4 \cdot \left(y2 \cdot c\right)\right)}\right) \]
      10. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(t \cdot \left(y4 \cdot \color{blue}{\left(c \cdot y2\right)}\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \mathsf{neg}\left(t \cdot \color{blue}{\left(y4 \cdot \left(c \cdot y2\right)\right)}\right) \]
      12. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(t \cdot \left(y4 \cdot \color{blue}{\left(y2 \cdot c\right)}\right)\right) \]
      13. lower-*.f6445.9

        \[\leadsto -t \cdot \left(y4 \cdot \color{blue}{\left(y2 \cdot c\right)}\right) \]
    11. Simplified45.9%

      \[\leadsto \color{blue}{-t \cdot \left(y4 \cdot \left(y2 \cdot c\right)\right)} \]

    if 6.4999999999999998e-252 < x < 3.79999999999999987e50

    1. Initial program 33.9%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
    5. Simplified45.5%

      \[\leadsto \color{blue}{\left(-y3\right) \cdot \left(\mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, c \cdot y0 - a \cdot y1, j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right) - c \cdot y4\right)} \]
    6. Taylor expanded in a around -inf

      \[\leadsto \color{blue}{a \cdot \left(y3 \cdot \left(-1 \cdot y5 + y1 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{a \cdot \left(y3 \cdot \left(-1 \cdot y5 + y1 \cdot z\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot y5 + y1 \cdot z\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z + -1 \cdot y5\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \left(y1 \cdot z + \color{blue}{\left(\mathsf{neg}\left(y5\right)\right)}\right)\right) \]
      5. unsub-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z - y5\right)}\right) \]
      6. lower--.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z - y5\right)}\right) \]
      7. *-commutativeN/A

        \[\leadsto a \cdot \left(y3 \cdot \left(\color{blue}{z \cdot y1} - y5\right)\right) \]
      8. lower-*.f6431.8

        \[\leadsto a \cdot \left(y3 \cdot \left(\color{blue}{z \cdot y1} - y5\right)\right) \]
    8. Simplified31.8%

      \[\leadsto \color{blue}{a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)} \]

    if 3.79999999999999987e50 < x < 1.4799999999999999e156

    1. Initial program 40.0%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in k around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      6. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\left(\color{blue}{\left(-1 \cdot y2\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)} + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(-1 \cdot y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right)} - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. neg-mul-1N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-neg.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4 - y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4} - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - \color{blue}{y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, \color{blue}{b \cdot y4}\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      14. +-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\left(z \cdot \left(b \cdot y0 - i \cdot y1\right) + i \cdot y5\right)}\right) \]
      15. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)}\right) \]
    5. Simplified43.8%

      \[\leadsto \color{blue}{\left(-k\right) \cdot \left(\mathsf{fma}\left(-y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)\right)} \]
    6. Taylor expanded in y4 around inf

      \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y4 \cdot \left(b + -1 \cdot y2\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y4 \cdot \left(b + -1 \cdot y2\right)\right)} \]
      2. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(y4 \cdot \left(b + \color{blue}{\left(\mathsf{neg}\left(y2\right)\right)}\right)\right) \]
      3. unsub-negN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(y4 \cdot \color{blue}{\left(b - y2\right)}\right) \]
      4. lower--.f6441.2

        \[\leadsto \left(-k\right) \cdot \left(y4 \cdot \color{blue}{\left(b - y2\right)}\right) \]
    8. Simplified41.2%

      \[\leadsto \left(-k\right) \cdot \color{blue}{\left(y4 \cdot \left(b - y2\right)\right)} \]

    if 1.4799999999999999e156 < x

    1. Initial program 18.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6470.8

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified70.8%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto x \cdot \color{blue}{\left(c \cdot \left(y2 - i\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(c \cdot \left(y2 - i\right)\right)} \]
      2. lower--.f6453.0

        \[\leadsto x \cdot \left(c \cdot \color{blue}{\left(y2 - i\right)}\right) \]
    8. Simplified53.0%

      \[\leadsto x \cdot \color{blue}{\left(c \cdot \left(y2 - i\right)\right)} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification37.7%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -5 \cdot 10^{+129}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1\right)\right)\\ \mathbf{elif}\;x \leq -1 \cdot 10^{-282}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\ \mathbf{elif}\;x \leq 6.5 \cdot 10^{-252}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(c \cdot \left(-y2\right)\right)\right)\\ \mathbf{elif}\;x \leq 3.8 \cdot 10^{+50}:\\ \;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)\\ \mathbf{elif}\;x \leq 1.48 \cdot 10^{+156}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y2 - b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(c \cdot \left(y2 - i\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 21: 31.9% accurate, 4.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -6.8 \cdot 10^{+24}:\\ \;\;\;\;i \cdot \left(t \cdot \mathsf{fma}\left(c, z, j \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;t \leq -4.5 \cdot 10^{-97}:\\ \;\;\;\;k \cdot \left(z \cdot \mathsf{fma}\left(-i, y1, b \cdot y0\right)\right)\\ \mathbf{elif}\;t \leq 2.25 \cdot 10^{+42}:\\ \;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\ \mathbf{elif}\;t \leq 2.4 \cdot 10^{+176}:\\ \;\;\;\;y3 \cdot \left(c \cdot \left(y4 - z \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (if (<= t -6.8e+24)
   (* i (* t (fma c z (* j (- y5)))))
   (if (<= t -4.5e-97)
     (* k (* z (fma (- i) y1 (* b y0))))
     (if (<= t 2.25e+42)
       (* a (* y3 (fma (- y) y5 (* z y1))))
       (if (<= t 2.4e+176)
         (* y3 (* c (- y4 (* z y0))))
         (* a (* t (- (* y2 y5) z))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (t <= -6.8e+24) {
		tmp = i * (t * fma(c, z, (j * -y5)));
	} else if (t <= -4.5e-97) {
		tmp = k * (z * fma(-i, y1, (b * y0)));
	} else if (t <= 2.25e+42) {
		tmp = a * (y3 * fma(-y, y5, (z * y1)));
	} else if (t <= 2.4e+176) {
		tmp = y3 * (c * (y4 - (z * y0)));
	} else {
		tmp = a * (t * ((y2 * y5) - z));
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (t <= -6.8e+24)
		tmp = Float64(i * Float64(t * fma(c, z, Float64(j * Float64(-y5)))));
	elseif (t <= -4.5e-97)
		tmp = Float64(k * Float64(z * fma(Float64(-i), y1, Float64(b * y0))));
	elseif (t <= 2.25e+42)
		tmp = Float64(a * Float64(y3 * fma(Float64(-y), y5, Float64(z * y1))));
	elseif (t <= 2.4e+176)
		tmp = Float64(y3 * Float64(c * Float64(y4 - Float64(z * y0))));
	else
		tmp = Float64(a * Float64(t * Float64(Float64(y2 * y5) - z)));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[t, -6.8e+24], N[(i * N[(t * N[(c * z + N[(j * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -4.5e-97], N[(k * N[(z * N[((-i) * y1 + N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.25e+42], N[(a * N[(y3 * N[((-y) * y5 + N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.4e+176], N[(y3 * N[(c * N[(y4 - N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;t \leq -6.8 \cdot 10^{+24}:\\
\;\;\;\;i \cdot \left(t \cdot \mathsf{fma}\left(c, z, j \cdot \left(-y5\right)\right)\right)\\

\mathbf{elif}\;t \leq -4.5 \cdot 10^{-97}:\\
\;\;\;\;k \cdot \left(z \cdot \mathsf{fma}\left(-i, y1, b \cdot y0\right)\right)\\

\mathbf{elif}\;t \leq 2.25 \cdot 10^{+42}:\\
\;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\

\mathbf{elif}\;t \leq 2.4 \cdot 10^{+176}:\\
\;\;\;\;y3 \cdot \left(c \cdot \left(y4 - z \cdot y0\right)\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if t < -6.8000000000000001e24

    1. Initial program 18.7%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in i around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \color{blue}{\left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      6. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(c, x \cdot y - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{x \cdot y - t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      10. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - \color{blue}{t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, \color{blue}{y5 \cdot \left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      12. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \color{blue}{\left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      13. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      15. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - \color{blue}{k \cdot y}\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      16. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - k \cdot y\right)\right) - \color{blue}{y1 \cdot \left(j \cdot x - k \cdot z\right)}\right) \]
    5. Simplified42.6%

      \[\leadsto \color{blue}{\left(-i\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - z \cdot k\right)\right)} \]
    6. Taylor expanded in t around -inf

      \[\leadsto \color{blue}{i \cdot \left(t \cdot \left(-1 \cdot \left(j \cdot y5\right) + c \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{i \cdot \left(t \cdot \left(-1 \cdot \left(j \cdot y5\right) + c \cdot z\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto i \cdot \color{blue}{\left(t \cdot \left(-1 \cdot \left(j \cdot y5\right) + c \cdot z\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto i \cdot \left(t \cdot \color{blue}{\left(c \cdot z + -1 \cdot \left(j \cdot y5\right)\right)}\right) \]
      4. lower-fma.f64N/A

        \[\leadsto i \cdot \left(t \cdot \color{blue}{\mathsf{fma}\left(c, z, -1 \cdot \left(j \cdot y5\right)\right)}\right) \]
      5. associate-*r*N/A

        \[\leadsto i \cdot \left(t \cdot \mathsf{fma}\left(c, z, \color{blue}{\left(-1 \cdot j\right) \cdot y5}\right)\right) \]
      6. lower-*.f64N/A

        \[\leadsto i \cdot \left(t \cdot \mathsf{fma}\left(c, z, \color{blue}{\left(-1 \cdot j\right) \cdot y5}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto i \cdot \left(t \cdot \mathsf{fma}\left(c, z, \color{blue}{\left(\mathsf{neg}\left(j\right)\right)} \cdot y5\right)\right) \]
      8. lower-neg.f6448.0

        \[\leadsto i \cdot \left(t \cdot \mathsf{fma}\left(c, z, \color{blue}{\left(-j\right)} \cdot y5\right)\right) \]
    8. Simplified48.0%

      \[\leadsto \color{blue}{i \cdot \left(t \cdot \mathsf{fma}\left(c, z, \left(-j\right) \cdot y5\right)\right)} \]

    if -6.8000000000000001e24 < t < -4.5000000000000001e-97

    1. Initial program 28.9%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in k around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      6. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\left(\color{blue}{\left(-1 \cdot y2\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)} + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(-1 \cdot y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right)} - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. neg-mul-1N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-neg.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4 - y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4} - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - \color{blue}{y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, \color{blue}{b \cdot y4}\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      14. +-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\left(z \cdot \left(b \cdot y0 - i \cdot y1\right) + i \cdot y5\right)}\right) \]
      15. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)}\right) \]
    5. Simplified47.0%

      \[\leadsto \color{blue}{\left(-k\right) \cdot \left(\mathsf{fma}\left(-y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\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. lower-*.f64N/A

        \[\leadsto \color{blue}{k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
      3. sub-negN/A

        \[\leadsto k \cdot \left(z \cdot \color{blue}{\left(b \cdot y0 + \left(\mathsf{neg}\left(i \cdot y1\right)\right)\right)}\right) \]
      4. +-commutativeN/A

        \[\leadsto k \cdot \left(z \cdot \color{blue}{\left(\left(\mathsf{neg}\left(i \cdot y1\right)\right) + b \cdot y0\right)}\right) \]
      5. mul-1-negN/A

        \[\leadsto k \cdot \left(z \cdot \left(\color{blue}{-1 \cdot \left(i \cdot y1\right)} + b \cdot y0\right)\right) \]
      6. associate-*r*N/A

        \[\leadsto k \cdot \left(z \cdot \left(\color{blue}{\left(-1 \cdot i\right) \cdot y1} + b \cdot y0\right)\right) \]
      7. lower-fma.f64N/A

        \[\leadsto k \cdot \left(z \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot i, y1, b \cdot y0\right)}\right) \]
      8. mul-1-negN/A

        \[\leadsto k \cdot \left(z \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(i\right)}, y1, b \cdot y0\right)\right) \]
      9. lower-neg.f64N/A

        \[\leadsto k \cdot \left(z \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(i\right)}, y1, b \cdot y0\right)\right) \]
      10. lower-*.f6444.3

        \[\leadsto k \cdot \left(z \cdot \mathsf{fma}\left(-i, y1, \color{blue}{b \cdot y0}\right)\right) \]
    8. Simplified44.3%

      \[\leadsto \color{blue}{k \cdot \left(z \cdot \mathsf{fma}\left(-i, y1, b \cdot y0\right)\right)} \]

    if -4.5000000000000001e-97 < t < 2.25000000000000006e42

    1. Initial program 37.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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, x \cdot y2 - y3 \cdot z, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      5. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{x \cdot y2 - y3 \cdot z}, b \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(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)}\right)\right)\right) \]
      14. remove-double-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \color{blue}{y5 \cdot \left(t \cdot y2 - y \cdot y3\right)}\right) \]
    5. Simplified45.0%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(-y1, y2 \cdot x - z \cdot y3, \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\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. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y \cdot y5\right) + y1 \cdot z\right)\right)} \]
      2. associate-*r*N/A

        \[\leadsto a \cdot \left(y3 \cdot \left(\color{blue}{\left(-1 \cdot y\right) \cdot y5} + y1 \cdot z\right)\right) \]
      3. lower-fma.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y, y5, y1 \cdot z\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y\right)}, y5, y1 \cdot z\right)\right) \]
      5. lower-neg.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y\right)}, y5, y1 \cdot z\right)\right) \]
      6. lower-*.f6439.3

        \[\leadsto a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, \color{blue}{y1 \cdot z}\right)\right) \]
    8. Simplified39.3%

      \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \mathsf{fma}\left(-y, y5, y1 \cdot z\right)\right)} \]

    if 2.25000000000000006e42 < t < 2.4000000000000001e176

    1. Initial program 18.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
    5. Simplified52.3%

      \[\leadsto \color{blue}{\left(-y3\right) \cdot \left(\mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, c \cdot y0 - a \cdot y1, j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right) - c \cdot y4\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(c \cdot \left(y0 \cdot z - y4\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(c \cdot \left(y0 \cdot z - y4\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(c \cdot \color{blue}{\left(y0 \cdot z - y4\right)}\right) \]
      3. lower-*.f6441.8

        \[\leadsto \left(-y3\right) \cdot \left(c \cdot \left(\color{blue}{y0 \cdot z} - y4\right)\right) \]
    8. Simplified41.8%

      \[\leadsto \left(-y3\right) \cdot \color{blue}{\left(c \cdot \left(y0 \cdot z - y4\right)\right)} \]

    if 2.4000000000000001e176 < t

    1. Initial program 37.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(t \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot t\right) \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot t\right) \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      5. associate--l+N/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right)} \]
      6. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      7. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot j}\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      8. distribute-lft-neg-inN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(b \cdot y4 - i \cdot y5\right)\right)\right) \cdot j} + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(-1 \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \cdot j + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      10. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot \left(b \cdot y4 - i \cdot y5\right), j, z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    5. Simplified70.8%

      \[\leadsto \color{blue}{\left(-t\right) \cdot \mathsf{fma}\left(-\left(b \cdot y4 - i \cdot y5\right), j, \mathsf{fma}\left(z, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    6. Taylor expanded in a around inf

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)\right)} \]
      2. lower-neg.f64N/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)\right)} \]
      3. lower-*.f64N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)}\right) \]
      4. lower-*.f64N/A

        \[\leadsto \mathsf{neg}\left(a \cdot \color{blue}{\left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)}\right) \]
      5. mul-1-negN/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \left(z + \color{blue}{\left(\mathsf{neg}\left(y2 \cdot y5\right)\right)}\right)\right)\right) \]
      6. unsub-negN/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \color{blue}{\left(z - y2 \cdot y5\right)}\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \color{blue}{\left(z - y2 \cdot y5\right)}\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \left(z - \color{blue}{y5 \cdot y2}\right)\right)\right) \]
      9. lower-*.f6459.0

        \[\leadsto -a \cdot \left(t \cdot \left(z - \color{blue}{y5 \cdot y2}\right)\right) \]
    8. Simplified59.0%

      \[\leadsto \color{blue}{-a \cdot \left(t \cdot \left(z - y5 \cdot y2\right)\right)} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification44.0%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -6.8 \cdot 10^{+24}:\\ \;\;\;\;i \cdot \left(t \cdot \mathsf{fma}\left(c, z, j \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;t \leq -4.5 \cdot 10^{-97}:\\ \;\;\;\;k \cdot \left(z \cdot \mathsf{fma}\left(-i, y1, b \cdot y0\right)\right)\\ \mathbf{elif}\;t \leq 2.25 \cdot 10^{+42}:\\ \;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\ \mathbf{elif}\;t \leq 2.4 \cdot 10^{+176}:\\ \;\;\;\;y3 \cdot \left(c \cdot \left(y4 - z \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 22: 29.7% accurate, 4.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -3.2 \cdot 10^{+117}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\ \mathbf{elif}\;t \leq -3.7 \cdot 10^{-110}:\\ \;\;\;\;x \cdot \left(i \cdot \left(j \cdot y1 - c\right)\right)\\ \mathbf{elif}\;t \leq 2.25 \cdot 10^{+42}:\\ \;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\ \mathbf{elif}\;t \leq 2.4 \cdot 10^{+176}:\\ \;\;\;\;y3 \cdot \left(c \cdot \left(y4 - z \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (if (<= t -3.2e+117)
   (* a (* t (- y5 (* z b))))
   (if (<= t -3.7e-110)
     (* x (* i (- (* j y1) c)))
     (if (<= t 2.25e+42)
       (* a (* y3 (fma (- y) y5 (* z y1))))
       (if (<= t 2.4e+176)
         (* y3 (* c (- y4 (* z y0))))
         (* a (* t (- (* y2 y5) z))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (t <= -3.2e+117) {
		tmp = a * (t * (y5 - (z * b)));
	} else if (t <= -3.7e-110) {
		tmp = x * (i * ((j * y1) - c));
	} else if (t <= 2.25e+42) {
		tmp = a * (y3 * fma(-y, y5, (z * y1)));
	} else if (t <= 2.4e+176) {
		tmp = y3 * (c * (y4 - (z * y0)));
	} else {
		tmp = a * (t * ((y2 * y5) - z));
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (t <= -3.2e+117)
		tmp = Float64(a * Float64(t * Float64(y5 - Float64(z * b))));
	elseif (t <= -3.7e-110)
		tmp = Float64(x * Float64(i * Float64(Float64(j * y1) - c)));
	elseif (t <= 2.25e+42)
		tmp = Float64(a * Float64(y3 * fma(Float64(-y), y5, Float64(z * y1))));
	elseif (t <= 2.4e+176)
		tmp = Float64(y3 * Float64(c * Float64(y4 - Float64(z * y0))));
	else
		tmp = Float64(a * Float64(t * Float64(Float64(y2 * y5) - z)));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[t, -3.2e+117], N[(a * N[(t * N[(y5 - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -3.7e-110], N[(x * N[(i * N[(N[(j * y1), $MachinePrecision] - c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.25e+42], N[(a * N[(y3 * N[((-y) * y5 + N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.4e+176], N[(y3 * N[(c * N[(y4 - N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;t \leq -3.2 \cdot 10^{+117}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\

\mathbf{elif}\;t \leq -3.7 \cdot 10^{-110}:\\
\;\;\;\;x \cdot \left(i \cdot \left(j \cdot y1 - c\right)\right)\\

\mathbf{elif}\;t \leq 2.25 \cdot 10^{+42}:\\
\;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\

\mathbf{elif}\;t \leq 2.4 \cdot 10^{+176}:\\
\;\;\;\;y3 \cdot \left(c \cdot \left(y4 - z \cdot y0\right)\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if t < -3.20000000000000005e117

    1. Initial program 15.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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, x \cdot y2 - y3 \cdot z, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      5. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{x \cdot y2 - y3 \cdot z}, b \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(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)}\right)\right)\right) \]
      14. remove-double-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \color{blue}{y5 \cdot \left(t \cdot y2 - y \cdot y3\right)}\right) \]
    5. Simplified50.2%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(-y1, y2 \cdot x - z \cdot y3, \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right)\right)} \]
    6. Taylor expanded in t around inf

      \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 + -1 \cdot \left(b \cdot z\right)\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 + -1 \cdot \left(b \cdot z\right)\right)\right)} \]
      2. mul-1-negN/A

        \[\leadsto a \cdot \left(t \cdot \left(y5 + \color{blue}{\left(\mathsf{neg}\left(b \cdot z\right)\right)}\right)\right) \]
      3. unsub-negN/A

        \[\leadsto a \cdot \left(t \cdot \color{blue}{\left(y5 - b \cdot z\right)}\right) \]
      4. lower--.f64N/A

        \[\leadsto a \cdot \left(t \cdot \color{blue}{\left(y5 - b \cdot z\right)}\right) \]
      5. lower-*.f6452.9

        \[\leadsto a \cdot \left(t \cdot \left(y5 - \color{blue}{b \cdot z}\right)\right) \]
    8. Simplified52.9%

      \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 - b \cdot z\right)\right)} \]

    if -3.20000000000000005e117 < t < -3.70000000000000016e-110

    1. Initial program 30.9%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6441.9

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified41.9%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in i around -inf

      \[\leadsto x \cdot \color{blue}{\left(i \cdot \left(-1 \cdot c + j \cdot y1\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(i \cdot \left(-1 \cdot c + j \cdot y1\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto x \cdot \left(i \cdot \color{blue}{\left(j \cdot y1 + -1 \cdot c\right)}\right) \]
      3. mul-1-negN/A

        \[\leadsto x \cdot \left(i \cdot \left(j \cdot y1 + \color{blue}{\left(\mathsf{neg}\left(c\right)\right)}\right)\right) \]
      4. unsub-negN/A

        \[\leadsto x \cdot \left(i \cdot \color{blue}{\left(j \cdot y1 - c\right)}\right) \]
      5. lower--.f64N/A

        \[\leadsto x \cdot \left(i \cdot \color{blue}{\left(j \cdot y1 - c\right)}\right) \]
      6. lower-*.f6439.8

        \[\leadsto x \cdot \left(i \cdot \left(\color{blue}{j \cdot y1} - c\right)\right) \]
    8. Simplified39.8%

      \[\leadsto x \cdot \color{blue}{\left(i \cdot \left(j \cdot y1 - c\right)\right)} \]

    if -3.70000000000000016e-110 < t < 2.25000000000000006e42

    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 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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, x \cdot y2 - y3 \cdot z, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      5. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{x \cdot y2 - y3 \cdot z}, b \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(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)}\right)\right)\right) \]
      14. remove-double-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \color{blue}{y5 \cdot \left(t \cdot y2 - y \cdot y3\right)}\right) \]
    5. Simplified44.9%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(-y1, y2 \cdot x - z \cdot y3, \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\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. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y \cdot y5\right) + y1 \cdot z\right)\right)} \]
      2. associate-*r*N/A

        \[\leadsto a \cdot \left(y3 \cdot \left(\color{blue}{\left(-1 \cdot y\right) \cdot y5} + y1 \cdot z\right)\right) \]
      3. lower-fma.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y, y5, y1 \cdot z\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y\right)}, y5, y1 \cdot z\right)\right) \]
      5. lower-neg.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y\right)}, y5, y1 \cdot z\right)\right) \]
      6. lower-*.f6439.1

        \[\leadsto a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, \color{blue}{y1 \cdot z}\right)\right) \]
    8. Simplified39.1%

      \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \mathsf{fma}\left(-y, y5, y1 \cdot z\right)\right)} \]

    if 2.25000000000000006e42 < t < 2.4000000000000001e176

    1. Initial program 18.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
    5. Simplified52.3%

      \[\leadsto \color{blue}{\left(-y3\right) \cdot \left(\mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, c \cdot y0 - a \cdot y1, j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right) - c \cdot y4\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(c \cdot \left(y0 \cdot z - y4\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(c \cdot \left(y0 \cdot z - y4\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(c \cdot \color{blue}{\left(y0 \cdot z - y4\right)}\right) \]
      3. lower-*.f6441.8

        \[\leadsto \left(-y3\right) \cdot \left(c \cdot \left(\color{blue}{y0 \cdot z} - y4\right)\right) \]
    8. Simplified41.8%

      \[\leadsto \left(-y3\right) \cdot \color{blue}{\left(c \cdot \left(y0 \cdot z - y4\right)\right)} \]

    if 2.4000000000000001e176 < t

    1. Initial program 37.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(t \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot t\right) \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot t\right) \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      5. associate--l+N/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right)} \]
      6. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      7. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot j}\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      8. distribute-lft-neg-inN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(b \cdot y4 - i \cdot y5\right)\right)\right) \cdot j} + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(-1 \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \cdot j + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      10. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot \left(b \cdot y4 - i \cdot y5\right), j, z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    5. Simplified70.8%

      \[\leadsto \color{blue}{\left(-t\right) \cdot \mathsf{fma}\left(-\left(b \cdot y4 - i \cdot y5\right), j, \mathsf{fma}\left(z, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    6. Taylor expanded in a around inf

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)\right)} \]
      2. lower-neg.f64N/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)\right)} \]
      3. lower-*.f64N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)}\right) \]
      4. lower-*.f64N/A

        \[\leadsto \mathsf{neg}\left(a \cdot \color{blue}{\left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)}\right) \]
      5. mul-1-negN/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \left(z + \color{blue}{\left(\mathsf{neg}\left(y2 \cdot y5\right)\right)}\right)\right)\right) \]
      6. unsub-negN/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \color{blue}{\left(z - y2 \cdot y5\right)}\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \color{blue}{\left(z - y2 \cdot y5\right)}\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \left(z - \color{blue}{y5 \cdot y2}\right)\right)\right) \]
      9. lower-*.f6459.0

        \[\leadsto -a \cdot \left(t \cdot \left(z - \color{blue}{y5 \cdot y2}\right)\right) \]
    8. Simplified59.0%

      \[\leadsto \color{blue}{-a \cdot \left(t \cdot \left(z - y5 \cdot y2\right)\right)} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification43.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -3.2 \cdot 10^{+117}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\ \mathbf{elif}\;t \leq -3.7 \cdot 10^{-110}:\\ \;\;\;\;x \cdot \left(i \cdot \left(j \cdot y1 - c\right)\right)\\ \mathbf{elif}\;t \leq 2.25 \cdot 10^{+42}:\\ \;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\ \mathbf{elif}\;t \leq 2.4 \cdot 10^{+176}:\\ \;\;\;\;y3 \cdot \left(c \cdot \left(y4 - z \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 23: 27.6% accurate, 4.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -3.2 \cdot 10^{+117}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\ \mathbf{elif}\;t \leq -1.65 \cdot 10^{-132}:\\ \;\;\;\;x \cdot \left(i \cdot \left(j \cdot y1 - c\right)\right)\\ \mathbf{elif}\;t \leq 1.06 \cdot 10^{-293}:\\ \;\;\;\;y0 \cdot \left(y2 \cdot \left(x - k \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq 4.2 \cdot 10^{+176}:\\ \;\;\;\;c \cdot \left(y3 \cdot \mathsf{fma}\left(y0, -z, y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (if (<= t -3.2e+117)
   (* a (* t (- y5 (* z b))))
   (if (<= t -1.65e-132)
     (* x (* i (- (* j y1) c)))
     (if (<= t 1.06e-293)
       (* y0 (* y2 (- x (* k y5))))
       (if (<= t 4.2e+176)
         (* c (* y3 (fma y0 (- z) y4)))
         (* a (* t (- (* y2 y5) z))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (t <= -3.2e+117) {
		tmp = a * (t * (y5 - (z * b)));
	} else if (t <= -1.65e-132) {
		tmp = x * (i * ((j * y1) - c));
	} else if (t <= 1.06e-293) {
		tmp = y0 * (y2 * (x - (k * y5)));
	} else if (t <= 4.2e+176) {
		tmp = c * (y3 * fma(y0, -z, y4));
	} else {
		tmp = a * (t * ((y2 * y5) - z));
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (t <= -3.2e+117)
		tmp = Float64(a * Float64(t * Float64(y5 - Float64(z * b))));
	elseif (t <= -1.65e-132)
		tmp = Float64(x * Float64(i * Float64(Float64(j * y1) - c)));
	elseif (t <= 1.06e-293)
		tmp = Float64(y0 * Float64(y2 * Float64(x - Float64(k * y5))));
	elseif (t <= 4.2e+176)
		tmp = Float64(c * Float64(y3 * fma(y0, Float64(-z), y4)));
	else
		tmp = Float64(a * Float64(t * Float64(Float64(y2 * y5) - z)));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[t, -3.2e+117], N[(a * N[(t * N[(y5 - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.65e-132], N[(x * N[(i * N[(N[(j * y1), $MachinePrecision] - c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.06e-293], N[(y0 * N[(y2 * N[(x - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 4.2e+176], N[(c * N[(y3 * N[(y0 * (-z) + y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;t \leq -3.2 \cdot 10^{+117}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\

\mathbf{elif}\;t \leq -1.65 \cdot 10^{-132}:\\
\;\;\;\;x \cdot \left(i \cdot \left(j \cdot y1 - c\right)\right)\\

\mathbf{elif}\;t \leq 1.06 \cdot 10^{-293}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x - k \cdot y5\right)\right)\\

\mathbf{elif}\;t \leq 4.2 \cdot 10^{+176}:\\
\;\;\;\;c \cdot \left(y3 \cdot \mathsf{fma}\left(y0, -z, y4\right)\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if t < -3.20000000000000005e117

    1. Initial program 15.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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, x \cdot y2 - y3 \cdot z, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      5. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{x \cdot y2 - y3 \cdot z}, b \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(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)}\right)\right)\right) \]
      14. remove-double-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \color{blue}{y5 \cdot \left(t \cdot y2 - y \cdot y3\right)}\right) \]
    5. Simplified50.2%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(-y1, y2 \cdot x - z \cdot y3, \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right)\right)} \]
    6. Taylor expanded in t around inf

      \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 + -1 \cdot \left(b \cdot z\right)\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 + -1 \cdot \left(b \cdot z\right)\right)\right)} \]
      2. mul-1-negN/A

        \[\leadsto a \cdot \left(t \cdot \left(y5 + \color{blue}{\left(\mathsf{neg}\left(b \cdot z\right)\right)}\right)\right) \]
      3. unsub-negN/A

        \[\leadsto a \cdot \left(t \cdot \color{blue}{\left(y5 - b \cdot z\right)}\right) \]
      4. lower--.f64N/A

        \[\leadsto a \cdot \left(t \cdot \color{blue}{\left(y5 - b \cdot z\right)}\right) \]
      5. lower-*.f6452.9

        \[\leadsto a \cdot \left(t \cdot \left(y5 - \color{blue}{b \cdot z}\right)\right) \]
    8. Simplified52.9%

      \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 - b \cdot z\right)\right)} \]

    if -3.20000000000000005e117 < t < -1.6499999999999999e-132

    1. Initial program 33.0%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6441.4

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified41.4%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in i around -inf

      \[\leadsto x \cdot \color{blue}{\left(i \cdot \left(-1 \cdot c + j \cdot y1\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(i \cdot \left(-1 \cdot c + j \cdot y1\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto x \cdot \left(i \cdot \color{blue}{\left(j \cdot y1 + -1 \cdot c\right)}\right) \]
      3. mul-1-negN/A

        \[\leadsto x \cdot \left(i \cdot \left(j \cdot y1 + \color{blue}{\left(\mathsf{neg}\left(c\right)\right)}\right)\right) \]
      4. unsub-negN/A

        \[\leadsto x \cdot \left(i \cdot \color{blue}{\left(j \cdot y1 - c\right)}\right) \]
      5. lower--.f64N/A

        \[\leadsto x \cdot \left(i \cdot \color{blue}{\left(j \cdot y1 - c\right)}\right) \]
      6. lower-*.f6439.5

        \[\leadsto x \cdot \left(i \cdot \left(\color{blue}{j \cdot y1} - c\right)\right) \]
    8. Simplified39.5%

      \[\leadsto x \cdot \color{blue}{\left(i \cdot \left(j \cdot y1 - c\right)\right)} \]

    if -1.6499999999999999e-132 < t < 1.05999999999999994e-293

    1. Initial program 38.6%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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. lower-*.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. lower--.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y2 \cdot \left(\color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto y2 \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - \color{blue}{t \cdot \left(c \cdot y4 - a \cdot y5\right)}\right) \]
      14. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified39.0%

      \[\leadsto \color{blue}{y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    6. Taylor expanded in y0 around inf

      \[\leadsto \color{blue}{y0 \cdot \left(y2 \cdot \left(x + -1 \cdot \left(k \cdot y5\right)\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{y0 \cdot \left(y2 \cdot \left(x + -1 \cdot \left(k \cdot y5\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto y0 \cdot \color{blue}{\left(y2 \cdot \left(x + -1 \cdot \left(k \cdot y5\right)\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto y0 \cdot \left(y2 \cdot \left(x + \color{blue}{\left(\mathsf{neg}\left(k \cdot y5\right)\right)}\right)\right) \]
      4. unsub-negN/A

        \[\leadsto y0 \cdot \left(y2 \cdot \color{blue}{\left(x - k \cdot y5\right)}\right) \]
      5. lower--.f64N/A

        \[\leadsto y0 \cdot \left(y2 \cdot \color{blue}{\left(x - k \cdot y5\right)}\right) \]
      6. lower-*.f6445.2

        \[\leadsto y0 \cdot \left(y2 \cdot \left(x - \color{blue}{k \cdot y5}\right)\right) \]
    8. Simplified45.2%

      \[\leadsto \color{blue}{y0 \cdot \left(y2 \cdot \left(x - k \cdot y5\right)\right)} \]

    if 1.05999999999999994e-293 < t < 4.1999999999999998e176

    1. Initial program 29.8%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
    5. Simplified44.5%

      \[\leadsto \color{blue}{\left(-y3\right) \cdot \left(\mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, c \cdot y0 - a \cdot y1, j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right) - c \cdot y4\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(y3 \cdot \left(y0 \cdot z - y4\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(c \cdot \left(y3 \cdot \left(y0 \cdot z - y4\right)\right)\right)} \]
      2. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(c \cdot y3\right) \cdot \left(y0 \cdot z - y4\right)}\right) \]
      3. distribute-rgt-neg-inN/A

        \[\leadsto \color{blue}{\left(c \cdot y3\right) \cdot \left(\mathsf{neg}\left(\left(y0 \cdot z - y4\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto \left(c \cdot y3\right) \cdot \color{blue}{\left(-1 \cdot \left(y0 \cdot z - y4\right)\right)} \]
      5. distribute-lft-out--N/A

        \[\leadsto \left(c \cdot y3\right) \cdot \color{blue}{\left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right)} \]
      6. associate-*r*N/A

        \[\leadsto \color{blue}{c \cdot \left(y3 \cdot \left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right)\right)} \]
      7. lower-*.f64N/A

        \[\leadsto \color{blue}{c \cdot \left(y3 \cdot \left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right)\right)} \]
      8. *-commutativeN/A

        \[\leadsto c \cdot \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right) \cdot y3\right)} \]
      9. lower-*.f64N/A

        \[\leadsto c \cdot \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right) \cdot y3\right)} \]
      10. sub-negN/A

        \[\leadsto c \cdot \left(\color{blue}{\left(-1 \cdot \left(y0 \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right)} \cdot y3\right) \]
      11. mul-1-negN/A

        \[\leadsto c \cdot \left(\left(\color{blue}{\left(\mathsf{neg}\left(y0 \cdot z\right)\right)} + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right) \cdot y3\right) \]
      12. distribute-rgt-neg-inN/A

        \[\leadsto c \cdot \left(\left(\color{blue}{y0 \cdot \left(\mathsf{neg}\left(z\right)\right)} + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right) \cdot y3\right) \]
      13. mul-1-negN/A

        \[\leadsto c \cdot \left(\left(y0 \cdot \color{blue}{\left(-1 \cdot z\right)} + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right) \cdot y3\right) \]
      14. mul-1-negN/A

        \[\leadsto c \cdot \left(\left(y0 \cdot \left(-1 \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y4\right)\right)}\right)\right)\right) \cdot y3\right) \]
      15. remove-double-negN/A

        \[\leadsto c \cdot \left(\left(y0 \cdot \left(-1 \cdot z\right) + \color{blue}{y4}\right) \cdot y3\right) \]
      16. lower-fma.f64N/A

        \[\leadsto c \cdot \left(\color{blue}{\mathsf{fma}\left(y0, -1 \cdot z, y4\right)} \cdot y3\right) \]
      17. mul-1-negN/A

        \[\leadsto c \cdot \left(\mathsf{fma}\left(y0, \color{blue}{\mathsf{neg}\left(z\right)}, y4\right) \cdot y3\right) \]
      18. lower-neg.f6427.5

        \[\leadsto c \cdot \left(\mathsf{fma}\left(y0, \color{blue}{-z}, y4\right) \cdot y3\right) \]
    8. Simplified27.5%

      \[\leadsto \color{blue}{c \cdot \left(\mathsf{fma}\left(y0, -z, y4\right) \cdot y3\right)} \]

    if 4.1999999999999998e176 < t

    1. Initial program 37.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(t \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot t\right) \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot t\right) \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      5. associate--l+N/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right)} \]
      6. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      7. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot j}\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      8. distribute-lft-neg-inN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(b \cdot y4 - i \cdot y5\right)\right)\right) \cdot j} + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(-1 \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \cdot j + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      10. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot \left(b \cdot y4 - i \cdot y5\right), j, z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    5. Simplified70.8%

      \[\leadsto \color{blue}{\left(-t\right) \cdot \mathsf{fma}\left(-\left(b \cdot y4 - i \cdot y5\right), j, \mathsf{fma}\left(z, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    6. Taylor expanded in a around inf

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)\right)} \]
      2. lower-neg.f64N/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)\right)} \]
      3. lower-*.f64N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)}\right) \]
      4. lower-*.f64N/A

        \[\leadsto \mathsf{neg}\left(a \cdot \color{blue}{\left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)}\right) \]
      5. mul-1-negN/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \left(z + \color{blue}{\left(\mathsf{neg}\left(y2 \cdot y5\right)\right)}\right)\right)\right) \]
      6. unsub-negN/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \color{blue}{\left(z - y2 \cdot y5\right)}\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \color{blue}{\left(z - y2 \cdot y5\right)}\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \left(z - \color{blue}{y5 \cdot y2}\right)\right)\right) \]
      9. lower-*.f6459.0

        \[\leadsto -a \cdot \left(t \cdot \left(z - \color{blue}{y5 \cdot y2}\right)\right) \]
    8. Simplified59.0%

      \[\leadsto \color{blue}{-a \cdot \left(t \cdot \left(z - y5 \cdot y2\right)\right)} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification39.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -3.2 \cdot 10^{+117}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\ \mathbf{elif}\;t \leq -1.65 \cdot 10^{-132}:\\ \;\;\;\;x \cdot \left(i \cdot \left(j \cdot y1 - c\right)\right)\\ \mathbf{elif}\;t \leq 1.06 \cdot 10^{-293}:\\ \;\;\;\;y0 \cdot \left(y2 \cdot \left(x - k \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq 4.2 \cdot 10^{+176}:\\ \;\;\;\;c \cdot \left(y3 \cdot \mathsf{fma}\left(y0, -z, y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 24: 27.0% accurate, 4.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\ \mathbf{if}\;t \leq -3.2 \cdot 10^{+117}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq -1.65 \cdot 10^{-132}:\\ \;\;\;\;x \cdot \left(i \cdot \left(j \cdot y1 - c\right)\right)\\ \mathbf{elif}\;t \leq 1.15 \cdot 10^{-236}:\\ \;\;\;\;y0 \cdot \left(y2 \cdot \left(x - k \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq 7.2 \cdot 10^{+201}:\\ \;\;\;\;x \cdot \left(a \cdot \left(b - y1 \cdot y2\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 (* t (- y5 (* z b))))))
   (if (<= t -3.2e+117)
     t_1
     (if (<= t -1.65e-132)
       (* x (* i (- (* j y1) c)))
       (if (<= t 1.15e-236)
         (* y0 (* y2 (- x (* k y5))))
         (if (<= t 7.2e+201) (* x (* a (- b (* y1 y2)))) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (t * (y5 - (z * b)));
	double tmp;
	if (t <= -3.2e+117) {
		tmp = t_1;
	} else if (t <= -1.65e-132) {
		tmp = x * (i * ((j * y1) - c));
	} else if (t <= 1.15e-236) {
		tmp = y0 * (y2 * (x - (k * y5)));
	} else if (t <= 7.2e+201) {
		tmp = x * (a * (b - (y1 * y2)));
	} 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 * (t * (y5 - (z * b)))
    if (t <= (-3.2d+117)) then
        tmp = t_1
    else if (t <= (-1.65d-132)) then
        tmp = x * (i * ((j * y1) - c))
    else if (t <= 1.15d-236) then
        tmp = y0 * (y2 * (x - (k * y5)))
    else if (t <= 7.2d+201) then
        tmp = x * (a * (b - (y1 * y2)))
    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 * (t * (y5 - (z * b)));
	double tmp;
	if (t <= -3.2e+117) {
		tmp = t_1;
	} else if (t <= -1.65e-132) {
		tmp = x * (i * ((j * y1) - c));
	} else if (t <= 1.15e-236) {
		tmp = y0 * (y2 * (x - (k * y5)));
	} else if (t <= 7.2e+201) {
		tmp = x * (a * (b - (y1 * y2)));
	} 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 * (t * (y5 - (z * b)))
	tmp = 0
	if t <= -3.2e+117:
		tmp = t_1
	elif t <= -1.65e-132:
		tmp = x * (i * ((j * y1) - c))
	elif t <= 1.15e-236:
		tmp = y0 * (y2 * (x - (k * y5)))
	elif t <= 7.2e+201:
		tmp = x * (a * (b - (y1 * y2)))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(a * Float64(t * Float64(y5 - Float64(z * b))))
	tmp = 0.0
	if (t <= -3.2e+117)
		tmp = t_1;
	elseif (t <= -1.65e-132)
		tmp = Float64(x * Float64(i * Float64(Float64(j * y1) - c)));
	elseif (t <= 1.15e-236)
		tmp = Float64(y0 * Float64(y2 * Float64(x - Float64(k * y5))));
	elseif (t <= 7.2e+201)
		tmp = Float64(x * Float64(a * Float64(b - Float64(y1 * y2))));
	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 * (t * (y5 - (z * b)));
	tmp = 0.0;
	if (t <= -3.2e+117)
		tmp = t_1;
	elseif (t <= -1.65e-132)
		tmp = x * (i * ((j * y1) - c));
	elseif (t <= 1.15e-236)
		tmp = y0 * (y2 * (x - (k * y5)));
	elseif (t <= 7.2e+201)
		tmp = x * (a * (b - (y1 * y2)));
	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[(t * N[(y5 - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -3.2e+117], t$95$1, If[LessEqual[t, -1.65e-132], N[(x * N[(i * N[(N[(j * y1), $MachinePrecision] - c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.15e-236], N[(y0 * N[(y2 * N[(x - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 7.2e+201], N[(x * N[(a * N[(b - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\
\mathbf{if}\;t \leq -3.2 \cdot 10^{+117}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t \leq -1.65 \cdot 10^{-132}:\\
\;\;\;\;x \cdot \left(i \cdot \left(j \cdot y1 - c\right)\right)\\

\mathbf{elif}\;t \leq 1.15 \cdot 10^{-236}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x - k \cdot y5\right)\right)\\

\mathbf{elif}\;t \leq 7.2 \cdot 10^{+201}:\\
\;\;\;\;x \cdot \left(a \cdot \left(b - y1 \cdot y2\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if t < -3.20000000000000005e117 or 7.19999999999999951e201 < t

    1. Initial program 25.0%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, x \cdot y2 - y3 \cdot z, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      5. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{x \cdot y2 - y3 \cdot z}, b \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(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)}\right)\right)\right) \]
      14. remove-double-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \color{blue}{y5 \cdot \left(t \cdot y2 - y \cdot y3\right)}\right) \]
    5. Simplified51.9%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(-y1, y2 \cdot x - z \cdot y3, \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right)\right)} \]
    6. Taylor expanded in t around inf

      \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 + -1 \cdot \left(b \cdot z\right)\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 + -1 \cdot \left(b \cdot z\right)\right)\right)} \]
      2. mul-1-negN/A

        \[\leadsto a \cdot \left(t \cdot \left(y5 + \color{blue}{\left(\mathsf{neg}\left(b \cdot z\right)\right)}\right)\right) \]
      3. unsub-negN/A

        \[\leadsto a \cdot \left(t \cdot \color{blue}{\left(y5 - b \cdot z\right)}\right) \]
      4. lower--.f64N/A

        \[\leadsto a \cdot \left(t \cdot \color{blue}{\left(y5 - b \cdot z\right)}\right) \]
      5. lower-*.f6453.8

        \[\leadsto a \cdot \left(t \cdot \left(y5 - \color{blue}{b \cdot z}\right)\right) \]
    8. Simplified53.8%

      \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 - b \cdot z\right)\right)} \]

    if -3.20000000000000005e117 < t < -1.6499999999999999e-132

    1. Initial program 33.0%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6441.4

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified41.4%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in i around -inf

      \[\leadsto x \cdot \color{blue}{\left(i \cdot \left(-1 \cdot c + j \cdot y1\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(i \cdot \left(-1 \cdot c + j \cdot y1\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto x \cdot \left(i \cdot \color{blue}{\left(j \cdot y1 + -1 \cdot c\right)}\right) \]
      3. mul-1-negN/A

        \[\leadsto x \cdot \left(i \cdot \left(j \cdot y1 + \color{blue}{\left(\mathsf{neg}\left(c\right)\right)}\right)\right) \]
      4. unsub-negN/A

        \[\leadsto x \cdot \left(i \cdot \color{blue}{\left(j \cdot y1 - c\right)}\right) \]
      5. lower--.f64N/A

        \[\leadsto x \cdot \left(i \cdot \color{blue}{\left(j \cdot y1 - c\right)}\right) \]
      6. lower-*.f6439.5

        \[\leadsto x \cdot \left(i \cdot \left(\color{blue}{j \cdot y1} - c\right)\right) \]
    8. Simplified39.5%

      \[\leadsto x \cdot \color{blue}{\left(i \cdot \left(j \cdot y1 - c\right)\right)} \]

    if -1.6499999999999999e-132 < t < 1.15000000000000003e-236

    1. Initial program 38.7%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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. lower-*.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. lower--.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y2 \cdot \left(\color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto y2 \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - \color{blue}{t \cdot \left(c \cdot y4 - a \cdot y5\right)}\right) \]
      14. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified41.0%

      \[\leadsto \color{blue}{y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    6. Taylor expanded in y0 around inf

      \[\leadsto \color{blue}{y0 \cdot \left(y2 \cdot \left(x + -1 \cdot \left(k \cdot y5\right)\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{y0 \cdot \left(y2 \cdot \left(x + -1 \cdot \left(k \cdot y5\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto y0 \cdot \color{blue}{\left(y2 \cdot \left(x + -1 \cdot \left(k \cdot y5\right)\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto y0 \cdot \left(y2 \cdot \left(x + \color{blue}{\left(\mathsf{neg}\left(k \cdot y5\right)\right)}\right)\right) \]
      4. unsub-negN/A

        \[\leadsto y0 \cdot \left(y2 \cdot \color{blue}{\left(x - k \cdot y5\right)}\right) \]
      5. lower--.f64N/A

        \[\leadsto y0 \cdot \left(y2 \cdot \color{blue}{\left(x - k \cdot y5\right)}\right) \]
      6. lower-*.f6440.1

        \[\leadsto y0 \cdot \left(y2 \cdot \left(x - \color{blue}{k \cdot y5}\right)\right) \]
    8. Simplified40.1%

      \[\leadsto \color{blue}{y0 \cdot \left(y2 \cdot \left(x - k \cdot y5\right)\right)} \]

    if 1.15000000000000003e-236 < t < 7.19999999999999951e201

    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 x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6432.5

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified32.5%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in a around inf

      \[\leadsto x \cdot \color{blue}{\left(a \cdot \left(b + -1 \cdot \left(y1 \cdot y2\right)\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(a \cdot \left(b + -1 \cdot \left(y1 \cdot y2\right)\right)\right)} \]
      2. mul-1-negN/A

        \[\leadsto x \cdot \left(a \cdot \left(b + \color{blue}{\left(\mathsf{neg}\left(y1 \cdot y2\right)\right)}\right)\right) \]
      3. unsub-negN/A

        \[\leadsto x \cdot \left(a \cdot \color{blue}{\left(b - y1 \cdot y2\right)}\right) \]
      4. lower--.f64N/A

        \[\leadsto x \cdot \left(a \cdot \color{blue}{\left(b - y1 \cdot y2\right)}\right) \]
      5. lower-*.f6428.4

        \[\leadsto x \cdot \left(a \cdot \left(b - \color{blue}{y1 \cdot y2}\right)\right) \]
    8. Simplified28.4%

      \[\leadsto x \cdot \color{blue}{\left(a \cdot \left(b - y1 \cdot y2\right)\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification39.0%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -3.2 \cdot 10^{+117}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\ \mathbf{elif}\;t \leq -1.65 \cdot 10^{-132}:\\ \;\;\;\;x \cdot \left(i \cdot \left(j \cdot y1 - c\right)\right)\\ \mathbf{elif}\;t \leq 1.15 \cdot 10^{-236}:\\ \;\;\;\;y0 \cdot \left(y2 \cdot \left(x - k \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq 7.2 \cdot 10^{+201}:\\ \;\;\;\;x \cdot \left(a \cdot \left(b - y1 \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 25: 26.6% accurate, 4.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;x \leq -3.7 \cdot 10^{+82}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1\right)\right)\\ \mathbf{elif}\;x \leq 5 \cdot 10^{-251}:\\ \;\;\;\;c \cdot \left(y3 \cdot \mathsf{fma}\left(y0, -z, y4\right)\right)\\ \mathbf{elif}\;x \leq 1.3 \cdot 10^{+35}:\\ \;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)\\ \mathbf{elif}\;x \leq 1.75 \cdot 10^{+204}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(c \cdot \left(y2 - i\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 -3.7e+82)
   (* a (* x (- (* y b) y1)))
   (if (<= x 5e-251)
     (* c (* y3 (fma y0 (- z) y4)))
     (if (<= x 1.3e+35)
       (* a (* y3 (- (* z y1) y5)))
       (if (<= x 1.75e+204)
         (* k (* y4 (- (* y1 y2) b)))
         (* x (* c (- y2 i))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (x <= -3.7e+82) {
		tmp = a * (x * ((y * b) - y1));
	} else if (x <= 5e-251) {
		tmp = c * (y3 * fma(y0, -z, y4));
	} else if (x <= 1.3e+35) {
		tmp = a * (y3 * ((z * y1) - y5));
	} else if (x <= 1.75e+204) {
		tmp = k * (y4 * ((y1 * y2) - b));
	} else {
		tmp = x * (c * (y2 - i));
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (x <= -3.7e+82)
		tmp = Float64(a * Float64(x * Float64(Float64(y * b) - y1)));
	elseif (x <= 5e-251)
		tmp = Float64(c * Float64(y3 * fma(y0, Float64(-z), y4)));
	elseif (x <= 1.3e+35)
		tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - y5)));
	elseif (x <= 1.75e+204)
		tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - b)));
	else
		tmp = Float64(x * Float64(c * Float64(y2 - i)));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -3.7e+82], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 5e-251], N[(c * N[(y3 * N[(y0 * (-z) + y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.3e+35], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.75e+204], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(c * N[(y2 - i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;x \leq -3.7 \cdot 10^{+82}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1\right)\right)\\

\mathbf{elif}\;x \leq 5 \cdot 10^{-251}:\\
\;\;\;\;c \cdot \left(y3 \cdot \mathsf{fma}\left(y0, -z, y4\right)\right)\\

\mathbf{elif}\;x \leq 1.3 \cdot 10^{+35}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)\\

\mathbf{elif}\;x \leq 1.75 \cdot 10^{+204}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - b\right)\right)\\

\mathbf{else}:\\
\;\;\;\;x \cdot \left(c \cdot \left(y2 - i\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if x < -3.7000000000000002e82

    1. Initial program 17.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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, x \cdot y2 - y3 \cdot z, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      5. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{x \cdot y2 - y3 \cdot z}, b \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(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)}\right)\right)\right) \]
      14. remove-double-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \color{blue}{y5 \cdot \left(t \cdot y2 - y \cdot y3\right)}\right) \]
    5. Simplified49.2%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(-y1, y2 \cdot x - z \cdot y3, \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right)\right)} \]
    6. Taylor expanded in x around inf

      \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(-1 \cdot y1 + b \cdot y\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(-1 \cdot y1 + b \cdot y\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y + -1 \cdot y1\right)}\right) \]
      3. mul-1-negN/A

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y + \color{blue}{\left(\mathsf{neg}\left(y1\right)\right)}\right)\right) \]
      4. unsub-negN/A

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1\right)}\right) \]
      5. lower--.f64N/A

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1\right)}\right) \]
      6. lower-*.f6446.4

        \[\leadsto a \cdot \left(x \cdot \left(\color{blue}{b \cdot y} - y1\right)\right) \]
    8. Simplified46.4%

      \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(b \cdot y - y1\right)\right)} \]

    if -3.7000000000000002e82 < x < 5.0000000000000003e-251

    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 y3 around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
    5. Simplified43.1%

      \[\leadsto \color{blue}{\left(-y3\right) \cdot \left(\mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, c \cdot y0 - a \cdot y1, j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right) - c \cdot y4\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(y3 \cdot \left(y0 \cdot z - y4\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(c \cdot \left(y3 \cdot \left(y0 \cdot z - y4\right)\right)\right)} \]
      2. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(c \cdot y3\right) \cdot \left(y0 \cdot z - y4\right)}\right) \]
      3. distribute-rgt-neg-inN/A

        \[\leadsto \color{blue}{\left(c \cdot y3\right) \cdot \left(\mathsf{neg}\left(\left(y0 \cdot z - y4\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto \left(c \cdot y3\right) \cdot \color{blue}{\left(-1 \cdot \left(y0 \cdot z - y4\right)\right)} \]
      5. distribute-lft-out--N/A

        \[\leadsto \left(c \cdot y3\right) \cdot \color{blue}{\left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right)} \]
      6. associate-*r*N/A

        \[\leadsto \color{blue}{c \cdot \left(y3 \cdot \left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right)\right)} \]
      7. lower-*.f64N/A

        \[\leadsto \color{blue}{c \cdot \left(y3 \cdot \left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right)\right)} \]
      8. *-commutativeN/A

        \[\leadsto c \cdot \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right) \cdot y3\right)} \]
      9. lower-*.f64N/A

        \[\leadsto c \cdot \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right) \cdot y3\right)} \]
      10. sub-negN/A

        \[\leadsto c \cdot \left(\color{blue}{\left(-1 \cdot \left(y0 \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right)} \cdot y3\right) \]
      11. mul-1-negN/A

        \[\leadsto c \cdot \left(\left(\color{blue}{\left(\mathsf{neg}\left(y0 \cdot z\right)\right)} + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right) \cdot y3\right) \]
      12. distribute-rgt-neg-inN/A

        \[\leadsto c \cdot \left(\left(\color{blue}{y0 \cdot \left(\mathsf{neg}\left(z\right)\right)} + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right) \cdot y3\right) \]
      13. mul-1-negN/A

        \[\leadsto c \cdot \left(\left(y0 \cdot \color{blue}{\left(-1 \cdot z\right)} + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right) \cdot y3\right) \]
      14. mul-1-negN/A

        \[\leadsto c \cdot \left(\left(y0 \cdot \left(-1 \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y4\right)\right)}\right)\right)\right) \cdot y3\right) \]
      15. remove-double-negN/A

        \[\leadsto c \cdot \left(\left(y0 \cdot \left(-1 \cdot z\right) + \color{blue}{y4}\right) \cdot y3\right) \]
      16. lower-fma.f64N/A

        \[\leadsto c \cdot \left(\color{blue}{\mathsf{fma}\left(y0, -1 \cdot z, y4\right)} \cdot y3\right) \]
      17. mul-1-negN/A

        \[\leadsto c \cdot \left(\mathsf{fma}\left(y0, \color{blue}{\mathsf{neg}\left(z\right)}, y4\right) \cdot y3\right) \]
      18. lower-neg.f6430.9

        \[\leadsto c \cdot \left(\mathsf{fma}\left(y0, \color{blue}{-z}, y4\right) \cdot y3\right) \]
    8. Simplified30.9%

      \[\leadsto \color{blue}{c \cdot \left(\mathsf{fma}\left(y0, -z, y4\right) \cdot y3\right)} \]

    if 5.0000000000000003e-251 < x < 1.30000000000000003e35

    1. Initial program 33.9%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
    5. Simplified47.6%

      \[\leadsto \color{blue}{\left(-y3\right) \cdot \left(\mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, c \cdot y0 - a \cdot y1, j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right) - c \cdot y4\right)} \]
    6. Taylor expanded in a around -inf

      \[\leadsto \color{blue}{a \cdot \left(y3 \cdot \left(-1 \cdot y5 + y1 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{a \cdot \left(y3 \cdot \left(-1 \cdot y5 + y1 \cdot z\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot y5 + y1 \cdot z\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z + -1 \cdot y5\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \left(y1 \cdot z + \color{blue}{\left(\mathsf{neg}\left(y5\right)\right)}\right)\right) \]
      5. unsub-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z - y5\right)}\right) \]
      6. lower--.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z - y5\right)}\right) \]
      7. *-commutativeN/A

        \[\leadsto a \cdot \left(y3 \cdot \left(\color{blue}{z \cdot y1} - y5\right)\right) \]
      8. lower-*.f6433.2

        \[\leadsto a \cdot \left(y3 \cdot \left(\color{blue}{z \cdot y1} - y5\right)\right) \]
    8. Simplified33.2%

      \[\leadsto \color{blue}{a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)} \]

    if 1.30000000000000003e35 < x < 1.74999999999999995e204

    1. Initial program 34.9%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in k around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      6. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\left(\color{blue}{\left(-1 \cdot y2\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)} + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(-1 \cdot y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right)} - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. neg-mul-1N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-neg.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4 - y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4} - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - \color{blue}{y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, \color{blue}{b \cdot y4}\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      14. +-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\left(z \cdot \left(b \cdot y0 - i \cdot y1\right) + i \cdot y5\right)}\right) \]
      15. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)}\right) \]
    5. Simplified42.5%

      \[\leadsto \color{blue}{\left(-k\right) \cdot \left(\mathsf{fma}\left(-y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)\right)} \]
    6. Taylor expanded in y4 around -inf

      \[\leadsto \color{blue}{k \cdot \left(y4 \cdot \left(-1 \cdot b + y1 \cdot y2\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{k \cdot \left(y4 \cdot \left(-1 \cdot b + y1 \cdot y2\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot b + y1 \cdot y2\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 + -1 \cdot b\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto k \cdot \left(y4 \cdot \left(y1 \cdot y2 + \color{blue}{\left(\mathsf{neg}\left(b\right)\right)}\right)\right) \]
      5. unsub-negN/A

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 - b\right)}\right) \]
      6. lower--.f64N/A

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 - b\right)}\right) \]
      7. lower-*.f6438.4

        \[\leadsto k \cdot \left(y4 \cdot \left(\color{blue}{y1 \cdot y2} - b\right)\right) \]
    8. Simplified38.4%

      \[\leadsto \color{blue}{k \cdot \left(y4 \cdot \left(y1 \cdot y2 - b\right)\right)} \]

    if 1.74999999999999995e204 < x

    1. Initial program 17.6%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6477.2

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified77.2%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto x \cdot \color{blue}{\left(c \cdot \left(y2 - i\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(c \cdot \left(y2 - i\right)\right)} \]
      2. lower--.f6465.8

        \[\leadsto x \cdot \left(c \cdot \color{blue}{\left(y2 - i\right)}\right) \]
    8. Simplified65.8%

      \[\leadsto x \cdot \color{blue}{\left(c \cdot \left(y2 - i\right)\right)} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification37.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -3.7 \cdot 10^{+82}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1\right)\right)\\ \mathbf{elif}\;x \leq 5 \cdot 10^{-251}:\\ \;\;\;\;c \cdot \left(y3 \cdot \mathsf{fma}\left(y0, -z, y4\right)\right)\\ \mathbf{elif}\;x \leq 1.3 \cdot 10^{+35}:\\ \;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)\\ \mathbf{elif}\;x \leq 1.75 \cdot 10^{+204}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(c \cdot \left(y2 - i\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 26: 27.1% accurate, 4.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\ t_2 := c \cdot \left(y3 \cdot \mathsf{fma}\left(y0, -z, y4\right)\right)\\ \mathbf{if}\;t \leq -2.1 \cdot 10^{+70}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq -330:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;t \leq 4.8 \cdot 10^{+41}:\\ \;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)\\ \mathbf{elif}\;t \leq 1.15 \cdot 10^{+195}:\\ \;\;\;\;t\_2\\ \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 (* t (- y5 (* z b))))) (t_2 (* c (* y3 (fma y0 (- z) y4)))))
   (if (<= t -2.1e+70)
     t_1
     (if (<= t -330.0)
       t_2
       (if (<= t 4.8e+41)
         (* a (* y3 (- (* z y1) y5)))
         (if (<= t 1.15e+195) t_2 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 * (t * (y5 - (z * b)));
	double t_2 = c * (y3 * fma(y0, -z, y4));
	double tmp;
	if (t <= -2.1e+70) {
		tmp = t_1;
	} else if (t <= -330.0) {
		tmp = t_2;
	} else if (t <= 4.8e+41) {
		tmp = a * (y3 * ((z * y1) - y5));
	} else if (t <= 1.15e+195) {
		tmp = t_2;
	} 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(t * Float64(y5 - Float64(z * b))))
	t_2 = Float64(c * Float64(y3 * fma(y0, Float64(-z), y4)))
	tmp = 0.0
	if (t <= -2.1e+70)
		tmp = t_1;
	elseif (t <= -330.0)
		tmp = t_2;
	elseif (t <= 4.8e+41)
		tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - y5)));
	elseif (t <= 1.15e+195)
		tmp = t_2;
	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[(t * N[(y5 - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(y3 * N[(y0 * (-z) + y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.1e+70], t$95$1, If[LessEqual[t, -330.0], t$95$2, If[LessEqual[t, 4.8e+41], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.15e+195], t$95$2, t$95$1]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\
t_2 := c \cdot \left(y3 \cdot \mathsf{fma}\left(y0, -z, y4\right)\right)\\
\mathbf{if}\;t \leq -2.1 \cdot 10^{+70}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t \leq -330:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;t \leq 4.8 \cdot 10^{+41}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)\\

\mathbf{elif}\;t \leq 1.15 \cdot 10^{+195}:\\
\;\;\;\;t\_2\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if t < -2.10000000000000008e70 or 1.1500000000000001e195 < t

    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 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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, x \cdot y2 - y3 \cdot z, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      5. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{x \cdot y2 - y3 \cdot z}, b \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(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)}\right)\right)\right) \]
      14. remove-double-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \color{blue}{y5 \cdot \left(t \cdot y2 - y \cdot y3\right)}\right) \]
    5. Simplified48.3%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(-y1, y2 \cdot x - z \cdot y3, \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right)\right)} \]
    6. Taylor expanded in t around inf

      \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 + -1 \cdot \left(b \cdot z\right)\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 + -1 \cdot \left(b \cdot z\right)\right)\right)} \]
      2. mul-1-negN/A

        \[\leadsto a \cdot \left(t \cdot \left(y5 + \color{blue}{\left(\mathsf{neg}\left(b \cdot z\right)\right)}\right)\right) \]
      3. unsub-negN/A

        \[\leadsto a \cdot \left(t \cdot \color{blue}{\left(y5 - b \cdot z\right)}\right) \]
      4. lower--.f64N/A

        \[\leadsto a \cdot \left(t \cdot \color{blue}{\left(y5 - b \cdot z\right)}\right) \]
      5. lower-*.f6449.9

        \[\leadsto a \cdot \left(t \cdot \left(y5 - \color{blue}{b \cdot z}\right)\right) \]
    8. Simplified49.9%

      \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 - b \cdot z\right)\right)} \]

    if -2.10000000000000008e70 < t < -330 or 4.8000000000000003e41 < t < 1.1500000000000001e195

    1. Initial program 24.4%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
    5. Simplified53.9%

      \[\leadsto \color{blue}{\left(-y3\right) \cdot \left(\mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, c \cdot y0 - a \cdot y1, j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right) - c \cdot y4\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(y3 \cdot \left(y0 \cdot z - y4\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(c \cdot \left(y3 \cdot \left(y0 \cdot z - y4\right)\right)\right)} \]
      2. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(c \cdot y3\right) \cdot \left(y0 \cdot z - y4\right)}\right) \]
      3. distribute-rgt-neg-inN/A

        \[\leadsto \color{blue}{\left(c \cdot y3\right) \cdot \left(\mathsf{neg}\left(\left(y0 \cdot z - y4\right)\right)\right)} \]
      4. mul-1-negN/A

        \[\leadsto \left(c \cdot y3\right) \cdot \color{blue}{\left(-1 \cdot \left(y0 \cdot z - y4\right)\right)} \]
      5. distribute-lft-out--N/A

        \[\leadsto \left(c \cdot y3\right) \cdot \color{blue}{\left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right)} \]
      6. associate-*r*N/A

        \[\leadsto \color{blue}{c \cdot \left(y3 \cdot \left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right)\right)} \]
      7. lower-*.f64N/A

        \[\leadsto \color{blue}{c \cdot \left(y3 \cdot \left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right)\right)} \]
      8. *-commutativeN/A

        \[\leadsto c \cdot \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right) \cdot y3\right)} \]
      9. lower-*.f64N/A

        \[\leadsto c \cdot \color{blue}{\left(\left(-1 \cdot \left(y0 \cdot z\right) - -1 \cdot y4\right) \cdot y3\right)} \]
      10. sub-negN/A

        \[\leadsto c \cdot \left(\color{blue}{\left(-1 \cdot \left(y0 \cdot z\right) + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right)} \cdot y3\right) \]
      11. mul-1-negN/A

        \[\leadsto c \cdot \left(\left(\color{blue}{\left(\mathsf{neg}\left(y0 \cdot z\right)\right)} + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right) \cdot y3\right) \]
      12. distribute-rgt-neg-inN/A

        \[\leadsto c \cdot \left(\left(\color{blue}{y0 \cdot \left(\mathsf{neg}\left(z\right)\right)} + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right) \cdot y3\right) \]
      13. mul-1-negN/A

        \[\leadsto c \cdot \left(\left(y0 \cdot \color{blue}{\left(-1 \cdot z\right)} + \left(\mathsf{neg}\left(-1 \cdot y4\right)\right)\right) \cdot y3\right) \]
      14. mul-1-negN/A

        \[\leadsto c \cdot \left(\left(y0 \cdot \left(-1 \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y4\right)\right)}\right)\right)\right) \cdot y3\right) \]
      15. remove-double-negN/A

        \[\leadsto c \cdot \left(\left(y0 \cdot \left(-1 \cdot z\right) + \color{blue}{y4}\right) \cdot y3\right) \]
      16. lower-fma.f64N/A

        \[\leadsto c \cdot \left(\color{blue}{\mathsf{fma}\left(y0, -1 \cdot z, y4\right)} \cdot y3\right) \]
      17. mul-1-negN/A

        \[\leadsto c \cdot \left(\mathsf{fma}\left(y0, \color{blue}{\mathsf{neg}\left(z\right)}, y4\right) \cdot y3\right) \]
      18. lower-neg.f6443.5

        \[\leadsto c \cdot \left(\mathsf{fma}\left(y0, \color{blue}{-z}, y4\right) \cdot y3\right) \]
    8. Simplified43.5%

      \[\leadsto \color{blue}{c \cdot \left(\mathsf{fma}\left(y0, -z, y4\right) \cdot y3\right)} \]

    if -330 < t < 4.8000000000000003e41

    1. Initial program 35.7%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
    5. Simplified42.2%

      \[\leadsto \color{blue}{\left(-y3\right) \cdot \left(\mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, c \cdot y0 - a \cdot y1, j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right) - c \cdot y4\right)} \]
    6. Taylor expanded in a around -inf

      \[\leadsto \color{blue}{a \cdot \left(y3 \cdot \left(-1 \cdot y5 + y1 \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{a \cdot \left(y3 \cdot \left(-1 \cdot y5 + y1 \cdot z\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot y5 + y1 \cdot z\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z + -1 \cdot y5\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \left(y1 \cdot z + \color{blue}{\left(\mathsf{neg}\left(y5\right)\right)}\right)\right) \]
      5. unsub-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z - y5\right)}\right) \]
      6. lower--.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\left(y1 \cdot z - y5\right)}\right) \]
      7. *-commutativeN/A

        \[\leadsto a \cdot \left(y3 \cdot \left(\color{blue}{z \cdot y1} - y5\right)\right) \]
      8. lower-*.f6428.1

        \[\leadsto a \cdot \left(y3 \cdot \left(\color{blue}{z \cdot y1} - y5\right)\right) \]
    8. Simplified28.1%

      \[\leadsto \color{blue}{a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification37.0%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -2.1 \cdot 10^{+70}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\ \mathbf{elif}\;t \leq -330:\\ \;\;\;\;c \cdot \left(y3 \cdot \mathsf{fma}\left(y0, -z, y4\right)\right)\\ \mathbf{elif}\;t \leq 4.8 \cdot 10^{+41}:\\ \;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y5\right)\right)\\ \mathbf{elif}\;t \leq 1.15 \cdot 10^{+195}:\\ \;\;\;\;c \cdot \left(y3 \cdot \mathsf{fma}\left(y0, -z, y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 27: 25.4% accurate, 4.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y4 \leq -3.15 \cdot 10^{+119}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(c \cdot \left(-y2\right)\right)\right)\\ \mathbf{elif}\;y4 \leq -2.55 \cdot 10^{-20}:\\ \;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j\right)\right)\\ \mathbf{elif}\;y4 \leq 5.3 \cdot 10^{-80}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\ \mathbf{elif}\;y4 \leq 2.6 \cdot 10^{+89}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y2 \cdot \left(t \cdot \left(c \cdot \left(-y4\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
 (if (<= y4 -3.15e+119)
   (* t (* y4 (* c (- y2))))
   (if (<= y4 -2.55e-20)
     (* x (* y1 (* i j)))
     (if (<= y4 5.3e-80)
       (* a (* t (- y5 (* z b))))
       (if (<= y4 2.6e+89)
         (* a (* x (- (* y b) y1)))
         (* y2 (* t (* c (- y4)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (y4 <= -3.15e+119) {
		tmp = t * (y4 * (c * -y2));
	} else if (y4 <= -2.55e-20) {
		tmp = x * (y1 * (i * j));
	} else if (y4 <= 5.3e-80) {
		tmp = a * (t * (y5 - (z * b)));
	} else if (y4 <= 2.6e+89) {
		tmp = a * (x * ((y * b) - y1));
	} else {
		tmp = y2 * (t * (c * -y4));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if (y4 <= (-3.15d+119)) then
        tmp = t * (y4 * (c * -y2))
    else if (y4 <= (-2.55d-20)) then
        tmp = x * (y1 * (i * j))
    else if (y4 <= 5.3d-80) then
        tmp = a * (t * (y5 - (z * b)))
    else if (y4 <= 2.6d+89) then
        tmp = a * (x * ((y * b) - y1))
    else
        tmp = y2 * (t * (c * -y4))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (y4 <= -3.15e+119) {
		tmp = t * (y4 * (c * -y2));
	} else if (y4 <= -2.55e-20) {
		tmp = x * (y1 * (i * j));
	} else if (y4 <= 5.3e-80) {
		tmp = a * (t * (y5 - (z * b)));
	} else if (y4 <= 2.6e+89) {
		tmp = a * (x * ((y * b) - y1));
	} else {
		tmp = y2 * (t * (c * -y4));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if y4 <= -3.15e+119:
		tmp = t * (y4 * (c * -y2))
	elif y4 <= -2.55e-20:
		tmp = x * (y1 * (i * j))
	elif y4 <= 5.3e-80:
		tmp = a * (t * (y5 - (z * b)))
	elif y4 <= 2.6e+89:
		tmp = a * (x * ((y * b) - y1))
	else:
		tmp = y2 * (t * (c * -y4))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (y4 <= -3.15e+119)
		tmp = Float64(t * Float64(y4 * Float64(c * Float64(-y2))));
	elseif (y4 <= -2.55e-20)
		tmp = Float64(x * Float64(y1 * Float64(i * j)));
	elseif (y4 <= 5.3e-80)
		tmp = Float64(a * Float64(t * Float64(y5 - Float64(z * b))));
	elseif (y4 <= 2.6e+89)
		tmp = Float64(a * Float64(x * Float64(Float64(y * b) - y1)));
	else
		tmp = Float64(y2 * Float64(t * Float64(c * Float64(-y4))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0;
	if (y4 <= -3.15e+119)
		tmp = t * (y4 * (c * -y2));
	elseif (y4 <= -2.55e-20)
		tmp = x * (y1 * (i * j));
	elseif (y4 <= 5.3e-80)
		tmp = a * (t * (y5 - (z * b)));
	elseif (y4 <= 2.6e+89)
		tmp = a * (x * ((y * b) - y1));
	else
		tmp = y2 * (t * (c * -y4));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y4, -3.15e+119], N[(t * N[(y4 * N[(c * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -2.55e-20], N[(x * N[(y1 * N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 5.3e-80], N[(a * N[(t * N[(y5 - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 2.6e+89], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y2 * N[(t * N[(c * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y4 \leq -3.15 \cdot 10^{+119}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(c \cdot \left(-y2\right)\right)\right)\\

\mathbf{elif}\;y4 \leq -2.55 \cdot 10^{-20}:\\
\;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j\right)\right)\\

\mathbf{elif}\;y4 \leq 5.3 \cdot 10^{-80}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\

\mathbf{elif}\;y4 \leq 2.6 \cdot 10^{+89}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1\right)\right)\\

\mathbf{else}:\\
\;\;\;\;y2 \cdot \left(t \cdot \left(c \cdot \left(-y4\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y4 < -3.1499999999999999e119

    1. Initial program 39.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. lower-*.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. lower--.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y2 \cdot \left(\color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto y2 \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - \color{blue}{t \cdot \left(c \cdot y4 - a \cdot y5\right)}\right) \]
      14. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified41.8%

      \[\leadsto \color{blue}{y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto y2 \cdot \left(c \cdot \color{blue}{\left(x - t \cdot y4\right)}\right) \]
      3. lower-*.f6442.4

        \[\leadsto y2 \cdot \left(c \cdot \left(x - \color{blue}{t \cdot y4}\right)\right) \]
    8. Simplified42.4%

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    9. Taylor expanded in x around 0

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(t \cdot \left(y2 \cdot y4\right)\right)\right)} \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(c \cdot \left(t \cdot \left(y2 \cdot y4\right)\right)\right)} \]
      2. lower-neg.f64N/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(c \cdot \left(t \cdot \left(y2 \cdot y4\right)\right)\right)} \]
      3. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(c \cdot t\right) \cdot \left(y2 \cdot y4\right)}\right) \]
      4. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(t \cdot c\right)} \cdot \left(y2 \cdot y4\right)\right) \]
      5. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{t \cdot \left(c \cdot \left(y2 \cdot y4\right)\right)}\right) \]
      6. lower-*.f64N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{t \cdot \left(c \cdot \left(y2 \cdot y4\right)\right)}\right) \]
      7. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(t \cdot \color{blue}{\left(\left(y2 \cdot y4\right) \cdot c\right)}\right) \]
      8. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(t \cdot \left(\color{blue}{\left(y4 \cdot y2\right)} \cdot c\right)\right) \]
      9. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(t \cdot \color{blue}{\left(y4 \cdot \left(y2 \cdot c\right)\right)}\right) \]
      10. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(t \cdot \left(y4 \cdot \color{blue}{\left(c \cdot y2\right)}\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \mathsf{neg}\left(t \cdot \color{blue}{\left(y4 \cdot \left(c \cdot y2\right)\right)}\right) \]
      12. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(t \cdot \left(y4 \cdot \color{blue}{\left(y2 \cdot c\right)}\right)\right) \]
      13. lower-*.f6449.8

        \[\leadsto -t \cdot \left(y4 \cdot \color{blue}{\left(y2 \cdot c\right)}\right) \]
    11. Simplified49.8%

      \[\leadsto \color{blue}{-t \cdot \left(y4 \cdot \left(y2 \cdot c\right)\right)} \]

    if -3.1499999999999999e119 < y4 < -2.55000000000000009e-20

    1. Initial program 24.0%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in i around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \color{blue}{\left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      6. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(c, x \cdot y - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{x \cdot y - t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      10. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - \color{blue}{t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, \color{blue}{y5 \cdot \left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      12. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \color{blue}{\left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      13. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      15. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - \color{blue}{k \cdot y}\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      16. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - k \cdot y\right)\right) - \color{blue}{y1 \cdot \left(j \cdot x - k \cdot z\right)}\right) \]
    5. Simplified50.5%

      \[\leadsto \color{blue}{\left(-i\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - z \cdot k\right)\right)} \]
    6. Taylor expanded in y1 around -inf

      \[\leadsto \color{blue}{i \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(i \cdot y1\right) \cdot \left(j \cdot x - k \cdot z\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(i \cdot y1\right) \cdot \left(j \cdot x - k \cdot z\right)} \]
      3. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(i \cdot y1\right)} \cdot \left(j \cdot x - k \cdot z\right) \]
      4. lower--.f64N/A

        \[\leadsto \left(i \cdot y1\right) \cdot \color{blue}{\left(j \cdot x - k \cdot z\right)} \]
      5. lower-*.f64N/A

        \[\leadsto \left(i \cdot y1\right) \cdot \left(\color{blue}{j \cdot x} - k \cdot z\right) \]
      6. lower-*.f6432.3

        \[\leadsto \left(i \cdot y1\right) \cdot \left(j \cdot x - \color{blue}{k \cdot z}\right) \]
    8. Simplified32.3%

      \[\leadsto \color{blue}{\left(i \cdot y1\right) \cdot \left(j \cdot x - k \cdot z\right)} \]
    9. Taylor expanded in x around inf

      \[\leadsto \left(i \cdot y1\right) \cdot \color{blue}{\left(j \cdot x\right)} \]
    10. Step-by-step derivation
      1. lower-*.f6425.6

        \[\leadsto \left(i \cdot y1\right) \cdot \color{blue}{\left(j \cdot x\right)} \]
    11. Simplified25.6%

      \[\leadsto \left(i \cdot y1\right) \cdot \color{blue}{\left(j \cdot x\right)} \]
    12. Taylor expanded in i around 0

      \[\leadsto \color{blue}{i \cdot \left(j \cdot \left(x \cdot y1\right)\right)} \]
    13. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(i \cdot j\right) \cdot \left(x \cdot y1\right)} \]
      2. *-commutativeN/A

        \[\leadsto \left(i \cdot j\right) \cdot \color{blue}{\left(y1 \cdot x\right)} \]
      3. associate-*r*N/A

        \[\leadsto \color{blue}{\left(\left(i \cdot j\right) \cdot y1\right) \cdot x} \]
      4. associate-*r*N/A

        \[\leadsto \color{blue}{\left(i \cdot \left(j \cdot y1\right)\right)} \cdot x \]
      5. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(i \cdot \left(j \cdot y1\right)\right) \cdot x} \]
      6. associate-*r*N/A

        \[\leadsto \color{blue}{\left(\left(i \cdot j\right) \cdot y1\right)} \cdot x \]
      7. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(\left(i \cdot j\right) \cdot y1\right)} \cdot x \]
      8. *-commutativeN/A

        \[\leadsto \left(\color{blue}{\left(j \cdot i\right)} \cdot y1\right) \cdot x \]
      9. lower-*.f6432.3

        \[\leadsto \left(\color{blue}{\left(j \cdot i\right)} \cdot y1\right) \cdot x \]
    14. Simplified32.3%

      \[\leadsto \color{blue}{\left(\left(j \cdot i\right) \cdot y1\right) \cdot x} \]

    if -2.55000000000000009e-20 < y4 < 5.30000000000000026e-80

    1. Initial program 29.9%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, x \cdot y2 - y3 \cdot z, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      5. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{x \cdot y2 - y3 \cdot z}, b \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(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)}\right)\right)\right) \]
      14. remove-double-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \color{blue}{y5 \cdot \left(t \cdot y2 - y \cdot y3\right)}\right) \]
    5. Simplified45.9%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(-y1, y2 \cdot x - z \cdot y3, \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right)\right)} \]
    6. Taylor expanded in t around inf

      \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 + -1 \cdot \left(b \cdot z\right)\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 + -1 \cdot \left(b \cdot z\right)\right)\right)} \]
      2. mul-1-negN/A

        \[\leadsto a \cdot \left(t \cdot \left(y5 + \color{blue}{\left(\mathsf{neg}\left(b \cdot z\right)\right)}\right)\right) \]
      3. unsub-negN/A

        \[\leadsto a \cdot \left(t \cdot \color{blue}{\left(y5 - b \cdot z\right)}\right) \]
      4. lower--.f64N/A

        \[\leadsto a \cdot \left(t \cdot \color{blue}{\left(y5 - b \cdot z\right)}\right) \]
      5. lower-*.f6432.0

        \[\leadsto a \cdot \left(t \cdot \left(y5 - \color{blue}{b \cdot z}\right)\right) \]
    8. Simplified32.0%

      \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 - b \cdot z\right)\right)} \]

    if 5.30000000000000026e-80 < y4 < 2.6000000000000001e89

    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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, x \cdot y2 - y3 \cdot z, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      5. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{x \cdot y2 - y3 \cdot z}, b \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(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)}\right)\right)\right) \]
      14. remove-double-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \color{blue}{y5 \cdot \left(t \cdot y2 - y \cdot y3\right)}\right) \]
    5. Simplified54.1%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(-y1, y2 \cdot x - z \cdot y3, \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right)\right)} \]
    6. Taylor expanded in x around inf

      \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(-1 \cdot y1 + b \cdot y\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(-1 \cdot y1 + b \cdot y\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y + -1 \cdot y1\right)}\right) \]
      3. mul-1-negN/A

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y + \color{blue}{\left(\mathsf{neg}\left(y1\right)\right)}\right)\right) \]
      4. unsub-negN/A

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1\right)}\right) \]
      5. lower--.f64N/A

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1\right)}\right) \]
      6. lower-*.f6441.2

        \[\leadsto a \cdot \left(x \cdot \left(\color{blue}{b \cdot y} - y1\right)\right) \]
    8. Simplified41.2%

      \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(b \cdot y - y1\right)\right)} \]

    if 2.6000000000000001e89 < y4

    1. Initial program 24.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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. lower-*.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. lower--.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y2 \cdot \left(\color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto y2 \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - \color{blue}{t \cdot \left(c \cdot y4 - a \cdot y5\right)}\right) \]
      14. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified35.9%

      \[\leadsto \color{blue}{y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto y2 \cdot \left(c \cdot \color{blue}{\left(x - t \cdot y4\right)}\right) \]
      3. lower-*.f6421.3

        \[\leadsto y2 \cdot \left(c \cdot \left(x - \color{blue}{t \cdot y4}\right)\right) \]
    8. Simplified21.3%

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    9. Taylor expanded in x around 0

      \[\leadsto y2 \cdot \color{blue}{\left(-1 \cdot \left(c \cdot \left(t \cdot y4\right)\right)\right)} \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto y2 \cdot \color{blue}{\left(\mathsf{neg}\left(c \cdot \left(t \cdot y4\right)\right)\right)} \]
      2. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\mathsf{neg}\left(\color{blue}{\left(t \cdot y4\right) \cdot c}\right)\right) \]
      3. associate-*r*N/A

        \[\leadsto y2 \cdot \left(\mathsf{neg}\left(\color{blue}{t \cdot \left(y4 \cdot c\right)}\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\mathsf{neg}\left(t \cdot \color{blue}{\left(c \cdot y4\right)}\right)\right) \]
      5. distribute-rgt-neg-outN/A

        \[\leadsto y2 \cdot \color{blue}{\left(t \cdot \left(\mathsf{neg}\left(c \cdot y4\right)\right)\right)} \]
      6. mul-1-negN/A

        \[\leadsto y2 \cdot \left(t \cdot \color{blue}{\left(-1 \cdot \left(c \cdot y4\right)\right)}\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(t \cdot \left(-1 \cdot \left(c \cdot y4\right)\right)\right)} \]
      8. mul-1-negN/A

        \[\leadsto y2 \cdot \left(t \cdot \color{blue}{\left(\mathsf{neg}\left(c \cdot y4\right)\right)}\right) \]
      9. *-commutativeN/A

        \[\leadsto y2 \cdot \left(t \cdot \left(\mathsf{neg}\left(\color{blue}{y4 \cdot c}\right)\right)\right) \]
      10. distribute-rgt-neg-inN/A

        \[\leadsto y2 \cdot \left(t \cdot \color{blue}{\left(y4 \cdot \left(\mathsf{neg}\left(c\right)\right)\right)}\right) \]
      11. mul-1-negN/A

        \[\leadsto y2 \cdot \left(t \cdot \left(y4 \cdot \color{blue}{\left(-1 \cdot c\right)}\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(t \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot c\right)\right)}\right) \]
      13. mul-1-negN/A

        \[\leadsto y2 \cdot \left(t \cdot \left(y4 \cdot \color{blue}{\left(\mathsf{neg}\left(c\right)\right)}\right)\right) \]
      14. lower-neg.f6429.9

        \[\leadsto y2 \cdot \left(t \cdot \left(y4 \cdot \color{blue}{\left(-c\right)}\right)\right) \]
    11. Simplified29.9%

      \[\leadsto y2 \cdot \color{blue}{\left(t \cdot \left(y4 \cdot \left(-c\right)\right)\right)} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification35.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -3.15 \cdot 10^{+119}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(c \cdot \left(-y2\right)\right)\right)\\ \mathbf{elif}\;y4 \leq -2.55 \cdot 10^{-20}:\\ \;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j\right)\right)\\ \mathbf{elif}\;y4 \leq 5.3 \cdot 10^{-80}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\ \mathbf{elif}\;y4 \leq 2.6 \cdot 10^{+89}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y2 \cdot \left(t \cdot \left(c \cdot \left(-y4\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 28: 23.5% accurate, 4.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;j \leq -5.2 \cdot 10^{-51}:\\ \;\;\;\;y3 \cdot \left(y5 \cdot \mathsf{fma}\left(y0, j, -1\right)\right)\\ \mathbf{elif}\;j \leq -1.18 \cdot 10^{-204}:\\ \;\;\;\;y0 \cdot \left(k \cdot \left(y2 \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;j \leq 9.6 \cdot 10^{-120}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y2 - b\right)\right)\\ \mathbf{elif}\;j \leq 2.8 \cdot 10^{+188}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j\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 (<= j -5.2e-51)
   (* y3 (* y5 (fma y0 j -1.0)))
   (if (<= j -1.18e-204)
     (* y0 (* k (* y2 (- y5))))
     (if (<= j 9.6e-120)
       (* k (* y4 (- y2 b)))
       (if (<= j 2.8e+188) (* a (* t (- y5 (* z b)))) (* x (* y1 (* i j))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (j <= -5.2e-51) {
		tmp = y3 * (y5 * fma(y0, j, -1.0));
	} else if (j <= -1.18e-204) {
		tmp = y0 * (k * (y2 * -y5));
	} else if (j <= 9.6e-120) {
		tmp = k * (y4 * (y2 - b));
	} else if (j <= 2.8e+188) {
		tmp = a * (t * (y5 - (z * b)));
	} else {
		tmp = x * (y1 * (i * j));
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (j <= -5.2e-51)
		tmp = Float64(y3 * Float64(y5 * fma(y0, j, -1.0)));
	elseif (j <= -1.18e-204)
		tmp = Float64(y0 * Float64(k * Float64(y2 * Float64(-y5))));
	elseif (j <= 9.6e-120)
		tmp = Float64(k * Float64(y4 * Float64(y2 - b)));
	elseif (j <= 2.8e+188)
		tmp = Float64(a * Float64(t * Float64(y5 - Float64(z * b))));
	else
		tmp = Float64(x * Float64(y1 * Float64(i * j)));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[j, -5.2e-51], N[(y3 * N[(y5 * N[(y0 * j + -1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.18e-204], N[(y0 * N[(k * N[(y2 * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 9.6e-120], N[(k * N[(y4 * N[(y2 - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.8e+188], N[(a * N[(t * N[(y5 - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(y1 * N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;j \leq -5.2 \cdot 10^{-51}:\\
\;\;\;\;y3 \cdot \left(y5 \cdot \mathsf{fma}\left(y0, j, -1\right)\right)\\

\mathbf{elif}\;j \leq -1.18 \cdot 10^{-204}:\\
\;\;\;\;y0 \cdot \left(k \cdot \left(y2 \cdot \left(-y5\right)\right)\right)\\

\mathbf{elif}\;j \leq 9.6 \cdot 10^{-120}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y2 - b\right)\right)\\

\mathbf{elif}\;j \leq 2.8 \cdot 10^{+188}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\

\mathbf{else}:\\
\;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if j < -5.2e-51

    1. Initial program 24.0%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
    5. Simplified44.8%

      \[\leadsto \color{blue}{\left(-y3\right) \cdot \left(\mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, c \cdot y0 - a \cdot y1, j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right) - c \cdot y4\right)} \]
    6. Taylor expanded in y5 around -inf

      \[\leadsto \color{blue}{y3 \cdot \left(y5 \cdot \left(j \cdot y0 - 1\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{y3 \cdot \left(y5 \cdot \left(j \cdot y0 - 1\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - 1\right)\right)} \]
      3. sub-negN/A

        \[\leadsto y3 \cdot \left(y5 \cdot \color{blue}{\left(j \cdot y0 + \left(\mathsf{neg}\left(1\right)\right)\right)}\right) \]
      4. *-commutativeN/A

        \[\leadsto y3 \cdot \left(y5 \cdot \left(\color{blue}{y0 \cdot j} + \left(\mathsf{neg}\left(1\right)\right)\right)\right) \]
      5. metadata-evalN/A

        \[\leadsto y3 \cdot \left(y5 \cdot \left(y0 \cdot j + \color{blue}{-1}\right)\right) \]
      6. lower-fma.f6429.8

        \[\leadsto y3 \cdot \left(y5 \cdot \color{blue}{\mathsf{fma}\left(y0, j, -1\right)}\right) \]
    8. Simplified29.8%

      \[\leadsto \color{blue}{y3 \cdot \left(y5 \cdot \mathsf{fma}\left(y0, j, -1\right)\right)} \]

    if -5.2e-51 < j < -1.17999999999999995e-204

    1. Initial program 31.7%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in k around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      6. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\left(\color{blue}{\left(-1 \cdot y2\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)} + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(-1 \cdot y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right)} - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. neg-mul-1N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-neg.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4 - y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4} - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - \color{blue}{y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, \color{blue}{b \cdot y4}\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      14. +-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\left(z \cdot \left(b \cdot y0 - i \cdot y1\right) + i \cdot y5\right)}\right) \]
      15. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)}\right) \]
    5. Simplified41.2%

      \[\leadsto \color{blue}{\left(-k\right) \cdot \left(\mathsf{fma}\left(-y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)\right)} \]
    6. Taylor expanded in y5 around inf

      \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(y5 \cdot \color{blue}{\left(y0 \cdot y2 - i\right)}\right) \]
      3. lower-*.f6437.3

        \[\leadsto \left(-k\right) \cdot \left(y5 \cdot \left(\color{blue}{y0 \cdot y2} - i\right)\right) \]
    8. Simplified37.3%

      \[\leadsto \left(-k\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
    9. Taylor expanded in y0 around inf

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right)\right)} \]
    10. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto \color{blue}{\left(k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right)\right) \cdot -1} \]
      2. *-commutativeN/A

        \[\leadsto \color{blue}{\left(\left(y0 \cdot \left(y2 \cdot y5\right)\right) \cdot k\right)} \cdot -1 \]
      3. associate-*r*N/A

        \[\leadsto \color{blue}{\left(y0 \cdot \left(\left(y2 \cdot y5\right) \cdot k\right)\right)} \cdot -1 \]
      4. *-commutativeN/A

        \[\leadsto \left(y0 \cdot \color{blue}{\left(k \cdot \left(y2 \cdot y5\right)\right)}\right) \cdot -1 \]
      5. associate-*r*N/A

        \[\leadsto \color{blue}{y0 \cdot \left(\left(k \cdot \left(y2 \cdot y5\right)\right) \cdot -1\right)} \]
      6. *-commutativeN/A

        \[\leadsto y0 \cdot \color{blue}{\left(-1 \cdot \left(k \cdot \left(y2 \cdot y5\right)\right)\right)} \]
      7. lower-*.f64N/A

        \[\leadsto \color{blue}{y0 \cdot \left(-1 \cdot \left(k \cdot \left(y2 \cdot y5\right)\right)\right)} \]
      8. mul-1-negN/A

        \[\leadsto y0 \cdot \color{blue}{\left(\mathsf{neg}\left(k \cdot \left(y2 \cdot y5\right)\right)\right)} \]
      9. distribute-rgt-neg-inN/A

        \[\leadsto y0 \cdot \color{blue}{\left(k \cdot \left(\mathsf{neg}\left(y2 \cdot y5\right)\right)\right)} \]
      10. mul-1-negN/A

        \[\leadsto y0 \cdot \left(k \cdot \color{blue}{\left(-1 \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      11. lower-*.f64N/A

        \[\leadsto y0 \cdot \color{blue}{\left(k \cdot \left(-1 \cdot \left(y2 \cdot y5\right)\right)\right)} \]
      12. mul-1-negN/A

        \[\leadsto y0 \cdot \left(k \cdot \color{blue}{\left(\mathsf{neg}\left(y2 \cdot y5\right)\right)}\right) \]
      13. *-commutativeN/A

        \[\leadsto y0 \cdot \left(k \cdot \left(\mathsf{neg}\left(\color{blue}{y5 \cdot y2}\right)\right)\right) \]
      14. distribute-rgt-neg-inN/A

        \[\leadsto y0 \cdot \left(k \cdot \color{blue}{\left(y5 \cdot \left(\mathsf{neg}\left(y2\right)\right)\right)}\right) \]
      15. mul-1-negN/A

        \[\leadsto y0 \cdot \left(k \cdot \left(y5 \cdot \color{blue}{\left(-1 \cdot y2\right)}\right)\right) \]
      16. lower-*.f64N/A

        \[\leadsto y0 \cdot \left(k \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot y2\right)\right)}\right) \]
      17. mul-1-negN/A

        \[\leadsto y0 \cdot \left(k \cdot \left(y5 \cdot \color{blue}{\left(\mathsf{neg}\left(y2\right)\right)}\right)\right) \]
      18. lower-neg.f6446.2

        \[\leadsto y0 \cdot \left(k \cdot \left(y5 \cdot \color{blue}{\left(-y2\right)}\right)\right) \]
    11. Simplified46.2%

      \[\leadsto \color{blue}{y0 \cdot \left(k \cdot \left(y5 \cdot \left(-y2\right)\right)\right)} \]

    if -1.17999999999999995e-204 < j < 9.5999999999999998e-120

    1. Initial program 38.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in k around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      6. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\left(\color{blue}{\left(-1 \cdot y2\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)} + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(-1 \cdot y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right)} - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. neg-mul-1N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-neg.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4 - y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4} - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - \color{blue}{y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, \color{blue}{b \cdot y4}\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      14. +-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\left(z \cdot \left(b \cdot y0 - i \cdot y1\right) + i \cdot y5\right)}\right) \]
      15. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)}\right) \]
    5. Simplified38.9%

      \[\leadsto \color{blue}{\left(-k\right) \cdot \left(\mathsf{fma}\left(-y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)\right)} \]
    6. Taylor expanded in y4 around inf

      \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y4 \cdot \left(b + -1 \cdot y2\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y4 \cdot \left(b + -1 \cdot y2\right)\right)} \]
      2. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(y4 \cdot \left(b + \color{blue}{\left(\mathsf{neg}\left(y2\right)\right)}\right)\right) \]
      3. unsub-negN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(y4 \cdot \color{blue}{\left(b - y2\right)}\right) \]
      4. lower--.f6426.5

        \[\leadsto \left(-k\right) \cdot \left(y4 \cdot \color{blue}{\left(b - y2\right)}\right) \]
    8. Simplified26.5%

      \[\leadsto \left(-k\right) \cdot \color{blue}{\left(y4 \cdot \left(b - y2\right)\right)} \]

    if 9.5999999999999998e-120 < j < 2.7999999999999998e188

    1. Initial program 30.9%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, x \cdot y2 - y3 \cdot z, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      5. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{x \cdot y2 - y3 \cdot z}, b \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(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)}\right)\right)\right) \]
      14. remove-double-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \color{blue}{y5 \cdot \left(t \cdot y2 - y \cdot y3\right)}\right) \]
    5. Simplified50.6%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(-y1, y2 \cdot x - z \cdot y3, \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right)\right)} \]
    6. Taylor expanded in t around inf

      \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 + -1 \cdot \left(b \cdot z\right)\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 + -1 \cdot \left(b \cdot z\right)\right)\right)} \]
      2. mul-1-negN/A

        \[\leadsto a \cdot \left(t \cdot \left(y5 + \color{blue}{\left(\mathsf{neg}\left(b \cdot z\right)\right)}\right)\right) \]
      3. unsub-negN/A

        \[\leadsto a \cdot \left(t \cdot \color{blue}{\left(y5 - b \cdot z\right)}\right) \]
      4. lower--.f64N/A

        \[\leadsto a \cdot \left(t \cdot \color{blue}{\left(y5 - b \cdot z\right)}\right) \]
      5. lower-*.f6439.1

        \[\leadsto a \cdot \left(t \cdot \left(y5 - \color{blue}{b \cdot z}\right)\right) \]
    8. Simplified39.1%

      \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(y5 - b \cdot z\right)\right)} \]

    if 2.7999999999999998e188 < j

    1. Initial program 27.3%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in i around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \color{blue}{\left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      6. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(c, x \cdot y - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{x \cdot y - t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      10. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - \color{blue}{t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, \color{blue}{y5 \cdot \left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      12. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \color{blue}{\left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      13. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      15. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - \color{blue}{k \cdot y}\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      16. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - k \cdot y\right)\right) - \color{blue}{y1 \cdot \left(j \cdot x - k \cdot z\right)}\right) \]
    5. Simplified50.2%

      \[\leadsto \color{blue}{\left(-i\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - z \cdot k\right)\right)} \]
    6. Taylor expanded in y1 around -inf

      \[\leadsto \color{blue}{i \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(i \cdot y1\right) \cdot \left(j \cdot x - k \cdot z\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(i \cdot y1\right) \cdot \left(j \cdot x - k \cdot z\right)} \]
      3. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(i \cdot y1\right)} \cdot \left(j \cdot x - k \cdot z\right) \]
      4. lower--.f64N/A

        \[\leadsto \left(i \cdot y1\right) \cdot \color{blue}{\left(j \cdot x - k \cdot z\right)} \]
      5. lower-*.f64N/A

        \[\leadsto \left(i \cdot y1\right) \cdot \left(\color{blue}{j \cdot x} - k \cdot z\right) \]
      6. lower-*.f6459.6

        \[\leadsto \left(i \cdot y1\right) \cdot \left(j \cdot x - \color{blue}{k \cdot z}\right) \]
    8. Simplified59.6%

      \[\leadsto \color{blue}{\left(i \cdot y1\right) \cdot \left(j \cdot x - k \cdot z\right)} \]
    9. Taylor expanded in x around inf

      \[\leadsto \left(i \cdot y1\right) \cdot \color{blue}{\left(j \cdot x\right)} \]
    10. Step-by-step derivation
      1. lower-*.f6446.7

        \[\leadsto \left(i \cdot y1\right) \cdot \color{blue}{\left(j \cdot x\right)} \]
    11. Simplified46.7%

      \[\leadsto \left(i \cdot y1\right) \cdot \color{blue}{\left(j \cdot x\right)} \]
    12. Taylor expanded in i around 0

      \[\leadsto \color{blue}{i \cdot \left(j \cdot \left(x \cdot y1\right)\right)} \]
    13. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(i \cdot j\right) \cdot \left(x \cdot y1\right)} \]
      2. *-commutativeN/A

        \[\leadsto \left(i \cdot j\right) \cdot \color{blue}{\left(y1 \cdot x\right)} \]
      3. associate-*r*N/A

        \[\leadsto \color{blue}{\left(\left(i \cdot j\right) \cdot y1\right) \cdot x} \]
      4. associate-*r*N/A

        \[\leadsto \color{blue}{\left(i \cdot \left(j \cdot y1\right)\right)} \cdot x \]
      5. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(i \cdot \left(j \cdot y1\right)\right) \cdot x} \]
      6. associate-*r*N/A

        \[\leadsto \color{blue}{\left(\left(i \cdot j\right) \cdot y1\right)} \cdot x \]
      7. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(\left(i \cdot j\right) \cdot y1\right)} \cdot x \]
      8. *-commutativeN/A

        \[\leadsto \left(\color{blue}{\left(j \cdot i\right)} \cdot y1\right) \cdot x \]
      9. lower-*.f6460.1

        \[\leadsto \left(\color{blue}{\left(j \cdot i\right)} \cdot y1\right) \cdot x \]
    14. Simplified60.1%

      \[\leadsto \color{blue}{\left(\left(j \cdot i\right) \cdot y1\right) \cdot x} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification35.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -5.2 \cdot 10^{-51}:\\ \;\;\;\;y3 \cdot \left(y5 \cdot \mathsf{fma}\left(y0, j, -1\right)\right)\\ \mathbf{elif}\;j \leq -1.18 \cdot 10^{-204}:\\ \;\;\;\;y0 \cdot \left(k \cdot \left(y2 \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;j \leq 9.6 \cdot 10^{-120}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y2 - b\right)\right)\\ \mathbf{elif}\;j \leq 2.8 \cdot 10^{+188}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y5 - z \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 29: 15.3% accurate, 5.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y2 \leq -2.35 \cdot 10^{+185}:\\ \;\;\;\;x \cdot \left(y0 \cdot y2\right)\\ \mathbf{elif}\;y2 \leq 1.25 \cdot 10^{-212}:\\ \;\;\;\;x \cdot \left(j \cdot \left(-y0\right)\right)\\ \mathbf{elif}\;y2 \leq 3.05 \cdot 10^{-68}:\\ \;\;\;\;b \cdot \left(x \cdot a\right)\\ \mathbf{elif}\;y2 \leq 1.2 \cdot 10^{+223}:\\ \;\;\;\;x \cdot \left(c \cdot y2\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(-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 (<= y2 -2.35e+185)
   (* x (* y0 y2))
   (if (<= y2 1.25e-212)
     (* x (* j (- y0)))
     (if (<= y2 3.05e-68)
       (* b (* x a))
       (if (<= y2 1.2e+223) (* x (* c y2)) (* k (* y2 (- 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 (y2 <= -2.35e+185) {
		tmp = x * (y0 * y2);
	} else if (y2 <= 1.25e-212) {
		tmp = x * (j * -y0);
	} else if (y2 <= 3.05e-68) {
		tmp = b * (x * a);
	} else if (y2 <= 1.2e+223) {
		tmp = x * (c * y2);
	} else {
		tmp = k * (y2 * -y5);
	}
	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 (y2 <= (-2.35d+185)) then
        tmp = x * (y0 * y2)
    else if (y2 <= 1.25d-212) then
        tmp = x * (j * -y0)
    else if (y2 <= 3.05d-68) then
        tmp = b * (x * a)
    else if (y2 <= 1.2d+223) then
        tmp = x * (c * y2)
    else
        tmp = k * (y2 * -y5)
    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 (y2 <= -2.35e+185) {
		tmp = x * (y0 * y2);
	} else if (y2 <= 1.25e-212) {
		tmp = x * (j * -y0);
	} else if (y2 <= 3.05e-68) {
		tmp = b * (x * a);
	} else if (y2 <= 1.2e+223) {
		tmp = x * (c * y2);
	} else {
		tmp = k * (y2 * -y5);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if y2 <= -2.35e+185:
		tmp = x * (y0 * y2)
	elif y2 <= 1.25e-212:
		tmp = x * (j * -y0)
	elif y2 <= 3.05e-68:
		tmp = b * (x * a)
	elif y2 <= 1.2e+223:
		tmp = x * (c * y2)
	else:
		tmp = k * (y2 * -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 (y2 <= -2.35e+185)
		tmp = Float64(x * Float64(y0 * y2));
	elseif (y2 <= 1.25e-212)
		tmp = Float64(x * Float64(j * Float64(-y0)));
	elseif (y2 <= 3.05e-68)
		tmp = Float64(b * Float64(x * a));
	elseif (y2 <= 1.2e+223)
		tmp = Float64(x * Float64(c * y2));
	else
		tmp = Float64(k * Float64(y2 * Float64(-y5)));
	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 (y2 <= -2.35e+185)
		tmp = x * (y0 * y2);
	elseif (y2 <= 1.25e-212)
		tmp = x * (j * -y0);
	elseif (y2 <= 3.05e-68)
		tmp = b * (x * a);
	elseif (y2 <= 1.2e+223)
		tmp = x * (c * y2);
	else
		tmp = k * (y2 * -y5);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -2.35e+185], N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.25e-212], N[(x * N[(j * (-y0)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.05e-68], N[(b * N[(x * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.2e+223], N[(x * N[(c * y2), $MachinePrecision]), $MachinePrecision], N[(k * N[(y2 * (-y5)), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -2.35 \cdot 10^{+185}:\\
\;\;\;\;x \cdot \left(y0 \cdot y2\right)\\

\mathbf{elif}\;y2 \leq 1.25 \cdot 10^{-212}:\\
\;\;\;\;x \cdot \left(j \cdot \left(-y0\right)\right)\\

\mathbf{elif}\;y2 \leq 3.05 \cdot 10^{-68}:\\
\;\;\;\;b \cdot \left(x \cdot a\right)\\

\mathbf{elif}\;y2 \leq 1.2 \cdot 10^{+223}:\\
\;\;\;\;x \cdot \left(c \cdot y2\right)\\

\mathbf{else}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(-y5\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y2 < -2.34999999999999986e185

    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 x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6447.7

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified47.7%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in y0 around inf

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
      3. lower--.f64N/A

        \[\leadsto x \cdot \left(y0 \cdot \color{blue}{\left(y2 - b \cdot j\right)}\right) \]
      4. lower-*.f6438.1

        \[\leadsto x \cdot \left(y0 \cdot \left(y2 - \color{blue}{b \cdot j}\right)\right) \]
    8. Simplified38.1%

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
    9. Taylor expanded in y2 around inf

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot y2\right)} \]
    10. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(y0 \cdot y2\right)} \]
      2. lower-*.f6441.4

        \[\leadsto x \cdot \color{blue}{\left(y0 \cdot y2\right)} \]
    11. Simplified41.4%

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot y2\right)} \]

    if -2.34999999999999986e185 < y2 < 1.25000000000000011e-212

    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 x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6431.1

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified31.1%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in y0 around inf

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
      3. lower--.f64N/A

        \[\leadsto x \cdot \left(y0 \cdot \color{blue}{\left(y2 - b \cdot j\right)}\right) \]
      4. lower-*.f6420.7

        \[\leadsto x \cdot \left(y0 \cdot \left(y2 - \color{blue}{b \cdot j}\right)\right) \]
    8. Simplified20.7%

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
    9. Taylor expanded in j around inf

      \[\leadsto x \cdot \left(y0 \cdot \color{blue}{\left(-1 \cdot j\right)}\right) \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto x \cdot \left(y0 \cdot \color{blue}{\left(\mathsf{neg}\left(j\right)\right)}\right) \]
      2. lower-neg.f6417.6

        \[\leadsto x \cdot \left(y0 \cdot \color{blue}{\left(-j\right)}\right) \]
    11. Simplified17.6%

      \[\leadsto x \cdot \left(y0 \cdot \color{blue}{\left(-j\right)}\right) \]

    if 1.25000000000000011e-212 < y2 < 3.05e-68

    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 x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6430.2

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified30.2%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in b around inf

      \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
      2. lower--.f6430.8

        \[\leadsto x \cdot \left(b \cdot \color{blue}{\left(a - j\right)}\right) \]
    8. Simplified30.8%

      \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
    9. Taylor expanded in a around inf

      \[\leadsto \color{blue}{a \cdot \left(b \cdot x\right)} \]
    10. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{a \cdot \left(b \cdot x\right)} \]
      2. lower-*.f6430.7

        \[\leadsto a \cdot \color{blue}{\left(b \cdot x\right)} \]
    11. Simplified30.7%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot x\right)} \]
    12. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto a \cdot \color{blue}{\left(x \cdot b\right)} \]
      2. associate-*r*N/A

        \[\leadsto \color{blue}{\left(a \cdot x\right) \cdot b} \]
      3. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(a \cdot x\right) \cdot b} \]
      4. lower-*.f6434.2

        \[\leadsto \color{blue}{\left(a \cdot x\right)} \cdot b \]
    13. Applied egg-rr34.2%

      \[\leadsto \color{blue}{\left(a \cdot x\right) \cdot b} \]

    if 3.05e-68 < y2 < 1.20000000000000006e223

    1. Initial program 30.0%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y2 around inf

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.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. lower--.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y2 \cdot \left(\color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto y2 \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - \color{blue}{t \cdot \left(c \cdot y4 - a \cdot y5\right)}\right) \]
      14. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified40.9%

      \[\leadsto \color{blue}{y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto y2 \cdot \left(c \cdot \color{blue}{\left(x - t \cdot y4\right)}\right) \]
      3. lower-*.f6427.5

        \[\leadsto y2 \cdot \left(c \cdot \left(x - \color{blue}{t \cdot y4}\right)\right) \]
    8. Simplified27.5%

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    9. Taylor expanded in x around inf

      \[\leadsto \color{blue}{c \cdot \left(x \cdot y2\right)} \]
    10. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto c \cdot \color{blue}{\left(y2 \cdot x\right)} \]
      2. associate-*r*N/A

        \[\leadsto \color{blue}{\left(c \cdot y2\right) \cdot x} \]
      3. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(c \cdot y2\right) \cdot x} \]
      4. *-commutativeN/A

        \[\leadsto \color{blue}{\left(y2 \cdot c\right)} \cdot x \]
      5. lower-*.f6418.8

        \[\leadsto \color{blue}{\left(y2 \cdot c\right)} \cdot x \]
    11. Simplified18.8%

      \[\leadsto \color{blue}{\left(y2 \cdot c\right) \cdot x} \]

    if 1.20000000000000006e223 < y2

    1. Initial program 13.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}{-1 \cdot \left(k \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      6. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\left(\color{blue}{\left(-1 \cdot y2\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)} + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(-1 \cdot y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right)} - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. neg-mul-1N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-neg.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4 - y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4} - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - \color{blue}{y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, \color{blue}{b \cdot y4}\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      14. +-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\left(z \cdot \left(b \cdot y0 - i \cdot y1\right) + i \cdot y5\right)}\right) \]
      15. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)}\right) \]
    5. Simplified54.7%

      \[\leadsto \color{blue}{\left(-k\right) \cdot \left(\mathsf{fma}\left(-y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)\right)} \]
    6. Taylor expanded in y5 around inf

      \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(y5 \cdot \color{blue}{\left(y0 \cdot y2 - i\right)}\right) \]
      3. lower-*.f6445.8

        \[\leadsto \left(-k\right) \cdot \left(y5 \cdot \left(\color{blue}{y0 \cdot y2} - i\right)\right) \]
    8. Simplified45.8%

      \[\leadsto \left(-k\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
    9. Taylor expanded in y2 around inf

      \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y2 \cdot y5\right)} \]
    10. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y5 \cdot y2\right)} \]
      2. lower-*.f6450.9

        \[\leadsto \left(-k\right) \cdot \color{blue}{\left(y5 \cdot y2\right)} \]
    11. Simplified50.9%

      \[\leadsto \left(-k\right) \cdot \color{blue}{\left(y5 \cdot y2\right)} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification25.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -2.35 \cdot 10^{+185}:\\ \;\;\;\;x \cdot \left(y0 \cdot y2\right)\\ \mathbf{elif}\;y2 \leq 1.25 \cdot 10^{-212}:\\ \;\;\;\;x \cdot \left(j \cdot \left(-y0\right)\right)\\ \mathbf{elif}\;y2 \leq 3.05 \cdot 10^{-68}:\\ \;\;\;\;b \cdot \left(x \cdot a\right)\\ \mathbf{elif}\;y2 \leq 1.2 \cdot 10^{+223}:\\ \;\;\;\;x \cdot \left(c \cdot y2\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(-y5\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 30: 31.2% accurate, 5.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -1.4 \cdot 10^{-64}:\\ \;\;\;\;i \cdot \left(t \cdot \mathsf{fma}\left(c, z, j \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;t \leq 2.25 \cdot 10^{+42}:\\ \;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\ \mathbf{elif}\;t \leq 2.4 \cdot 10^{+176}:\\ \;\;\;\;y3 \cdot \left(c \cdot \left(y4 - z \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (if (<= t -1.4e-64)
   (* i (* t (fma c z (* j (- y5)))))
   (if (<= t 2.25e+42)
     (* a (* y3 (fma (- y) y5 (* z y1))))
     (if (<= t 2.4e+176)
       (* y3 (* c (- y4 (* z y0))))
       (* a (* t (- (* y2 y5) z)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (t <= -1.4e-64) {
		tmp = i * (t * fma(c, z, (j * -y5)));
	} else if (t <= 2.25e+42) {
		tmp = a * (y3 * fma(-y, y5, (z * y1)));
	} else if (t <= 2.4e+176) {
		tmp = y3 * (c * (y4 - (z * y0)));
	} else {
		tmp = a * (t * ((y2 * y5) - z));
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (t <= -1.4e-64)
		tmp = Float64(i * Float64(t * fma(c, z, Float64(j * Float64(-y5)))));
	elseif (t <= 2.25e+42)
		tmp = Float64(a * Float64(y3 * fma(Float64(-y), y5, Float64(z * y1))));
	elseif (t <= 2.4e+176)
		tmp = Float64(y3 * Float64(c * Float64(y4 - Float64(z * y0))));
	else
		tmp = Float64(a * Float64(t * Float64(Float64(y2 * y5) - z)));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[t, -1.4e-64], N[(i * N[(t * N[(c * z + N[(j * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.25e+42], N[(a * N[(y3 * N[((-y) * y5 + N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.4e+176], N[(y3 * N[(c * N[(y4 - N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;t \leq -1.4 \cdot 10^{-64}:\\
\;\;\;\;i \cdot \left(t \cdot \mathsf{fma}\left(c, z, j \cdot \left(-y5\right)\right)\right)\\

\mathbf{elif}\;t \leq 2.25 \cdot 10^{+42}:\\
\;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\

\mathbf{elif}\;t \leq 2.4 \cdot 10^{+176}:\\
\;\;\;\;y3 \cdot \left(c \cdot \left(y4 - z \cdot y0\right)\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if t < -1.40000000000000002e-64

    1. Initial program 19.9%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in i around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \color{blue}{\left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      6. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(c, x \cdot y - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{x \cdot y - t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      10. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - \color{blue}{t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, \color{blue}{y5 \cdot \left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      12. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \color{blue}{\left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      13. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      15. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - \color{blue}{k \cdot y}\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      16. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - k \cdot y\right)\right) - \color{blue}{y1 \cdot \left(j \cdot x - k \cdot z\right)}\right) \]
    5. Simplified44.9%

      \[\leadsto \color{blue}{\left(-i\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - z \cdot k\right)\right)} \]
    6. Taylor expanded in t around -inf

      \[\leadsto \color{blue}{i \cdot \left(t \cdot \left(-1 \cdot \left(j \cdot y5\right) + c \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{i \cdot \left(t \cdot \left(-1 \cdot \left(j \cdot y5\right) + c \cdot z\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto i \cdot \color{blue}{\left(t \cdot \left(-1 \cdot \left(j \cdot y5\right) + c \cdot z\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto i \cdot \left(t \cdot \color{blue}{\left(c \cdot z + -1 \cdot \left(j \cdot y5\right)\right)}\right) \]
      4. lower-fma.f64N/A

        \[\leadsto i \cdot \left(t \cdot \color{blue}{\mathsf{fma}\left(c, z, -1 \cdot \left(j \cdot y5\right)\right)}\right) \]
      5. associate-*r*N/A

        \[\leadsto i \cdot \left(t \cdot \mathsf{fma}\left(c, z, \color{blue}{\left(-1 \cdot j\right) \cdot y5}\right)\right) \]
      6. lower-*.f64N/A

        \[\leadsto i \cdot \left(t \cdot \mathsf{fma}\left(c, z, \color{blue}{\left(-1 \cdot j\right) \cdot y5}\right)\right) \]
      7. mul-1-negN/A

        \[\leadsto i \cdot \left(t \cdot \mathsf{fma}\left(c, z, \color{blue}{\left(\mathsf{neg}\left(j\right)\right)} \cdot y5\right)\right) \]
      8. lower-neg.f6444.0

        \[\leadsto i \cdot \left(t \cdot \mathsf{fma}\left(c, z, \color{blue}{\left(-j\right)} \cdot y5\right)\right) \]
    8. Simplified44.0%

      \[\leadsto \color{blue}{i \cdot \left(t \cdot \mathsf{fma}\left(c, z, \left(-j\right) \cdot y5\right)\right)} \]

    if -1.40000000000000002e-64 < t < 2.25000000000000006e42

    1. Initial program 38.0%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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. lower-*.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. associate-*r*N/A

        \[\leadsto a \cdot \left(\color{blue}{\left(-1 \cdot y1\right) \cdot \left(x \cdot y2 - y3 \cdot z\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. lower-fma.f64N/A

        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y1, x \cdot y2 - y3 \cdot z, b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      5. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower-neg.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y1\right)}, x \cdot y2 - y3 \cdot z, b \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. lower--.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{x \cdot y2 - y3 \cdot z}, b \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(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), \color{blue}{y2 \cdot x} - y3 \cdot z, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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. lower-*.f64N/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - \color{blue}{z \cdot y3}, b \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(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, \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) \]
      13. mul-1-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)}\right)\right)\right) \]
      14. remove-double-negN/A

        \[\leadsto a \cdot \mathsf{fma}\left(\mathsf{neg}\left(y1\right), y2 \cdot x - z \cdot y3, b \cdot \left(x \cdot y - t \cdot z\right) + \color{blue}{y5 \cdot \left(t \cdot y2 - y \cdot y3\right)}\right) \]
    5. Simplified43.7%

      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(-y1, y2 \cdot x - z \cdot y3, \mathsf{fma}\left(b, y \cdot x - t \cdot z, y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\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. lower-*.f64N/A

        \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y \cdot y5\right) + y1 \cdot z\right)\right)} \]
      2. associate-*r*N/A

        \[\leadsto a \cdot \left(y3 \cdot \left(\color{blue}{\left(-1 \cdot y\right) \cdot y5} + y1 \cdot z\right)\right) \]
      3. lower-fma.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y, y5, y1 \cdot z\right)}\right) \]
      4. mul-1-negN/A

        \[\leadsto a \cdot \left(y3 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y\right)}, y5, y1 \cdot z\right)\right) \]
      5. lower-neg.f64N/A

        \[\leadsto a \cdot \left(y3 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y\right)}, y5, y1 \cdot z\right)\right) \]
      6. lower-*.f6438.3

        \[\leadsto a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, \color{blue}{y1 \cdot z}\right)\right) \]
    8. Simplified38.3%

      \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \mathsf{fma}\left(-y, y5, y1 \cdot z\right)\right)} \]

    if 2.25000000000000006e42 < t < 2.4000000000000001e176

    1. Initial program 18.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
    5. Simplified52.3%

      \[\leadsto \color{blue}{\left(-y3\right) \cdot \left(\mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, c \cdot y0 - a \cdot y1, j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right) - c \cdot y4\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(c \cdot \left(y0 \cdot z - y4\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(c \cdot \left(y0 \cdot z - y4\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \left(c \cdot \color{blue}{\left(y0 \cdot z - y4\right)}\right) \]
      3. lower-*.f6441.8

        \[\leadsto \left(-y3\right) \cdot \left(c \cdot \left(\color{blue}{y0 \cdot z} - y4\right)\right) \]
    8. Simplified41.8%

      \[\leadsto \left(-y3\right) \cdot \color{blue}{\left(c \cdot \left(y0 \cdot z - y4\right)\right)} \]

    if 2.4000000000000001e176 < t

    1. Initial program 37.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(t \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot t\right) \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot t\right) \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \left(\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + z \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \]
      5. associate--l+N/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\left(-1 \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right)} \]
      6. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      7. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot j}\right)\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      8. distribute-lft-neg-inN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(b \cdot y4 - i \cdot y5\right)\right)\right) \cdot j} + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      9. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \left(\color{blue}{\left(-1 \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \cdot j + \left(z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\right) \]
      10. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(t\right)\right) \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot \left(b \cdot y4 - i \cdot y5\right), j, z \cdot \left(a \cdot b - c \cdot i\right) - -1 \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    5. Simplified70.8%

      \[\leadsto \color{blue}{\left(-t\right) \cdot \mathsf{fma}\left(-\left(b \cdot y4 - i \cdot y5\right), j, \mathsf{fma}\left(z, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    6. Taylor expanded in a around inf

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)\right)} \]
      2. lower-neg.f64N/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)\right)} \]
      3. lower-*.f64N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{a \cdot \left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)}\right) \]
      4. lower-*.f64N/A

        \[\leadsto \mathsf{neg}\left(a \cdot \color{blue}{\left(t \cdot \left(z + -1 \cdot \left(y2 \cdot y5\right)\right)\right)}\right) \]
      5. mul-1-negN/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \left(z + \color{blue}{\left(\mathsf{neg}\left(y2 \cdot y5\right)\right)}\right)\right)\right) \]
      6. unsub-negN/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \color{blue}{\left(z - y2 \cdot y5\right)}\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \color{blue}{\left(z - y2 \cdot y5\right)}\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(a \cdot \left(t \cdot \left(z - \color{blue}{y5 \cdot y2}\right)\right)\right) \]
      9. lower-*.f6459.0

        \[\leadsto -a \cdot \left(t \cdot \left(z - \color{blue}{y5 \cdot y2}\right)\right) \]
    8. Simplified59.0%

      \[\leadsto \color{blue}{-a \cdot \left(t \cdot \left(z - y5 \cdot y2\right)\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification42.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.4 \cdot 10^{-64}:\\ \;\;\;\;i \cdot \left(t \cdot \mathsf{fma}\left(c, z, j \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;t \leq 2.25 \cdot 10^{+42}:\\ \;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, z \cdot y1\right)\right)\\ \mathbf{elif}\;t \leq 2.4 \cdot 10^{+176}:\\ \;\;\;\;y3 \cdot \left(c \cdot \left(y4 - z \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 31: 22.8% accurate, 5.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;c \leq -4.8 \cdot 10^{-33}:\\ \;\;\;\;y2 \cdot \left(t \cdot \left(c \cdot \left(-y4\right)\right)\right)\\ \mathbf{elif}\;c \leq 5.2 \cdot 10^{+87}:\\ \;\;\;\;y3 \cdot \left(y5 \cdot \mathsf{fma}\left(y0, j, -1\right)\right)\\ \mathbf{elif}\;c \leq 6.4 \cdot 10^{+251}:\\ \;\;\;\;y2 \cdot \left(x \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(c \cdot \left(-y2\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
 (if (<= c -4.8e-33)
   (* y2 (* t (* c (- y4))))
   (if (<= c 5.2e+87)
     (* y3 (* y5 (fma y0 j -1.0)))
     (if (<= c 6.4e+251) (* y2 (* x c)) (* t (* y4 (* c (- y2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (c <= -4.8e-33) {
		tmp = y2 * (t * (c * -y4));
	} else if (c <= 5.2e+87) {
		tmp = y3 * (y5 * fma(y0, j, -1.0));
	} else if (c <= 6.4e+251) {
		tmp = y2 * (x * c);
	} else {
		tmp = t * (y4 * (c * -y2));
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (c <= -4.8e-33)
		tmp = Float64(y2 * Float64(t * Float64(c * Float64(-y4))));
	elseif (c <= 5.2e+87)
		tmp = Float64(y3 * Float64(y5 * fma(y0, j, -1.0)));
	elseif (c <= 6.4e+251)
		tmp = Float64(y2 * Float64(x * c));
	else
		tmp = Float64(t * Float64(y4 * Float64(c * Float64(-y2))));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[c, -4.8e-33], N[(y2 * N[(t * N[(c * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5.2e+87], N[(y3 * N[(y5 * N[(y0 * j + -1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 6.4e+251], N[(y2 * N[(x * c), $MachinePrecision]), $MachinePrecision], N[(t * N[(y4 * N[(c * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;c \leq -4.8 \cdot 10^{-33}:\\
\;\;\;\;y2 \cdot \left(t \cdot \left(c \cdot \left(-y4\right)\right)\right)\\

\mathbf{elif}\;c \leq 5.2 \cdot 10^{+87}:\\
\;\;\;\;y3 \cdot \left(y5 \cdot \mathsf{fma}\left(y0, j, -1\right)\right)\\

\mathbf{elif}\;c \leq 6.4 \cdot 10^{+251}:\\
\;\;\;\;y2 \cdot \left(x \cdot c\right)\\

\mathbf{else}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(c \cdot \left(-y2\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if c < -4.8e-33

    1. Initial program 25.8%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y2 around inf

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.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. lower--.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y2 \cdot \left(\color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto y2 \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - \color{blue}{t \cdot \left(c \cdot y4 - a \cdot y5\right)}\right) \]
      14. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified35.3%

      \[\leadsto \color{blue}{y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto y2 \cdot \left(c \cdot \color{blue}{\left(x - t \cdot y4\right)}\right) \]
      3. lower-*.f6437.3

        \[\leadsto y2 \cdot \left(c \cdot \left(x - \color{blue}{t \cdot y4}\right)\right) \]
    8. Simplified37.3%

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    9. Taylor expanded in x around 0

      \[\leadsto y2 \cdot \color{blue}{\left(-1 \cdot \left(c \cdot \left(t \cdot y4\right)\right)\right)} \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto y2 \cdot \color{blue}{\left(\mathsf{neg}\left(c \cdot \left(t \cdot y4\right)\right)\right)} \]
      2. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\mathsf{neg}\left(\color{blue}{\left(t \cdot y4\right) \cdot c}\right)\right) \]
      3. associate-*r*N/A

        \[\leadsto y2 \cdot \left(\mathsf{neg}\left(\color{blue}{t \cdot \left(y4 \cdot c\right)}\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\mathsf{neg}\left(t \cdot \color{blue}{\left(c \cdot y4\right)}\right)\right) \]
      5. distribute-rgt-neg-outN/A

        \[\leadsto y2 \cdot \color{blue}{\left(t \cdot \left(\mathsf{neg}\left(c \cdot y4\right)\right)\right)} \]
      6. mul-1-negN/A

        \[\leadsto y2 \cdot \left(t \cdot \color{blue}{\left(-1 \cdot \left(c \cdot y4\right)\right)}\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(t \cdot \left(-1 \cdot \left(c \cdot y4\right)\right)\right)} \]
      8. mul-1-negN/A

        \[\leadsto y2 \cdot \left(t \cdot \color{blue}{\left(\mathsf{neg}\left(c \cdot y4\right)\right)}\right) \]
      9. *-commutativeN/A

        \[\leadsto y2 \cdot \left(t \cdot \left(\mathsf{neg}\left(\color{blue}{y4 \cdot c}\right)\right)\right) \]
      10. distribute-rgt-neg-inN/A

        \[\leadsto y2 \cdot \left(t \cdot \color{blue}{\left(y4 \cdot \left(\mathsf{neg}\left(c\right)\right)\right)}\right) \]
      11. mul-1-negN/A

        \[\leadsto y2 \cdot \left(t \cdot \left(y4 \cdot \color{blue}{\left(-1 \cdot c\right)}\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(t \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot c\right)\right)}\right) \]
      13. mul-1-negN/A

        \[\leadsto y2 \cdot \left(t \cdot \left(y4 \cdot \color{blue}{\left(\mathsf{neg}\left(c\right)\right)}\right)\right) \]
      14. lower-neg.f6434.3

        \[\leadsto y2 \cdot \left(t \cdot \left(y4 \cdot \color{blue}{\left(-c\right)}\right)\right) \]
    11. Simplified34.3%

      \[\leadsto y2 \cdot \color{blue}{\left(t \cdot \left(y4 \cdot \left(-c\right)\right)\right)} \]

    if -4.8e-33 < c < 5.19999999999999997e87

    1. Initial program 34.9%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
    5. Simplified40.9%

      \[\leadsto \color{blue}{\left(-y3\right) \cdot \left(\mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, c \cdot y0 - a \cdot y1, j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right) - c \cdot y4\right)} \]
    6. Taylor expanded in y5 around -inf

      \[\leadsto \color{blue}{y3 \cdot \left(y5 \cdot \left(j \cdot y0 - 1\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{y3 \cdot \left(y5 \cdot \left(j \cdot y0 - 1\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - 1\right)\right)} \]
      3. sub-negN/A

        \[\leadsto y3 \cdot \left(y5 \cdot \color{blue}{\left(j \cdot y0 + \left(\mathsf{neg}\left(1\right)\right)\right)}\right) \]
      4. *-commutativeN/A

        \[\leadsto y3 \cdot \left(y5 \cdot \left(\color{blue}{y0 \cdot j} + \left(\mathsf{neg}\left(1\right)\right)\right)\right) \]
      5. metadata-evalN/A

        \[\leadsto y3 \cdot \left(y5 \cdot \left(y0 \cdot j + \color{blue}{-1}\right)\right) \]
      6. lower-fma.f6425.1

        \[\leadsto y3 \cdot \left(y5 \cdot \color{blue}{\mathsf{fma}\left(y0, j, -1\right)}\right) \]
    8. Simplified25.1%

      \[\leadsto \color{blue}{y3 \cdot \left(y5 \cdot \mathsf{fma}\left(y0, j, -1\right)\right)} \]

    if 5.19999999999999997e87 < c < 6.3999999999999995e251

    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 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. lower-*.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. lower--.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y2 \cdot \left(\color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto y2 \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - \color{blue}{t \cdot \left(c \cdot y4 - a \cdot y5\right)}\right) \]
      14. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified32.4%

      \[\leadsto \color{blue}{y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto y2 \cdot \left(c \cdot \color{blue}{\left(x - t \cdot y4\right)}\right) \]
      3. lower-*.f6442.0

        \[\leadsto y2 \cdot \left(c \cdot \left(x - \color{blue}{t \cdot y4}\right)\right) \]
    8. Simplified42.0%

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    9. Taylor expanded in x around inf

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot x\right)} \]
    10. Step-by-step derivation
      1. lower-*.f6445.1

        \[\leadsto y2 \cdot \color{blue}{\left(c \cdot x\right)} \]
    11. Simplified45.1%

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot x\right)} \]

    if 6.3999999999999995e251 < c

    1. Initial program 13.3%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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. lower-*.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. lower--.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y2 \cdot \left(\color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto y2 \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - \color{blue}{t \cdot \left(c \cdot y4 - a \cdot y5\right)}\right) \]
      14. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified27.8%

      \[\leadsto \color{blue}{y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto y2 \cdot \left(c \cdot \color{blue}{\left(x - t \cdot y4\right)}\right) \]
      3. lower-*.f6446.9

        \[\leadsto y2 \cdot \left(c \cdot \left(x - \color{blue}{t \cdot y4}\right)\right) \]
    8. Simplified46.9%

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    9. Taylor expanded in x around 0

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(t \cdot \left(y2 \cdot y4\right)\right)\right)} \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(c \cdot \left(t \cdot \left(y2 \cdot y4\right)\right)\right)} \]
      2. lower-neg.f64N/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(c \cdot \left(t \cdot \left(y2 \cdot y4\right)\right)\right)} \]
      3. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(c \cdot t\right) \cdot \left(y2 \cdot y4\right)}\right) \]
      4. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(t \cdot c\right)} \cdot \left(y2 \cdot y4\right)\right) \]
      5. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{t \cdot \left(c \cdot \left(y2 \cdot y4\right)\right)}\right) \]
      6. lower-*.f64N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{t \cdot \left(c \cdot \left(y2 \cdot y4\right)\right)}\right) \]
      7. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(t \cdot \color{blue}{\left(\left(y2 \cdot y4\right) \cdot c\right)}\right) \]
      8. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(t \cdot \left(\color{blue}{\left(y4 \cdot y2\right)} \cdot c\right)\right) \]
      9. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(t \cdot \color{blue}{\left(y4 \cdot \left(y2 \cdot c\right)\right)}\right) \]
      10. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(t \cdot \left(y4 \cdot \color{blue}{\left(c \cdot y2\right)}\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \mathsf{neg}\left(t \cdot \color{blue}{\left(y4 \cdot \left(c \cdot y2\right)\right)}\right) \]
      12. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(t \cdot \left(y4 \cdot \color{blue}{\left(y2 \cdot c\right)}\right)\right) \]
      13. lower-*.f6460.8

        \[\leadsto -t \cdot \left(y4 \cdot \color{blue}{\left(y2 \cdot c\right)}\right) \]
    11. Simplified60.8%

      \[\leadsto \color{blue}{-t \cdot \left(y4 \cdot \left(y2 \cdot c\right)\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification32.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -4.8 \cdot 10^{-33}:\\ \;\;\;\;y2 \cdot \left(t \cdot \left(c \cdot \left(-y4\right)\right)\right)\\ \mathbf{elif}\;c \leq 5.2 \cdot 10^{+87}:\\ \;\;\;\;y3 \cdot \left(y5 \cdot \mathsf{fma}\left(y0, j, -1\right)\right)\\ \mathbf{elif}\;c \leq 6.4 \cdot 10^{+251}:\\ \;\;\;\;y2 \cdot \left(x \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(c \cdot \left(-y2\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 32: 23.7% accurate, 5.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;c \leq -1.4 \cdot 10^{+89}:\\ \;\;\;\;x \cdot \left(c \cdot \left(y2 - i\right)\right)\\ \mathbf{elif}\;c \leq 5.2 \cdot 10^{+87}:\\ \;\;\;\;y3 \cdot \left(y5 \cdot \mathsf{fma}\left(y0, j, -1\right)\right)\\ \mathbf{elif}\;c \leq 6.4 \cdot 10^{+251}:\\ \;\;\;\;y2 \cdot \left(x \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(c \cdot \left(-y2\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
 (if (<= c -1.4e+89)
   (* x (* c (- y2 i)))
   (if (<= c 5.2e+87)
     (* y3 (* y5 (fma y0 j -1.0)))
     (if (<= c 6.4e+251) (* y2 (* x c)) (* t (* y4 (* c (- y2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (c <= -1.4e+89) {
		tmp = x * (c * (y2 - i));
	} else if (c <= 5.2e+87) {
		tmp = y3 * (y5 * fma(y0, j, -1.0));
	} else if (c <= 6.4e+251) {
		tmp = y2 * (x * c);
	} else {
		tmp = t * (y4 * (c * -y2));
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (c <= -1.4e+89)
		tmp = Float64(x * Float64(c * Float64(y2 - i)));
	elseif (c <= 5.2e+87)
		tmp = Float64(y3 * Float64(y5 * fma(y0, j, -1.0)));
	elseif (c <= 6.4e+251)
		tmp = Float64(y2 * Float64(x * c));
	else
		tmp = Float64(t * Float64(y4 * Float64(c * Float64(-y2))));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[c, -1.4e+89], N[(x * N[(c * N[(y2 - i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5.2e+87], N[(y3 * N[(y5 * N[(y0 * j + -1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 6.4e+251], N[(y2 * N[(x * c), $MachinePrecision]), $MachinePrecision], N[(t * N[(y4 * N[(c * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;c \leq -1.4 \cdot 10^{+89}:\\
\;\;\;\;x \cdot \left(c \cdot \left(y2 - i\right)\right)\\

\mathbf{elif}\;c \leq 5.2 \cdot 10^{+87}:\\
\;\;\;\;y3 \cdot \left(y5 \cdot \mathsf{fma}\left(y0, j, -1\right)\right)\\

\mathbf{elif}\;c \leq 6.4 \cdot 10^{+251}:\\
\;\;\;\;y2 \cdot \left(x \cdot c\right)\\

\mathbf{else}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(c \cdot \left(-y2\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if c < -1.3999999999999999e89

    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(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6436.0

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified36.0%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto x \cdot \color{blue}{\left(c \cdot \left(y2 - i\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(c \cdot \left(y2 - i\right)\right)} \]
      2. lower--.f6436.4

        \[\leadsto x \cdot \left(c \cdot \color{blue}{\left(y2 - i\right)}\right) \]
    8. Simplified36.4%

      \[\leadsto x \cdot \color{blue}{\left(c \cdot \left(y2 - i\right)\right)} \]

    if -1.3999999999999999e89 < c < 5.19999999999999997e87

    1. Initial program 34.3%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
    5. Simplified42.7%

      \[\leadsto \color{blue}{\left(-y3\right) \cdot \left(\mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, c \cdot y0 - a \cdot y1, j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right) - c \cdot y4\right)} \]
    6. Taylor expanded in y5 around -inf

      \[\leadsto \color{blue}{y3 \cdot \left(y5 \cdot \left(j \cdot y0 - 1\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{y3 \cdot \left(y5 \cdot \left(j \cdot y0 - 1\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - 1\right)\right)} \]
      3. sub-negN/A

        \[\leadsto y3 \cdot \left(y5 \cdot \color{blue}{\left(j \cdot y0 + \left(\mathsf{neg}\left(1\right)\right)\right)}\right) \]
      4. *-commutativeN/A

        \[\leadsto y3 \cdot \left(y5 \cdot \left(\color{blue}{y0 \cdot j} + \left(\mathsf{neg}\left(1\right)\right)\right)\right) \]
      5. metadata-evalN/A

        \[\leadsto y3 \cdot \left(y5 \cdot \left(y0 \cdot j + \color{blue}{-1}\right)\right) \]
      6. lower-fma.f6424.1

        \[\leadsto y3 \cdot \left(y5 \cdot \color{blue}{\mathsf{fma}\left(y0, j, -1\right)}\right) \]
    8. Simplified24.1%

      \[\leadsto \color{blue}{y3 \cdot \left(y5 \cdot \mathsf{fma}\left(y0, j, -1\right)\right)} \]

    if 5.19999999999999997e87 < c < 6.3999999999999995e251

    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 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. lower-*.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. lower--.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y2 \cdot \left(\color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto y2 \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - \color{blue}{t \cdot \left(c \cdot y4 - a \cdot y5\right)}\right) \]
      14. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified32.4%

      \[\leadsto \color{blue}{y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto y2 \cdot \left(c \cdot \color{blue}{\left(x - t \cdot y4\right)}\right) \]
      3. lower-*.f6442.0

        \[\leadsto y2 \cdot \left(c \cdot \left(x - \color{blue}{t \cdot y4}\right)\right) \]
    8. Simplified42.0%

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    9. Taylor expanded in x around inf

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot x\right)} \]
    10. Step-by-step derivation
      1. lower-*.f6445.1

        \[\leadsto y2 \cdot \color{blue}{\left(c \cdot x\right)} \]
    11. Simplified45.1%

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot x\right)} \]

    if 6.3999999999999995e251 < c

    1. Initial program 13.3%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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. lower-*.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. lower--.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y2 \cdot \left(\color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto y2 \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - \color{blue}{t \cdot \left(c \cdot y4 - a \cdot y5\right)}\right) \]
      14. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified27.8%

      \[\leadsto \color{blue}{y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto y2 \cdot \left(c \cdot \color{blue}{\left(x - t \cdot y4\right)}\right) \]
      3. lower-*.f6446.9

        \[\leadsto y2 \cdot \left(c \cdot \left(x - \color{blue}{t \cdot y4}\right)\right) \]
    8. Simplified46.9%

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    9. Taylor expanded in x around 0

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(t \cdot \left(y2 \cdot y4\right)\right)\right)} \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(c \cdot \left(t \cdot \left(y2 \cdot y4\right)\right)\right)} \]
      2. lower-neg.f64N/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(c \cdot \left(t \cdot \left(y2 \cdot y4\right)\right)\right)} \]
      3. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(c \cdot t\right) \cdot \left(y2 \cdot y4\right)}\right) \]
      4. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{\left(t \cdot c\right)} \cdot \left(y2 \cdot y4\right)\right) \]
      5. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{t \cdot \left(c \cdot \left(y2 \cdot y4\right)\right)}\right) \]
      6. lower-*.f64N/A

        \[\leadsto \mathsf{neg}\left(\color{blue}{t \cdot \left(c \cdot \left(y2 \cdot y4\right)\right)}\right) \]
      7. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(t \cdot \color{blue}{\left(\left(y2 \cdot y4\right) \cdot c\right)}\right) \]
      8. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(t \cdot \left(\color{blue}{\left(y4 \cdot y2\right)} \cdot c\right)\right) \]
      9. associate-*r*N/A

        \[\leadsto \mathsf{neg}\left(t \cdot \color{blue}{\left(y4 \cdot \left(y2 \cdot c\right)\right)}\right) \]
      10. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(t \cdot \left(y4 \cdot \color{blue}{\left(c \cdot y2\right)}\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \mathsf{neg}\left(t \cdot \color{blue}{\left(y4 \cdot \left(c \cdot y2\right)\right)}\right) \]
      12. *-commutativeN/A

        \[\leadsto \mathsf{neg}\left(t \cdot \left(y4 \cdot \color{blue}{\left(y2 \cdot c\right)}\right)\right) \]
      13. lower-*.f6460.8

        \[\leadsto -t \cdot \left(y4 \cdot \color{blue}{\left(y2 \cdot c\right)}\right) \]
    11. Simplified60.8%

      \[\leadsto \color{blue}{-t \cdot \left(y4 \cdot \left(y2 \cdot c\right)\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification31.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -1.4 \cdot 10^{+89}:\\ \;\;\;\;x \cdot \left(c \cdot \left(y2 - i\right)\right)\\ \mathbf{elif}\;c \leq 5.2 \cdot 10^{+87}:\\ \;\;\;\;y3 \cdot \left(y5 \cdot \mathsf{fma}\left(y0, j, -1\right)\right)\\ \mathbf{elif}\;c \leq 6.4 \cdot 10^{+251}:\\ \;\;\;\;y2 \cdot \left(x \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(c \cdot \left(-y2\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 33: 22.2% accurate, 5.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y3 \cdot \left(y5 \cdot \mathsf{fma}\left(y0, j, -1\right)\right)\\ \mathbf{if}\;y5 \leq -1.1 \cdot 10^{+91}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y5 \leq 6.5 \cdot 10^{-84}:\\ \;\;\;\;x \cdot \left(c \cdot \left(y2 - i\right)\right)\\ \mathbf{elif}\;y5 \leq 1.7 \cdot 10^{+186}:\\ \;\;\;\;k \cdot \left(i \cdot \left(y5 - z\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 (* y3 (* y5 (fma y0 j -1.0)))))
   (if (<= y5 -1.1e+91)
     t_1
     (if (<= y5 6.5e-84)
       (* x (* c (- y2 i)))
       (if (<= y5 1.7e+186) (* k (* i (- y5 z))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = y3 * (y5 * fma(y0, j, -1.0));
	double tmp;
	if (y5 <= -1.1e+91) {
		tmp = t_1;
	} else if (y5 <= 6.5e-84) {
		tmp = x * (c * (y2 - i));
	} else if (y5 <= 1.7e+186) {
		tmp = k * (i * (y5 - z));
	} else {
		tmp = t_1;
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(y3 * Float64(y5 * fma(y0, j, -1.0)))
	tmp = 0.0
	if (y5 <= -1.1e+91)
		tmp = t_1;
	elseif (y5 <= 6.5e-84)
		tmp = Float64(x * Float64(c * Float64(y2 - i)));
	elseif (y5 <= 1.7e+186)
		tmp = Float64(k * Float64(i * Float64(y5 - z)));
	else
		tmp = t_1;
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y3 * N[(y5 * N[(y0 * j + -1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -1.1e+91], t$95$1, If[LessEqual[y5, 6.5e-84], N[(x * N[(c * N[(y2 - i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.7e+186], N[(k * N[(i * N[(y5 - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y3 \cdot \left(y5 \cdot \mathsf{fma}\left(y0, j, -1\right)\right)\\
\mathbf{if}\;y5 \leq -1.1 \cdot 10^{+91}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y5 \leq 6.5 \cdot 10^{-84}:\\
\;\;\;\;x \cdot \left(c \cdot \left(y2 - i\right)\right)\\

\mathbf{elif}\;y5 \leq 1.7 \cdot 10^{+186}:\\
\;\;\;\;k \cdot \left(i \cdot \left(y5 - z\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if y5 < -1.1e91 or 1.70000000000000003e186 < y5

    1. Initial program 23.7%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot y3\right) \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right)} \cdot \left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(y3\right)\right) \cdot \color{blue}{\left(\left(a \cdot y5 + \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - c \cdot y4\right)} \]
    5. Simplified42.2%

      \[\leadsto \color{blue}{\left(-y3\right) \cdot \left(\mathsf{fma}\left(a, y5, \mathsf{fma}\left(z, c \cdot y0 - a \cdot y1, j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right) - c \cdot y4\right)} \]
    6. Taylor expanded in y5 around -inf

      \[\leadsto \color{blue}{y3 \cdot \left(y5 \cdot \left(j \cdot y0 - 1\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{y3 \cdot \left(y5 \cdot \left(j \cdot y0 - 1\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - 1\right)\right)} \]
      3. sub-negN/A

        \[\leadsto y3 \cdot \left(y5 \cdot \color{blue}{\left(j \cdot y0 + \left(\mathsf{neg}\left(1\right)\right)\right)}\right) \]
      4. *-commutativeN/A

        \[\leadsto y3 \cdot \left(y5 \cdot \left(\color{blue}{y0 \cdot j} + \left(\mathsf{neg}\left(1\right)\right)\right)\right) \]
      5. metadata-evalN/A

        \[\leadsto y3 \cdot \left(y5 \cdot \left(y0 \cdot j + \color{blue}{-1}\right)\right) \]
      6. lower-fma.f6446.7

        \[\leadsto y3 \cdot \left(y5 \cdot \color{blue}{\mathsf{fma}\left(y0, j, -1\right)}\right) \]
    8. Simplified46.7%

      \[\leadsto \color{blue}{y3 \cdot \left(y5 \cdot \mathsf{fma}\left(y0, j, -1\right)\right)} \]

    if -1.1e91 < y5 < 6.50000000000000022e-84

    1. Initial program 31.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6432.5

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified32.5%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto x \cdot \color{blue}{\left(c \cdot \left(y2 - i\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(c \cdot \left(y2 - i\right)\right)} \]
      2. lower--.f6423.7

        \[\leadsto x \cdot \left(c \cdot \color{blue}{\left(y2 - i\right)}\right) \]
    8. Simplified23.7%

      \[\leadsto x \cdot \color{blue}{\left(c \cdot \left(y2 - i\right)\right)} \]

    if 6.50000000000000022e-84 < y5 < 1.70000000000000003e186

    1. Initial program 37.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in k around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      6. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\left(\color{blue}{\left(-1 \cdot y2\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)} + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(-1 \cdot y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right)} - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. neg-mul-1N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-neg.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4 - y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4} - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - \color{blue}{y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, \color{blue}{b \cdot y4}\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      14. +-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\left(z \cdot \left(b \cdot y0 - i \cdot y1\right) + i \cdot y5\right)}\right) \]
      15. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)}\right) \]
    5. Simplified29.9%

      \[\leadsto \color{blue}{\left(-k\right) \cdot \left(\mathsf{fma}\left(-y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)\right)} \]
    6. Taylor expanded in i around -inf

      \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(i \cdot \left(z + -1 \cdot y5\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(i \cdot \left(z + -1 \cdot y5\right)\right)} \]
      2. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(i \cdot \left(z + \color{blue}{\left(\mathsf{neg}\left(y5\right)\right)}\right)\right) \]
      3. unsub-negN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(i \cdot \color{blue}{\left(z - y5\right)}\right) \]
      4. lower--.f6426.9

        \[\leadsto \left(-k\right) \cdot \left(i \cdot \color{blue}{\left(z - y5\right)}\right) \]
    8. Simplified26.9%

      \[\leadsto \left(-k\right) \cdot \color{blue}{\left(i \cdot \left(z - y5\right)\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification30.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -1.1 \cdot 10^{+91}:\\ \;\;\;\;y3 \cdot \left(y5 \cdot \mathsf{fma}\left(y0, j, -1\right)\right)\\ \mathbf{elif}\;y5 \leq 6.5 \cdot 10^{-84}:\\ \;\;\;\;x \cdot \left(c \cdot \left(y2 - i\right)\right)\\ \mathbf{elif}\;y5 \leq 1.7 \cdot 10^{+186}:\\ \;\;\;\;k \cdot \left(i \cdot \left(y5 - z\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y3 \cdot \left(y5 \cdot \mathsf{fma}\left(y0, j, -1\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 34: 20.5% accurate, 5.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -2 \cdot 10^{+80}:\\ \;\;\;\;x \cdot \left(b \cdot \left(a - j\right)\right)\\ \mathbf{elif}\;b \leq -1.3 \cdot 10^{-299}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y2 - b\right)\right)\\ \mathbf{elif}\;b \leq 1.1 \cdot 10^{+104}:\\ \;\;\;\;\left(i \cdot y1\right) \cdot \left(x \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(b \cdot \left(-j\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 (<= b -2e+80)
   (* x (* b (- a j)))
   (if (<= b -1.3e-299)
     (* k (* y4 (- y2 b)))
     (if (<= b 1.1e+104) (* (* i y1) (* x j)) (* x (* b (- j)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (b <= -2e+80) {
		tmp = x * (b * (a - j));
	} else if (b <= -1.3e-299) {
		tmp = k * (y4 * (y2 - b));
	} else if (b <= 1.1e+104) {
		tmp = (i * y1) * (x * j);
	} else {
		tmp = x * (b * -j);
	}
	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 (b <= (-2d+80)) then
        tmp = x * (b * (a - j))
    else if (b <= (-1.3d-299)) then
        tmp = k * (y4 * (y2 - b))
    else if (b <= 1.1d+104) then
        tmp = (i * y1) * (x * j)
    else
        tmp = x * (b * -j)
    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 (b <= -2e+80) {
		tmp = x * (b * (a - j));
	} else if (b <= -1.3e-299) {
		tmp = k * (y4 * (y2 - b));
	} else if (b <= 1.1e+104) {
		tmp = (i * y1) * (x * j);
	} else {
		tmp = x * (b * -j);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if b <= -2e+80:
		tmp = x * (b * (a - j))
	elif b <= -1.3e-299:
		tmp = k * (y4 * (y2 - b))
	elif b <= 1.1e+104:
		tmp = (i * y1) * (x * j)
	else:
		tmp = x * (b * -j)
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (b <= -2e+80)
		tmp = Float64(x * Float64(b * Float64(a - j)));
	elseif (b <= -1.3e-299)
		tmp = Float64(k * Float64(y4 * Float64(y2 - b)));
	elseif (b <= 1.1e+104)
		tmp = Float64(Float64(i * y1) * Float64(x * j));
	else
		tmp = Float64(x * Float64(b * Float64(-j)));
	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 (b <= -2e+80)
		tmp = x * (b * (a - j));
	elseif (b <= -1.3e-299)
		tmp = k * (y4 * (y2 - b));
	elseif (b <= 1.1e+104)
		tmp = (i * y1) * (x * j);
	else
		tmp = x * (b * -j);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[b, -2e+80], N[(x * N[(b * N[(a - j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -1.3e-299], N[(k * N[(y4 * N[(y2 - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.1e+104], N[(N[(i * y1), $MachinePrecision] * N[(x * j), $MachinePrecision]), $MachinePrecision], N[(x * N[(b * (-j)), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -2 \cdot 10^{+80}:\\
\;\;\;\;x \cdot \left(b \cdot \left(a - j\right)\right)\\

\mathbf{elif}\;b \leq -1.3 \cdot 10^{-299}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y2 - b\right)\right)\\

\mathbf{elif}\;b \leq 1.1 \cdot 10^{+104}:\\
\;\;\;\;\left(i \cdot y1\right) \cdot \left(x \cdot j\right)\\

\mathbf{else}:\\
\;\;\;\;x \cdot \left(b \cdot \left(-j\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if b < -2e80

    1. Initial program 21.3%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6432.7

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified32.7%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in b around inf

      \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
      2. lower--.f6435.0

        \[\leadsto x \cdot \left(b \cdot \color{blue}{\left(a - j\right)}\right) \]
    8. Simplified35.0%

      \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]

    if -2e80 < b < -1.2999999999999999e-299

    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 k around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      6. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\left(\color{blue}{\left(-1 \cdot y2\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)} + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(-1 \cdot y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right)} - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. neg-mul-1N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-neg.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4 - y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4} - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - \color{blue}{y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, \color{blue}{b \cdot y4}\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      14. +-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\left(z \cdot \left(b \cdot y0 - i \cdot y1\right) + i \cdot y5\right)}\right) \]
      15. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)}\right) \]
    5. Simplified30.5%

      \[\leadsto \color{blue}{\left(-k\right) \cdot \left(\mathsf{fma}\left(-y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)\right)} \]
    6. Taylor expanded in y4 around inf

      \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y4 \cdot \left(b + -1 \cdot y2\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y4 \cdot \left(b + -1 \cdot y2\right)\right)} \]
      2. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(y4 \cdot \left(b + \color{blue}{\left(\mathsf{neg}\left(y2\right)\right)}\right)\right) \]
      3. unsub-negN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(y4 \cdot \color{blue}{\left(b - y2\right)}\right) \]
      4. lower--.f6421.0

        \[\leadsto \left(-k\right) \cdot \left(y4 \cdot \color{blue}{\left(b - y2\right)}\right) \]
    8. Simplified21.0%

      \[\leadsto \left(-k\right) \cdot \color{blue}{\left(y4 \cdot \left(b - y2\right)\right)} \]

    if -1.2999999999999999e-299 < b < 1.1e104

    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 i around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \color{blue}{\left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      6. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(c, x \cdot y - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{x \cdot y - t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      10. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - \color{blue}{t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, \color{blue}{y5 \cdot \left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      12. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \color{blue}{\left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      13. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      15. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - \color{blue}{k \cdot y}\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      16. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - k \cdot y\right)\right) - \color{blue}{y1 \cdot \left(j \cdot x - k \cdot z\right)}\right) \]
    5. Simplified34.6%

      \[\leadsto \color{blue}{\left(-i\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - z \cdot k\right)\right)} \]
    6. Taylor expanded in y1 around -inf

      \[\leadsto \color{blue}{i \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(i \cdot y1\right) \cdot \left(j \cdot x - k \cdot z\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(i \cdot y1\right) \cdot \left(j \cdot x - k \cdot z\right)} \]
      3. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(i \cdot y1\right)} \cdot \left(j \cdot x - k \cdot z\right) \]
      4. lower--.f64N/A

        \[\leadsto \left(i \cdot y1\right) \cdot \color{blue}{\left(j \cdot x - k \cdot z\right)} \]
      5. lower-*.f64N/A

        \[\leadsto \left(i \cdot y1\right) \cdot \left(\color{blue}{j \cdot x} - k \cdot z\right) \]
      6. lower-*.f6435.1

        \[\leadsto \left(i \cdot y1\right) \cdot \left(j \cdot x - \color{blue}{k \cdot z}\right) \]
    8. Simplified35.1%

      \[\leadsto \color{blue}{\left(i \cdot y1\right) \cdot \left(j \cdot x - k \cdot z\right)} \]
    9. Taylor expanded in x around inf

      \[\leadsto \left(i \cdot y1\right) \cdot \color{blue}{\left(j \cdot x\right)} \]
    10. Step-by-step derivation
      1. lower-*.f6428.4

        \[\leadsto \left(i \cdot y1\right) \cdot \color{blue}{\left(j \cdot x\right)} \]
    11. Simplified28.4%

      \[\leadsto \left(i \cdot y1\right) \cdot \color{blue}{\left(j \cdot x\right)} \]

    if 1.1e104 < b

    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 x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6435.9

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified35.9%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in b around inf

      \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
      2. lower--.f6431.8

        \[\leadsto x \cdot \left(b \cdot \color{blue}{\left(a - j\right)}\right) \]
    8. Simplified31.8%

      \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
    9. Taylor expanded in a around 0

      \[\leadsto x \cdot \color{blue}{\left(-1 \cdot \left(b \cdot j\right)\right)} \]
    10. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto x \cdot \left(-1 \cdot \color{blue}{\left(j \cdot b\right)}\right) \]
      2. associate-*r*N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(-1 \cdot j\right) \cdot b\right)} \]
      3. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(-1 \cdot j\right) \cdot b\right)} \]
      4. mul-1-negN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(\mathsf{neg}\left(j\right)\right)} \cdot b\right) \]
      5. lower-neg.f6439.7

        \[\leadsto x \cdot \left(\color{blue}{\left(-j\right)} \cdot b\right) \]
    11. Simplified39.7%

      \[\leadsto x \cdot \color{blue}{\left(\left(-j\right) \cdot b\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification27.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2 \cdot 10^{+80}:\\ \;\;\;\;x \cdot \left(b \cdot \left(a - j\right)\right)\\ \mathbf{elif}\;b \leq -1.3 \cdot 10^{-299}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y2 - b\right)\right)\\ \mathbf{elif}\;b \leq 1.1 \cdot 10^{+104}:\\ \;\;\;\;\left(i \cdot y1\right) \cdot \left(x \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(b \cdot \left(-j\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 35: 15.3% accurate, 7.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y2 \leq -2.35 \cdot 10^{+185}:\\ \;\;\;\;x \cdot \left(y0 \cdot y2\right)\\ \mathbf{elif}\;y2 \leq 1.25 \cdot 10^{-212}:\\ \;\;\;\;x \cdot \left(j \cdot \left(-y0\right)\right)\\ \mathbf{elif}\;y2 \leq 3.05 \cdot 10^{-68}:\\ \;\;\;\;b \cdot \left(x \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(c \cdot y2\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 (<= y2 -2.35e+185)
   (* x (* y0 y2))
   (if (<= y2 1.25e-212)
     (* x (* j (- y0)))
     (if (<= y2 3.05e-68) (* b (* x a)) (* x (* c y2))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (y2 <= -2.35e+185) {
		tmp = x * (y0 * y2);
	} else if (y2 <= 1.25e-212) {
		tmp = x * (j * -y0);
	} else if (y2 <= 3.05e-68) {
		tmp = b * (x * a);
	} else {
		tmp = x * (c * y2);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if (y2 <= (-2.35d+185)) then
        tmp = x * (y0 * y2)
    else if (y2 <= 1.25d-212) then
        tmp = x * (j * -y0)
    else if (y2 <= 3.05d-68) then
        tmp = b * (x * a)
    else
        tmp = x * (c * y2)
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (y2 <= -2.35e+185) {
		tmp = x * (y0 * y2);
	} else if (y2 <= 1.25e-212) {
		tmp = x * (j * -y0);
	} else if (y2 <= 3.05e-68) {
		tmp = b * (x * a);
	} else {
		tmp = x * (c * y2);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if y2 <= -2.35e+185:
		tmp = x * (y0 * y2)
	elif y2 <= 1.25e-212:
		tmp = x * (j * -y0)
	elif y2 <= 3.05e-68:
		tmp = b * (x * a)
	else:
		tmp = x * (c * y2)
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (y2 <= -2.35e+185)
		tmp = Float64(x * Float64(y0 * y2));
	elseif (y2 <= 1.25e-212)
		tmp = Float64(x * Float64(j * Float64(-y0)));
	elseif (y2 <= 3.05e-68)
		tmp = Float64(b * Float64(x * a));
	else
		tmp = Float64(x * Float64(c * y2));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0;
	if (y2 <= -2.35e+185)
		tmp = x * (y0 * y2);
	elseif (y2 <= 1.25e-212)
		tmp = x * (j * -y0);
	elseif (y2 <= 3.05e-68)
		tmp = b * (x * a);
	else
		tmp = x * (c * y2);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -2.35e+185], N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.25e-212], N[(x * N[(j * (-y0)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.05e-68], N[(b * N[(x * a), $MachinePrecision]), $MachinePrecision], N[(x * N[(c * y2), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -2.35 \cdot 10^{+185}:\\
\;\;\;\;x \cdot \left(y0 \cdot y2\right)\\

\mathbf{elif}\;y2 \leq 1.25 \cdot 10^{-212}:\\
\;\;\;\;x \cdot \left(j \cdot \left(-y0\right)\right)\\

\mathbf{elif}\;y2 \leq 3.05 \cdot 10^{-68}:\\
\;\;\;\;b \cdot \left(x \cdot a\right)\\

\mathbf{else}:\\
\;\;\;\;x \cdot \left(c \cdot y2\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if y2 < -2.34999999999999986e185

    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 x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6447.7

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified47.7%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in y0 around inf

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
      3. lower--.f64N/A

        \[\leadsto x \cdot \left(y0 \cdot \color{blue}{\left(y2 - b \cdot j\right)}\right) \]
      4. lower-*.f6438.1

        \[\leadsto x \cdot \left(y0 \cdot \left(y2 - \color{blue}{b \cdot j}\right)\right) \]
    8. Simplified38.1%

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
    9. Taylor expanded in y2 around inf

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot y2\right)} \]
    10. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(y0 \cdot y2\right)} \]
      2. lower-*.f6441.4

        \[\leadsto x \cdot \color{blue}{\left(y0 \cdot y2\right)} \]
    11. Simplified41.4%

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot y2\right)} \]

    if -2.34999999999999986e185 < y2 < 1.25000000000000011e-212

    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 x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6431.1

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified31.1%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in y0 around inf

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
      3. lower--.f64N/A

        \[\leadsto x \cdot \left(y0 \cdot \color{blue}{\left(y2 - b \cdot j\right)}\right) \]
      4. lower-*.f6420.7

        \[\leadsto x \cdot \left(y0 \cdot \left(y2 - \color{blue}{b \cdot j}\right)\right) \]
    8. Simplified20.7%

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
    9. Taylor expanded in j around inf

      \[\leadsto x \cdot \left(y0 \cdot \color{blue}{\left(-1 \cdot j\right)}\right) \]
    10. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto x \cdot \left(y0 \cdot \color{blue}{\left(\mathsf{neg}\left(j\right)\right)}\right) \]
      2. lower-neg.f6417.6

        \[\leadsto x \cdot \left(y0 \cdot \color{blue}{\left(-j\right)}\right) \]
    11. Simplified17.6%

      \[\leadsto x \cdot \left(y0 \cdot \color{blue}{\left(-j\right)}\right) \]

    if 1.25000000000000011e-212 < y2 < 3.05e-68

    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 x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6430.2

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified30.2%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in b around inf

      \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
      2. lower--.f6430.8

        \[\leadsto x \cdot \left(b \cdot \color{blue}{\left(a - j\right)}\right) \]
    8. Simplified30.8%

      \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
    9. Taylor expanded in a around inf

      \[\leadsto \color{blue}{a \cdot \left(b \cdot x\right)} \]
    10. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{a \cdot \left(b \cdot x\right)} \]
      2. lower-*.f6430.7

        \[\leadsto a \cdot \color{blue}{\left(b \cdot x\right)} \]
    11. Simplified30.7%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot x\right)} \]
    12. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto a \cdot \color{blue}{\left(x \cdot b\right)} \]
      2. associate-*r*N/A

        \[\leadsto \color{blue}{\left(a \cdot x\right) \cdot b} \]
      3. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(a \cdot x\right) \cdot b} \]
      4. lower-*.f6434.2

        \[\leadsto \color{blue}{\left(a \cdot x\right)} \cdot b \]
    13. Applied egg-rr34.2%

      \[\leadsto \color{blue}{\left(a \cdot x\right) \cdot b} \]

    if 3.05e-68 < y2

    1. Initial program 25.4%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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. lower-*.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. lower--.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y2 \cdot \left(\color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto y2 \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - \color{blue}{t \cdot \left(c \cdot y4 - a \cdot y5\right)}\right) \]
      14. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified44.7%

      \[\leadsto \color{blue}{y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto y2 \cdot \left(c \cdot \color{blue}{\left(x - t \cdot y4\right)}\right) \]
      3. lower-*.f6431.4

        \[\leadsto y2 \cdot \left(c \cdot \left(x - \color{blue}{t \cdot y4}\right)\right) \]
    8. Simplified31.4%

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    9. Taylor expanded in x around inf

      \[\leadsto \color{blue}{c \cdot \left(x \cdot y2\right)} \]
    10. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto c \cdot \color{blue}{\left(y2 \cdot x\right)} \]
      2. associate-*r*N/A

        \[\leadsto \color{blue}{\left(c \cdot y2\right) \cdot x} \]
      3. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(c \cdot y2\right) \cdot x} \]
      4. *-commutativeN/A

        \[\leadsto \color{blue}{\left(y2 \cdot c\right)} \cdot x \]
      5. lower-*.f6422.6

        \[\leadsto \color{blue}{\left(y2 \cdot c\right)} \cdot x \]
    11. Simplified22.6%

      \[\leadsto \color{blue}{\left(y2 \cdot c\right) \cdot x} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification23.7%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -2.35 \cdot 10^{+185}:\\ \;\;\;\;x \cdot \left(y0 \cdot y2\right)\\ \mathbf{elif}\;y2 \leq 1.25 \cdot 10^{-212}:\\ \;\;\;\;x \cdot \left(j \cdot \left(-y0\right)\right)\\ \mathbf{elif}\;y2 \leq 3.05 \cdot 10^{-68}:\\ \;\;\;\;b \cdot \left(x \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(c \cdot y2\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 36: 15.9% accurate, 7.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;c \leq -4.8 \cdot 10^{+49}:\\ \;\;\;\;x \cdot \left(c \cdot y2\right)\\ \mathbf{elif}\;c \leq -2.3 \cdot 10^{-157}:\\ \;\;\;\;x \cdot \left(y0 \cdot y2\right)\\ \mathbf{elif}\;c \leq 4.3 \cdot 10^{+48}:\\ \;\;\;\;i \cdot \left(k \cdot y5\right)\\ \mathbf{else}:\\ \;\;\;\;y2 \cdot \left(x \cdot c\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (if (<= c -4.8e+49)
   (* x (* c y2))
   (if (<= c -2.3e-157)
     (* x (* y0 y2))
     (if (<= c 4.3e+48) (* i (* k y5)) (* y2 (* x 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 (c <= -4.8e+49) {
		tmp = x * (c * y2);
	} else if (c <= -2.3e-157) {
		tmp = x * (y0 * y2);
	} else if (c <= 4.3e+48) {
		tmp = i * (k * y5);
	} else {
		tmp = y2 * (x * c);
	}
	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 (c <= (-4.8d+49)) then
        tmp = x * (c * y2)
    else if (c <= (-2.3d-157)) then
        tmp = x * (y0 * y2)
    else if (c <= 4.3d+48) then
        tmp = i * (k * y5)
    else
        tmp = y2 * (x * c)
    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 (c <= -4.8e+49) {
		tmp = x * (c * y2);
	} else if (c <= -2.3e-157) {
		tmp = x * (y0 * y2);
	} else if (c <= 4.3e+48) {
		tmp = i * (k * y5);
	} else {
		tmp = y2 * (x * c);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if c <= -4.8e+49:
		tmp = x * (c * y2)
	elif c <= -2.3e-157:
		tmp = x * (y0 * y2)
	elif c <= 4.3e+48:
		tmp = i * (k * y5)
	else:
		tmp = y2 * (x * 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 (c <= -4.8e+49)
		tmp = Float64(x * Float64(c * y2));
	elseif (c <= -2.3e-157)
		tmp = Float64(x * Float64(y0 * y2));
	elseif (c <= 4.3e+48)
		tmp = Float64(i * Float64(k * y5));
	else
		tmp = Float64(y2 * Float64(x * c));
	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 (c <= -4.8e+49)
		tmp = x * (c * y2);
	elseif (c <= -2.3e-157)
		tmp = x * (y0 * y2);
	elseif (c <= 4.3e+48)
		tmp = i * (k * y5);
	else
		tmp = y2 * (x * c);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[c, -4.8e+49], N[(x * N[(c * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -2.3e-157], N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.3e+48], N[(i * N[(k * y5), $MachinePrecision]), $MachinePrecision], N[(y2 * N[(x * c), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;c \leq -4.8 \cdot 10^{+49}:\\
\;\;\;\;x \cdot \left(c \cdot y2\right)\\

\mathbf{elif}\;c \leq -2.3 \cdot 10^{-157}:\\
\;\;\;\;x \cdot \left(y0 \cdot y2\right)\\

\mathbf{elif}\;c \leq 4.3 \cdot 10^{+48}:\\
\;\;\;\;i \cdot \left(k \cdot y5\right)\\

\mathbf{else}:\\
\;\;\;\;y2 \cdot \left(x \cdot c\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if c < -4.8e49

    1. Initial program 23.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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. lower-*.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. lower--.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y2 \cdot \left(\color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto y2 \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - \color{blue}{t \cdot \left(c \cdot y4 - a \cdot y5\right)}\right) \]
      14. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified31.7%

      \[\leadsto \color{blue}{y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto y2 \cdot \left(c \cdot \color{blue}{\left(x - t \cdot y4\right)}\right) \]
      3. lower-*.f6440.2

        \[\leadsto y2 \cdot \left(c \cdot \left(x - \color{blue}{t \cdot y4}\right)\right) \]
    8. Simplified40.2%

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    9. Taylor expanded in x around inf

      \[\leadsto \color{blue}{c \cdot \left(x \cdot y2\right)} \]
    10. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto c \cdot \color{blue}{\left(y2 \cdot x\right)} \]
      2. associate-*r*N/A

        \[\leadsto \color{blue}{\left(c \cdot y2\right) \cdot x} \]
      3. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(c \cdot y2\right) \cdot x} \]
      4. *-commutativeN/A

        \[\leadsto \color{blue}{\left(y2 \cdot c\right)} \cdot x \]
      5. lower-*.f6428.7

        \[\leadsto \color{blue}{\left(y2 \cdot c\right)} \cdot x \]
    11. Simplified28.7%

      \[\leadsto \color{blue}{\left(y2 \cdot c\right) \cdot x} \]

    if -4.8e49 < c < -2.29999999999999989e-157

    1. Initial program 32.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6422.8

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified22.8%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in y0 around inf

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
      3. lower--.f64N/A

        \[\leadsto x \cdot \left(y0 \cdot \color{blue}{\left(y2 - b \cdot j\right)}\right) \]
      4. lower-*.f6418.3

        \[\leadsto x \cdot \left(y0 \cdot \left(y2 - \color{blue}{b \cdot j}\right)\right) \]
    8. Simplified18.3%

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
    9. Taylor expanded in y2 around inf

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot y2\right)} \]
    10. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(y0 \cdot y2\right)} \]
      2. lower-*.f6420.6

        \[\leadsto x \cdot \color{blue}{\left(y0 \cdot y2\right)} \]
    11. Simplified20.6%

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot y2\right)} \]

    if -2.29999999999999989e-157 < c < 4.29999999999999978e48

    1. Initial program 36.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}{-1 \cdot \left(k \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      6. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\left(\color{blue}{\left(-1 \cdot y2\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)} + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(-1 \cdot y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right)} - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. neg-mul-1N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-neg.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4 - y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4} - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - \color{blue}{y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, \color{blue}{b \cdot y4}\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      14. +-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\left(z \cdot \left(b \cdot y0 - i \cdot y1\right) + i \cdot y5\right)}\right) \]
      15. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)}\right) \]
    5. Simplified28.7%

      \[\leadsto \color{blue}{\left(-k\right) \cdot \left(\mathsf{fma}\left(-y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)\right)} \]
    6. Taylor expanded in y5 around inf

      \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(y5 \cdot \color{blue}{\left(y0 \cdot y2 - i\right)}\right) \]
      3. lower-*.f6417.3

        \[\leadsto \left(-k\right) \cdot \left(y5 \cdot \left(\color{blue}{y0 \cdot y2} - i\right)\right) \]
    8. Simplified17.3%

      \[\leadsto \left(-k\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
    9. Taylor expanded in y0 around 0

      \[\leadsto \color{blue}{i \cdot \left(k \cdot y5\right)} \]
    10. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{i \cdot \left(k \cdot y5\right)} \]
      2. *-commutativeN/A

        \[\leadsto i \cdot \color{blue}{\left(y5 \cdot k\right)} \]
      3. lower-*.f6415.5

        \[\leadsto i \cdot \color{blue}{\left(y5 \cdot k\right)} \]
    11. Simplified15.5%

      \[\leadsto \color{blue}{i \cdot \left(y5 \cdot k\right)} \]

    if 4.29999999999999978e48 < c

    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 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. lower-*.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. lower--.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y2 \cdot \left(\color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto y2 \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - \color{blue}{t \cdot \left(c \cdot y4 - a \cdot y5\right)}\right) \]
      14. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified34.8%

      \[\leadsto \color{blue}{y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto y2 \cdot \left(c \cdot \color{blue}{\left(x - t \cdot y4\right)}\right) \]
      3. lower-*.f6443.3

        \[\leadsto y2 \cdot \left(c \cdot \left(x - \color{blue}{t \cdot y4}\right)\right) \]
    8. Simplified43.3%

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    9. Taylor expanded in x around inf

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot x\right)} \]
    10. Step-by-step derivation
      1. lower-*.f6434.0

        \[\leadsto y2 \cdot \color{blue}{\left(c \cdot x\right)} \]
    11. Simplified34.0%

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot x\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification23.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -4.8 \cdot 10^{+49}:\\ \;\;\;\;x \cdot \left(c \cdot y2\right)\\ \mathbf{elif}\;c \leq -2.3 \cdot 10^{-157}:\\ \;\;\;\;x \cdot \left(y0 \cdot y2\right)\\ \mathbf{elif}\;c \leq 4.3 \cdot 10^{+48}:\\ \;\;\;\;i \cdot \left(k \cdot y5\right)\\ \mathbf{else}:\\ \;\;\;\;y2 \cdot \left(x \cdot c\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 37: 16.0% accurate, 7.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y2 \cdot \left(x \cdot c\right)\\ \mathbf{if}\;c \leq -3.2 \cdot 10^{+50}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq -2.3 \cdot 10^{-157}:\\ \;\;\;\;x \cdot \left(y0 \cdot y2\right)\\ \mathbf{elif}\;c \leq 4.3 \cdot 10^{+48}:\\ \;\;\;\;i \cdot \left(k \cdot y5\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 (* y2 (* x c))))
   (if (<= c -3.2e+50)
     t_1
     (if (<= c -2.3e-157)
       (* x (* y0 y2))
       (if (<= c 4.3e+48) (* i (* k y5)) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = y2 * (x * c);
	double tmp;
	if (c <= -3.2e+50) {
		tmp = t_1;
	} else if (c <= -2.3e-157) {
		tmp = x * (y0 * y2);
	} else if (c <= 4.3e+48) {
		tmp = i * (k * y5);
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = y2 * (x * c)
    if (c <= (-3.2d+50)) then
        tmp = t_1
    else if (c <= (-2.3d-157)) then
        tmp = x * (y0 * y2)
    else if (c <= 4.3d+48) then
        tmp = i * (k * y5)
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = y2 * (x * c);
	double tmp;
	if (c <= -3.2e+50) {
		tmp = t_1;
	} else if (c <= -2.3e-157) {
		tmp = x * (y0 * y2);
	} else if (c <= 4.3e+48) {
		tmp = i * (k * y5);
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = y2 * (x * c)
	tmp = 0
	if c <= -3.2e+50:
		tmp = t_1
	elif c <= -2.3e-157:
		tmp = x * (y0 * y2)
	elif c <= 4.3e+48:
		tmp = i * (k * y5)
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(y2 * Float64(x * c))
	tmp = 0.0
	if (c <= -3.2e+50)
		tmp = t_1;
	elseif (c <= -2.3e-157)
		tmp = Float64(x * Float64(y0 * y2));
	elseif (c <= 4.3e+48)
		tmp = Float64(i * Float64(k * y5));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = y2 * (x * c);
	tmp = 0.0;
	if (c <= -3.2e+50)
		tmp = t_1;
	elseif (c <= -2.3e-157)
		tmp = x * (y0 * y2);
	elseif (c <= 4.3e+48)
		tmp = i * (k * y5);
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y2 * N[(x * c), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -3.2e+50], t$95$1, If[LessEqual[c, -2.3e-157], N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.3e+48], N[(i * N[(k * y5), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y2 \cdot \left(x \cdot c\right)\\
\mathbf{if}\;c \leq -3.2 \cdot 10^{+50}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;c \leq -2.3 \cdot 10^{-157}:\\
\;\;\;\;x \cdot \left(y0 \cdot y2\right)\\

\mathbf{elif}\;c \leq 4.3 \cdot 10^{+48}:\\
\;\;\;\;i \cdot \left(k \cdot y5\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if c < -3.19999999999999983e50 or 4.29999999999999978e48 < c

    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 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. lower-*.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. lower--.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y2 \cdot \left(\color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto y2 \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - \color{blue}{t \cdot \left(c \cdot y4 - a \cdot y5\right)}\right) \]
      14. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified33.4%

      \[\leadsto \color{blue}{y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto y2 \cdot \left(c \cdot \color{blue}{\left(x - t \cdot y4\right)}\right) \]
      3. lower-*.f6441.9

        \[\leadsto y2 \cdot \left(c \cdot \left(x - \color{blue}{t \cdot y4}\right)\right) \]
    8. Simplified41.9%

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    9. Taylor expanded in x around inf

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot x\right)} \]
    10. Step-by-step derivation
      1. lower-*.f6428.2

        \[\leadsto y2 \cdot \color{blue}{\left(c \cdot x\right)} \]
    11. Simplified28.2%

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot x\right)} \]

    if -3.19999999999999983e50 < c < -2.29999999999999989e-157

    1. Initial program 32.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6422.8

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified22.8%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in y0 around inf

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
      3. lower--.f64N/A

        \[\leadsto x \cdot \left(y0 \cdot \color{blue}{\left(y2 - b \cdot j\right)}\right) \]
      4. lower-*.f6418.3

        \[\leadsto x \cdot \left(y0 \cdot \left(y2 - \color{blue}{b \cdot j}\right)\right) \]
    8. Simplified18.3%

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
    9. Taylor expanded in y2 around inf

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot y2\right)} \]
    10. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(y0 \cdot y2\right)} \]
      2. lower-*.f6420.6

        \[\leadsto x \cdot \color{blue}{\left(y0 \cdot y2\right)} \]
    11. Simplified20.6%

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot y2\right)} \]

    if -2.29999999999999989e-157 < c < 4.29999999999999978e48

    1. Initial program 36.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}{-1 \cdot \left(k \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      6. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\left(\color{blue}{\left(-1 \cdot y2\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)} + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(-1 \cdot y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right)} - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. neg-mul-1N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-neg.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4 - y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4} - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - \color{blue}{y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, \color{blue}{b \cdot y4}\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      14. +-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\left(z \cdot \left(b \cdot y0 - i \cdot y1\right) + i \cdot y5\right)}\right) \]
      15. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)}\right) \]
    5. Simplified28.7%

      \[\leadsto \color{blue}{\left(-k\right) \cdot \left(\mathsf{fma}\left(-y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)\right)} \]
    6. Taylor expanded in y5 around inf

      \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(y5 \cdot \color{blue}{\left(y0 \cdot y2 - i\right)}\right) \]
      3. lower-*.f6417.3

        \[\leadsto \left(-k\right) \cdot \left(y5 \cdot \left(\color{blue}{y0 \cdot y2} - i\right)\right) \]
    8. Simplified17.3%

      \[\leadsto \left(-k\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
    9. Taylor expanded in y0 around 0

      \[\leadsto \color{blue}{i \cdot \left(k \cdot y5\right)} \]
    10. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{i \cdot \left(k \cdot y5\right)} \]
      2. *-commutativeN/A

        \[\leadsto i \cdot \color{blue}{\left(y5 \cdot k\right)} \]
      3. lower-*.f6415.5

        \[\leadsto i \cdot \color{blue}{\left(y5 \cdot k\right)} \]
    11. Simplified15.5%

      \[\leadsto \color{blue}{i \cdot \left(y5 \cdot k\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification21.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -3.2 \cdot 10^{+50}:\\ \;\;\;\;y2 \cdot \left(x \cdot c\right)\\ \mathbf{elif}\;c \leq -2.3 \cdot 10^{-157}:\\ \;\;\;\;x \cdot \left(y0 \cdot y2\right)\\ \mathbf{elif}\;c \leq 4.3 \cdot 10^{+48}:\\ \;\;\;\;i \cdot \left(k \cdot y5\right)\\ \mathbf{else}:\\ \;\;\;\;y2 \cdot \left(x \cdot c\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 38: 23.2% accurate, 7.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot \left(c \cdot \left(y2 - i\right)\right)\\ \mathbf{if}\;c \leq -2.6 \cdot 10^{+133}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq 2.5 \cdot 10^{+87}:\\ \;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j\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 (* x (* c (- y2 i)))))
   (if (<= c -2.6e+133) t_1 (if (<= c 2.5e+87) (* x (* y1 (* i j))) 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 = x * (c * (y2 - i));
	double tmp;
	if (c <= -2.6e+133) {
		tmp = t_1;
	} else if (c <= 2.5e+87) {
		tmp = x * (y1 * (i * j));
	} 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 = x * (c * (y2 - i))
    if (c <= (-2.6d+133)) then
        tmp = t_1
    else if (c <= 2.5d+87) then
        tmp = x * (y1 * (i * j))
    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 = x * (c * (y2 - i));
	double tmp;
	if (c <= -2.6e+133) {
		tmp = t_1;
	} else if (c <= 2.5e+87) {
		tmp = x * (y1 * (i * j));
	} 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 = x * (c * (y2 - i))
	tmp = 0
	if c <= -2.6e+133:
		tmp = t_1
	elif c <= 2.5e+87:
		tmp = x * (y1 * (i * j))
	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(x * Float64(c * Float64(y2 - i)))
	tmp = 0.0
	if (c <= -2.6e+133)
		tmp = t_1;
	elseif (c <= 2.5e+87)
		tmp = Float64(x * Float64(y1 * Float64(i * j)));
	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 = x * (c * (y2 - i));
	tmp = 0.0;
	if (c <= -2.6e+133)
		tmp = t_1;
	elseif (c <= 2.5e+87)
		tmp = x * (y1 * (i * j));
	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[(x * N[(c * N[(y2 - i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -2.6e+133], t$95$1, If[LessEqual[c, 2.5e+87], N[(x * N[(y1 * N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := x \cdot \left(c \cdot \left(y2 - i\right)\right)\\
\mathbf{if}\;c \leq -2.6 \cdot 10^{+133}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;c \leq 2.5 \cdot 10^{+87}:\\
\;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if c < -2.5999999999999998e133 or 2.4999999999999999e87 < c

    1. Initial program 25.4%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6435.1

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified35.1%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto x \cdot \color{blue}{\left(c \cdot \left(y2 - i\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(c \cdot \left(y2 - i\right)\right)} \]
      2. lower--.f6439.3

        \[\leadsto x \cdot \left(c \cdot \color{blue}{\left(y2 - i\right)}\right) \]
    8. Simplified39.3%

      \[\leadsto x \cdot \color{blue}{\left(c \cdot \left(y2 - i\right)\right)} \]

    if -2.5999999999999998e133 < c < 2.4999999999999999e87

    1. Initial program 32.6%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in i around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \color{blue}{\left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      6. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(c, x \cdot y - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{x \cdot y - t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      10. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - \color{blue}{t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, \color{blue}{y5 \cdot \left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      12. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \color{blue}{\left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      13. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      15. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - \color{blue}{k \cdot y}\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      16. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - k \cdot y\right)\right) - \color{blue}{y1 \cdot \left(j \cdot x - k \cdot z\right)}\right) \]
    5. Simplified39.4%

      \[\leadsto \color{blue}{\left(-i\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - z \cdot k\right)\right)} \]
    6. Taylor expanded in y1 around -inf

      \[\leadsto \color{blue}{i \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(i \cdot y1\right) \cdot \left(j \cdot x - k \cdot z\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(i \cdot y1\right) \cdot \left(j \cdot x - k \cdot z\right)} \]
      3. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(i \cdot y1\right)} \cdot \left(j \cdot x - k \cdot z\right) \]
      4. lower--.f64N/A

        \[\leadsto \left(i \cdot y1\right) \cdot \color{blue}{\left(j \cdot x - k \cdot z\right)} \]
      5. lower-*.f64N/A

        \[\leadsto \left(i \cdot y1\right) \cdot \left(\color{blue}{j \cdot x} - k \cdot z\right) \]
      6. lower-*.f6425.5

        \[\leadsto \left(i \cdot y1\right) \cdot \left(j \cdot x - \color{blue}{k \cdot z}\right) \]
    8. Simplified25.5%

      \[\leadsto \color{blue}{\left(i \cdot y1\right) \cdot \left(j \cdot x - k \cdot z\right)} \]
    9. Taylor expanded in x around inf

      \[\leadsto \left(i \cdot y1\right) \cdot \color{blue}{\left(j \cdot x\right)} \]
    10. Step-by-step derivation
      1. lower-*.f6418.5

        \[\leadsto \left(i \cdot y1\right) \cdot \color{blue}{\left(j \cdot x\right)} \]
    11. Simplified18.5%

      \[\leadsto \left(i \cdot y1\right) \cdot \color{blue}{\left(j \cdot x\right)} \]
    12. Taylor expanded in i around 0

      \[\leadsto \color{blue}{i \cdot \left(j \cdot \left(x \cdot y1\right)\right)} \]
    13. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(i \cdot j\right) \cdot \left(x \cdot y1\right)} \]
      2. *-commutativeN/A

        \[\leadsto \left(i \cdot j\right) \cdot \color{blue}{\left(y1 \cdot x\right)} \]
      3. associate-*r*N/A

        \[\leadsto \color{blue}{\left(\left(i \cdot j\right) \cdot y1\right) \cdot x} \]
      4. associate-*r*N/A

        \[\leadsto \color{blue}{\left(i \cdot \left(j \cdot y1\right)\right)} \cdot x \]
      5. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(i \cdot \left(j \cdot y1\right)\right) \cdot x} \]
      6. associate-*r*N/A

        \[\leadsto \color{blue}{\left(\left(i \cdot j\right) \cdot y1\right)} \cdot x \]
      7. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(\left(i \cdot j\right) \cdot y1\right)} \cdot x \]
      8. *-commutativeN/A

        \[\leadsto \left(\color{blue}{\left(j \cdot i\right)} \cdot y1\right) \cdot x \]
      9. lower-*.f6420.2

        \[\leadsto \left(\color{blue}{\left(j \cdot i\right)} \cdot y1\right) \cdot x \]
    14. Simplified20.2%

      \[\leadsto \color{blue}{\left(\left(j \cdot i\right) \cdot y1\right) \cdot x} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification26.7%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -2.6 \cdot 10^{+133}:\\ \;\;\;\;x \cdot \left(c \cdot \left(y2 - i\right)\right)\\ \mathbf{elif}\;c \leq 2.5 \cdot 10^{+87}:\\ \;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(c \cdot \left(y2 - i\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 39: 23.7% accurate, 7.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot \left(c \cdot \left(y2 - i\right)\right)\\ \mathbf{if}\;c \leq -5.4 \cdot 10^{+72}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq 2.5 \cdot 10^{+87}:\\ \;\;\;\;i \cdot \left(x \cdot \left(j \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 (* x (* c (- y2 i)))))
   (if (<= c -5.4e+72) t_1 (if (<= c 2.5e+87) (* i (* x (* j 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 = x * (c * (y2 - i));
	double tmp;
	if (c <= -5.4e+72) {
		tmp = t_1;
	} else if (c <= 2.5e+87) {
		tmp = i * (x * (j * 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 = x * (c * (y2 - i))
    if (c <= (-5.4d+72)) then
        tmp = t_1
    else if (c <= 2.5d+87) then
        tmp = i * (x * (j * 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 = x * (c * (y2 - i));
	double tmp;
	if (c <= -5.4e+72) {
		tmp = t_1;
	} else if (c <= 2.5e+87) {
		tmp = i * (x * (j * 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 = x * (c * (y2 - i))
	tmp = 0
	if c <= -5.4e+72:
		tmp = t_1
	elif c <= 2.5e+87:
		tmp = i * (x * (j * 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(x * Float64(c * Float64(y2 - i)))
	tmp = 0.0
	if (c <= -5.4e+72)
		tmp = t_1;
	elseif (c <= 2.5e+87)
		tmp = Float64(i * Float64(x * Float64(j * 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 = x * (c * (y2 - i));
	tmp = 0.0;
	if (c <= -5.4e+72)
		tmp = t_1;
	elseif (c <= 2.5e+87)
		tmp = i * (x * (j * 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[(x * N[(c * N[(y2 - i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -5.4e+72], t$95$1, If[LessEqual[c, 2.5e+87], N[(i * N[(x * N[(j * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := x \cdot \left(c \cdot \left(y2 - i\right)\right)\\
\mathbf{if}\;c \leq -5.4 \cdot 10^{+72}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;c \leq 2.5 \cdot 10^{+87}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if c < -5.4000000000000001e72 or 2.4999999999999999e87 < c

    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(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6432.8

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified32.8%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto x \cdot \color{blue}{\left(c \cdot \left(y2 - i\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(c \cdot \left(y2 - i\right)\right)} \]
      2. lower--.f6436.4

        \[\leadsto x \cdot \left(c \cdot \color{blue}{\left(y2 - i\right)}\right) \]
    8. Simplified36.4%

      \[\leadsto x \cdot \color{blue}{\left(c \cdot \left(y2 - i\right)\right)} \]

    if -5.4000000000000001e72 < c < 2.4999999999999999e87

    1. Initial program 34.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in i around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      3. mul-1-negN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \color{blue}{\left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      6. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(c, x \cdot y - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right)} - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      7. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{x \cdot y - t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      8. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, \color{blue}{y \cdot x} - t \cdot z, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      10. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - \color{blue}{t \cdot z}, y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, \color{blue}{y5 \cdot \left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      12. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \color{blue}{\left(j \cdot t - k \cdot y\right)}\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      13. *-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(\color{blue}{t \cdot j} - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      15. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - \color{blue}{k \cdot y}\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \]
      16. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(i\right)\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - k \cdot y\right)\right) - \color{blue}{y1 \cdot \left(j \cdot x - k \cdot z\right)}\right) \]
    5. Simplified38.1%

      \[\leadsto \color{blue}{\left(-i\right) \cdot \left(\mathsf{fma}\left(c, y \cdot x - t \cdot z, y5 \cdot \left(t \cdot j - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - z \cdot k\right)\right)} \]
    6. Taylor expanded in y1 around -inf

      \[\leadsto \color{blue}{i \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(i \cdot y1\right) \cdot \left(j \cdot x - k \cdot z\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(i \cdot y1\right) \cdot \left(j \cdot x - k \cdot z\right)} \]
      3. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(i \cdot y1\right)} \cdot \left(j \cdot x - k \cdot z\right) \]
      4. lower--.f64N/A

        \[\leadsto \left(i \cdot y1\right) \cdot \color{blue}{\left(j \cdot x - k \cdot z\right)} \]
      5. lower-*.f64N/A

        \[\leadsto \left(i \cdot y1\right) \cdot \left(\color{blue}{j \cdot x} - k \cdot z\right) \]
      6. lower-*.f6425.7

        \[\leadsto \left(i \cdot y1\right) \cdot \left(j \cdot x - \color{blue}{k \cdot z}\right) \]
    8. Simplified25.7%

      \[\leadsto \color{blue}{\left(i \cdot y1\right) \cdot \left(j \cdot x - k \cdot z\right)} \]
    9. Taylor expanded in j around inf

      \[\leadsto \color{blue}{i \cdot \left(j \cdot \left(x \cdot y1\right)\right)} \]
    10. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{i \cdot \left(j \cdot \left(x \cdot y1\right)\right)} \]
      2. *-commutativeN/A

        \[\leadsto i \cdot \left(j \cdot \color{blue}{\left(y1 \cdot x\right)}\right) \]
      3. associate-*r*N/A

        \[\leadsto i \cdot \color{blue}{\left(\left(j \cdot y1\right) \cdot x\right)} \]
      4. lower-*.f64N/A

        \[\leadsto i \cdot \color{blue}{\left(\left(j \cdot y1\right) \cdot x\right)} \]
      5. lower-*.f6418.9

        \[\leadsto i \cdot \left(\color{blue}{\left(j \cdot y1\right)} \cdot x\right) \]
    11. Simplified18.9%

      \[\leadsto \color{blue}{i \cdot \left(\left(j \cdot y1\right) \cdot x\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification25.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -5.4 \cdot 10^{+72}:\\ \;\;\;\;x \cdot \left(c \cdot \left(y2 - i\right)\right)\\ \mathbf{elif}\;c \leq 2.5 \cdot 10^{+87}:\\ \;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(c \cdot \left(y2 - i\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 40: 21.4% accurate, 7.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -70000000000000:\\ \;\;\;\;x \cdot \left(b \cdot \left(a - j\right)\right)\\ \mathbf{elif}\;b \leq 4 \cdot 10^{+59}:\\ \;\;\;\;x \cdot \left(c \cdot \left(y2 - i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(b \cdot \left(-j\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 (<= b -70000000000000.0)
   (* x (* b (- a j)))
   (if (<= b 4e+59) (* x (* c (- y2 i))) (* x (* b (- j))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (b <= -70000000000000.0) {
		tmp = x * (b * (a - j));
	} else if (b <= 4e+59) {
		tmp = x * (c * (y2 - i));
	} else {
		tmp = x * (b * -j);
	}
	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 (b <= (-70000000000000.0d0)) then
        tmp = x * (b * (a - j))
    else if (b <= 4d+59) then
        tmp = x * (c * (y2 - i))
    else
        tmp = x * (b * -j)
    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 (b <= -70000000000000.0) {
		tmp = x * (b * (a - j));
	} else if (b <= 4e+59) {
		tmp = x * (c * (y2 - i));
	} else {
		tmp = x * (b * -j);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if b <= -70000000000000.0:
		tmp = x * (b * (a - j))
	elif b <= 4e+59:
		tmp = x * (c * (y2 - i))
	else:
		tmp = x * (b * -j)
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (b <= -70000000000000.0)
		tmp = Float64(x * Float64(b * Float64(a - j)));
	elseif (b <= 4e+59)
		tmp = Float64(x * Float64(c * Float64(y2 - i)));
	else
		tmp = Float64(x * Float64(b * Float64(-j)));
	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 (b <= -70000000000000.0)
		tmp = x * (b * (a - j));
	elseif (b <= 4e+59)
		tmp = x * (c * (y2 - i));
	else
		tmp = x * (b * -j);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[b, -70000000000000.0], N[(x * N[(b * N[(a - j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 4e+59], N[(x * N[(c * N[(y2 - i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(b * (-j)), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -70000000000000:\\
\;\;\;\;x \cdot \left(b \cdot \left(a - j\right)\right)\\

\mathbf{elif}\;b \leq 4 \cdot 10^{+59}:\\
\;\;\;\;x \cdot \left(c \cdot \left(y2 - i\right)\right)\\

\mathbf{else}:\\
\;\;\;\;x \cdot \left(b \cdot \left(-j\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -7e13

    1. Initial program 19.7%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6428.6

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified28.6%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in b around inf

      \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
      2. lower--.f6430.6

        \[\leadsto x \cdot \left(b \cdot \color{blue}{\left(a - j\right)}\right) \]
    8. Simplified30.6%

      \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]

    if -7e13 < b < 3.99999999999999989e59

    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(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6433.8

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified33.8%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto x \cdot \color{blue}{\left(c \cdot \left(y2 - i\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(c \cdot \left(y2 - i\right)\right)} \]
      2. lower--.f6420.8

        \[\leadsto x \cdot \left(c \cdot \color{blue}{\left(y2 - i\right)}\right) \]
    8. Simplified20.8%

      \[\leadsto x \cdot \color{blue}{\left(c \cdot \left(y2 - i\right)\right)} \]

    if 3.99999999999999989e59 < b

    1. Initial program 38.4%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6433.6

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified33.6%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in b around inf

      \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
      2. lower--.f6430.7

        \[\leadsto x \cdot \left(b \cdot \color{blue}{\left(a - j\right)}\right) \]
    8. Simplified30.7%

      \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
    9. Taylor expanded in a around 0

      \[\leadsto x \cdot \color{blue}{\left(-1 \cdot \left(b \cdot j\right)\right)} \]
    10. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto x \cdot \left(-1 \cdot \color{blue}{\left(j \cdot b\right)}\right) \]
      2. associate-*r*N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(-1 \cdot j\right) \cdot b\right)} \]
      3. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(-1 \cdot j\right) \cdot b\right)} \]
      4. mul-1-negN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(\mathsf{neg}\left(j\right)\right)} \cdot b\right) \]
      5. lower-neg.f6436.6

        \[\leadsto x \cdot \left(\color{blue}{\left(-j\right)} \cdot b\right) \]
    11. Simplified36.6%

      \[\leadsto x \cdot \color{blue}{\left(\left(-j\right) \cdot b\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification25.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -70000000000000:\\ \;\;\;\;x \cdot \left(b \cdot \left(a - j\right)\right)\\ \mathbf{elif}\;b \leq 4 \cdot 10^{+59}:\\ \;\;\;\;x \cdot \left(c \cdot \left(y2 - i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(b \cdot \left(-j\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 41: 18.4% accurate, 8.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -820000:\\ \;\;\;\;x \cdot \left(b \cdot \left(a - j\right)\right)\\ \mathbf{elif}\;b \leq 5.1 \cdot 10^{+62}:\\ \;\;\;\;y2 \cdot \left(x \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(b \cdot \left(-j\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 (<= b -820000.0)
   (* x (* b (- a j)))
   (if (<= b 5.1e+62) (* y2 (* x c)) (* x (* b (- j))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (b <= -820000.0) {
		tmp = x * (b * (a - j));
	} else if (b <= 5.1e+62) {
		tmp = y2 * (x * c);
	} else {
		tmp = x * (b * -j);
	}
	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 (b <= (-820000.0d0)) then
        tmp = x * (b * (a - j))
    else if (b <= 5.1d+62) then
        tmp = y2 * (x * c)
    else
        tmp = x * (b * -j)
    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 (b <= -820000.0) {
		tmp = x * (b * (a - j));
	} else if (b <= 5.1e+62) {
		tmp = y2 * (x * c);
	} else {
		tmp = x * (b * -j);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if b <= -820000.0:
		tmp = x * (b * (a - j))
	elif b <= 5.1e+62:
		tmp = y2 * (x * c)
	else:
		tmp = x * (b * -j)
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (b <= -820000.0)
		tmp = Float64(x * Float64(b * Float64(a - j)));
	elseif (b <= 5.1e+62)
		tmp = Float64(y2 * Float64(x * c));
	else
		tmp = Float64(x * Float64(b * Float64(-j)));
	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 (b <= -820000.0)
		tmp = x * (b * (a - j));
	elseif (b <= 5.1e+62)
		tmp = y2 * (x * c);
	else
		tmp = x * (b * -j);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[b, -820000.0], N[(x * N[(b * N[(a - j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 5.1e+62], N[(y2 * N[(x * c), $MachinePrecision]), $MachinePrecision], N[(x * N[(b * (-j)), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -820000:\\
\;\;\;\;x \cdot \left(b \cdot \left(a - j\right)\right)\\

\mathbf{elif}\;b \leq 5.1 \cdot 10^{+62}:\\
\;\;\;\;y2 \cdot \left(x \cdot c\right)\\

\mathbf{else}:\\
\;\;\;\;x \cdot \left(b \cdot \left(-j\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -8.2e5

    1. Initial program 19.0%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6429.3

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified29.3%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in b around inf

      \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
      2. lower--.f6431.2

        \[\leadsto x \cdot \left(b \cdot \color{blue}{\left(a - j\right)}\right) \]
    8. Simplified31.2%

      \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]

    if -8.2e5 < b < 5.09999999999999998e62

    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 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. lower-*.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. lower--.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto y2 \cdot \left(\color{blue}{\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto y2 \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot x} + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto y2 \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, \color{blue}{k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \color{blue}{\left(y1 \cdot y4 - y0 \cdot y5\right)}\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(\color{blue}{y1 \cdot y4} - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - \color{blue}{y0 \cdot y5}\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - \color{blue}{t \cdot \left(c \cdot y4 - a \cdot y5\right)}\right) \]
      14. lower--.f64N/A

        \[\leadsto y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \color{blue}{\left(c \cdot y4 - a \cdot y5\right)}\right) \]
    5. Simplified35.2%

      \[\leadsto \color{blue}{y2 \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, x, k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    6. Taylor expanded in c around inf

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto y2 \cdot \left(c \cdot \color{blue}{\left(x - t \cdot y4\right)}\right) \]
      3. lower-*.f6425.6

        \[\leadsto y2 \cdot \left(c \cdot \left(x - \color{blue}{t \cdot y4}\right)\right) \]
    8. Simplified25.6%

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot \left(x - t \cdot y4\right)\right)} \]
    9. Taylor expanded in x around inf

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot x\right)} \]
    10. Step-by-step derivation
      1. lower-*.f6417.2

        \[\leadsto y2 \cdot \color{blue}{\left(c \cdot x\right)} \]
    11. Simplified17.2%

      \[\leadsto y2 \cdot \color{blue}{\left(c \cdot x\right)} \]

    if 5.09999999999999998e62 < b

    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 x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6434.5

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified34.5%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in b around inf

      \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
      2. lower--.f6431.5

        \[\leadsto x \cdot \left(b \cdot \color{blue}{\left(a - j\right)}\right) \]
    8. Simplified31.5%

      \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
    9. Taylor expanded in a around 0

      \[\leadsto x \cdot \color{blue}{\left(-1 \cdot \left(b \cdot j\right)\right)} \]
    10. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto x \cdot \left(-1 \cdot \color{blue}{\left(j \cdot b\right)}\right) \]
      2. associate-*r*N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(-1 \cdot j\right) \cdot b\right)} \]
      3. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(-1 \cdot j\right) \cdot b\right)} \]
      4. mul-1-negN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(\mathsf{neg}\left(j\right)\right)} \cdot b\right) \]
      5. lower-neg.f6437.6

        \[\leadsto x \cdot \left(\color{blue}{\left(-j\right)} \cdot b\right) \]
    11. Simplified37.6%

      \[\leadsto x \cdot \color{blue}{\left(\left(-j\right) \cdot b\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification23.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -820000:\\ \;\;\;\;x \cdot \left(b \cdot \left(a - j\right)\right)\\ \mathbf{elif}\;b \leq 5.1 \cdot 10^{+62}:\\ \;\;\;\;y2 \cdot \left(x \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(b \cdot \left(-j\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 42: 13.1% accurate, 11.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;i \leq -1.12 \cdot 10^{+76}:\\ \;\;\;\;i \cdot \left(k \cdot y5\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(y0 \cdot y2\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (if (<= i -1.12e+76) (* i (* k y5)) (* x (* y0 y2))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (i <= -1.12e+76) {
		tmp = i * (k * y5);
	} else {
		tmp = x * (y0 * y2);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if (i <= (-1.12d+76)) then
        tmp = i * (k * y5)
    else
        tmp = x * (y0 * y2)
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (i <= -1.12e+76) {
		tmp = i * (k * y5);
	} else {
		tmp = x * (y0 * y2);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if i <= -1.12e+76:
		tmp = i * (k * y5)
	else:
		tmp = x * (y0 * y2)
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (i <= -1.12e+76)
		tmp = Float64(i * Float64(k * y5));
	else
		tmp = Float64(x * Float64(y0 * y2));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0;
	if (i <= -1.12e+76)
		tmp = i * (k * y5);
	else
		tmp = x * (y0 * y2);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[i, -1.12e+76], N[(i * N[(k * y5), $MachinePrecision]), $MachinePrecision], N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;i \leq -1.12 \cdot 10^{+76}:\\
\;\;\;\;i \cdot \left(k \cdot y5\right)\\

\mathbf{else}:\\
\;\;\;\;x \cdot \left(y0 \cdot y2\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if i < -1.12000000000000005e76

    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 k around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      6. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\left(\color{blue}{\left(-1 \cdot y2\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)} + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(-1 \cdot y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right)} - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. neg-mul-1N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-neg.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4 - y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4} - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - \color{blue}{y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, \color{blue}{b \cdot y4}\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      14. +-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\left(z \cdot \left(b \cdot y0 - i \cdot y1\right) + i \cdot y5\right)}\right) \]
      15. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)}\right) \]
    5. Simplified38.7%

      \[\leadsto \color{blue}{\left(-k\right) \cdot \left(\mathsf{fma}\left(-y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)\right)} \]
    6. Taylor expanded in y5 around inf

      \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(y5 \cdot \color{blue}{\left(y0 \cdot y2 - i\right)}\right) \]
      3. lower-*.f6431.9

        \[\leadsto \left(-k\right) \cdot \left(y5 \cdot \left(\color{blue}{y0 \cdot y2} - i\right)\right) \]
    8. Simplified31.9%

      \[\leadsto \left(-k\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
    9. Taylor expanded in y0 around 0

      \[\leadsto \color{blue}{i \cdot \left(k \cdot y5\right)} \]
    10. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{i \cdot \left(k \cdot y5\right)} \]
      2. *-commutativeN/A

        \[\leadsto i \cdot \color{blue}{\left(y5 \cdot k\right)} \]
      3. lower-*.f6428.1

        \[\leadsto i \cdot \color{blue}{\left(y5 \cdot k\right)} \]
    11. Simplified28.1%

      \[\leadsto \color{blue}{i \cdot \left(y5 \cdot k\right)} \]

    if -1.12000000000000005e76 < i

    1. Initial program 31.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6434.3

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified34.3%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in y0 around inf

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
      3. lower--.f64N/A

        \[\leadsto x \cdot \left(y0 \cdot \color{blue}{\left(y2 - b \cdot j\right)}\right) \]
      4. lower-*.f6422.0

        \[\leadsto x \cdot \left(y0 \cdot \left(y2 - \color{blue}{b \cdot j}\right)\right) \]
    8. Simplified22.0%

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot \left(y2 - b \cdot j\right)\right)} \]
    9. Taylor expanded in y2 around inf

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot y2\right)} \]
    10. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(y0 \cdot y2\right)} \]
      2. lower-*.f6414.4

        \[\leadsto x \cdot \color{blue}{\left(y0 \cdot y2\right)} \]
    11. Simplified14.4%

      \[\leadsto \color{blue}{x \cdot \left(y0 \cdot y2\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification17.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -1.12 \cdot 10^{+76}:\\ \;\;\;\;i \cdot \left(k \cdot y5\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(y0 \cdot y2\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 43: 13.2% accurate, 11.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y5 \leq -1.32 \cdot 10^{-138}:\\ \;\;\;\;i \cdot \left(k \cdot y5\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(j \cdot y1\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (if (<= y5 -1.32e-138) (* i (* k y5)) (* x (* j y1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (y5 <= -1.32e-138) {
		tmp = i * (k * y5);
	} else {
		tmp = x * (j * y1);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if (y5 <= (-1.32d-138)) then
        tmp = i * (k * y5)
    else
        tmp = x * (j * y1)
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (y5 <= -1.32e-138) {
		tmp = i * (k * y5);
	} else {
		tmp = x * (j * y1);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if y5 <= -1.32e-138:
		tmp = i * (k * y5)
	else:
		tmp = x * (j * y1)
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (y5 <= -1.32e-138)
		tmp = Float64(i * Float64(k * y5));
	else
		tmp = Float64(x * Float64(j * y1));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0;
	if (y5 <= -1.32e-138)
		tmp = i * (k * y5);
	else
		tmp = x * (j * y1);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y5, -1.32e-138], N[(i * N[(k * y5), $MachinePrecision]), $MachinePrecision], N[(x * N[(j * y1), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y5 \leq -1.32 \cdot 10^{-138}:\\
\;\;\;\;i \cdot \left(k \cdot y5\right)\\

\mathbf{else}:\\
\;\;\;\;x \cdot \left(j \cdot y1\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if y5 < -1.32e-138

    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 k around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      6. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\left(\color{blue}{\left(-1 \cdot y2\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)} + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(-1 \cdot y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right)} - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. neg-mul-1N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-neg.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4 - y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4} - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - \color{blue}{y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, \color{blue}{b \cdot y4}\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      14. +-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\left(z \cdot \left(b \cdot y0 - i \cdot y1\right) + i \cdot y5\right)}\right) \]
      15. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)}\right) \]
    5. Simplified29.0%

      \[\leadsto \color{blue}{\left(-k\right) \cdot \left(\mathsf{fma}\left(-y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)\right)} \]
    6. Taylor expanded in y5 around inf

      \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(y5 \cdot \color{blue}{\left(y0 \cdot y2 - i\right)}\right) \]
      3. lower-*.f6424.8

        \[\leadsto \left(-k\right) \cdot \left(y5 \cdot \left(\color{blue}{y0 \cdot y2} - i\right)\right) \]
    8. Simplified24.8%

      \[\leadsto \left(-k\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
    9. Taylor expanded in y0 around 0

      \[\leadsto \color{blue}{i \cdot \left(k \cdot y5\right)} \]
    10. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{i \cdot \left(k \cdot y5\right)} \]
      2. *-commutativeN/A

        \[\leadsto i \cdot \color{blue}{\left(y5 \cdot k\right)} \]
      3. lower-*.f6419.3

        \[\leadsto i \cdot \color{blue}{\left(y5 \cdot k\right)} \]
    11. Simplified19.3%

      \[\leadsto \color{blue}{i \cdot \left(y5 \cdot k\right)} \]

    if -1.32e-138 < y5

    1. Initial program 28.8%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6438.0

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified38.0%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in j around inf

      \[\leadsto x \cdot \color{blue}{\left(j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \left(j \cdot \color{blue}{\left(i \cdot y1 - b \cdot y0\right)}\right) \]
      3. lower-*.f64N/A

        \[\leadsto x \cdot \left(j \cdot \left(\color{blue}{i \cdot y1} - b \cdot y0\right)\right) \]
      4. lower-*.f6426.0

        \[\leadsto x \cdot \left(j \cdot \left(i \cdot y1 - \color{blue}{b \cdot y0}\right)\right) \]
    8. Simplified26.0%

      \[\leadsto x \cdot \color{blue}{\left(j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)} \]
    9. Taylor expanded in y1 around inf

      \[\leadsto x \cdot \color{blue}{\left(j \cdot y1\right)} \]
    10. Step-by-step derivation
      1. lower-*.f6413.5

        \[\leadsto x \cdot \color{blue}{\left(j \cdot y1\right)} \]
    11. Simplified13.5%

      \[\leadsto x \cdot \color{blue}{\left(j \cdot y1\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification15.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -1.32 \cdot 10^{-138}:\\ \;\;\;\;i \cdot \left(k \cdot y5\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(j \cdot y1\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 44: 14.1% accurate, 11.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y5 \leq -1.12 \cdot 10^{-39}:\\ \;\;\;\;i \cdot \left(k \cdot y5\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(a \cdot b\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 (<= y5 -1.12e-39) (* i (* k y5)) (* x (* a 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 (y5 <= -1.12e-39) {
		tmp = i * (k * y5);
	} else {
		tmp = x * (a * 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 (y5 <= (-1.12d-39)) then
        tmp = i * (k * y5)
    else
        tmp = x * (a * 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 (y5 <= -1.12e-39) {
		tmp = i * (k * y5);
	} else {
		tmp = x * (a * b);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if y5 <= -1.12e-39:
		tmp = i * (k * y5)
	else:
		tmp = x * (a * 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 (y5 <= -1.12e-39)
		tmp = Float64(i * Float64(k * y5));
	else
		tmp = Float64(x * Float64(a * 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 (y5 <= -1.12e-39)
		tmp = i * (k * y5);
	else
		tmp = x * (a * 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[y5, -1.12e-39], N[(i * N[(k * y5), $MachinePrecision]), $MachinePrecision], N[(x * N[(a * b), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y5 \leq -1.12 \cdot 10^{-39}:\\
\;\;\;\;i \cdot \left(k \cdot y5\right)\\

\mathbf{else}:\\
\;\;\;\;x \cdot \left(a \cdot b\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if y5 < -1.12e-39

    1. Initial program 33.8%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in k around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      6. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\left(\color{blue}{\left(-1 \cdot y2\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)} + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(-1 \cdot y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right)} - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. neg-mul-1N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-neg.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4 - y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4} - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - \color{blue}{y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, \color{blue}{b \cdot y4}\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      14. +-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\left(z \cdot \left(b \cdot y0 - i \cdot y1\right) + i \cdot y5\right)}\right) \]
      15. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)}\right) \]
    5. Simplified25.5%

      \[\leadsto \color{blue}{\left(-k\right) \cdot \left(\mathsf{fma}\left(-y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)\right)} \]
    6. Taylor expanded in y5 around inf

      \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(y5 \cdot \color{blue}{\left(y0 \cdot y2 - i\right)}\right) \]
      3. lower-*.f6426.4

        \[\leadsto \left(-k\right) \cdot \left(y5 \cdot \left(\color{blue}{y0 \cdot y2} - i\right)\right) \]
    8. Simplified26.4%

      \[\leadsto \left(-k\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
    9. Taylor expanded in y0 around 0

      \[\leadsto \color{blue}{i \cdot \left(k \cdot y5\right)} \]
    10. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{i \cdot \left(k \cdot y5\right)} \]
      2. *-commutativeN/A

        \[\leadsto i \cdot \color{blue}{\left(y5 \cdot k\right)} \]
      3. lower-*.f6422.4

        \[\leadsto i \cdot \color{blue}{\left(y5 \cdot k\right)} \]
    11. Simplified22.4%

      \[\leadsto \color{blue}{i \cdot \left(y5 \cdot k\right)} \]

    if -1.12e-39 < y5

    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 x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6437.7

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified37.7%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in b around inf

      \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
      2. lower--.f6415.1

        \[\leadsto x \cdot \left(b \cdot \color{blue}{\left(a - j\right)}\right) \]
    8. Simplified15.1%

      \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
    9. Taylor expanded in a around inf

      \[\leadsto x \cdot \color{blue}{\left(a \cdot b\right)} \]
    10. Step-by-step derivation
      1. lower-*.f6410.7

        \[\leadsto x \cdot \color{blue}{\left(a \cdot b\right)} \]
    11. Simplified10.7%

      \[\leadsto x \cdot \color{blue}{\left(a \cdot b\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification14.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -1.12 \cdot 10^{-39}:\\ \;\;\;\;i \cdot \left(k \cdot y5\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(a \cdot b\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 45: 13.0% accurate, 11.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;i \leq -6.8 \cdot 10^{+28}:\\ \;\;\;\;i \cdot \left(k \cdot y5\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(x \cdot b\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (if (<= i -6.8e+28) (* i (* k y5)) (* a (* 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 (i <= -6.8e+28) {
		tmp = i * (k * y5);
	} else {
		tmp = a * (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 (i <= (-6.8d+28)) then
        tmp = i * (k * y5)
    else
        tmp = a * (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 (i <= -6.8e+28) {
		tmp = i * (k * y5);
	} else {
		tmp = a * (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 i <= -6.8e+28:
		tmp = i * (k * y5)
	else:
		tmp = a * (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 (i <= -6.8e+28)
		tmp = Float64(i * Float64(k * y5));
	else
		tmp = Float64(a * 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 (i <= -6.8e+28)
		tmp = i * (k * y5);
	else
		tmp = a * (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[i, -6.8e+28], N[(i * N[(k * y5), $MachinePrecision]), $MachinePrecision], N[(a * N[(x * b), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;i \leq -6.8 \cdot 10^{+28}:\\
\;\;\;\;i \cdot \left(k \cdot y5\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(x \cdot b\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if i < -6.8e28

    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}{-1 \cdot \left(k \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. neg-mul-1N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(k\right)\right)} \cdot \left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      6. associate-*r*N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\left(\color{blue}{\left(-1 \cdot y2\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)} + b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\color{blue}{\mathsf{fma}\left(-1 \cdot y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right)} - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. neg-mul-1N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-neg.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y2\right)}, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4 - y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      11. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), \color{blue}{y1 \cdot y4} - y0 \cdot y5, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      12. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - \color{blue}{y0 \cdot y5}, b \cdot y4\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, \color{blue}{b \cdot y4}\right) - \left(i \cdot y5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      14. +-commutativeN/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\left(z \cdot \left(b \cdot y0 - i \cdot y1\right) + i \cdot y5\right)}\right) \]
      15. lower-fma.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(\mathsf{fma}\left(\mathsf{neg}\left(y2\right), y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \color{blue}{\mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)}\right) \]
    5. Simplified35.3%

      \[\leadsto \color{blue}{\left(-k\right) \cdot \left(\mathsf{fma}\left(-y2, y1 \cdot y4 - y0 \cdot y5, b \cdot y4\right) - \mathsf{fma}\left(z, b \cdot y0 - i \cdot y1, i \cdot y5\right)\right)} \]
    6. Taylor expanded in y5 around inf

      \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto \left(\mathsf{neg}\left(k\right)\right) \cdot \left(y5 \cdot \color{blue}{\left(y0 \cdot y2 - i\right)}\right) \]
      3. lower-*.f6427.9

        \[\leadsto \left(-k\right) \cdot \left(y5 \cdot \left(\color{blue}{y0 \cdot y2} - i\right)\right) \]
    8. Simplified27.9%

      \[\leadsto \left(-k\right) \cdot \color{blue}{\left(y5 \cdot \left(y0 \cdot y2 - i\right)\right)} \]
    9. Taylor expanded in y0 around 0

      \[\leadsto \color{blue}{i \cdot \left(k \cdot y5\right)} \]
    10. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{i \cdot \left(k \cdot y5\right)} \]
      2. *-commutativeN/A

        \[\leadsto i \cdot \color{blue}{\left(y5 \cdot k\right)} \]
      3. lower-*.f6424.7

        \[\leadsto i \cdot \color{blue}{\left(y5 \cdot k\right)} \]
    11. Simplified24.7%

      \[\leadsto \color{blue}{i \cdot \left(y5 \cdot k\right)} \]

    if -6.8e28 < i

    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 x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. lower--.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      3. +-commutativeN/A

        \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      4. *-commutativeN/A

        \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      6. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      7. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      8. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      9. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
      11. lower-fma.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
      12. lower--.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
      13. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
      14. lower-*.f64N/A

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
      15. lower-*.f6435.2

        \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
    5. Simplified35.2%

      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
    6. Taylor expanded in b around inf

      \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
    7. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
      2. lower--.f6415.3

        \[\leadsto x \cdot \left(b \cdot \color{blue}{\left(a - j\right)}\right) \]
    8. Simplified15.3%

      \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
    9. Taylor expanded in a around inf

      \[\leadsto \color{blue}{a \cdot \left(b \cdot x\right)} \]
    10. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{a \cdot \left(b \cdot x\right)} \]
      2. lower-*.f649.9

        \[\leadsto a \cdot \color{blue}{\left(b \cdot x\right)} \]
    11. Simplified9.9%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot x\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification13.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -6.8 \cdot 10^{+28}:\\ \;\;\;\;i \cdot \left(k \cdot y5\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(x \cdot b\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 46: 12.0% accurate, 18.4× speedup?

\[\begin{array}{l} \\ a \cdot \left(x \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 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 * 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 * 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 * b);
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	return a * (x * b)
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	return Float64(a * 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 * (x * b);
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(x * b), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
a \cdot \left(x \cdot b\right)
\end{array}
Derivation
  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 x around inf

    \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
  4. Step-by-step derivation
    1. lower-*.f64N/A

      \[\leadsto \color{blue}{x \cdot \left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    2. lower--.f64N/A

      \[\leadsto x \cdot \color{blue}{\left(\left(a \cdot b + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. +-commutativeN/A

      \[\leadsto x \cdot \left(\color{blue}{\left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
    4. *-commutativeN/A

      \[\leadsto x \cdot \left(\left(\color{blue}{\left(c \cdot y0 - a \cdot y1\right) \cdot y2} + a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
    5. lower-fma.f64N/A

      \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right)} - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
    6. lower--.f64N/A

      \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0 - a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
    7. lower-*.f64N/A

      \[\leadsto x \cdot \left(\mathsf{fma}\left(\color{blue}{c \cdot y0} - a \cdot y1, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
    8. lower-*.f64N/A

      \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - \color{blue}{a \cdot y1}, y2, a \cdot b\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
    9. lower-*.f64N/A

      \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, \color{blue}{a \cdot b}\right) - \left(c \cdot i + j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \]
    10. +-commutativeN/A

      \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\left(j \cdot \left(b \cdot y0 - i \cdot y1\right) + c \cdot i\right)}\right) \]
    11. lower-fma.f64N/A

      \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \color{blue}{\mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)}\right) \]
    12. lower--.f64N/A

      \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0 - i \cdot y1}, c \cdot i\right)\right) \]
    13. lower-*.f64N/A

      \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, \color{blue}{b \cdot y0} - i \cdot y1, c \cdot i\right)\right) \]
    14. lower-*.f64N/A

      \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - \color{blue}{i \cdot y1}, c \cdot i\right)\right) \]
    15. lower-*.f6432.5

      \[\leadsto x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, \color{blue}{c \cdot i}\right)\right) \]
  5. Simplified32.5%

    \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(c \cdot y0 - a \cdot y1, y2, a \cdot b\right) - \mathsf{fma}\left(j, b \cdot y0 - i \cdot y1, c \cdot i\right)\right)} \]
  6. Taylor expanded in b around inf

    \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
  7. Step-by-step derivation
    1. lower-*.f64N/A

      \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
    2. lower--.f6414.4

      \[\leadsto x \cdot \left(b \cdot \color{blue}{\left(a - j\right)}\right) \]
  8. Simplified14.4%

    \[\leadsto x \cdot \color{blue}{\left(b \cdot \left(a - j\right)\right)} \]
  9. Taylor expanded in a around inf

    \[\leadsto \color{blue}{a \cdot \left(b \cdot x\right)} \]
  10. Step-by-step derivation
    1. lower-*.f64N/A

      \[\leadsto \color{blue}{a \cdot \left(b \cdot x\right)} \]
    2. lower-*.f648.4

      \[\leadsto a \cdot \color{blue}{\left(b \cdot x\right)} \]
  11. Simplified8.4%

    \[\leadsto \color{blue}{a \cdot \left(b \cdot x\right)} \]
  12. Final simplification8.4%

    \[\leadsto a \cdot \left(x \cdot b\right) \]
  13. Add Preprocessing

Developer Target 1: 27.8% 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 2024214 
(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)))))