Linear.Matrix:det44 from linear-1.19.1.3

Percentage Accurate: 29.3% → 39.4%
Time: 1.7min
Alternatives: 36
Speedup: 4.1×

Specification

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

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

Sampling outcomes in binary64 precision:

Local Percentage Accuracy vs ?

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

Accuracy vs Speed?

Herbie found 36 alternatives:

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

Initial Program: 29.3% 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: 39.4% accurate, 1.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y1 \cdot y3 - t \cdot b\\ t_2 := b \cdot y0 - i \cdot y1\\ t_3 := a \cdot \left(z \cdot t_1\right)\\ t_4 := t \cdot j - y \cdot k\\ t_5 := z \cdot t - x \cdot y\\ t_6 := z \cdot \left(k \cdot t_2 + \left(t \cdot \left(c \cdot i - a \cdot b\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ t_7 := c \cdot y0 - a \cdot y1\\ t_8 := y \cdot y3 - t \cdot y2\\ t_9 := z \cdot k - x \cdot j\\ t_10 := y1 \cdot y4 - y0 \cdot y5\\ t_11 := \left(k \cdot y2 - j \cdot y3\right) \cdot t_10\\ \mathbf{if}\;b \leq -6.4 \cdot 10^{+103}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot t_4\right) + y0 \cdot t_9\right)\\ \mathbf{elif}\;b \leq -9.5 \cdot 10^{+26}:\\ \;\;\;\;\left(i \cdot k\right) \cdot \left(y \cdot y5 - z \cdot y1\right)\\ \mathbf{elif}\;b \leq -5.8 \cdot 10^{-25}:\\ \;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) - z \cdot t_7\right)\right)\\ \mathbf{elif}\;b \leq -1.5 \cdot 10^{-55}:\\ \;\;\;\;y5 \cdot \left(\left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) - i \cdot t_4\right) - a \cdot t_8\right)\\ \mathbf{elif}\;b \leq -4 \cdot 10^{-57}:\\ \;\;\;\;\left(z \cdot a\right) \cdot t_1\\ \mathbf{elif}\;b \leq -2.95 \cdot 10^{-173}:\\ \;\;\;\;t_11 + c \cdot \left(\left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right) + i \cdot t_5\right) + y4 \cdot t_8\right)\\ \mathbf{elif}\;b \leq 8.8 \cdot 10^{-254}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;b \leq 1.85 \cdot 10^{-159}:\\ \;\;\;\;y2 \cdot \left(\left(k \cdot t_10 + x \cdot t_7\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;b \leq 1600:\\ \;\;\;\;t_11 + t_6\\ \mathbf{elif}\;b \leq 2 \cdot 10^{+49}:\\ \;\;\;\;k \cdot \left(\left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot t_10\right) + z \cdot t_2\right)\\ \mathbf{elif}\;b \leq 8 \cdot 10^{+178}:\\ \;\;\;\;i \cdot \left(\left(c \cdot t_5 + y5 \cdot \left(y \cdot k - t \cdot j\right)\right) - y1 \cdot t_9\right)\\ \mathbf{elif}\;b \leq 2.3 \cdot 10^{+241}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;b \leq 6.8 \cdot 10^{+241}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\ \mathbf{elif}\;b \leq 2.5 \cdot 10^{+281}:\\ \;\;\;\;y0 \cdot \left(\left(y3 \cdot \left(j \cdot y5 - z \cdot c\right) + c \cdot \left(x \cdot y2\right)\right) + \left(b \cdot t_9 - k \cdot \left(y2 \cdot y5\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (- (* y1 y3) (* t b)))
        (t_2 (- (* b y0) (* i y1)))
        (t_3 (* a (* z t_1)))
        (t_4 (- (* t j) (* y k)))
        (t_5 (- (* z t) (* x y)))
        (t_6
         (*
          z
          (+
           (* k t_2)
           (+ (* t (- (* c i) (* a b))) (* y3 (- (* a y1) (* c y0)))))))
        (t_7 (- (* c y0) (* a y1)))
        (t_8 (- (* y y3) (* t y2)))
        (t_9 (- (* z k) (* x j)))
        (t_10 (- (* y1 y4) (* y0 y5)))
        (t_11 (* (- (* k y2) (* j y3)) t_10)))
   (if (<= b -6.4e+103)
     (* b (+ (+ (* a (- (* x y) (* z t))) (* y4 t_4)) (* y0 t_9)))
     (if (<= b -9.5e+26)
       (* (* i k) (- (* y y5) (* z y1)))
       (if (<= b -5.8e-25)
         (*
          y3
          (+
           (* y (- (* c y4) (* a y5)))
           (- (* j (- (* y0 y5) (* y1 y4))) (* z t_7))))
         (if (<= b -1.5e-55)
           (* y5 (- (- (* y0 (- (* j y3) (* k y2))) (* i t_4)) (* a t_8)))
           (if (<= b -4e-57)
             (* (* z a) t_1)
             (if (<= b -2.95e-173)
               (+
                t_11
                (*
                 c
                 (+ (+ (* y0 (- (* x y2) (* z y3))) (* i t_5)) (* y4 t_8))))
               (if (<= b 8.8e-254)
                 t_6
                 (if (<= b 1.85e-159)
                   (*
                    y2
                    (+ (+ (* k t_10) (* x t_7)) (* t (- (* a y5) (* c y4)))))
                   (if (<= b 1600.0)
                     (+ t_11 t_6)
                     (if (<= b 2e+49)
                       (*
                        k
                        (+
                         (+ (* y (- (* i y5) (* b y4))) (* y2 t_10))
                         (* z t_2)))
                       (if (<= b 8e+178)
                         (*
                          i
                          (-
                           (+ (* c t_5) (* y5 (- (* y k) (* t j))))
                           (* y1 t_9)))
                         (if (<= b 2.3e+241)
                           t_3
                           (if (<= b 6.8e+241)
                             (* a (* (* x y) b))
                             (if (<= b 2.5e+281)
                               (*
                                y0
                                (+
                                 (+ (* y3 (- (* j y5) (* z c))) (* c (* x y2)))
                                 (- (* b t_9) (* k (* y2 y5)))))
                               t_3))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (y1 * y3) - (t * b);
	double t_2 = (b * y0) - (i * y1);
	double t_3 = a * (z * t_1);
	double t_4 = (t * j) - (y * k);
	double t_5 = (z * t) - (x * y);
	double t_6 = z * ((k * t_2) + ((t * ((c * i) - (a * b))) + (y3 * ((a * y1) - (c * y0)))));
	double t_7 = (c * y0) - (a * y1);
	double t_8 = (y * y3) - (t * y2);
	double t_9 = (z * k) - (x * j);
	double t_10 = (y1 * y4) - (y0 * y5);
	double t_11 = ((k * y2) - (j * y3)) * t_10;
	double tmp;
	if (b <= -6.4e+103) {
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_4)) + (y0 * t_9));
	} else if (b <= -9.5e+26) {
		tmp = (i * k) * ((y * y5) - (z * y1));
	} else if (b <= -5.8e-25) {
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) - (z * t_7)));
	} else if (b <= -1.5e-55) {
		tmp = y5 * (((y0 * ((j * y3) - (k * y2))) - (i * t_4)) - (a * t_8));
	} else if (b <= -4e-57) {
		tmp = (z * a) * t_1;
	} else if (b <= -2.95e-173) {
		tmp = t_11 + (c * (((y0 * ((x * y2) - (z * y3))) + (i * t_5)) + (y4 * t_8)));
	} else if (b <= 8.8e-254) {
		tmp = t_6;
	} else if (b <= 1.85e-159) {
		tmp = y2 * (((k * t_10) + (x * t_7)) + (t * ((a * y5) - (c * y4))));
	} else if (b <= 1600.0) {
		tmp = t_11 + t_6;
	} else if (b <= 2e+49) {
		tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * t_10)) + (z * t_2));
	} else if (b <= 8e+178) {
		tmp = i * (((c * t_5) + (y5 * ((y * k) - (t * j)))) - (y1 * t_9));
	} else if (b <= 2.3e+241) {
		tmp = t_3;
	} else if (b <= 6.8e+241) {
		tmp = a * ((x * y) * b);
	} else if (b <= 2.5e+281) {
		tmp = y0 * (((y3 * ((j * y5) - (z * c))) + (c * (x * y2))) + ((b * t_9) - (k * (y2 * y5))));
	} else {
		tmp = t_3;
	}
	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_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 = (y1 * y3) - (t * b)
    t_2 = (b * y0) - (i * y1)
    t_3 = a * (z * t_1)
    t_4 = (t * j) - (y * k)
    t_5 = (z * t) - (x * y)
    t_6 = z * ((k * t_2) + ((t * ((c * i) - (a * b))) + (y3 * ((a * y1) - (c * y0)))))
    t_7 = (c * y0) - (a * y1)
    t_8 = (y * y3) - (t * y2)
    t_9 = (z * k) - (x * j)
    t_10 = (y1 * y4) - (y0 * y5)
    t_11 = ((k * y2) - (j * y3)) * t_10
    if (b <= (-6.4d+103)) then
        tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_4)) + (y0 * t_9))
    else if (b <= (-9.5d+26)) then
        tmp = (i * k) * ((y * y5) - (z * y1))
    else if (b <= (-5.8d-25)) then
        tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) - (z * t_7)))
    else if (b <= (-1.5d-55)) then
        tmp = y5 * (((y0 * ((j * y3) - (k * y2))) - (i * t_4)) - (a * t_8))
    else if (b <= (-4d-57)) then
        tmp = (z * a) * t_1
    else if (b <= (-2.95d-173)) then
        tmp = t_11 + (c * (((y0 * ((x * y2) - (z * y3))) + (i * t_5)) + (y4 * t_8)))
    else if (b <= 8.8d-254) then
        tmp = t_6
    else if (b <= 1.85d-159) then
        tmp = y2 * (((k * t_10) + (x * t_7)) + (t * ((a * y5) - (c * y4))))
    else if (b <= 1600.0d0) then
        tmp = t_11 + t_6
    else if (b <= 2d+49) then
        tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * t_10)) + (z * t_2))
    else if (b <= 8d+178) then
        tmp = i * (((c * t_5) + (y5 * ((y * k) - (t * j)))) - (y1 * t_9))
    else if (b <= 2.3d+241) then
        tmp = t_3
    else if (b <= 6.8d+241) then
        tmp = a * ((x * y) * b)
    else if (b <= 2.5d+281) then
        tmp = y0 * (((y3 * ((j * y5) - (z * c))) + (c * (x * y2))) + ((b * t_9) - (k * (y2 * y5))))
    else
        tmp = t_3
    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 = (y1 * y3) - (t * b);
	double t_2 = (b * y0) - (i * y1);
	double t_3 = a * (z * t_1);
	double t_4 = (t * j) - (y * k);
	double t_5 = (z * t) - (x * y);
	double t_6 = z * ((k * t_2) + ((t * ((c * i) - (a * b))) + (y3 * ((a * y1) - (c * y0)))));
	double t_7 = (c * y0) - (a * y1);
	double t_8 = (y * y3) - (t * y2);
	double t_9 = (z * k) - (x * j);
	double t_10 = (y1 * y4) - (y0 * y5);
	double t_11 = ((k * y2) - (j * y3)) * t_10;
	double tmp;
	if (b <= -6.4e+103) {
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_4)) + (y0 * t_9));
	} else if (b <= -9.5e+26) {
		tmp = (i * k) * ((y * y5) - (z * y1));
	} else if (b <= -5.8e-25) {
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) - (z * t_7)));
	} else if (b <= -1.5e-55) {
		tmp = y5 * (((y0 * ((j * y3) - (k * y2))) - (i * t_4)) - (a * t_8));
	} else if (b <= -4e-57) {
		tmp = (z * a) * t_1;
	} else if (b <= -2.95e-173) {
		tmp = t_11 + (c * (((y0 * ((x * y2) - (z * y3))) + (i * t_5)) + (y4 * t_8)));
	} else if (b <= 8.8e-254) {
		tmp = t_6;
	} else if (b <= 1.85e-159) {
		tmp = y2 * (((k * t_10) + (x * t_7)) + (t * ((a * y5) - (c * y4))));
	} else if (b <= 1600.0) {
		tmp = t_11 + t_6;
	} else if (b <= 2e+49) {
		tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * t_10)) + (z * t_2));
	} else if (b <= 8e+178) {
		tmp = i * (((c * t_5) + (y5 * ((y * k) - (t * j)))) - (y1 * t_9));
	} else if (b <= 2.3e+241) {
		tmp = t_3;
	} else if (b <= 6.8e+241) {
		tmp = a * ((x * y) * b);
	} else if (b <= 2.5e+281) {
		tmp = y0 * (((y3 * ((j * y5) - (z * c))) + (c * (x * y2))) + ((b * t_9) - (k * (y2 * y5))));
	} else {
		tmp = t_3;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (y1 * y3) - (t * b)
	t_2 = (b * y0) - (i * y1)
	t_3 = a * (z * t_1)
	t_4 = (t * j) - (y * k)
	t_5 = (z * t) - (x * y)
	t_6 = z * ((k * t_2) + ((t * ((c * i) - (a * b))) + (y3 * ((a * y1) - (c * y0)))))
	t_7 = (c * y0) - (a * y1)
	t_8 = (y * y3) - (t * y2)
	t_9 = (z * k) - (x * j)
	t_10 = (y1 * y4) - (y0 * y5)
	t_11 = ((k * y2) - (j * y3)) * t_10
	tmp = 0
	if b <= -6.4e+103:
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_4)) + (y0 * t_9))
	elif b <= -9.5e+26:
		tmp = (i * k) * ((y * y5) - (z * y1))
	elif b <= -5.8e-25:
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) - (z * t_7)))
	elif b <= -1.5e-55:
		tmp = y5 * (((y0 * ((j * y3) - (k * y2))) - (i * t_4)) - (a * t_8))
	elif b <= -4e-57:
		tmp = (z * a) * t_1
	elif b <= -2.95e-173:
		tmp = t_11 + (c * (((y0 * ((x * y2) - (z * y3))) + (i * t_5)) + (y4 * t_8)))
	elif b <= 8.8e-254:
		tmp = t_6
	elif b <= 1.85e-159:
		tmp = y2 * (((k * t_10) + (x * t_7)) + (t * ((a * y5) - (c * y4))))
	elif b <= 1600.0:
		tmp = t_11 + t_6
	elif b <= 2e+49:
		tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * t_10)) + (z * t_2))
	elif b <= 8e+178:
		tmp = i * (((c * t_5) + (y5 * ((y * k) - (t * j)))) - (y1 * t_9))
	elif b <= 2.3e+241:
		tmp = t_3
	elif b <= 6.8e+241:
		tmp = a * ((x * y) * b)
	elif b <= 2.5e+281:
		tmp = y0 * (((y3 * ((j * y5) - (z * c))) + (c * (x * y2))) + ((b * t_9) - (k * (y2 * y5))))
	else:
		tmp = t_3
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(y1 * y3) - Float64(t * b))
	t_2 = Float64(Float64(b * y0) - Float64(i * y1))
	t_3 = Float64(a * Float64(z * t_1))
	t_4 = Float64(Float64(t * j) - Float64(y * k))
	t_5 = Float64(Float64(z * t) - Float64(x * y))
	t_6 = Float64(z * Float64(Float64(k * t_2) + Float64(Float64(t * Float64(Float64(c * i) - Float64(a * b))) + Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))))))
	t_7 = Float64(Float64(c * y0) - Float64(a * y1))
	t_8 = Float64(Float64(y * y3) - Float64(t * y2))
	t_9 = Float64(Float64(z * k) - Float64(x * j))
	t_10 = Float64(Float64(y1 * y4) - Float64(y0 * y5))
	t_11 = Float64(Float64(Float64(k * y2) - Float64(j * y3)) * t_10)
	tmp = 0.0
	if (b <= -6.4e+103)
		tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * t_4)) + Float64(y0 * t_9)));
	elseif (b <= -9.5e+26)
		tmp = Float64(Float64(i * k) * Float64(Float64(y * y5) - Float64(z * y1)));
	elseif (b <= -5.8e-25)
		tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4))) - Float64(z * t_7))));
	elseif (b <= -1.5e-55)
		tmp = Float64(y5 * Float64(Float64(Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2))) - Float64(i * t_4)) - Float64(a * t_8)));
	elseif (b <= -4e-57)
		tmp = Float64(Float64(z * a) * t_1);
	elseif (b <= -2.95e-173)
		tmp = Float64(t_11 + Float64(c * Float64(Float64(Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(i * t_5)) + Float64(y4 * t_8))));
	elseif (b <= 8.8e-254)
		tmp = t_6;
	elseif (b <= 1.85e-159)
		tmp = Float64(y2 * Float64(Float64(Float64(k * t_10) + Float64(x * t_7)) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4)))));
	elseif (b <= 1600.0)
		tmp = Float64(t_11 + t_6);
	elseif (b <= 2e+49)
		tmp = Float64(k * Float64(Float64(Float64(y * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(y2 * t_10)) + Float64(z * t_2)));
	elseif (b <= 8e+178)
		tmp = Float64(i * Float64(Float64(Float64(c * t_5) + Float64(y5 * Float64(Float64(y * k) - Float64(t * j)))) - Float64(y1 * t_9)));
	elseif (b <= 2.3e+241)
		tmp = t_3;
	elseif (b <= 6.8e+241)
		tmp = Float64(a * Float64(Float64(x * y) * b));
	elseif (b <= 2.5e+281)
		tmp = Float64(y0 * Float64(Float64(Float64(y3 * Float64(Float64(j * y5) - Float64(z * c))) + Float64(c * Float64(x * y2))) + Float64(Float64(b * t_9) - Float64(k * Float64(y2 * y5)))));
	else
		tmp = t_3;
	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 = (y1 * y3) - (t * b);
	t_2 = (b * y0) - (i * y1);
	t_3 = a * (z * t_1);
	t_4 = (t * j) - (y * k);
	t_5 = (z * t) - (x * y);
	t_6 = z * ((k * t_2) + ((t * ((c * i) - (a * b))) + (y3 * ((a * y1) - (c * y0)))));
	t_7 = (c * y0) - (a * y1);
	t_8 = (y * y3) - (t * y2);
	t_9 = (z * k) - (x * j);
	t_10 = (y1 * y4) - (y0 * y5);
	t_11 = ((k * y2) - (j * y3)) * t_10;
	tmp = 0.0;
	if (b <= -6.4e+103)
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_4)) + (y0 * t_9));
	elseif (b <= -9.5e+26)
		tmp = (i * k) * ((y * y5) - (z * y1));
	elseif (b <= -5.8e-25)
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) - (z * t_7)));
	elseif (b <= -1.5e-55)
		tmp = y5 * (((y0 * ((j * y3) - (k * y2))) - (i * t_4)) - (a * t_8));
	elseif (b <= -4e-57)
		tmp = (z * a) * t_1;
	elseif (b <= -2.95e-173)
		tmp = t_11 + (c * (((y0 * ((x * y2) - (z * y3))) + (i * t_5)) + (y4 * t_8)));
	elseif (b <= 8.8e-254)
		tmp = t_6;
	elseif (b <= 1.85e-159)
		tmp = y2 * (((k * t_10) + (x * t_7)) + (t * ((a * y5) - (c * y4))));
	elseif (b <= 1600.0)
		tmp = t_11 + t_6;
	elseif (b <= 2e+49)
		tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * t_10)) + (z * t_2));
	elseif (b <= 8e+178)
		tmp = i * (((c * t_5) + (y5 * ((y * k) - (t * j)))) - (y1 * t_9));
	elseif (b <= 2.3e+241)
		tmp = t_3;
	elseif (b <= 6.8e+241)
		tmp = a * ((x * y) * b);
	elseif (b <= 2.5e+281)
		tmp = y0 * (((y3 * ((j * y5) - (z * c))) + (c * (x * y2))) + ((b * t_9) - (k * (y2 * y5))));
	else
		tmp = t_3;
	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[(y1 * y3), $MachinePrecision] - N[(t * b), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(a * N[(z * t$95$1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(z * N[(N[(k * t$95$2), $MachinePrecision] + N[(N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$11 = N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * t$95$10), $MachinePrecision]}, If[LessEqual[b, -6.4e+103], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$4), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$9), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -9.5e+26], N[(N[(i * k), $MachinePrecision] * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -5.8e-25], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(z * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -1.5e-55], N[(y5 * N[(N[(N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(i * t$95$4), $MachinePrecision]), $MachinePrecision] - N[(a * t$95$8), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -4e-57], N[(N[(z * a), $MachinePrecision] * t$95$1), $MachinePrecision], If[LessEqual[b, -2.95e-173], N[(t$95$11 + N[(c * N[(N[(N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * t$95$5), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$8), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 8.8e-254], t$95$6, If[LessEqual[b, 1.85e-159], N[(y2 * N[(N[(N[(k * t$95$10), $MachinePrecision] + N[(x * t$95$7), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1600.0], N[(t$95$11 + t$95$6), $MachinePrecision], If[LessEqual[b, 2e+49], N[(k * N[(N[(N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$10), $MachinePrecision]), $MachinePrecision] + N[(z * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 8e+178], N[(i * N[(N[(N[(c * t$95$5), $MachinePrecision] + N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y1 * t$95$9), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.3e+241], t$95$3, If[LessEqual[b, 6.8e+241], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.5e+281], N[(y0 * N[(N[(N[(y3 * N[(N[(j * y5), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(b * t$95$9), $MachinePrecision] - N[(k * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$3]]]]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y1 \cdot y3 - t \cdot b\\
t_2 := b \cdot y0 - i \cdot y1\\
t_3 := a \cdot \left(z \cdot t_1\right)\\
t_4 := t \cdot j - y \cdot k\\
t_5 := z \cdot t - x \cdot y\\
t_6 := z \cdot \left(k \cdot t_2 + \left(t \cdot \left(c \cdot i - a \cdot b\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\
t_7 := c \cdot y0 - a \cdot y1\\
t_8 := y \cdot y3 - t \cdot y2\\
t_9 := z \cdot k - x \cdot j\\
t_10 := y1 \cdot y4 - y0 \cdot y5\\
t_11 := \left(k \cdot y2 - j \cdot y3\right) \cdot t_10\\
\mathbf{if}\;b \leq -6.4 \cdot 10^{+103}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot t_4\right) + y0 \cdot t_9\right)\\

\mathbf{elif}\;b \leq -9.5 \cdot 10^{+26}:\\
\;\;\;\;\left(i \cdot k\right) \cdot \left(y \cdot y5 - z \cdot y1\right)\\

\mathbf{elif}\;b \leq -5.8 \cdot 10^{-25}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) - z \cdot t_7\right)\right)\\

\mathbf{elif}\;b \leq -1.5 \cdot 10^{-55}:\\
\;\;\;\;y5 \cdot \left(\left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) - i \cdot t_4\right) - a \cdot t_8\right)\\

\mathbf{elif}\;b \leq -4 \cdot 10^{-57}:\\
\;\;\;\;\left(z \cdot a\right) \cdot t_1\\

\mathbf{elif}\;b \leq -2.95 \cdot 10^{-173}:\\
\;\;\;\;t_11 + c \cdot \left(\left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right) + i \cdot t_5\right) + y4 \cdot t_8\right)\\

\mathbf{elif}\;b \leq 8.8 \cdot 10^{-254}:\\
\;\;\;\;t_6\\

\mathbf{elif}\;b \leq 1.85 \cdot 10^{-159}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot t_10 + x \cdot t_7\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\

\mathbf{elif}\;b \leq 1600:\\
\;\;\;\;t_11 + t_6\\

\mathbf{elif}\;b \leq 2 \cdot 10^{+49}:\\
\;\;\;\;k \cdot \left(\left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot t_10\right) + z \cdot t_2\right)\\

\mathbf{elif}\;b \leq 8 \cdot 10^{+178}:\\
\;\;\;\;i \cdot \left(\left(c \cdot t_5 + y5 \cdot \left(y \cdot k - t \cdot j\right)\right) - y1 \cdot t_9\right)\\

\mathbf{elif}\;b \leq 2.3 \cdot 10^{+241}:\\
\;\;\;\;t_3\\

\mathbf{elif}\;b \leq 6.8 \cdot 10^{+241}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\

\mathbf{elif}\;b \leq 2.5 \cdot 10^{+281}:\\
\;\;\;\;y0 \cdot \left(\left(y3 \cdot \left(j \cdot y5 - z \cdot c\right) + c \cdot \left(x \cdot y2\right)\right) + \left(b \cdot t_9 - k \cdot \left(y2 \cdot y5\right)\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t_3\\


\end{array}
\end{array}
Derivation
  1. Split input into 14 regimes
  2. if b < -6.39999999999999985e103

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

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

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

    if -6.39999999999999985e103 < b < -9.50000000000000054e26

    1. Initial program 10.0%

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

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in i around inf 80.6%

      \[\leadsto \color{blue}{i \cdot \left(k \cdot \left(y \cdot y5 - y1 \cdot z\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*80.6%

        \[\leadsto \color{blue}{\left(i \cdot k\right) \cdot \left(y \cdot y5 - y1 \cdot z\right)} \]
      2. *-commutative80.6%

        \[\leadsto \left(i \cdot k\right) \cdot \left(y \cdot y5 - \color{blue}{z \cdot y1}\right) \]
    5. Simplified80.6%

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

    if -9.50000000000000054e26 < b < -5.8000000000000001e-25

    1. Initial program 61.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. Taylor expanded in y3 around -inf 70.5%

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

    if -5.8000000000000001e-25 < b < -1.50000000000000008e-55

    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. Taylor expanded in y5 around -inf 70.4%

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

    if -1.50000000000000008e-55 < b < -3.99999999999999982e-57

    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. Taylor expanded in z around -inf 33.3%

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

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

        \[\leadsto \color{blue}{\left(a \cdot z\right) \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)} \]
      2. *-commutative100.0%

        \[\leadsto \color{blue}{\left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right) \cdot \left(a \cdot z\right)} \]
      3. +-commutative100.0%

        \[\leadsto \color{blue}{\left(y1 \cdot y3 + -1 \cdot \left(b \cdot t\right)\right)} \cdot \left(a \cdot z\right) \]
      4. mul-1-neg100.0%

        \[\leadsto \left(y1 \cdot y3 + \color{blue}{\left(-b \cdot t\right)}\right) \cdot \left(a \cdot z\right) \]
      5. unsub-neg100.0%

        \[\leadsto \color{blue}{\left(y1 \cdot y3 - b \cdot t\right)} \cdot \left(a \cdot z\right) \]
      6. *-commutative100.0%

        \[\leadsto \left(\color{blue}{y3 \cdot y1} - b \cdot t\right) \cdot \left(a \cdot z\right) \]
      7. *-commutative100.0%

        \[\leadsto \left(y3 \cdot y1 - \color{blue}{t \cdot b}\right) \cdot \left(a \cdot z\right) \]
      8. *-commutative100.0%

        \[\leadsto \left(y3 \cdot y1 - t \cdot b\right) \cdot \color{blue}{\left(z \cdot a\right)} \]
    5. Simplified100.0%

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

    if -3.99999999999999982e-57 < b < -2.94999999999999998e-173

    1. Initial program 50.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. Taylor expanded in c around inf 64.2%

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

        \[\leadsto c \cdot \left(\color{blue}{\left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right) + -1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right)\right)} - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      2. mul-1-neg64.2%

        \[\leadsto c \cdot \left(\left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right) + \color{blue}{\left(-i \cdot \left(x \cdot y - t \cdot z\right)\right)}\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      3. unsub-neg64.2%

        \[\leadsto c \cdot \left(\color{blue}{\left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right) - i \cdot \left(x \cdot y - t \cdot z\right)\right)} - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      4. *-commutative64.2%

        \[\leadsto c \cdot \left(\left(y0 \cdot \left(\color{blue}{y2 \cdot x} - y3 \cdot z\right) - i \cdot \left(x \cdot y - t \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      5. *-commutative64.2%

        \[\leadsto c \cdot \left(\left(y0 \cdot \left(y2 \cdot x - \color{blue}{z \cdot y3}\right) - i \cdot \left(x \cdot y - t \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      6. *-commutative64.2%

        \[\leadsto c \cdot \left(\left(y0 \cdot \left(y2 \cdot x - z \cdot y3\right) - i \cdot \left(\color{blue}{y \cdot x} - t \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      7. *-commutative64.2%

        \[\leadsto c \cdot \left(\left(y0 \cdot \left(y2 \cdot x - z \cdot y3\right) - i \cdot \left(y \cdot x - t \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - \color{blue}{y3 \cdot y}\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    4. Simplified64.2%

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

    if -2.94999999999999998e-173 < b < 8.8000000000000004e-254

    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. Taylor expanded in z around -inf 53.0%

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

      \[\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)} \]

    if 8.8000000000000004e-254 < b < 1.8499999999999999e-159

    1. Initial program 30.7%

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

      \[\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)} \]

    if 1.8499999999999999e-159 < b < 1600

    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. Taylor expanded in z around -inf 61.0%

      \[\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)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]

    if 1600 < b < 1.99999999999999989e49

    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. Taylor expanded in k around inf 68.7%

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

    if 1.99999999999999989e49 < b < 8.0000000000000004e178

    1. Initial program 21.7%

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

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

      \[\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(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)\right)} \]

    if 8.0000000000000004e178 < b < 2.2999999999999999e241 or 2.50000000000000008e281 < b

    1. Initial program 12.5%

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

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

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

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

        \[\leadsto -\color{blue}{\left(z \cdot \left(-1 \cdot \left(y1 \cdot y3\right) + b \cdot t\right)\right) \cdot a} \]
      3. distribute-rgt-neg-in75.2%

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

        \[\leadsto \left(z \cdot \color{blue}{\left(b \cdot t + -1 \cdot \left(y1 \cdot y3\right)\right)}\right) \cdot \left(-a\right) \]
      5. mul-1-neg75.2%

        \[\leadsto \left(z \cdot \left(b \cdot t + \color{blue}{\left(-y1 \cdot y3\right)}\right)\right) \cdot \left(-a\right) \]
      6. unsub-neg75.2%

        \[\leadsto \left(z \cdot \color{blue}{\left(b \cdot t - y1 \cdot y3\right)}\right) \cdot \left(-a\right) \]
      7. *-commutative75.2%

        \[\leadsto \left(z \cdot \left(\color{blue}{t \cdot b} - y1 \cdot y3\right)\right) \cdot \left(-a\right) \]
      8. *-commutative75.2%

        \[\leadsto \left(z \cdot \left(t \cdot b - \color{blue}{y3 \cdot y1}\right)\right) \cdot \left(-a\right) \]
    5. Simplified75.2%

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

    if 2.2999999999999999e241 < b < 6.79999999999999987e241

    1. Initial program 100.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. Simplified100.0%

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 100.0%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 100.0%

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

    if 6.79999999999999987e241 < b < 2.50000000000000008e281

    1. Initial program 27.1%

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

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg73.7%

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

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

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

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

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

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

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

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

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

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

      \[\leadsto y0 \cdot \color{blue}{\left(\left(-1 \cdot \left(y3 \cdot \left(c \cdot z - j \cdot y5\right)\right) + c \cdot \left(x \cdot y2\right)\right) - \left(b \cdot \left(j \cdot x - k \cdot z\right) + k \cdot \left(y2 \cdot y5\right)\right)\right)} \]
  3. Recombined 14 regimes into one program.
  4. Final simplification68.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -6.4 \cdot 10^{+103}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;b \leq -9.5 \cdot 10^{+26}:\\ \;\;\;\;\left(i \cdot k\right) \cdot \left(y \cdot y5 - z \cdot y1\right)\\ \mathbf{elif}\;b \leq -5.8 \cdot 10^{-25}:\\ \;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) - z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right)\\ \mathbf{elif}\;b \leq -1.5 \cdot 10^{-55}:\\ \;\;\;\;y5 \cdot \left(\left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) - i \cdot \left(t \cdot j - y \cdot k\right)\right) - a \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;b \leq -4 \cdot 10^{-57}:\\ \;\;\;\;\left(z \cdot a\right) \cdot \left(y1 \cdot y3 - t \cdot b\right)\\ \mathbf{elif}\;b \leq -2.95 \cdot 10^{-173}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + c \cdot \left(\left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right) + i \cdot \left(z \cdot t - x \cdot y\right)\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;b \leq 8.8 \cdot 10^{-254}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot \left(c \cdot i - a \cdot b\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ \mathbf{elif}\;b \leq 1.85 \cdot 10^{-159}:\\ \;\;\;\;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(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;b \leq 1600:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot \left(c \cdot i - a \cdot b\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ \mathbf{elif}\;b \leq 2 \cdot 10^{+49}:\\ \;\;\;\;k \cdot \left(\left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\ \mathbf{elif}\;b \leq 8 \cdot 10^{+178}:\\ \;\;\;\;i \cdot \left(\left(c \cdot \left(z \cdot t - x \cdot y\right) + y5 \cdot \left(y \cdot k - t \cdot j\right)\right) - y1 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;b \leq 2.3 \cdot 10^{+241}:\\ \;\;\;\;a \cdot \left(z \cdot \left(y1 \cdot y3 - t \cdot b\right)\right)\\ \mathbf{elif}\;b \leq 6.8 \cdot 10^{+241}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\ \mathbf{elif}\;b \leq 2.5 \cdot 10^{+281}:\\ \;\;\;\;y0 \cdot \left(\left(y3 \cdot \left(j \cdot y5 - z \cdot c\right) + c \cdot \left(x \cdot y2\right)\right) + \left(b \cdot \left(z \cdot k - x \cdot j\right) - k \cdot \left(y2 \cdot y5\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(z \cdot \left(y1 \cdot y3 - t \cdot b\right)\right)\\ \end{array} \]

Alternative 2: 54.0% accurate, 0.2× speedup?

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

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

    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. Taylor expanded in k around inf 35.2%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Step-by-step derivation
      1. associate--l+35.2%

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

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

        \[\leadsto k \cdot \left(\left(-\color{blue}{\left(b \cdot y4 - i \cdot y5\right) \cdot y}\right) + \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right) \]
      4. distribute-rgt-neg-in35.2%

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

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

        \[\leadsto k \cdot \left(\left(b \cdot y4 - i \cdot y5\right) \cdot \left(-y\right) + \mathsf{fma}\left(y2, \color{blue}{\mathsf{fma}\left(y1, y4, -y0 \cdot y5\right)}, --1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)\right) \]
      7. distribute-rgt-neg-in37.6%

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

        \[\leadsto k \cdot \left(\left(b \cdot y4 - i \cdot y5\right) \cdot \left(-y\right) + \mathsf{fma}\left(y2, \mathsf{fma}\left(y1, y4, y0 \cdot \left(-y5\right)\right), -\color{blue}{\left(-z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)}\right)\right) \]
      9. remove-double-neg37.6%

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

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

        \[\leadsto k \cdot \left(\left(b \cdot y4 - i \cdot y5\right) \cdot \left(-y\right) + \mathsf{fma}\left(y2, \mathsf{fma}\left(y1, y4, y0 \cdot \left(-y5\right)\right), z \cdot \mathsf{fma}\left(b, y0, -\color{blue}{y1 \cdot i}\right)\right)\right) \]
      12. distribute-rgt-neg-in37.6%

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

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

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

Alternative 3: 52.7% accurate, 0.5× speedup?

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

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

\mathbf{else}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot t_2 + x \cdot t_3\right) + t \cdot t_1\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 85.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) \]

    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. Taylor expanded in y2 around inf 36.4%

      \[\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)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification53.2%

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

Alternative 4: 39.8% accurate, 1.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot y2 - j \cdot y3\\ t_2 := y1 \cdot y4 - y0 \cdot y5\\ t_3 := b \cdot y0 - i \cdot y1\\ t_4 := k \cdot \left(\left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot t_2\right) + z \cdot t_3\right)\\ t_5 := x \cdot y2 - z \cdot y3\\ t_6 := z \cdot k - x \cdot j\\ t_7 := z \cdot t - x \cdot y\\ t_8 := z \cdot \left(k \cdot t_3 + \left(t \cdot \left(c \cdot i - a \cdot b\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ t_9 := t_1 \cdot t_2\\ \mathbf{if}\;y2 \leq -5.4 \cdot 10^{+185}:\\ \;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4 - z \cdot i\right)\right)\\ \mathbf{elif}\;y2 \leq -5.2 \cdot 10^{+86}:\\ \;\;\;\;t_8\\ \mathbf{elif}\;y2 \leq -8 \cdot 10^{-43}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y2 \leq -2.1 \cdot 10^{-131}:\\ \;\;\;\;t_8\\ \mathbf{elif}\;y2 \leq -2.35 \cdot 10^{-156}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y2 \leq -1.4 \cdot 10^{-211}:\\ \;\;\;\;t_9 + c \cdot \left(\left(y0 \cdot t_5 + i \cdot t_7\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y2 \leq -2.65 \cdot 10^{-235}:\\ \;\;\;\;y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) + \left(y4 \cdot t_1 + a \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\right)\\ \mathbf{elif}\;y2 \leq -2.02 \cdot 10^{-287}:\\ \;\;\;\;t_9 + y0 \cdot \left(c \cdot t_5 + b \cdot t_6\right)\\ \mathbf{elif}\;y2 \leq 9 \cdot 10^{-220}:\\ \;\;\;\;i \cdot \left(\left(c \cdot t_7 + y5 \cdot \left(y \cdot k - t \cdot j\right)\right) - y1 \cdot t_6\right)\\ \mathbf{elif}\;y2 \leq 8 \cdot 10^{-169}:\\ \;\;\;\;t_8\\ \mathbf{elif}\;y2 \leq 1.24 \cdot 10^{+38}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot t_6\right)\\ \mathbf{else}:\\ \;\;\;\;y2 \cdot \left(\left(k \cdot t_2 + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + 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 (- (* k y2) (* j y3)))
        (t_2 (- (* y1 y4) (* y0 y5)))
        (t_3 (- (* b y0) (* i y1)))
        (t_4 (* k (+ (+ (* y (- (* i y5) (* b y4))) (* y2 t_2)) (* z t_3))))
        (t_5 (- (* x y2) (* z y3)))
        (t_6 (- (* z k) (* x j)))
        (t_7 (- (* z t) (* x y)))
        (t_8
         (*
          z
          (+
           (* k t_3)
           (+ (* t (- (* c i) (* a b))) (* y3 (- (* a y1) (* c y0)))))))
        (t_9 (* t_1 t_2)))
   (if (<= y2 -5.4e+185)
     (* k (* y1 (- (* y2 y4) (* z i))))
     (if (<= y2 -5.2e+86)
       t_8
       (if (<= y2 -8e-43)
         t_4
         (if (<= y2 -2.1e-131)
           t_8
           (if (<= y2 -2.35e-156)
             t_4
             (if (<= y2 -1.4e-211)
               (+
                t_9
                (*
                 c
                 (+ (+ (* y0 t_5) (* i t_7)) (* y4 (- (* y y3) (* t y2))))))
               (if (<= y2 -2.65e-235)
                 (*
                  y1
                  (+
                   (* i (- (* x j) (* z k)))
                   (+ (* y4 t_1) (* a (- (* z y3) (* x y2))))))
                 (if (<= y2 -2.02e-287)
                   (+ t_9 (* y0 (+ (* c t_5) (* b t_6))))
                   (if (<= y2 9e-220)
                     (*
                      i
                      (- (+ (* c t_7) (* y5 (- (* y k) (* t j)))) (* y1 t_6)))
                     (if (<= y2 8e-169)
                       t_8
                       (if (<= y2 1.24e+38)
                         (*
                          b
                          (+
                           (+
                            (* a (- (* x y) (* z t)))
                            (* y4 (- (* t j) (* y k))))
                           (* y0 t_6)))
                         (*
                          y2
                          (+
                           (+ (* k t_2) (* x (- (* c y0) (* a y1))))
                           (* 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 = (k * y2) - (j * y3);
	double t_2 = (y1 * y4) - (y0 * y5);
	double t_3 = (b * y0) - (i * y1);
	double t_4 = k * (((y * ((i * y5) - (b * y4))) + (y2 * t_2)) + (z * t_3));
	double t_5 = (x * y2) - (z * y3);
	double t_6 = (z * k) - (x * j);
	double t_7 = (z * t) - (x * y);
	double t_8 = z * ((k * t_3) + ((t * ((c * i) - (a * b))) + (y3 * ((a * y1) - (c * y0)))));
	double t_9 = t_1 * t_2;
	double tmp;
	if (y2 <= -5.4e+185) {
		tmp = k * (y1 * ((y2 * y4) - (z * i)));
	} else if (y2 <= -5.2e+86) {
		tmp = t_8;
	} else if (y2 <= -8e-43) {
		tmp = t_4;
	} else if (y2 <= -2.1e-131) {
		tmp = t_8;
	} else if (y2 <= -2.35e-156) {
		tmp = t_4;
	} else if (y2 <= -1.4e-211) {
		tmp = t_9 + (c * (((y0 * t_5) + (i * t_7)) + (y4 * ((y * y3) - (t * y2)))));
	} else if (y2 <= -2.65e-235) {
		tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_1) + (a * ((z * y3) - (x * y2)))));
	} else if (y2 <= -2.02e-287) {
		tmp = t_9 + (y0 * ((c * t_5) + (b * t_6)));
	} else if (y2 <= 9e-220) {
		tmp = i * (((c * t_7) + (y5 * ((y * k) - (t * j)))) - (y1 * t_6));
	} else if (y2 <= 8e-169) {
		tmp = t_8;
	} else if (y2 <= 1.24e+38) {
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_6));
	} else {
		tmp = y2 * (((k * t_2) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (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) :: t_1
    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 = (k * y2) - (j * y3)
    t_2 = (y1 * y4) - (y0 * y5)
    t_3 = (b * y0) - (i * y1)
    t_4 = k * (((y * ((i * y5) - (b * y4))) + (y2 * t_2)) + (z * t_3))
    t_5 = (x * y2) - (z * y3)
    t_6 = (z * k) - (x * j)
    t_7 = (z * t) - (x * y)
    t_8 = z * ((k * t_3) + ((t * ((c * i) - (a * b))) + (y3 * ((a * y1) - (c * y0)))))
    t_9 = t_1 * t_2
    if (y2 <= (-5.4d+185)) then
        tmp = k * (y1 * ((y2 * y4) - (z * i)))
    else if (y2 <= (-5.2d+86)) then
        tmp = t_8
    else if (y2 <= (-8d-43)) then
        tmp = t_4
    else if (y2 <= (-2.1d-131)) then
        tmp = t_8
    else if (y2 <= (-2.35d-156)) then
        tmp = t_4
    else if (y2 <= (-1.4d-211)) then
        tmp = t_9 + (c * (((y0 * t_5) + (i * t_7)) + (y4 * ((y * y3) - (t * y2)))))
    else if (y2 <= (-2.65d-235)) then
        tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_1) + (a * ((z * y3) - (x * y2)))))
    else if (y2 <= (-2.02d-287)) then
        tmp = t_9 + (y0 * ((c * t_5) + (b * t_6)))
    else if (y2 <= 9d-220) then
        tmp = i * (((c * t_7) + (y5 * ((y * k) - (t * j)))) - (y1 * t_6))
    else if (y2 <= 8d-169) then
        tmp = t_8
    else if (y2 <= 1.24d+38) then
        tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_6))
    else
        tmp = y2 * (((k * t_2) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (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 t_1 = (k * y2) - (j * y3);
	double t_2 = (y1 * y4) - (y0 * y5);
	double t_3 = (b * y0) - (i * y1);
	double t_4 = k * (((y * ((i * y5) - (b * y4))) + (y2 * t_2)) + (z * t_3));
	double t_5 = (x * y2) - (z * y3);
	double t_6 = (z * k) - (x * j);
	double t_7 = (z * t) - (x * y);
	double t_8 = z * ((k * t_3) + ((t * ((c * i) - (a * b))) + (y3 * ((a * y1) - (c * y0)))));
	double t_9 = t_1 * t_2;
	double tmp;
	if (y2 <= -5.4e+185) {
		tmp = k * (y1 * ((y2 * y4) - (z * i)));
	} else if (y2 <= -5.2e+86) {
		tmp = t_8;
	} else if (y2 <= -8e-43) {
		tmp = t_4;
	} else if (y2 <= -2.1e-131) {
		tmp = t_8;
	} else if (y2 <= -2.35e-156) {
		tmp = t_4;
	} else if (y2 <= -1.4e-211) {
		tmp = t_9 + (c * (((y0 * t_5) + (i * t_7)) + (y4 * ((y * y3) - (t * y2)))));
	} else if (y2 <= -2.65e-235) {
		tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_1) + (a * ((z * y3) - (x * y2)))));
	} else if (y2 <= -2.02e-287) {
		tmp = t_9 + (y0 * ((c * t_5) + (b * t_6)));
	} else if (y2 <= 9e-220) {
		tmp = i * (((c * t_7) + (y5 * ((y * k) - (t * j)))) - (y1 * t_6));
	} else if (y2 <= 8e-169) {
		tmp = t_8;
	} else if (y2 <= 1.24e+38) {
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_6));
	} else {
		tmp = y2 * (((k * t_2) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (k * y2) - (j * y3)
	t_2 = (y1 * y4) - (y0 * y5)
	t_3 = (b * y0) - (i * y1)
	t_4 = k * (((y * ((i * y5) - (b * y4))) + (y2 * t_2)) + (z * t_3))
	t_5 = (x * y2) - (z * y3)
	t_6 = (z * k) - (x * j)
	t_7 = (z * t) - (x * y)
	t_8 = z * ((k * t_3) + ((t * ((c * i) - (a * b))) + (y3 * ((a * y1) - (c * y0)))))
	t_9 = t_1 * t_2
	tmp = 0
	if y2 <= -5.4e+185:
		tmp = k * (y1 * ((y2 * y4) - (z * i)))
	elif y2 <= -5.2e+86:
		tmp = t_8
	elif y2 <= -8e-43:
		tmp = t_4
	elif y2 <= -2.1e-131:
		tmp = t_8
	elif y2 <= -2.35e-156:
		tmp = t_4
	elif y2 <= -1.4e-211:
		tmp = t_9 + (c * (((y0 * t_5) + (i * t_7)) + (y4 * ((y * y3) - (t * y2)))))
	elif y2 <= -2.65e-235:
		tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_1) + (a * ((z * y3) - (x * y2)))))
	elif y2 <= -2.02e-287:
		tmp = t_9 + (y0 * ((c * t_5) + (b * t_6)))
	elif y2 <= 9e-220:
		tmp = i * (((c * t_7) + (y5 * ((y * k) - (t * j)))) - (y1 * t_6))
	elif y2 <= 8e-169:
		tmp = t_8
	elif y2 <= 1.24e+38:
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_6))
	else:
		tmp = y2 * (((k * t_2) + (x * ((c * y0) - (a * y1)))) + (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(Float64(k * y2) - Float64(j * y3))
	t_2 = Float64(Float64(y1 * y4) - Float64(y0 * y5))
	t_3 = Float64(Float64(b * y0) - Float64(i * y1))
	t_4 = Float64(k * Float64(Float64(Float64(y * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(y2 * t_2)) + Float64(z * t_3)))
	t_5 = Float64(Float64(x * y2) - Float64(z * y3))
	t_6 = Float64(Float64(z * k) - Float64(x * j))
	t_7 = Float64(Float64(z * t) - Float64(x * y))
	t_8 = Float64(z * Float64(Float64(k * t_3) + Float64(Float64(t * Float64(Float64(c * i) - Float64(a * b))) + Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))))))
	t_9 = Float64(t_1 * t_2)
	tmp = 0.0
	if (y2 <= -5.4e+185)
		tmp = Float64(k * Float64(y1 * Float64(Float64(y2 * y4) - Float64(z * i))));
	elseif (y2 <= -5.2e+86)
		tmp = t_8;
	elseif (y2 <= -8e-43)
		tmp = t_4;
	elseif (y2 <= -2.1e-131)
		tmp = t_8;
	elseif (y2 <= -2.35e-156)
		tmp = t_4;
	elseif (y2 <= -1.4e-211)
		tmp = Float64(t_9 + Float64(c * Float64(Float64(Float64(y0 * t_5) + Float64(i * t_7)) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))))));
	elseif (y2 <= -2.65e-235)
		tmp = Float64(y1 * Float64(Float64(i * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y4 * t_1) + Float64(a * Float64(Float64(z * y3) - Float64(x * y2))))));
	elseif (y2 <= -2.02e-287)
		tmp = Float64(t_9 + Float64(y0 * Float64(Float64(c * t_5) + Float64(b * t_6))));
	elseif (y2 <= 9e-220)
		tmp = Float64(i * Float64(Float64(Float64(c * t_7) + Float64(y5 * Float64(Float64(y * k) - Float64(t * j)))) - Float64(y1 * t_6)));
	elseif (y2 <= 8e-169)
		tmp = t_8;
	elseif (y2 <= 1.24e+38)
		tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * t_6)));
	else
		tmp = Float64(y2 * Float64(Float64(Float64(k * t_2) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * 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)
	t_1 = (k * y2) - (j * y3);
	t_2 = (y1 * y4) - (y0 * y5);
	t_3 = (b * y0) - (i * y1);
	t_4 = k * (((y * ((i * y5) - (b * y4))) + (y2 * t_2)) + (z * t_3));
	t_5 = (x * y2) - (z * y3);
	t_6 = (z * k) - (x * j);
	t_7 = (z * t) - (x * y);
	t_8 = z * ((k * t_3) + ((t * ((c * i) - (a * b))) + (y3 * ((a * y1) - (c * y0)))));
	t_9 = t_1 * t_2;
	tmp = 0.0;
	if (y2 <= -5.4e+185)
		tmp = k * (y1 * ((y2 * y4) - (z * i)));
	elseif (y2 <= -5.2e+86)
		tmp = t_8;
	elseif (y2 <= -8e-43)
		tmp = t_4;
	elseif (y2 <= -2.1e-131)
		tmp = t_8;
	elseif (y2 <= -2.35e-156)
		tmp = t_4;
	elseif (y2 <= -1.4e-211)
		tmp = t_9 + (c * (((y0 * t_5) + (i * t_7)) + (y4 * ((y * y3) - (t * y2)))));
	elseif (y2 <= -2.65e-235)
		tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_1) + (a * ((z * y3) - (x * y2)))));
	elseif (y2 <= -2.02e-287)
		tmp = t_9 + (y0 * ((c * t_5) + (b * t_6)));
	elseif (y2 <= 9e-220)
		tmp = i * (((c * t_7) + (y5 * ((y * k) - (t * j)))) - (y1 * t_6));
	elseif (y2 <= 8e-169)
		tmp = t_8;
	elseif (y2 <= 1.24e+38)
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_6));
	else
		tmp = y2 * (((k * t_2) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	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[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(k * N[(N[(N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(z * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(z * N[(N[(k * t$95$3), $MachinePrecision] + N[(N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(t$95$1 * t$95$2), $MachinePrecision]}, If[LessEqual[y2, -5.4e+185], N[(k * N[(y1 * N[(N[(y2 * y4), $MachinePrecision] - N[(z * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -5.2e+86], t$95$8, If[LessEqual[y2, -8e-43], t$95$4, If[LessEqual[y2, -2.1e-131], t$95$8, If[LessEqual[y2, -2.35e-156], t$95$4, If[LessEqual[y2, -1.4e-211], N[(t$95$9 + N[(c * N[(N[(N[(y0 * t$95$5), $MachinePrecision] + N[(i * t$95$7), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2.65e-235], N[(y1 * N[(N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y4 * t$95$1), $MachinePrecision] + N[(a * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2.02e-287], N[(t$95$9 + N[(y0 * N[(N[(c * t$95$5), $MachinePrecision] + N[(b * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 9e-220], N[(i * N[(N[(N[(c * t$95$7), $MachinePrecision] + N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y1 * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 8e-169], t$95$8, If[LessEqual[y2, 1.24e+38], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y2 * N[(N[(N[(k * t$95$2), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := k \cdot y2 - j \cdot y3\\
t_2 := y1 \cdot y4 - y0 \cdot y5\\
t_3 := b \cdot y0 - i \cdot y1\\
t_4 := k \cdot \left(\left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot t_2\right) + z \cdot t_3\right)\\
t_5 := x \cdot y2 - z \cdot y3\\
t_6 := z \cdot k - x \cdot j\\
t_7 := z \cdot t - x \cdot y\\
t_8 := z \cdot \left(k \cdot t_3 + \left(t \cdot \left(c \cdot i - a \cdot b\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\
t_9 := t_1 \cdot t_2\\
\mathbf{if}\;y2 \leq -5.4 \cdot 10^{+185}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4 - z \cdot i\right)\right)\\

\mathbf{elif}\;y2 \leq -5.2 \cdot 10^{+86}:\\
\;\;\;\;t_8\\

\mathbf{elif}\;y2 \leq -8 \cdot 10^{-43}:\\
\;\;\;\;t_4\\

\mathbf{elif}\;y2 \leq -2.1 \cdot 10^{-131}:\\
\;\;\;\;t_8\\

\mathbf{elif}\;y2 \leq -2.35 \cdot 10^{-156}:\\
\;\;\;\;t_4\\

\mathbf{elif}\;y2 \leq -1.4 \cdot 10^{-211}:\\
\;\;\;\;t_9 + c \cdot \left(\left(y0 \cdot t_5 + i \cdot t_7\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\

\mathbf{elif}\;y2 \leq -2.65 \cdot 10^{-235}:\\
\;\;\;\;y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) + \left(y4 \cdot t_1 + a \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\right)\\

\mathbf{elif}\;y2 \leq -2.02 \cdot 10^{-287}:\\
\;\;\;\;t_9 + y0 \cdot \left(c \cdot t_5 + b \cdot t_6\right)\\

\mathbf{elif}\;y2 \leq 9 \cdot 10^{-220}:\\
\;\;\;\;i \cdot \left(\left(c \cdot t_7 + y5 \cdot \left(y \cdot k - t \cdot j\right)\right) - y1 \cdot t_6\right)\\

\mathbf{elif}\;y2 \leq 8 \cdot 10^{-169}:\\
\;\;\;\;t_8\\

\mathbf{elif}\;y2 \leq 1.24 \cdot 10^{+38}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot t_6\right)\\

\mathbf{else}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot t_2 + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 9 regimes
  2. if y2 < -5.40000000000000013e185

    1. Initial program 12.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. Taylor expanded in k around inf 33.5%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in y1 around inf 59.1%

      \[\leadsto \color{blue}{k \cdot \left(y1 \cdot \left(y2 \cdot y4 - i \cdot z\right)\right)} \]

    if -5.40000000000000013e185 < y2 < -5.1999999999999995e86 or -8.00000000000000062e-43 < y2 < -2.09999999999999997e-131 or 8.99999999999999934e-220 < y2 < 8.00000000000000016e-169

    1. Initial program 28.7%

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

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

      \[\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)} \]

    if -5.1999999999999995e86 < y2 < -8.00000000000000062e-43 or -2.09999999999999997e-131 < y2 < -2.35000000000000023e-156

    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. Taylor expanded in k around inf 66.6%

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

    if -2.35000000000000023e-156 < y2 < -1.3999999999999999e-211

    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. Taylor expanded in c around inf 77.8%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Step-by-step derivation
      1. +-commutative77.8%

        \[\leadsto c \cdot \left(\color{blue}{\left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right) + -1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right)\right)} - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      2. mul-1-neg77.8%

        \[\leadsto c \cdot \left(\left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right) + \color{blue}{\left(-i \cdot \left(x \cdot y - t \cdot z\right)\right)}\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      3. unsub-neg77.8%

        \[\leadsto c \cdot \left(\color{blue}{\left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right) - i \cdot \left(x \cdot y - t \cdot z\right)\right)} - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      4. *-commutative77.8%

        \[\leadsto c \cdot \left(\left(y0 \cdot \left(\color{blue}{y2 \cdot x} - y3 \cdot z\right) - i \cdot \left(x \cdot y - t \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      5. *-commutative77.8%

        \[\leadsto c \cdot \left(\left(y0 \cdot \left(y2 \cdot x - \color{blue}{z \cdot y3}\right) - i \cdot \left(x \cdot y - t \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      6. *-commutative77.8%

        \[\leadsto c \cdot \left(\left(y0 \cdot \left(y2 \cdot x - z \cdot y3\right) - i \cdot \left(\color{blue}{y \cdot x} - t \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      7. *-commutative77.8%

        \[\leadsto c \cdot \left(\left(y0 \cdot \left(y2 \cdot x - z \cdot y3\right) - i \cdot \left(y \cdot x - t \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - \color{blue}{y3 \cdot y}\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    4. Simplified77.8%

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

    if -1.3999999999999999e-211 < y2 < -2.6500000000000001e-235

    1. Initial program 40.7%

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

      \[\leadsto \color{blue}{-1 \cdot \left(y1 \cdot \left(\left(-1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
    3. Step-by-step derivation
      1. mul-1-neg80.0%

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

        \[\leadsto -\color{blue}{\left(\left(-1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - i \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot y1} \]
      3. distribute-rgt-neg-in80.0%

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

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

    if -2.6500000000000001e-235 < y2 < -2.02e-287

    1. Initial program 42.3%

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

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

    if -2.02e-287 < y2 < 8.99999999999999934e-220

    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. Simplified30.2%

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

      \[\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(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)\right)} \]

    if 8.00000000000000016e-169 < y2 < 1.2400000000000001e38

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

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

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

    if 1.2400000000000001e38 < y2

    1. Initial program 29.6%

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

      \[\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)} \]
  3. Recombined 9 regimes into one program.
  4. Final simplification62.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -5.4 \cdot 10^{+185}:\\ \;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4 - z \cdot i\right)\right)\\ \mathbf{elif}\;y2 \leq -5.2 \cdot 10^{+86}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot \left(c \cdot i - a \cdot b\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ \mathbf{elif}\;y2 \leq -8 \cdot 10^{-43}:\\ \;\;\;\;k \cdot \left(\left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\ \mathbf{elif}\;y2 \leq -2.1 \cdot 10^{-131}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot \left(c \cdot i - a \cdot b\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ \mathbf{elif}\;y2 \leq -2.35 \cdot 10^{-156}:\\ \;\;\;\;k \cdot \left(\left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\ \mathbf{elif}\;y2 \leq -1.4 \cdot 10^{-211}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + c \cdot \left(\left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right) + i \cdot \left(z \cdot t - x \cdot y\right)\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y2 \leq -2.65 \cdot 10^{-235}:\\ \;\;\;\;y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) + \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right) + a \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\right)\\ \mathbf{elif}\;y2 \leq -2.02 \cdot 10^{-287}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + y0 \cdot \left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y2 \leq 9 \cdot 10^{-220}:\\ \;\;\;\;i \cdot \left(\left(c \cdot \left(z \cdot t - x \cdot y\right) + y5 \cdot \left(y \cdot k - t \cdot j\right)\right) - y1 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y2 \leq 8 \cdot 10^{-169}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot \left(c \cdot i - a \cdot b\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ \mathbf{elif}\;y2 \leq 1.24 \cdot 10^{+38}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;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(a \cdot y5 - c \cdot y4\right)\right)\\ \end{array} \]

Alternative 5: 36.9% accurate, 1.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\ t_2 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ t_3 := z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\ t_4 := y0 \cdot \left(\left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\ t_5 := k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\ t_6 := a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{if}\;z \leq -4.4 \cdot 10^{+168}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq -1.25 \cdot 10^{+17}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq -4.6 \cdot 10^{-73}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -7 \cdot 10^{-124}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq -5.2 \cdot 10^{-169}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;z \leq -1.02 \cdot 10^{-228}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -6.2 \cdot 10^{-271}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;z \leq -6 \cdot 10^{-285}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;z \leq 9.5 \cdot 10^{-225}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 10^{-152}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 9.2 \cdot 10^{-94}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;z \leq 3.2 \cdot 10^{+144}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* y1 (* y4 (- (* k y2) (* j y3)))))
        (t_2 (* b (* x (- (* y a) (* j y0)))))
        (t_3 (* z (+ (* k (- (* b y0) (* i y1))) (* t (- (* c i) (* a b))))))
        (t_4
         (*
          y0
          (+
           (+ (* c (- (* x y2) (* z y3))) (* y5 (- (* j y3) (* k y2))))
           (* b (- (* z k) (* x j))))))
        (t_5 (* k (* y4 (- (* y1 y2) (* y b)))))
        (t_6 (* a (* x (- (* y b) (* y1 y2))))))
   (if (<= z -4.4e+168)
     t_3
     (if (<= z -1.25e+17)
       t_4
       (if (<= z -4.6e-73)
         t_1
         (if (<= z -7e-124)
           t_3
           (if (<= z -5.2e-169)
             t_5
             (if (<= z -1.02e-228)
               t_2
               (if (<= z -6.2e-271)
                 t_6
                 (if (<= z -6e-285)
                   t_5
                   (if (<= z 9.5e-225)
                     t_2
                     (if (<= z 1e-152)
                       t_1
                       (if (<= z 9.2e-94)
                         t_6
                         (if (<= z 3.2e+144) t_4 t_3))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = y1 * (y4 * ((k * y2) - (j * y3)));
	double t_2 = b * (x * ((y * a) - (j * y0)));
	double t_3 = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))));
	double t_4 = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))));
	double t_5 = k * (y4 * ((y1 * y2) - (y * b)));
	double t_6 = a * (x * ((y * b) - (y1 * y2)));
	double tmp;
	if (z <= -4.4e+168) {
		tmp = t_3;
	} else if (z <= -1.25e+17) {
		tmp = t_4;
	} else if (z <= -4.6e-73) {
		tmp = t_1;
	} else if (z <= -7e-124) {
		tmp = t_3;
	} else if (z <= -5.2e-169) {
		tmp = t_5;
	} else if (z <= -1.02e-228) {
		tmp = t_2;
	} else if (z <= -6.2e-271) {
		tmp = t_6;
	} else if (z <= -6e-285) {
		tmp = t_5;
	} else if (z <= 9.5e-225) {
		tmp = t_2;
	} else if (z <= 1e-152) {
		tmp = t_1;
	} else if (z <= 9.2e-94) {
		tmp = t_6;
	} else if (z <= 3.2e+144) {
		tmp = t_4;
	} else {
		tmp = t_3;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: t_5
    real(8) :: t_6
    real(8) :: tmp
    t_1 = y1 * (y4 * ((k * y2) - (j * y3)))
    t_2 = b * (x * ((y * a) - (j * y0)))
    t_3 = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))))
    t_4 = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))))
    t_5 = k * (y4 * ((y1 * y2) - (y * b)))
    t_6 = a * (x * ((y * b) - (y1 * y2)))
    if (z <= (-4.4d+168)) then
        tmp = t_3
    else if (z <= (-1.25d+17)) then
        tmp = t_4
    else if (z <= (-4.6d-73)) then
        tmp = t_1
    else if (z <= (-7d-124)) then
        tmp = t_3
    else if (z <= (-5.2d-169)) then
        tmp = t_5
    else if (z <= (-1.02d-228)) then
        tmp = t_2
    else if (z <= (-6.2d-271)) then
        tmp = t_6
    else if (z <= (-6d-285)) then
        tmp = t_5
    else if (z <= 9.5d-225) then
        tmp = t_2
    else if (z <= 1d-152) then
        tmp = t_1
    else if (z <= 9.2d-94) then
        tmp = t_6
    else if (z <= 3.2d+144) then
        tmp = t_4
    else
        tmp = t_3
    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 = y1 * (y4 * ((k * y2) - (j * y3)));
	double t_2 = b * (x * ((y * a) - (j * y0)));
	double t_3 = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))));
	double t_4 = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))));
	double t_5 = k * (y4 * ((y1 * y2) - (y * b)));
	double t_6 = a * (x * ((y * b) - (y1 * y2)));
	double tmp;
	if (z <= -4.4e+168) {
		tmp = t_3;
	} else if (z <= -1.25e+17) {
		tmp = t_4;
	} else if (z <= -4.6e-73) {
		tmp = t_1;
	} else if (z <= -7e-124) {
		tmp = t_3;
	} else if (z <= -5.2e-169) {
		tmp = t_5;
	} else if (z <= -1.02e-228) {
		tmp = t_2;
	} else if (z <= -6.2e-271) {
		tmp = t_6;
	} else if (z <= -6e-285) {
		tmp = t_5;
	} else if (z <= 9.5e-225) {
		tmp = t_2;
	} else if (z <= 1e-152) {
		tmp = t_1;
	} else if (z <= 9.2e-94) {
		tmp = t_6;
	} else if (z <= 3.2e+144) {
		tmp = t_4;
	} else {
		tmp = t_3;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = y1 * (y4 * ((k * y2) - (j * y3)))
	t_2 = b * (x * ((y * a) - (j * y0)))
	t_3 = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))))
	t_4 = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))))
	t_5 = k * (y4 * ((y1 * y2) - (y * b)))
	t_6 = a * (x * ((y * b) - (y1 * y2)))
	tmp = 0
	if z <= -4.4e+168:
		tmp = t_3
	elif z <= -1.25e+17:
		tmp = t_4
	elif z <= -4.6e-73:
		tmp = t_1
	elif z <= -7e-124:
		tmp = t_3
	elif z <= -5.2e-169:
		tmp = t_5
	elif z <= -1.02e-228:
		tmp = t_2
	elif z <= -6.2e-271:
		tmp = t_6
	elif z <= -6e-285:
		tmp = t_5
	elif z <= 9.5e-225:
		tmp = t_2
	elif z <= 1e-152:
		tmp = t_1
	elif z <= 9.2e-94:
		tmp = t_6
	elif z <= 3.2e+144:
		tmp = t_4
	else:
		tmp = t_3
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3))))
	t_2 = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0))))
	t_3 = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(t * Float64(Float64(c * i) - Float64(a * b)))))
	t_4 = Float64(y0 * Float64(Float64(Float64(c * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))) + Float64(b * Float64(Float64(z * k) - Float64(x * j)))))
	t_5 = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b))))
	t_6 = Float64(a * Float64(x * Float64(Float64(y * b) - Float64(y1 * y2))))
	tmp = 0.0
	if (z <= -4.4e+168)
		tmp = t_3;
	elseif (z <= -1.25e+17)
		tmp = t_4;
	elseif (z <= -4.6e-73)
		tmp = t_1;
	elseif (z <= -7e-124)
		tmp = t_3;
	elseif (z <= -5.2e-169)
		tmp = t_5;
	elseif (z <= -1.02e-228)
		tmp = t_2;
	elseif (z <= -6.2e-271)
		tmp = t_6;
	elseif (z <= -6e-285)
		tmp = t_5;
	elseif (z <= 9.5e-225)
		tmp = t_2;
	elseif (z <= 1e-152)
		tmp = t_1;
	elseif (z <= 9.2e-94)
		tmp = t_6;
	elseif (z <= 3.2e+144)
		tmp = t_4;
	else
		tmp = t_3;
	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 = y1 * (y4 * ((k * y2) - (j * y3)));
	t_2 = b * (x * ((y * a) - (j * y0)));
	t_3 = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))));
	t_4 = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))));
	t_5 = k * (y4 * ((y1 * y2) - (y * b)));
	t_6 = a * (x * ((y * b) - (y1 * y2)));
	tmp = 0.0;
	if (z <= -4.4e+168)
		tmp = t_3;
	elseif (z <= -1.25e+17)
		tmp = t_4;
	elseif (z <= -4.6e-73)
		tmp = t_1;
	elseif (z <= -7e-124)
		tmp = t_3;
	elseif (z <= -5.2e-169)
		tmp = t_5;
	elseif (z <= -1.02e-228)
		tmp = t_2;
	elseif (z <= -6.2e-271)
		tmp = t_6;
	elseif (z <= -6e-285)
		tmp = t_5;
	elseif (z <= 9.5e-225)
		tmp = t_2;
	elseif (z <= 1e-152)
		tmp = t_1;
	elseif (z <= 9.2e-94)
		tmp = t_6;
	elseif (z <= 3.2e+144)
		tmp = t_4;
	else
		tmp = t_3;
	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[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y0 * N[(N[(N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -4.4e+168], t$95$3, If[LessEqual[z, -1.25e+17], t$95$4, If[LessEqual[z, -4.6e-73], t$95$1, If[LessEqual[z, -7e-124], t$95$3, If[LessEqual[z, -5.2e-169], t$95$5, If[LessEqual[z, -1.02e-228], t$95$2, If[LessEqual[z, -6.2e-271], t$95$6, If[LessEqual[z, -6e-285], t$95$5, If[LessEqual[z, 9.5e-225], t$95$2, If[LessEqual[z, 1e-152], t$95$1, If[LessEqual[z, 9.2e-94], t$95$6, If[LessEqual[z, 3.2e+144], t$95$4, t$95$3]]]]]]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
t_2 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
t_3 := z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\
t_4 := y0 \cdot \left(\left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_5 := k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\
t_6 := a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\
\mathbf{if}\;z \leq -4.4 \cdot 10^{+168}:\\
\;\;\;\;t_3\\

\mathbf{elif}\;z \leq -1.25 \cdot 10^{+17}:\\
\;\;\;\;t_4\\

\mathbf{elif}\;z \leq -4.6 \cdot 10^{-73}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;z \leq -7 \cdot 10^{-124}:\\
\;\;\;\;t_3\\

\mathbf{elif}\;z \leq -5.2 \cdot 10^{-169}:\\
\;\;\;\;t_5\\

\mathbf{elif}\;z \leq -1.02 \cdot 10^{-228}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;z \leq -6.2 \cdot 10^{-271}:\\
\;\;\;\;t_6\\

\mathbf{elif}\;z \leq -6 \cdot 10^{-285}:\\
\;\;\;\;t_5\\

\mathbf{elif}\;z \leq 9.5 \cdot 10^{-225}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;z \leq 10^{-152}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;z \leq 9.2 \cdot 10^{-94}:\\
\;\;\;\;t_6\\

\mathbf{elif}\;z \leq 3.2 \cdot 10^{+144}:\\
\;\;\;\;t_4\\

\mathbf{else}:\\
\;\;\;\;t_3\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if z < -4.4000000000000004e168 or -4.59999999999999977e-73 < z < -6.9999999999999997e-124 or 3.2000000000000001e144 < z

    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. Taylor expanded in z around -inf 53.0%

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

      \[\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. Taylor expanded in y3 around 0 59.5%

      \[\leadsto -1 \cdot \color{blue}{\left(z \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    5. Step-by-step derivation
      1. *-commutative59.5%

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

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

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

    if -4.4000000000000004e168 < z < -1.25e17 or 9.1999999999999997e-94 < z < 3.2000000000000001e144

    1. Initial program 24.7%

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

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg52.8%

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

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

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

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

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

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

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

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

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

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

    if -1.25e17 < z < -4.59999999999999977e-73 or 9.50000000000000006e-225 < z < 1.00000000000000007e-152

    1. Initial program 28.5%

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

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in y4 around inf 52.3%

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

    if -6.9999999999999997e-124 < z < -5.20000000000000028e-169 or -6.1999999999999998e-271 < z < -6.00000000000000007e-285

    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. Taylor expanded in k around inf 47.0%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in y4 around inf 61.8%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
    4. Step-by-step derivation
      1. +-commutative61.8%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 + -1 \cdot \left(b \cdot y\right)\right)}\right) \]
      2. mul-1-neg61.8%

        \[\leadsto k \cdot \left(y4 \cdot \left(y1 \cdot y2 + \color{blue}{\left(-b \cdot y\right)}\right)\right) \]
      3. unsub-neg61.8%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 - b \cdot y\right)}\right) \]
      4. *-commutative61.8%

        \[\leadsto k \cdot \left(y4 \cdot \left(\color{blue}{y2 \cdot y1} - b \cdot y\right)\right) \]
    5. Simplified61.8%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(y2 \cdot y1 - b \cdot y\right)\right)} \]

    if -5.20000000000000028e-169 < z < -1.02e-228 or -6.00000000000000007e-285 < z < 9.50000000000000006e-225

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in x around inf 62.7%

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

    if -1.02e-228 < z < -6.1999999999999998e-271 or 1.00000000000000007e-152 < z < 9.1999999999999997e-94

    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. Taylor expanded in x around inf 47.6%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in a around inf 62.5%

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

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y + -1 \cdot \left(y1 \cdot y2\right)\right)}\right) \]
      2. mul-1-neg62.5%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y + \color{blue}{\left(-y1 \cdot y2\right)}\right)\right) \]
      3. unsub-neg62.5%

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1 \cdot y2\right)}\right) \]
      4. *-commutative62.5%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y - \color{blue}{y2 \cdot y1}\right)\right) \]
    5. Simplified62.5%

      \[\leadsto \color{blue}{a \cdot \left(x \cdot \left(b \cdot y - y2 \cdot y1\right)\right)} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification57.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -4.4 \cdot 10^{+168}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \mathbf{elif}\;z \leq -1.25 \cdot 10^{+17}:\\ \;\;\;\;y0 \cdot \left(\left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;z \leq -4.6 \cdot 10^{-73}:\\ \;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\ \mathbf{elif}\;z \leq -7 \cdot 10^{-124}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \mathbf{elif}\;z \leq -5.2 \cdot 10^{-169}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\ \mathbf{elif}\;z \leq -1.02 \cdot 10^{-228}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;z \leq -6.2 \cdot 10^{-271}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq -6 \cdot 10^{-285}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\ \mathbf{elif}\;z \leq 9.5 \cdot 10^{-225}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;z \leq 10^{-152}:\\ \;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\ \mathbf{elif}\;z \leq 9.2 \cdot 10^{-94}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 3.2 \cdot 10^{+144}:\\ \;\;\;\;y0 \cdot \left(\left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \end{array} \]

Alternative 6: 40.4% accurate, 1.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot y3 - k \cdot y2\\ t_2 := k \cdot y2 - j \cdot y3\\ t_3 := y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) + \left(y4 \cdot t_2 + a \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\right)\\ t_4 := y0 \cdot \left(\left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + y5 \cdot t_1\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\ t_5 := t \cdot j - y \cdot k\\ t_6 := y \cdot y3 - t \cdot y2\\ t_7 := c \cdot y0 - a \cdot y1\\ \mathbf{if}\;y0 \leq -2.6 \cdot 10^{+58}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y0 \leq -6 \cdot 10^{-16}:\\ \;\;\;\;y4 \cdot \left(\left(b \cdot t_5 + y1 \cdot t_2\right) + c \cdot t_6\right)\\ \mathbf{elif}\;y0 \leq -8 \cdot 10^{-94}:\\ \;\;\;\;y5 \cdot \left(\left(y0 \cdot t_1 - i \cdot t_5\right) - a \cdot t_6\right)\\ \mathbf{elif}\;y0 \leq -8.6 \cdot 10^{-149}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y0 \leq -2.6 \cdot 10^{-169}:\\ \;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\ \mathbf{elif}\;y0 \leq -2.15 \cdot 10^{-191}:\\ \;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) - z \cdot t_7\right)\right)\\ \mathbf{elif}\;y0 \leq 2.9 \cdot 10^{-297}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y0 \leq 1.7 \cdot 10^{-101}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \mathbf{elif}\;y0 \leq 1.3 \cdot 10^{+107}:\\ \;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot t_7\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 9.5 \cdot 10^{+189}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y0 \leq 1.1 \cdot 10^{+240}:\\ \;\;\;\;k \cdot \left(y0 \cdot \left(y2 \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;y0 \leq 2 \cdot 10^{+243}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\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 (- (* j y3) (* k y2)))
        (t_2 (- (* k y2) (* j y3)))
        (t_3
         (*
          y1
          (+
           (* i (- (* x j) (* z k)))
           (+ (* y4 t_2) (* a (- (* z y3) (* x y2)))))))
        (t_4
         (*
          y0
          (+
           (+ (* c (- (* x y2) (* z y3))) (* y5 t_1))
           (* b (- (* z k) (* x j))))))
        (t_5 (- (* t j) (* y k)))
        (t_6 (- (* y y3) (* t y2)))
        (t_7 (- (* c y0) (* a y1))))
   (if (<= y0 -2.6e+58)
     t_4
     (if (<= y0 -6e-16)
       (* y4 (+ (+ (* b t_5) (* y1 t_2)) (* c t_6)))
       (if (<= y0 -8e-94)
         (* y5 (- (- (* y0 t_1) (* i t_5)) (* a t_6)))
         (if (<= y0 -8.6e-149)
           t_3
           (if (<= y0 -2.6e-169)
             (* i (* x (- (* j y1) (* y c))))
             (if (<= y0 -2.15e-191)
               (*
                y3
                (+
                 (* y (- (* c y4) (* a y5)))
                 (- (* j (- (* y0 y5) (* y1 y4))) (* z t_7))))
               (if (<= y0 2.9e-297)
                 t_3
                 (if (<= y0 1.7e-101)
                   (*
                    z
                    (+ (* k (- (* b y0) (* i y1))) (* t (- (* c i) (* a b)))))
                   (if (<= y0 1.3e+107)
                     (*
                      y2
                      (+
                       (+ (* k (- (* y1 y4) (* y0 y5))) (* x t_7))
                       (* t (- (* a y5) (* c y4)))))
                     (if (<= y0 9.5e+189)
                       t_4
                       (if (<= y0 1.1e+240)
                         (* k (* y0 (* y2 (- y5))))
                         (if (<= y0 2e+243)
                           (* a (* x (- (* y b) (* y1 y2))))
                           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 = (j * y3) - (k * y2);
	double t_2 = (k * y2) - (j * y3);
	double t_3 = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_2) + (a * ((z * y3) - (x * y2)))));
	double t_4 = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_1)) + (b * ((z * k) - (x * j))));
	double t_5 = (t * j) - (y * k);
	double t_6 = (y * y3) - (t * y2);
	double t_7 = (c * y0) - (a * y1);
	double tmp;
	if (y0 <= -2.6e+58) {
		tmp = t_4;
	} else if (y0 <= -6e-16) {
		tmp = y4 * (((b * t_5) + (y1 * t_2)) + (c * t_6));
	} else if (y0 <= -8e-94) {
		tmp = y5 * (((y0 * t_1) - (i * t_5)) - (a * t_6));
	} else if (y0 <= -8.6e-149) {
		tmp = t_3;
	} else if (y0 <= -2.6e-169) {
		tmp = i * (x * ((j * y1) - (y * c)));
	} else if (y0 <= -2.15e-191) {
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) - (z * t_7)));
	} else if (y0 <= 2.9e-297) {
		tmp = t_3;
	} else if (y0 <= 1.7e-101) {
		tmp = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))));
	} else if (y0 <= 1.3e+107) {
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_7)) + (t * ((a * y5) - (c * y4))));
	} else if (y0 <= 9.5e+189) {
		tmp = t_4;
	} else if (y0 <= 1.1e+240) {
		tmp = k * (y0 * (y2 * -y5));
	} else if (y0 <= 2e+243) {
		tmp = a * (x * ((y * b) - (y1 * y2)));
	} else {
		tmp = t_4;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: t_5
    real(8) :: t_6
    real(8) :: t_7
    real(8) :: tmp
    t_1 = (j * y3) - (k * y2)
    t_2 = (k * y2) - (j * y3)
    t_3 = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_2) + (a * ((z * y3) - (x * y2)))))
    t_4 = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_1)) + (b * ((z * k) - (x * j))))
    t_5 = (t * j) - (y * k)
    t_6 = (y * y3) - (t * y2)
    t_7 = (c * y0) - (a * y1)
    if (y0 <= (-2.6d+58)) then
        tmp = t_4
    else if (y0 <= (-6d-16)) then
        tmp = y4 * (((b * t_5) + (y1 * t_2)) + (c * t_6))
    else if (y0 <= (-8d-94)) then
        tmp = y5 * (((y0 * t_1) - (i * t_5)) - (a * t_6))
    else if (y0 <= (-8.6d-149)) then
        tmp = t_3
    else if (y0 <= (-2.6d-169)) then
        tmp = i * (x * ((j * y1) - (y * c)))
    else if (y0 <= (-2.15d-191)) then
        tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) - (z * t_7)))
    else if (y0 <= 2.9d-297) then
        tmp = t_3
    else if (y0 <= 1.7d-101) then
        tmp = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))))
    else if (y0 <= 1.3d+107) then
        tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_7)) + (t * ((a * y5) - (c * y4))))
    else if (y0 <= 9.5d+189) then
        tmp = t_4
    else if (y0 <= 1.1d+240) then
        tmp = k * (y0 * (y2 * -y5))
    else if (y0 <= 2d+243) then
        tmp = a * (x * ((y * b) - (y1 * y2)))
    else
        tmp = t_4
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (j * y3) - (k * y2);
	double t_2 = (k * y2) - (j * y3);
	double t_3 = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_2) + (a * ((z * y3) - (x * y2)))));
	double t_4 = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_1)) + (b * ((z * k) - (x * j))));
	double t_5 = (t * j) - (y * k);
	double t_6 = (y * y3) - (t * y2);
	double t_7 = (c * y0) - (a * y1);
	double tmp;
	if (y0 <= -2.6e+58) {
		tmp = t_4;
	} else if (y0 <= -6e-16) {
		tmp = y4 * (((b * t_5) + (y1 * t_2)) + (c * t_6));
	} else if (y0 <= -8e-94) {
		tmp = y5 * (((y0 * t_1) - (i * t_5)) - (a * t_6));
	} else if (y0 <= -8.6e-149) {
		tmp = t_3;
	} else if (y0 <= -2.6e-169) {
		tmp = i * (x * ((j * y1) - (y * c)));
	} else if (y0 <= -2.15e-191) {
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) - (z * t_7)));
	} else if (y0 <= 2.9e-297) {
		tmp = t_3;
	} else if (y0 <= 1.7e-101) {
		tmp = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))));
	} else if (y0 <= 1.3e+107) {
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_7)) + (t * ((a * y5) - (c * y4))));
	} else if (y0 <= 9.5e+189) {
		tmp = t_4;
	} else if (y0 <= 1.1e+240) {
		tmp = k * (y0 * (y2 * -y5));
	} else if (y0 <= 2e+243) {
		tmp = a * (x * ((y * b) - (y1 * y2)));
	} else {
		tmp = t_4;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (j * y3) - (k * y2)
	t_2 = (k * y2) - (j * y3)
	t_3 = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_2) + (a * ((z * y3) - (x * y2)))))
	t_4 = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_1)) + (b * ((z * k) - (x * j))))
	t_5 = (t * j) - (y * k)
	t_6 = (y * y3) - (t * y2)
	t_7 = (c * y0) - (a * y1)
	tmp = 0
	if y0 <= -2.6e+58:
		tmp = t_4
	elif y0 <= -6e-16:
		tmp = y4 * (((b * t_5) + (y1 * t_2)) + (c * t_6))
	elif y0 <= -8e-94:
		tmp = y5 * (((y0 * t_1) - (i * t_5)) - (a * t_6))
	elif y0 <= -8.6e-149:
		tmp = t_3
	elif y0 <= -2.6e-169:
		tmp = i * (x * ((j * y1) - (y * c)))
	elif y0 <= -2.15e-191:
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) - (z * t_7)))
	elif y0 <= 2.9e-297:
		tmp = t_3
	elif y0 <= 1.7e-101:
		tmp = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))))
	elif y0 <= 1.3e+107:
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_7)) + (t * ((a * y5) - (c * y4))))
	elif y0 <= 9.5e+189:
		tmp = t_4
	elif y0 <= 1.1e+240:
		tmp = k * (y0 * (y2 * -y5))
	elif y0 <= 2e+243:
		tmp = a * (x * ((y * b) - (y1 * y2)))
	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(j * y3) - Float64(k * y2))
	t_2 = Float64(Float64(k * y2) - Float64(j * y3))
	t_3 = Float64(y1 * Float64(Float64(i * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y4 * t_2) + Float64(a * Float64(Float64(z * y3) - Float64(x * y2))))))
	t_4 = Float64(y0 * Float64(Float64(Float64(c * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(y5 * t_1)) + Float64(b * Float64(Float64(z * k) - Float64(x * j)))))
	t_5 = Float64(Float64(t * j) - Float64(y * k))
	t_6 = Float64(Float64(y * y3) - Float64(t * y2))
	t_7 = Float64(Float64(c * y0) - Float64(a * y1))
	tmp = 0.0
	if (y0 <= -2.6e+58)
		tmp = t_4;
	elseif (y0 <= -6e-16)
		tmp = Float64(y4 * Float64(Float64(Float64(b * t_5) + Float64(y1 * t_2)) + Float64(c * t_6)));
	elseif (y0 <= -8e-94)
		tmp = Float64(y5 * Float64(Float64(Float64(y0 * t_1) - Float64(i * t_5)) - Float64(a * t_6)));
	elseif (y0 <= -8.6e-149)
		tmp = t_3;
	elseif (y0 <= -2.6e-169)
		tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c))));
	elseif (y0 <= -2.15e-191)
		tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4))) - Float64(z * t_7))));
	elseif (y0 <= 2.9e-297)
		tmp = t_3;
	elseif (y0 <= 1.7e-101)
		tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(t * Float64(Float64(c * i) - Float64(a * b)))));
	elseif (y0 <= 1.3e+107)
		tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * t_7)) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4)))));
	elseif (y0 <= 9.5e+189)
		tmp = t_4;
	elseif (y0 <= 1.1e+240)
		tmp = Float64(k * Float64(y0 * Float64(y2 * Float64(-y5))));
	elseif (y0 <= 2e+243)
		tmp = Float64(a * Float64(x * Float64(Float64(y * b) - Float64(y1 * y2))));
	else
		tmp = t_4;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = (j * y3) - (k * y2);
	t_2 = (k * y2) - (j * y3);
	t_3 = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_2) + (a * ((z * y3) - (x * y2)))));
	t_4 = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_1)) + (b * ((z * k) - (x * j))));
	t_5 = (t * j) - (y * k);
	t_6 = (y * y3) - (t * y2);
	t_7 = (c * y0) - (a * y1);
	tmp = 0.0;
	if (y0 <= -2.6e+58)
		tmp = t_4;
	elseif (y0 <= -6e-16)
		tmp = y4 * (((b * t_5) + (y1 * t_2)) + (c * t_6));
	elseif (y0 <= -8e-94)
		tmp = y5 * (((y0 * t_1) - (i * t_5)) - (a * t_6));
	elseif (y0 <= -8.6e-149)
		tmp = t_3;
	elseif (y0 <= -2.6e-169)
		tmp = i * (x * ((j * y1) - (y * c)));
	elseif (y0 <= -2.15e-191)
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) - (z * t_7)));
	elseif (y0 <= 2.9e-297)
		tmp = t_3;
	elseif (y0 <= 1.7e-101)
		tmp = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))));
	elseif (y0 <= 1.3e+107)
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_7)) + (t * ((a * y5) - (c * y4))));
	elseif (y0 <= 9.5e+189)
		tmp = t_4;
	elseif (y0 <= 1.1e+240)
		tmp = k * (y0 * (y2 * -y5));
	elseif (y0 <= 2e+243)
		tmp = a * (x * ((y * b) - (y1 * y2)));
	else
		tmp = t_4;
	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[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y1 * N[(N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y4 * t$95$2), $MachinePrecision] + N[(a * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y0 * N[(N[(N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -2.6e+58], t$95$4, If[LessEqual[y0, -6e-16], N[(y4 * N[(N[(N[(b * t$95$5), $MachinePrecision] + N[(y1 * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(c * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -8e-94], N[(y5 * N[(N[(N[(y0 * t$95$1), $MachinePrecision] - N[(i * t$95$5), $MachinePrecision]), $MachinePrecision] - N[(a * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -8.6e-149], t$95$3, If[LessEqual[y0, -2.6e-169], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -2.15e-191], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(z * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.9e-297], t$95$3, If[LessEqual[y0, 1.7e-101], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.3e+107], N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$7), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 9.5e+189], t$95$4, If[LessEqual[y0, 1.1e+240], N[(k * N[(y0 * N[(y2 * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2e+243], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$4]]]]]]]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := j \cdot y3 - k \cdot y2\\
t_2 := k \cdot y2 - j \cdot y3\\
t_3 := y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) + \left(y4 \cdot t_2 + a \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\right)\\
t_4 := y0 \cdot \left(\left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + y5 \cdot t_1\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_5 := t \cdot j - y \cdot k\\
t_6 := y \cdot y3 - t \cdot y2\\
t_7 := c \cdot y0 - a \cdot y1\\
\mathbf{if}\;y0 \leq -2.6 \cdot 10^{+58}:\\
\;\;\;\;t_4\\

\mathbf{elif}\;y0 \leq -6 \cdot 10^{-16}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t_5 + y1 \cdot t_2\right) + c \cdot t_6\right)\\

\mathbf{elif}\;y0 \leq -8 \cdot 10^{-94}:\\
\;\;\;\;y5 \cdot \left(\left(y0 \cdot t_1 - i \cdot t_5\right) - a \cdot t_6\right)\\

\mathbf{elif}\;y0 \leq -8.6 \cdot 10^{-149}:\\
\;\;\;\;t_3\\

\mathbf{elif}\;y0 \leq -2.6 \cdot 10^{-169}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\

\mathbf{elif}\;y0 \leq -2.15 \cdot 10^{-191}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) - z \cdot t_7\right)\right)\\

\mathbf{elif}\;y0 \leq 2.9 \cdot 10^{-297}:\\
\;\;\;\;t_3\\

\mathbf{elif}\;y0 \leq 1.7 \cdot 10^{-101}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\

\mathbf{elif}\;y0 \leq 1.3 \cdot 10^{+107}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot t_7\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\

\mathbf{elif}\;y0 \leq 9.5 \cdot 10^{+189}:\\
\;\;\;\;t_4\\

\mathbf{elif}\;y0 \leq 1.1 \cdot 10^{+240}:\\
\;\;\;\;k \cdot \left(y0 \cdot \left(y2 \cdot \left(-y5\right)\right)\right)\\

\mathbf{elif}\;y0 \leq 2 \cdot 10^{+243}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t_4\\


\end{array}
\end{array}
Derivation
  1. Split input into 10 regimes
  2. if y0 < -2.59999999999999988e58 or 1.3000000000000001e107 < y0 < 9.49999999999999911e189 or 2.0000000000000001e243 < y0

    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. Taylor expanded in y0 around inf 64.3%

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg64.3%

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

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

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

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

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

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

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

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

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

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

    if -2.59999999999999988e58 < y0 < -5.99999999999999987e-16

    1. Initial program 13.5%

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

      \[\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)} \]

    if -5.99999999999999987e-16 < y0 < -7.9999999999999996e-94

    1. Initial program 29.4%

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

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

    if -7.9999999999999996e-94 < y0 < -8.60000000000000073e-149 or -2.14999999999999992e-191 < y0 < 2.89999999999999989e-297

    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. Taylor expanded in y1 around -inf 55.2%

      \[\leadsto \color{blue}{-1 \cdot \left(y1 \cdot \left(\left(-1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
    3. Step-by-step derivation
      1. mul-1-neg55.2%

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

        \[\leadsto -\color{blue}{\left(\left(-1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - i \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot y1} \]
      3. distribute-rgt-neg-in55.2%

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

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

    if -8.60000000000000073e-149 < y0 < -2.60000000000000014e-169

    1. Initial program 32.8%

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

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in i around -inf 66.7%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(x \cdot \left(c \cdot y - j \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*66.7%

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(x \cdot \left(c \cdot y - j \cdot y1\right)\right)} \]
      2. neg-mul-166.7%

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

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

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

    if -2.60000000000000014e-169 < y0 < -2.14999999999999992e-191

    1. Initial program 57.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. Taylor expanded in y3 around -inf 100.0%

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

    if 2.89999999999999989e-297 < y0 < 1.69999999999999995e-101

    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. Taylor expanded in z around -inf 45.0%

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

      \[\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. Taylor expanded in y3 around 0 53.4%

      \[\leadsto -1 \cdot \color{blue}{\left(z \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    5. Step-by-step derivation
      1. *-commutative53.4%

        \[\leadsto -1 \cdot \left(z \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right) - k \cdot \left(\color{blue}{y0 \cdot b} - i \cdot y1\right)\right)\right) \]
      2. *-commutative53.4%

        \[\leadsto -1 \cdot \left(z \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right) - k \cdot \left(y0 \cdot b - \color{blue}{y1 \cdot i}\right)\right)\right) \]
    6. Simplified53.4%

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

    if 1.69999999999999995e-101 < y0 < 1.3000000000000001e107

    1. Initial program 30.8%

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

      \[\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)} \]

    if 9.49999999999999911e189 < y0 < 1.1000000000000001e240

    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. Taylor expanded in y0 around inf 42.9%

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg42.9%

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)} \]
    6. Taylor expanded in j around 0 71.7%

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*71.7%

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right)} \]
      2. neg-mul-171.7%

        \[\leadsto \color{blue}{\left(-k\right)} \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right) \]
    8. Simplified71.7%

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

    if 1.1000000000000001e240 < y0 < 2.0000000000000001e243

    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. Taylor expanded in x around inf 50.0%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in a around inf 100.0%

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

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y + -1 \cdot \left(y1 \cdot y2\right)\right)}\right) \]
      2. mul-1-neg100.0%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y + \color{blue}{\left(-y1 \cdot y2\right)}\right)\right) \]
      3. unsub-neg100.0%

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1 \cdot y2\right)}\right) \]
      4. *-commutative100.0%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y - \color{blue}{y2 \cdot y1}\right)\right) \]
    5. Simplified100.0%

      \[\leadsto \color{blue}{a \cdot \left(x \cdot \left(b \cdot y - y2 \cdot y1\right)\right)} \]
  3. Recombined 10 regimes into one program.
  4. Final simplification61.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -2.6 \cdot 10^{+58}:\\ \;\;\;\;y0 \cdot \left(\left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq -6 \cdot 10^{-16}:\\ \;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq -8 \cdot 10^{-94}:\\ \;\;\;\;y5 \cdot \left(\left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) - i \cdot \left(t \cdot j - y \cdot k\right)\right) - a \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq -8.6 \cdot 10^{-149}:\\ \;\;\;\;y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) + \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right) + a \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\right)\\ \mathbf{elif}\;y0 \leq -2.6 \cdot 10^{-169}:\\ \;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\ \mathbf{elif}\;y0 \leq -2.15 \cdot 10^{-191}:\\ \;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) - z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right)\\ \mathbf{elif}\;y0 \leq 2.9 \cdot 10^{-297}:\\ \;\;\;\;y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) + \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right) + a \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\right)\\ \mathbf{elif}\;y0 \leq 1.7 \cdot 10^{-101}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \mathbf{elif}\;y0 \leq 1.3 \cdot 10^{+107}:\\ \;\;\;\;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(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 9.5 \cdot 10^{+189}:\\ \;\;\;\;y0 \cdot \left(\left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq 1.1 \cdot 10^{+240}:\\ \;\;\;\;k \cdot \left(y0 \cdot \left(y2 \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;y0 \leq 2 \cdot 10^{+243}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y0 \cdot \left(\left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \end{array} \]

Alternative 7: 39.3% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(z \cdot k - x \cdot j\right)\\ t_2 := j \cdot y3 - k \cdot y2\\ t_3 := t \cdot \left(c \cdot i - a \cdot b\right)\\ t_4 := k \cdot y2 - j \cdot y3\\ t_5 := k \cdot \left(b \cdot y0 - i \cdot y1\right)\\ t_6 := z \cdot \left(t_5 + \left(t_3 + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ t_7 := t \cdot j - y \cdot k\\ t_8 := y \cdot y3 - t \cdot y2\\ \mathbf{if}\;y4 \leq -6.5 \cdot 10^{+100}:\\ \;\;\;\;y4 \cdot \left(\left(b \cdot t_7 + y1 \cdot t_4\right) + c \cdot t_8\right)\\ \mathbf{elif}\;y4 \leq -8 \cdot 10^{-13}:\\ \;\;\;\;z \cdot \left(t_5 + t_3\right)\\ \mathbf{elif}\;y4 \leq -6.5 \cdot 10^{-84}:\\ \;\;\;\;y5 \cdot \left(\left(y0 \cdot t_2 - i \cdot t_7\right) - a \cdot t_8\right)\\ \mathbf{elif}\;y4 \leq -8 \cdot 10^{-206}:\\ \;\;\;\;y0 \cdot \left(\left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + y5 \cdot t_2\right) + t_1\right)\\ \mathbf{elif}\;y4 \leq 7 \cdot 10^{-240}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;y4 \leq 10^{-178}:\\ \;\;\;\;y0 \cdot t_1\\ \mathbf{elif}\;y4 \leq 4 \cdot 10^{-90}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;y4 \leq 9 \cdot 10^{+31}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y4 \leq 3.2 \cdot 10^{+228}:\\ \;\;\;\;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(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y4 \leq 6.2 \cdot 10^{+272}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y1 \cdot \left(y4 \cdot t_4\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 (* b (- (* z k) (* x j))))
        (t_2 (- (* j y3) (* k y2)))
        (t_3 (* t (- (* c i) (* a b))))
        (t_4 (- (* k y2) (* j y3)))
        (t_5 (* k (- (* b y0) (* i y1))))
        (t_6 (* z (+ t_5 (+ t_3 (* y3 (- (* a y1) (* c y0)))))))
        (t_7 (- (* t j) (* y k)))
        (t_8 (- (* y y3) (* t y2))))
   (if (<= y4 -6.5e+100)
     (* y4 (+ (+ (* b t_7) (* y1 t_4)) (* c t_8)))
     (if (<= y4 -8e-13)
       (* z (+ t_5 t_3))
       (if (<= y4 -6.5e-84)
         (* y5 (- (- (* y0 t_2) (* i t_7)) (* a t_8)))
         (if (<= y4 -8e-206)
           (* y0 (+ (+ (* c (- (* x y2) (* z y3))) (* y5 t_2)) t_1))
           (if (<= y4 7e-240)
             t_6
             (if (<= y4 1e-178)
               (* y0 t_1)
               (if (<= y4 4e-90)
                 t_6
                 (if (<= y4 9e+31)
                   (* a (* b (- (* x y) (* z t))))
                   (if (<= y4 3.2e+228)
                     (*
                      y2
                      (+
                       (+
                        (* k (- (* y1 y4) (* y0 y5)))
                        (* x (- (* c y0) (* a y1))))
                       (* t (- (* a y5) (* c y4)))))
                     (if (<= y4 6.2e+272)
                       (* k (* y4 (- (* y1 y2) (* y b))))
                       (* y1 (* y4 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 = b * ((z * k) - (x * j));
	double t_2 = (j * y3) - (k * y2);
	double t_3 = t * ((c * i) - (a * b));
	double t_4 = (k * y2) - (j * y3);
	double t_5 = k * ((b * y0) - (i * y1));
	double t_6 = z * (t_5 + (t_3 + (y3 * ((a * y1) - (c * y0)))));
	double t_7 = (t * j) - (y * k);
	double t_8 = (y * y3) - (t * y2);
	double tmp;
	if (y4 <= -6.5e+100) {
		tmp = y4 * (((b * t_7) + (y1 * t_4)) + (c * t_8));
	} else if (y4 <= -8e-13) {
		tmp = z * (t_5 + t_3);
	} else if (y4 <= -6.5e-84) {
		tmp = y5 * (((y0 * t_2) - (i * t_7)) - (a * t_8));
	} else if (y4 <= -8e-206) {
		tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_2)) + t_1);
	} else if (y4 <= 7e-240) {
		tmp = t_6;
	} else if (y4 <= 1e-178) {
		tmp = y0 * t_1;
	} else if (y4 <= 4e-90) {
		tmp = t_6;
	} else if (y4 <= 9e+31) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (y4 <= 3.2e+228) {
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	} else if (y4 <= 6.2e+272) {
		tmp = k * (y4 * ((y1 * y2) - (y * b)));
	} else {
		tmp = y1 * (y4 * t_4);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: t_5
    real(8) :: t_6
    real(8) :: t_7
    real(8) :: t_8
    real(8) :: tmp
    t_1 = b * ((z * k) - (x * j))
    t_2 = (j * y3) - (k * y2)
    t_3 = t * ((c * i) - (a * b))
    t_4 = (k * y2) - (j * y3)
    t_5 = k * ((b * y0) - (i * y1))
    t_6 = z * (t_5 + (t_3 + (y3 * ((a * y1) - (c * y0)))))
    t_7 = (t * j) - (y * k)
    t_8 = (y * y3) - (t * y2)
    if (y4 <= (-6.5d+100)) then
        tmp = y4 * (((b * t_7) + (y1 * t_4)) + (c * t_8))
    else if (y4 <= (-8d-13)) then
        tmp = z * (t_5 + t_3)
    else if (y4 <= (-6.5d-84)) then
        tmp = y5 * (((y0 * t_2) - (i * t_7)) - (a * t_8))
    else if (y4 <= (-8d-206)) then
        tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_2)) + t_1)
    else if (y4 <= 7d-240) then
        tmp = t_6
    else if (y4 <= 1d-178) then
        tmp = y0 * t_1
    else if (y4 <= 4d-90) then
        tmp = t_6
    else if (y4 <= 9d+31) then
        tmp = a * (b * ((x * y) - (z * t)))
    else if (y4 <= 3.2d+228) then
        tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
    else if (y4 <= 6.2d+272) then
        tmp = k * (y4 * ((y1 * y2) - (y * b)))
    else
        tmp = y1 * (y4 * t_4)
    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 = b * ((z * k) - (x * j));
	double t_2 = (j * y3) - (k * y2);
	double t_3 = t * ((c * i) - (a * b));
	double t_4 = (k * y2) - (j * y3);
	double t_5 = k * ((b * y0) - (i * y1));
	double t_6 = z * (t_5 + (t_3 + (y3 * ((a * y1) - (c * y0)))));
	double t_7 = (t * j) - (y * k);
	double t_8 = (y * y3) - (t * y2);
	double tmp;
	if (y4 <= -6.5e+100) {
		tmp = y4 * (((b * t_7) + (y1 * t_4)) + (c * t_8));
	} else if (y4 <= -8e-13) {
		tmp = z * (t_5 + t_3);
	} else if (y4 <= -6.5e-84) {
		tmp = y5 * (((y0 * t_2) - (i * t_7)) - (a * t_8));
	} else if (y4 <= -8e-206) {
		tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_2)) + t_1);
	} else if (y4 <= 7e-240) {
		tmp = t_6;
	} else if (y4 <= 1e-178) {
		tmp = y0 * t_1;
	} else if (y4 <= 4e-90) {
		tmp = t_6;
	} else if (y4 <= 9e+31) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (y4 <= 3.2e+228) {
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	} else if (y4 <= 6.2e+272) {
		tmp = k * (y4 * ((y1 * y2) - (y * b)));
	} else {
		tmp = y1 * (y4 * t_4);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = b * ((z * k) - (x * j))
	t_2 = (j * y3) - (k * y2)
	t_3 = t * ((c * i) - (a * b))
	t_4 = (k * y2) - (j * y3)
	t_5 = k * ((b * y0) - (i * y1))
	t_6 = z * (t_5 + (t_3 + (y3 * ((a * y1) - (c * y0)))))
	t_7 = (t * j) - (y * k)
	t_8 = (y * y3) - (t * y2)
	tmp = 0
	if y4 <= -6.5e+100:
		tmp = y4 * (((b * t_7) + (y1 * t_4)) + (c * t_8))
	elif y4 <= -8e-13:
		tmp = z * (t_5 + t_3)
	elif y4 <= -6.5e-84:
		tmp = y5 * (((y0 * t_2) - (i * t_7)) - (a * t_8))
	elif y4 <= -8e-206:
		tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_2)) + t_1)
	elif y4 <= 7e-240:
		tmp = t_6
	elif y4 <= 1e-178:
		tmp = y0 * t_1
	elif y4 <= 4e-90:
		tmp = t_6
	elif y4 <= 9e+31:
		tmp = a * (b * ((x * y) - (z * t)))
	elif y4 <= 3.2e+228:
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
	elif y4 <= 6.2e+272:
		tmp = k * (y4 * ((y1 * y2) - (y * b)))
	else:
		tmp = y1 * (y4 * 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(b * Float64(Float64(z * k) - Float64(x * j)))
	t_2 = Float64(Float64(j * y3) - Float64(k * y2))
	t_3 = Float64(t * Float64(Float64(c * i) - Float64(a * b)))
	t_4 = Float64(Float64(k * y2) - Float64(j * y3))
	t_5 = Float64(k * Float64(Float64(b * y0) - Float64(i * y1)))
	t_6 = Float64(z * Float64(t_5 + Float64(t_3 + Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))))))
	t_7 = Float64(Float64(t * j) - Float64(y * k))
	t_8 = Float64(Float64(y * y3) - Float64(t * y2))
	tmp = 0.0
	if (y4 <= -6.5e+100)
		tmp = Float64(y4 * Float64(Float64(Float64(b * t_7) + Float64(y1 * t_4)) + Float64(c * t_8)));
	elseif (y4 <= -8e-13)
		tmp = Float64(z * Float64(t_5 + t_3));
	elseif (y4 <= -6.5e-84)
		tmp = Float64(y5 * Float64(Float64(Float64(y0 * t_2) - Float64(i * t_7)) - Float64(a * t_8)));
	elseif (y4 <= -8e-206)
		tmp = Float64(y0 * Float64(Float64(Float64(c * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(y5 * t_2)) + t_1));
	elseif (y4 <= 7e-240)
		tmp = t_6;
	elseif (y4 <= 1e-178)
		tmp = Float64(y0 * t_1);
	elseif (y4 <= 4e-90)
		tmp = t_6;
	elseif (y4 <= 9e+31)
		tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))));
	elseif (y4 <= 3.2e+228)
		tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4)))));
	elseif (y4 <= 6.2e+272)
		tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b))));
	else
		tmp = Float64(y1 * Float64(y4 * t_4));
	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 = b * ((z * k) - (x * j));
	t_2 = (j * y3) - (k * y2);
	t_3 = t * ((c * i) - (a * b));
	t_4 = (k * y2) - (j * y3);
	t_5 = k * ((b * y0) - (i * y1));
	t_6 = z * (t_5 + (t_3 + (y3 * ((a * y1) - (c * y0)))));
	t_7 = (t * j) - (y * k);
	t_8 = (y * y3) - (t * y2);
	tmp = 0.0;
	if (y4 <= -6.5e+100)
		tmp = y4 * (((b * t_7) + (y1 * t_4)) + (c * t_8));
	elseif (y4 <= -8e-13)
		tmp = z * (t_5 + t_3);
	elseif (y4 <= -6.5e-84)
		tmp = y5 * (((y0 * t_2) - (i * t_7)) - (a * t_8));
	elseif (y4 <= -8e-206)
		tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_2)) + t_1);
	elseif (y4 <= 7e-240)
		tmp = t_6;
	elseif (y4 <= 1e-178)
		tmp = y0 * t_1;
	elseif (y4 <= 4e-90)
		tmp = t_6;
	elseif (y4 <= 9e+31)
		tmp = a * (b * ((x * y) - (z * t)));
	elseif (y4 <= 3.2e+228)
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	elseif (y4 <= 6.2e+272)
		tmp = k * (y4 * ((y1 * y2) - (y * b)));
	else
		tmp = y1 * (y4 * t_4);
	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[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(z * N[(t$95$5 + N[(t$95$3 + N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -6.5e+100], N[(y4 * N[(N[(N[(b * t$95$7), $MachinePrecision] + N[(y1 * t$95$4), $MachinePrecision]), $MachinePrecision] + N[(c * t$95$8), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -8e-13], N[(z * N[(t$95$5 + t$95$3), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -6.5e-84], N[(y5 * N[(N[(N[(y0 * t$95$2), $MachinePrecision] - N[(i * t$95$7), $MachinePrecision]), $MachinePrecision] - N[(a * t$95$8), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -8e-206], N[(y0 * N[(N[(N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * t$95$2), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 7e-240], t$95$6, If[LessEqual[y4, 1e-178], N[(y0 * t$95$1), $MachinePrecision], If[LessEqual[y4, 4e-90], t$95$6, If[LessEqual[y4, 9e+31], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 3.2e+228], N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 6.2e+272], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y4 * t$95$4), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(z \cdot k - x \cdot j\right)\\
t_2 := j \cdot y3 - k \cdot y2\\
t_3 := t \cdot \left(c \cdot i - a \cdot b\right)\\
t_4 := k \cdot y2 - j \cdot y3\\
t_5 := k \cdot \left(b \cdot y0 - i \cdot y1\right)\\
t_6 := z \cdot \left(t_5 + \left(t_3 + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\
t_7 := t \cdot j - y \cdot k\\
t_8 := y \cdot y3 - t \cdot y2\\
\mathbf{if}\;y4 \leq -6.5 \cdot 10^{+100}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t_7 + y1 \cdot t_4\right) + c \cdot t_8\right)\\

\mathbf{elif}\;y4 \leq -8 \cdot 10^{-13}:\\
\;\;\;\;z \cdot \left(t_5 + t_3\right)\\

\mathbf{elif}\;y4 \leq -6.5 \cdot 10^{-84}:\\
\;\;\;\;y5 \cdot \left(\left(y0 \cdot t_2 - i \cdot t_7\right) - a \cdot t_8\right)\\

\mathbf{elif}\;y4 \leq -8 \cdot 10^{-206}:\\
\;\;\;\;y0 \cdot \left(\left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + y5 \cdot t_2\right) + t_1\right)\\

\mathbf{elif}\;y4 \leq 7 \cdot 10^{-240}:\\
\;\;\;\;t_6\\

\mathbf{elif}\;y4 \leq 10^{-178}:\\
\;\;\;\;y0 \cdot t_1\\

\mathbf{elif}\;y4 \leq 4 \cdot 10^{-90}:\\
\;\;\;\;t_6\\

\mathbf{elif}\;y4 \leq 9 \cdot 10^{+31}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\

\mathbf{elif}\;y4 \leq 3.2 \cdot 10^{+228}:\\
\;\;\;\;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(a \cdot y5 - c \cdot y4\right)\right)\\

\mathbf{elif}\;y4 \leq 6.2 \cdot 10^{+272}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\

\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot t_4\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 10 regimes
  2. if y4 < -6.50000000000000001e100

    1. Initial program 26.0%

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

      \[\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)} \]

    if -6.50000000000000001e100 < y4 < -8.0000000000000002e-13

    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. Taylor expanded in z around -inf 43.4%

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

      \[\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. Taylor expanded in y3 around 0 54.2%

      \[\leadsto -1 \cdot \color{blue}{\left(z \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    5. Step-by-step derivation
      1. *-commutative54.2%

        \[\leadsto -1 \cdot \left(z \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right) - k \cdot \left(\color{blue}{y0 \cdot b} - i \cdot y1\right)\right)\right) \]
      2. *-commutative54.2%

        \[\leadsto -1 \cdot \left(z \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right) - k \cdot \left(y0 \cdot b - \color{blue}{y1 \cdot i}\right)\right)\right) \]
    6. Simplified54.2%

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

    if -8.0000000000000002e-13 < y4 < -6.50000000000000022e-84

    1. Initial program 42.3%

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

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

    if -6.50000000000000022e-84 < y4 < -8.00000000000000023e-206

    1. Initial program 50.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. Taylor expanded in y0 around inf 65.5%

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg65.5%

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

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

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

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

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

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

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

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

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

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

    if -8.00000000000000023e-206 < y4 < 7.00000000000000032e-240 or 9.9999999999999995e-179 < y4 < 3.99999999999999998e-90

    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. Taylor expanded in z around -inf 51.1%

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

      \[\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)} \]

    if 7.00000000000000032e-240 < y4 < 9.9999999999999995e-179

    1. Initial program 24.9%

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

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg50.0%

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

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

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

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

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

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

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

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

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

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

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

    if 3.99999999999999998e-90 < y4 < 8.9999999999999992e31

    1. Initial program 27.8%

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 59.4%

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

    if 8.9999999999999992e31 < y4 < 3.2000000000000003e228

    1. Initial program 12.8%

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

      \[\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)} \]

    if 3.2000000000000003e228 < y4 < 6.19999999999999945e272

    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. Taylor expanded in k around inf 28.6%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in y4 around inf 72.8%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
    4. Step-by-step derivation
      1. +-commutative72.8%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 + -1 \cdot \left(b \cdot y\right)\right)}\right) \]
      2. mul-1-neg72.8%

        \[\leadsto k \cdot \left(y4 \cdot \left(y1 \cdot y2 + \color{blue}{\left(-b \cdot y\right)}\right)\right) \]
      3. unsub-neg72.8%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 - b \cdot y\right)}\right) \]
      4. *-commutative72.8%

        \[\leadsto k \cdot \left(y4 \cdot \left(\color{blue}{y2 \cdot y1} - b \cdot y\right)\right) \]
    5. Simplified72.8%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(y2 \cdot y1 - b \cdot y\right)\right)} \]

    if 6.19999999999999945e272 < y4

    1. Initial program 50.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. Taylor expanded in x around inf 26.0%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in y4 around inf 75.0%

      \[\leadsto \color{blue}{y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)} \]
  3. Recombined 10 regimes into one program.
  4. Final simplification60.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -6.5 \cdot 10^{+100}:\\ \;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y4 \leq -8 \cdot 10^{-13}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \mathbf{elif}\;y4 \leq -6.5 \cdot 10^{-84}:\\ \;\;\;\;y5 \cdot \left(\left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) - i \cdot \left(t \cdot j - y \cdot k\right)\right) - a \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y4 \leq -8 \cdot 10^{-206}:\\ \;\;\;\;y0 \cdot \left(\left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y4 \leq 7 \cdot 10^{-240}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot \left(c \cdot i - a \cdot b\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ \mathbf{elif}\;y4 \leq 10^{-178}:\\ \;\;\;\;y0 \cdot \left(b \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y4 \leq 4 \cdot 10^{-90}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot \left(c \cdot i - a \cdot b\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ \mathbf{elif}\;y4 \leq 9 \cdot 10^{+31}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y4 \leq 3.2 \cdot 10^{+228}:\\ \;\;\;\;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(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y4 \leq 6.2 \cdot 10^{+272}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\ \end{array} \]

Alternative 8: 40.2% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := t \cdot \left(c \cdot i - a \cdot b\right)\\ t_2 := k \cdot y2 - j \cdot y3\\ t_3 := k \cdot \left(b \cdot y0 - i \cdot y1\right)\\ t_4 := z \cdot \left(t_3 + \left(t_1 + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ t_5 := j \cdot y3 - k \cdot y2\\ t_6 := z \cdot k - x \cdot j\\ t_7 := b \cdot t_6\\ t_8 := t \cdot j - y \cdot k\\ t_9 := y \cdot y3 - t \cdot y2\\ \mathbf{if}\;y4 \leq -9.2 \cdot 10^{+100}:\\ \;\;\;\;y4 \cdot \left(\left(b \cdot t_8 + y1 \cdot t_2\right) + c \cdot t_9\right)\\ \mathbf{elif}\;y4 \leq -3.3 \cdot 10^{-16}:\\ \;\;\;\;z \cdot \left(t_3 + t_1\right)\\ \mathbf{elif}\;y4 \leq -3.9 \cdot 10^{-83}:\\ \;\;\;\;y5 \cdot \left(\left(y0 \cdot t_5 - i \cdot t_8\right) - a \cdot t_9\right)\\ \mathbf{elif}\;y4 \leq -8.4 \cdot 10^{-206}:\\ \;\;\;\;y0 \cdot \left(\left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + y5 \cdot t_5\right) + t_7\right)\\ \mathbf{elif}\;y4 \leq 7.4 \cdot 10^{-240}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y4 \leq 2.7 \cdot 10^{-178}:\\ \;\;\;\;y0 \cdot t_7\\ \mathbf{elif}\;y4 \leq 6.5 \cdot 10^{-99}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y4 \leq 5.4 \cdot 10^{-53}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot t_8\right) + y0 \cdot t_6\right)\\ \mathbf{elif}\;y4 \leq 2.2 \cdot 10^{+229}:\\ \;\;\;\;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(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y4 \leq 2.6 \cdot 10^{+270}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y1 \cdot \left(y4 \cdot t_2\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 (- (* c i) (* a b))))
        (t_2 (- (* k y2) (* j y3)))
        (t_3 (* k (- (* b y0) (* i y1))))
        (t_4 (* z (+ t_3 (+ t_1 (* y3 (- (* a y1) (* c y0)))))))
        (t_5 (- (* j y3) (* k y2)))
        (t_6 (- (* z k) (* x j)))
        (t_7 (* b t_6))
        (t_8 (- (* t j) (* y k)))
        (t_9 (- (* y y3) (* t y2))))
   (if (<= y4 -9.2e+100)
     (* y4 (+ (+ (* b t_8) (* y1 t_2)) (* c t_9)))
     (if (<= y4 -3.3e-16)
       (* z (+ t_3 t_1))
       (if (<= y4 -3.9e-83)
         (* y5 (- (- (* y0 t_5) (* i t_8)) (* a t_9)))
         (if (<= y4 -8.4e-206)
           (* y0 (+ (+ (* c (- (* x y2) (* z y3))) (* y5 t_5)) t_7))
           (if (<= y4 7.4e-240)
             t_4
             (if (<= y4 2.7e-178)
               (* y0 t_7)
               (if (<= y4 6.5e-99)
                 t_4
                 (if (<= y4 5.4e-53)
                   (*
                    b
                    (+ (+ (* a (- (* x y) (* z t))) (* y4 t_8)) (* y0 t_6)))
                   (if (<= y4 2.2e+229)
                     (*
                      y2
                      (+
                       (+
                        (* k (- (* y1 y4) (* y0 y5)))
                        (* x (- (* c y0) (* a y1))))
                       (* t (- (* a y5) (* c y4)))))
                     (if (<= y4 2.6e+270)
                       (* k (* y4 (- (* y1 y2) (* y b))))
                       (* y1 (* y4 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 = t * ((c * i) - (a * b));
	double t_2 = (k * y2) - (j * y3);
	double t_3 = k * ((b * y0) - (i * y1));
	double t_4 = z * (t_3 + (t_1 + (y3 * ((a * y1) - (c * y0)))));
	double t_5 = (j * y3) - (k * y2);
	double t_6 = (z * k) - (x * j);
	double t_7 = b * t_6;
	double t_8 = (t * j) - (y * k);
	double t_9 = (y * y3) - (t * y2);
	double tmp;
	if (y4 <= -9.2e+100) {
		tmp = y4 * (((b * t_8) + (y1 * t_2)) + (c * t_9));
	} else if (y4 <= -3.3e-16) {
		tmp = z * (t_3 + t_1);
	} else if (y4 <= -3.9e-83) {
		tmp = y5 * (((y0 * t_5) - (i * t_8)) - (a * t_9));
	} else if (y4 <= -8.4e-206) {
		tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_5)) + t_7);
	} else if (y4 <= 7.4e-240) {
		tmp = t_4;
	} else if (y4 <= 2.7e-178) {
		tmp = y0 * t_7;
	} else if (y4 <= 6.5e-99) {
		tmp = t_4;
	} else if (y4 <= 5.4e-53) {
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_8)) + (y0 * t_6));
	} else if (y4 <= 2.2e+229) {
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	} else if (y4 <= 2.6e+270) {
		tmp = k * (y4 * ((y1 * y2) - (y * b)));
	} else {
		tmp = y1 * (y4 * t_2);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: 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 = t * ((c * i) - (a * b))
    t_2 = (k * y2) - (j * y3)
    t_3 = k * ((b * y0) - (i * y1))
    t_4 = z * (t_3 + (t_1 + (y3 * ((a * y1) - (c * y0)))))
    t_5 = (j * y3) - (k * y2)
    t_6 = (z * k) - (x * j)
    t_7 = b * t_6
    t_8 = (t * j) - (y * k)
    t_9 = (y * y3) - (t * y2)
    if (y4 <= (-9.2d+100)) then
        tmp = y4 * (((b * t_8) + (y1 * t_2)) + (c * t_9))
    else if (y4 <= (-3.3d-16)) then
        tmp = z * (t_3 + t_1)
    else if (y4 <= (-3.9d-83)) then
        tmp = y5 * (((y0 * t_5) - (i * t_8)) - (a * t_9))
    else if (y4 <= (-8.4d-206)) then
        tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_5)) + t_7)
    else if (y4 <= 7.4d-240) then
        tmp = t_4
    else if (y4 <= 2.7d-178) then
        tmp = y0 * t_7
    else if (y4 <= 6.5d-99) then
        tmp = t_4
    else if (y4 <= 5.4d-53) then
        tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_8)) + (y0 * t_6))
    else if (y4 <= 2.2d+229) then
        tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
    else if (y4 <= 2.6d+270) then
        tmp = k * (y4 * ((y1 * y2) - (y * b)))
    else
        tmp = y1 * (y4 * t_2)
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = t * ((c * i) - (a * b));
	double t_2 = (k * y2) - (j * y3);
	double t_3 = k * ((b * y0) - (i * y1));
	double t_4 = z * (t_3 + (t_1 + (y3 * ((a * y1) - (c * y0)))));
	double t_5 = (j * y3) - (k * y2);
	double t_6 = (z * k) - (x * j);
	double t_7 = b * t_6;
	double t_8 = (t * j) - (y * k);
	double t_9 = (y * y3) - (t * y2);
	double tmp;
	if (y4 <= -9.2e+100) {
		tmp = y4 * (((b * t_8) + (y1 * t_2)) + (c * t_9));
	} else if (y4 <= -3.3e-16) {
		tmp = z * (t_3 + t_1);
	} else if (y4 <= -3.9e-83) {
		tmp = y5 * (((y0 * t_5) - (i * t_8)) - (a * t_9));
	} else if (y4 <= -8.4e-206) {
		tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_5)) + t_7);
	} else if (y4 <= 7.4e-240) {
		tmp = t_4;
	} else if (y4 <= 2.7e-178) {
		tmp = y0 * t_7;
	} else if (y4 <= 6.5e-99) {
		tmp = t_4;
	} else if (y4 <= 5.4e-53) {
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_8)) + (y0 * t_6));
	} else if (y4 <= 2.2e+229) {
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	} else if (y4 <= 2.6e+270) {
		tmp = k * (y4 * ((y1 * y2) - (y * b)));
	} else {
		tmp = y1 * (y4 * t_2);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = t * ((c * i) - (a * b))
	t_2 = (k * y2) - (j * y3)
	t_3 = k * ((b * y0) - (i * y1))
	t_4 = z * (t_3 + (t_1 + (y3 * ((a * y1) - (c * y0)))))
	t_5 = (j * y3) - (k * y2)
	t_6 = (z * k) - (x * j)
	t_7 = b * t_6
	t_8 = (t * j) - (y * k)
	t_9 = (y * y3) - (t * y2)
	tmp = 0
	if y4 <= -9.2e+100:
		tmp = y4 * (((b * t_8) + (y1 * t_2)) + (c * t_9))
	elif y4 <= -3.3e-16:
		tmp = z * (t_3 + t_1)
	elif y4 <= -3.9e-83:
		tmp = y5 * (((y0 * t_5) - (i * t_8)) - (a * t_9))
	elif y4 <= -8.4e-206:
		tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_5)) + t_7)
	elif y4 <= 7.4e-240:
		tmp = t_4
	elif y4 <= 2.7e-178:
		tmp = y0 * t_7
	elif y4 <= 6.5e-99:
		tmp = t_4
	elif y4 <= 5.4e-53:
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_8)) + (y0 * t_6))
	elif y4 <= 2.2e+229:
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
	elif y4 <= 2.6e+270:
		tmp = k * (y4 * ((y1 * y2) - (y * b)))
	else:
		tmp = y1 * (y4 * 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(t * Float64(Float64(c * i) - Float64(a * b)))
	t_2 = Float64(Float64(k * y2) - Float64(j * y3))
	t_3 = Float64(k * Float64(Float64(b * y0) - Float64(i * y1)))
	t_4 = Float64(z * Float64(t_3 + Float64(t_1 + Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))))))
	t_5 = Float64(Float64(j * y3) - Float64(k * y2))
	t_6 = Float64(Float64(z * k) - Float64(x * j))
	t_7 = Float64(b * t_6)
	t_8 = Float64(Float64(t * j) - Float64(y * k))
	t_9 = Float64(Float64(y * y3) - Float64(t * y2))
	tmp = 0.0
	if (y4 <= -9.2e+100)
		tmp = Float64(y4 * Float64(Float64(Float64(b * t_8) + Float64(y1 * t_2)) + Float64(c * t_9)));
	elseif (y4 <= -3.3e-16)
		tmp = Float64(z * Float64(t_3 + t_1));
	elseif (y4 <= -3.9e-83)
		tmp = Float64(y5 * Float64(Float64(Float64(y0 * t_5) - Float64(i * t_8)) - Float64(a * t_9)));
	elseif (y4 <= -8.4e-206)
		tmp = Float64(y0 * Float64(Float64(Float64(c * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(y5 * t_5)) + t_7));
	elseif (y4 <= 7.4e-240)
		tmp = t_4;
	elseif (y4 <= 2.7e-178)
		tmp = Float64(y0 * t_7);
	elseif (y4 <= 6.5e-99)
		tmp = t_4;
	elseif (y4 <= 5.4e-53)
		tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * t_8)) + Float64(y0 * t_6)));
	elseif (y4 <= 2.2e+229)
		tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4)))));
	elseif (y4 <= 2.6e+270)
		tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b))));
	else
		tmp = Float64(y1 * Float64(y4 * t_2));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = t * ((c * i) - (a * b));
	t_2 = (k * y2) - (j * y3);
	t_3 = k * ((b * y0) - (i * y1));
	t_4 = z * (t_3 + (t_1 + (y3 * ((a * y1) - (c * y0)))));
	t_5 = (j * y3) - (k * y2);
	t_6 = (z * k) - (x * j);
	t_7 = b * t_6;
	t_8 = (t * j) - (y * k);
	t_9 = (y * y3) - (t * y2);
	tmp = 0.0;
	if (y4 <= -9.2e+100)
		tmp = y4 * (((b * t_8) + (y1 * t_2)) + (c * t_9));
	elseif (y4 <= -3.3e-16)
		tmp = z * (t_3 + t_1);
	elseif (y4 <= -3.9e-83)
		tmp = y5 * (((y0 * t_5) - (i * t_8)) - (a * t_9));
	elseif (y4 <= -8.4e-206)
		tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_5)) + t_7);
	elseif (y4 <= 7.4e-240)
		tmp = t_4;
	elseif (y4 <= 2.7e-178)
		tmp = y0 * t_7;
	elseif (y4 <= 6.5e-99)
		tmp = t_4;
	elseif (y4 <= 5.4e-53)
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_8)) + (y0 * t_6));
	elseif (y4 <= 2.2e+229)
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	elseif (y4 <= 2.6e+270)
		tmp = k * (y4 * ((y1 * y2) - (y * b)));
	else
		tmp = y1 * (y4 * t_2);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(z * N[(t$95$3 + N[(t$95$1 + N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(b * t$95$6), $MachinePrecision]}, Block[{t$95$8 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -9.2e+100], N[(y4 * N[(N[(N[(b * t$95$8), $MachinePrecision] + N[(y1 * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(c * t$95$9), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -3.3e-16], N[(z * N[(t$95$3 + t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -3.9e-83], N[(y5 * N[(N[(N[(y0 * t$95$5), $MachinePrecision] - N[(i * t$95$8), $MachinePrecision]), $MachinePrecision] - N[(a * t$95$9), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -8.4e-206], N[(y0 * N[(N[(N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * t$95$5), $MachinePrecision]), $MachinePrecision] + t$95$7), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 7.4e-240], t$95$4, If[LessEqual[y4, 2.7e-178], N[(y0 * t$95$7), $MachinePrecision], If[LessEqual[y4, 6.5e-99], t$95$4, If[LessEqual[y4, 5.4e-53], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$8), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 2.2e+229], N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 2.6e+270], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y4 * t$95$2), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := t \cdot \left(c \cdot i - a \cdot b\right)\\
t_2 := k \cdot y2 - j \cdot y3\\
t_3 := k \cdot \left(b \cdot y0 - i \cdot y1\right)\\
t_4 := z \cdot \left(t_3 + \left(t_1 + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\
t_5 := j \cdot y3 - k \cdot y2\\
t_6 := z \cdot k - x \cdot j\\
t_7 := b \cdot t_6\\
t_8 := t \cdot j - y \cdot k\\
t_9 := y \cdot y3 - t \cdot y2\\
\mathbf{if}\;y4 \leq -9.2 \cdot 10^{+100}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t_8 + y1 \cdot t_2\right) + c \cdot t_9\right)\\

\mathbf{elif}\;y4 \leq -3.3 \cdot 10^{-16}:\\
\;\;\;\;z \cdot \left(t_3 + t_1\right)\\

\mathbf{elif}\;y4 \leq -3.9 \cdot 10^{-83}:\\
\;\;\;\;y5 \cdot \left(\left(y0 \cdot t_5 - i \cdot t_8\right) - a \cdot t_9\right)\\

\mathbf{elif}\;y4 \leq -8.4 \cdot 10^{-206}:\\
\;\;\;\;y0 \cdot \left(\left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + y5 \cdot t_5\right) + t_7\right)\\

\mathbf{elif}\;y4 \leq 7.4 \cdot 10^{-240}:\\
\;\;\;\;t_4\\

\mathbf{elif}\;y4 \leq 2.7 \cdot 10^{-178}:\\
\;\;\;\;y0 \cdot t_7\\

\mathbf{elif}\;y4 \leq 6.5 \cdot 10^{-99}:\\
\;\;\;\;t_4\\

\mathbf{elif}\;y4 \leq 5.4 \cdot 10^{-53}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot t_8\right) + y0 \cdot t_6\right)\\

\mathbf{elif}\;y4 \leq 2.2 \cdot 10^{+229}:\\
\;\;\;\;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(a \cdot y5 - c \cdot y4\right)\right)\\

\mathbf{elif}\;y4 \leq 2.6 \cdot 10^{+270}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\

\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot t_2\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 10 regimes
  2. if y4 < -9.1999999999999996e100

    1. Initial program 26.0%

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

      \[\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)} \]

    if -9.1999999999999996e100 < y4 < -3.29999999999999988e-16

    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. Taylor expanded in z around -inf 43.4%

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

      \[\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. Taylor expanded in y3 around 0 54.2%

      \[\leadsto -1 \cdot \color{blue}{\left(z \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    5. Step-by-step derivation
      1. *-commutative54.2%

        \[\leadsto -1 \cdot \left(z \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right) - k \cdot \left(\color{blue}{y0 \cdot b} - i \cdot y1\right)\right)\right) \]
      2. *-commutative54.2%

        \[\leadsto -1 \cdot \left(z \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right) - k \cdot \left(y0 \cdot b - \color{blue}{y1 \cdot i}\right)\right)\right) \]
    6. Simplified54.2%

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

    if -3.29999999999999988e-16 < y4 < -3.9e-83

    1. Initial program 42.3%

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

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

    if -3.9e-83 < y4 < -8.40000000000000041e-206

    1. Initial program 50.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. Taylor expanded in y0 around inf 65.5%

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg65.5%

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

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

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

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

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

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

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

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

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

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

    if -8.40000000000000041e-206 < y4 < 7.4000000000000003e-240 or 2.70000000000000009e-178 < y4 < 6.50000000000000033e-99

    1. Initial program 36.7%

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

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

      \[\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)} \]

    if 7.4000000000000003e-240 < y4 < 2.70000000000000009e-178

    1. Initial program 24.9%

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

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg50.0%

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

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

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

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

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

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

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

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

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

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

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

    if 6.50000000000000033e-99 < y4 < 5.3999999999999998e-53

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

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

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

    if 5.3999999999999998e-53 < y4 < 2.20000000000000004e229

    1. Initial program 15.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. Taylor expanded in y2 around inf 52.9%

      \[\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)} \]

    if 2.20000000000000004e229 < y4 < 2.60000000000000012e270

    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. Taylor expanded in k around inf 28.6%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in y4 around inf 72.8%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
    4. Step-by-step derivation
      1. +-commutative72.8%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 + -1 \cdot \left(b \cdot y\right)\right)}\right) \]
      2. mul-1-neg72.8%

        \[\leadsto k \cdot \left(y4 \cdot \left(y1 \cdot y2 + \color{blue}{\left(-b \cdot y\right)}\right)\right) \]
      3. unsub-neg72.8%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 - b \cdot y\right)}\right) \]
      4. *-commutative72.8%

        \[\leadsto k \cdot \left(y4 \cdot \left(\color{blue}{y2 \cdot y1} - b \cdot y\right)\right) \]
    5. Simplified72.8%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(y2 \cdot y1 - b \cdot y\right)\right)} \]

    if 2.60000000000000012e270 < y4

    1. Initial program 50.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. Taylor expanded in x around inf 26.0%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in y4 around inf 75.0%

      \[\leadsto \color{blue}{y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)} \]
  3. Recombined 10 regimes into one program.
  4. Final simplification61.0%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -9.2 \cdot 10^{+100}:\\ \;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y4 \leq -3.3 \cdot 10^{-16}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \mathbf{elif}\;y4 \leq -3.9 \cdot 10^{-83}:\\ \;\;\;\;y5 \cdot \left(\left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) - i \cdot \left(t \cdot j - y \cdot k\right)\right) - a \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y4 \leq -8.4 \cdot 10^{-206}:\\ \;\;\;\;y0 \cdot \left(\left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y4 \leq 7.4 \cdot 10^{-240}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot \left(c \cdot i - a \cdot b\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ \mathbf{elif}\;y4 \leq 2.7 \cdot 10^{-178}:\\ \;\;\;\;y0 \cdot \left(b \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y4 \leq 6.5 \cdot 10^{-99}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot \left(c \cdot i - a \cdot b\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ \mathbf{elif}\;y4 \leq 5.4 \cdot 10^{-53}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y4 \leq 2.2 \cdot 10^{+229}:\\ \;\;\;\;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(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y4 \leq 2.6 \cdot 10^{+270}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\ \end{array} \]

Alternative 9: 40.3% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y1 \cdot y4 - y0 \cdot y5\\ t_2 := b \cdot y0 - i \cdot y1\\ t_3 := z \cdot k - x \cdot j\\ t_4 := z \cdot \left(k \cdot t_2 + \left(t \cdot \left(c \cdot i - a \cdot b\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ t_5 := t \cdot j - y \cdot k\\ \mathbf{if}\;y2 \leq -2.5 \cdot 10^{+185}:\\ \;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4 - z \cdot i\right)\right)\\ \mathbf{elif}\;y2 \leq -1.2 \cdot 10^{+87}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y2 \leq -1.1 \cdot 10^{-47}:\\ \;\;\;\;k \cdot \left(\left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot t_1\right) + z \cdot t_2\right)\\ \mathbf{elif}\;y2 \leq -1.3 \cdot 10^{-120}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y2 \leq -4.1 \cdot 10^{-215}:\\ \;\;\;\;y4 \cdot \left(\left(b \cdot t_5 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y2 \leq -1.28 \cdot 10^{-287}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y2 \leq 4.2 \cdot 10^{-220}:\\ \;\;\;\;i \cdot \left(\left(c \cdot \left(z \cdot t - x \cdot y\right) + y5 \cdot \left(y \cdot k - t \cdot j\right)\right) - y1 \cdot t_3\right)\\ \mathbf{elif}\;y2 \leq 1.1 \cdot 10^{-169}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y2 \leq 1.95 \cdot 10^{+36}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot t_5\right) + y0 \cdot t_3\right)\\ \mathbf{else}:\\ \;\;\;\;y2 \cdot \left(\left(k \cdot t_1 + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + 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 (- (* y1 y4) (* y0 y5)))
        (t_2 (- (* b y0) (* i y1)))
        (t_3 (- (* z k) (* x j)))
        (t_4
         (*
          z
          (+
           (* k t_2)
           (+ (* t (- (* c i) (* a b))) (* y3 (- (* a y1) (* c y0)))))))
        (t_5 (- (* t j) (* y k))))
   (if (<= y2 -2.5e+185)
     (* k (* y1 (- (* y2 y4) (* z i))))
     (if (<= y2 -1.2e+87)
       t_4
       (if (<= y2 -1.1e-47)
         (* k (+ (+ (* y (- (* i y5) (* b y4))) (* y2 t_1)) (* z t_2)))
         (if (<= y2 -1.3e-120)
           t_4
           (if (<= y2 -4.1e-215)
             (*
              y4
              (+
               (+ (* b t_5) (* y1 (- (* k y2) (* j y3))))
               (* c (- (* y y3) (* t y2)))))
             (if (<= y2 -1.28e-287)
               t_4
               (if (<= y2 4.2e-220)
                 (*
                  i
                  (-
                   (+ (* c (- (* z t) (* x y))) (* y5 (- (* y k) (* t j))))
                   (* y1 t_3)))
                 (if (<= y2 1.1e-169)
                   t_4
                   (if (<= y2 1.95e+36)
                     (*
                      b
                      (+ (+ (* a (- (* x y) (* z t))) (* y4 t_5)) (* y0 t_3)))
                     (*
                      y2
                      (+
                       (+ (* k t_1) (* x (- (* c y0) (* a y1))))
                       (* 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 = (y1 * y4) - (y0 * y5);
	double t_2 = (b * y0) - (i * y1);
	double t_3 = (z * k) - (x * j);
	double t_4 = z * ((k * t_2) + ((t * ((c * i) - (a * b))) + (y3 * ((a * y1) - (c * y0)))));
	double t_5 = (t * j) - (y * k);
	double tmp;
	if (y2 <= -2.5e+185) {
		tmp = k * (y1 * ((y2 * y4) - (z * i)));
	} else if (y2 <= -1.2e+87) {
		tmp = t_4;
	} else if (y2 <= -1.1e-47) {
		tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * t_1)) + (z * t_2));
	} else if (y2 <= -1.3e-120) {
		tmp = t_4;
	} else if (y2 <= -4.1e-215) {
		tmp = y4 * (((b * t_5) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
	} else if (y2 <= -1.28e-287) {
		tmp = t_4;
	} else if (y2 <= 4.2e-220) {
		tmp = i * (((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))) - (y1 * t_3));
	} else if (y2 <= 1.1e-169) {
		tmp = t_4;
	} else if (y2 <= 1.95e+36) {
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_5)) + (y0 * t_3));
	} else {
		tmp = y2 * (((k * t_1) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (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) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: t_5
    real(8) :: tmp
    t_1 = (y1 * y4) - (y0 * y5)
    t_2 = (b * y0) - (i * y1)
    t_3 = (z * k) - (x * j)
    t_4 = z * ((k * t_2) + ((t * ((c * i) - (a * b))) + (y3 * ((a * y1) - (c * y0)))))
    t_5 = (t * j) - (y * k)
    if (y2 <= (-2.5d+185)) then
        tmp = k * (y1 * ((y2 * y4) - (z * i)))
    else if (y2 <= (-1.2d+87)) then
        tmp = t_4
    else if (y2 <= (-1.1d-47)) then
        tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * t_1)) + (z * t_2))
    else if (y2 <= (-1.3d-120)) then
        tmp = t_4
    else if (y2 <= (-4.1d-215)) then
        tmp = y4 * (((b * t_5) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
    else if (y2 <= (-1.28d-287)) then
        tmp = t_4
    else if (y2 <= 4.2d-220) then
        tmp = i * (((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))) - (y1 * t_3))
    else if (y2 <= 1.1d-169) then
        tmp = t_4
    else if (y2 <= 1.95d+36) then
        tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_5)) + (y0 * t_3))
    else
        tmp = y2 * (((k * t_1) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (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 t_1 = (y1 * y4) - (y0 * y5);
	double t_2 = (b * y0) - (i * y1);
	double t_3 = (z * k) - (x * j);
	double t_4 = z * ((k * t_2) + ((t * ((c * i) - (a * b))) + (y3 * ((a * y1) - (c * y0)))));
	double t_5 = (t * j) - (y * k);
	double tmp;
	if (y2 <= -2.5e+185) {
		tmp = k * (y1 * ((y2 * y4) - (z * i)));
	} else if (y2 <= -1.2e+87) {
		tmp = t_4;
	} else if (y2 <= -1.1e-47) {
		tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * t_1)) + (z * t_2));
	} else if (y2 <= -1.3e-120) {
		tmp = t_4;
	} else if (y2 <= -4.1e-215) {
		tmp = y4 * (((b * t_5) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
	} else if (y2 <= -1.28e-287) {
		tmp = t_4;
	} else if (y2 <= 4.2e-220) {
		tmp = i * (((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))) - (y1 * t_3));
	} else if (y2 <= 1.1e-169) {
		tmp = t_4;
	} else if (y2 <= 1.95e+36) {
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_5)) + (y0 * t_3));
	} else {
		tmp = y2 * (((k * t_1) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (y1 * y4) - (y0 * y5)
	t_2 = (b * y0) - (i * y1)
	t_3 = (z * k) - (x * j)
	t_4 = z * ((k * t_2) + ((t * ((c * i) - (a * b))) + (y3 * ((a * y1) - (c * y0)))))
	t_5 = (t * j) - (y * k)
	tmp = 0
	if y2 <= -2.5e+185:
		tmp = k * (y1 * ((y2 * y4) - (z * i)))
	elif y2 <= -1.2e+87:
		tmp = t_4
	elif y2 <= -1.1e-47:
		tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * t_1)) + (z * t_2))
	elif y2 <= -1.3e-120:
		tmp = t_4
	elif y2 <= -4.1e-215:
		tmp = y4 * (((b * t_5) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
	elif y2 <= -1.28e-287:
		tmp = t_4
	elif y2 <= 4.2e-220:
		tmp = i * (((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))) - (y1 * t_3))
	elif y2 <= 1.1e-169:
		tmp = t_4
	elif y2 <= 1.95e+36:
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_5)) + (y0 * t_3))
	else:
		tmp = y2 * (((k * t_1) + (x * ((c * y0) - (a * y1)))) + (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(Float64(y1 * y4) - Float64(y0 * y5))
	t_2 = Float64(Float64(b * y0) - Float64(i * y1))
	t_3 = Float64(Float64(z * k) - Float64(x * j))
	t_4 = Float64(z * Float64(Float64(k * t_2) + Float64(Float64(t * Float64(Float64(c * i) - Float64(a * b))) + Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))))))
	t_5 = Float64(Float64(t * j) - Float64(y * k))
	tmp = 0.0
	if (y2 <= -2.5e+185)
		tmp = Float64(k * Float64(y1 * Float64(Float64(y2 * y4) - Float64(z * i))));
	elseif (y2 <= -1.2e+87)
		tmp = t_4;
	elseif (y2 <= -1.1e-47)
		tmp = Float64(k * Float64(Float64(Float64(y * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(y2 * t_1)) + Float64(z * t_2)));
	elseif (y2 <= -1.3e-120)
		tmp = t_4;
	elseif (y2 <= -4.1e-215)
		tmp = Float64(y4 * Float64(Float64(Float64(b * t_5) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2)))));
	elseif (y2 <= -1.28e-287)
		tmp = t_4;
	elseif (y2 <= 4.2e-220)
		tmp = Float64(i * Float64(Float64(Float64(c * Float64(Float64(z * t) - Float64(x * y))) + Float64(y5 * Float64(Float64(y * k) - Float64(t * j)))) - Float64(y1 * t_3)));
	elseif (y2 <= 1.1e-169)
		tmp = t_4;
	elseif (y2 <= 1.95e+36)
		tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * t_5)) + Float64(y0 * t_3)));
	else
		tmp = Float64(y2 * Float64(Float64(Float64(k * t_1) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * 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)
	t_1 = (y1 * y4) - (y0 * y5);
	t_2 = (b * y0) - (i * y1);
	t_3 = (z * k) - (x * j);
	t_4 = z * ((k * t_2) + ((t * ((c * i) - (a * b))) + (y3 * ((a * y1) - (c * y0)))));
	t_5 = (t * j) - (y * k);
	tmp = 0.0;
	if (y2 <= -2.5e+185)
		tmp = k * (y1 * ((y2 * y4) - (z * i)));
	elseif (y2 <= -1.2e+87)
		tmp = t_4;
	elseif (y2 <= -1.1e-47)
		tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * t_1)) + (z * t_2));
	elseif (y2 <= -1.3e-120)
		tmp = t_4;
	elseif (y2 <= -4.1e-215)
		tmp = y4 * (((b * t_5) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
	elseif (y2 <= -1.28e-287)
		tmp = t_4;
	elseif (y2 <= 4.2e-220)
		tmp = i * (((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))) - (y1 * t_3));
	elseif (y2 <= 1.1e-169)
		tmp = t_4;
	elseif (y2 <= 1.95e+36)
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_5)) + (y0 * t_3));
	else
		tmp = y2 * (((k * t_1) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	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[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(z * N[(N[(k * t$95$2), $MachinePrecision] + N[(N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -2.5e+185], N[(k * N[(y1 * N[(N[(y2 * y4), $MachinePrecision] - N[(z * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.2e+87], t$95$4, If[LessEqual[y2, -1.1e-47], N[(k * N[(N[(N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(z * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.3e-120], t$95$4, If[LessEqual[y2, -4.1e-215], N[(y4 * N[(N[(N[(b * t$95$5), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.28e-287], t$95$4, If[LessEqual[y2, 4.2e-220], N[(i * N[(N[(N[(c * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y1 * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.1e-169], t$95$4, If[LessEqual[y2, 1.95e+36], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$5), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y2 * N[(N[(N[(k * t$95$1), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;y2 \leq -1.2 \cdot 10^{+87}:\\
\;\;\;\;t_4\\

\mathbf{elif}\;y2 \leq -1.1 \cdot 10^{-47}:\\
\;\;\;\;k \cdot \left(\left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot t_1\right) + z \cdot t_2\right)\\

\mathbf{elif}\;y2 \leq -1.3 \cdot 10^{-120}:\\
\;\;\;\;t_4\\

\mathbf{elif}\;y2 \leq -4.1 \cdot 10^{-215}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t_5 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\

\mathbf{elif}\;y2 \leq -1.28 \cdot 10^{-287}:\\
\;\;\;\;t_4\\

\mathbf{elif}\;y2 \leq 4.2 \cdot 10^{-220}:\\
\;\;\;\;i \cdot \left(\left(c \cdot \left(z \cdot t - x \cdot y\right) + y5 \cdot \left(y \cdot k - t \cdot j\right)\right) - y1 \cdot t_3\right)\\

\mathbf{elif}\;y2 \leq 1.1 \cdot 10^{-169}:\\
\;\;\;\;t_4\\

\mathbf{elif}\;y2 \leq 1.95 \cdot 10^{+36}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot t_5\right) + y0 \cdot t_3\right)\\

\mathbf{else}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot t_1 + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if y2 < -2.49999999999999995e185

    1. Initial program 12.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. Taylor expanded in k around inf 33.5%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in y1 around inf 59.1%

      \[\leadsto \color{blue}{k \cdot \left(y1 \cdot \left(y2 \cdot y4 - i \cdot z\right)\right)} \]

    if -2.49999999999999995e185 < y2 < -1.19999999999999991e87 or -1.10000000000000009e-47 < y2 < -1.3000000000000001e-120 or -4.09999999999999985e-215 < y2 < -1.28e-287 or 4.19999999999999985e-220 < y2 < 1.10000000000000004e-169

    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. Taylor expanded in z around -inf 50.3%

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

      \[\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)} \]

    if -1.19999999999999991e87 < y2 < -1.10000000000000009e-47

    1. Initial program 23.0%

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

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

    if -1.3000000000000001e-120 < y2 < -4.09999999999999985e-215

    1. Initial program 45.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. Taylor expanded in y4 around inf 55.2%

      \[\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)} \]

    if -1.28e-287 < y2 < 4.19999999999999985e-220

    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. Simplified30.2%

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

      \[\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(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)\right)} \]

    if 1.10000000000000004e-169 < y2 < 1.9500000000000001e36

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

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

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

    if 1.9500000000000001e36 < y2

    1. Initial program 29.6%

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

      \[\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)} \]
  3. Recombined 7 regimes into one program.
  4. Final simplification60.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -2.5 \cdot 10^{+185}:\\ \;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4 - z \cdot i\right)\right)\\ \mathbf{elif}\;y2 \leq -1.2 \cdot 10^{+87}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot \left(c \cdot i - a \cdot b\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ \mathbf{elif}\;y2 \leq -1.1 \cdot 10^{-47}:\\ \;\;\;\;k \cdot \left(\left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\ \mathbf{elif}\;y2 \leq -1.3 \cdot 10^{-120}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot \left(c \cdot i - a \cdot b\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ \mathbf{elif}\;y2 \leq -4.1 \cdot 10^{-215}:\\ \;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y2 \leq -1.28 \cdot 10^{-287}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot \left(c \cdot i - a \cdot b\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ \mathbf{elif}\;y2 \leq 4.2 \cdot 10^{-220}:\\ \;\;\;\;i \cdot \left(\left(c \cdot \left(z \cdot t - x \cdot y\right) + y5 \cdot \left(y \cdot k - t \cdot j\right)\right) - y1 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y2 \leq 1.1 \cdot 10^{-169}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot \left(c \cdot i - a \cdot b\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ \mathbf{elif}\;y2 \leq 1.95 \cdot 10^{+36}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;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(a \cdot y5 - c \cdot y4\right)\right)\\ \end{array} \]

Alternative 10: 40.0% accurate, 2.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\ t_2 := y1 \cdot y4 - y0 \cdot y5\\ t_3 := y2 \cdot \left(\left(k \cdot t_2 + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{if}\;z \leq -1.38 \cdot 10^{+169}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -1.75 \cdot 10^{-19}:\\ \;\;\;\;y0 \cdot \left(\left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;z \leq -9.5 \cdot 10^{-159}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 5.8 \cdot 10^{-229}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;z \leq 3.5 \cdot 10^{-63}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 3.6 \cdot 10^{+112}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot t_2 + x \cdot \left(y1 \cdot \left(i \cdot j - a \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 (* z (+ (* k (- (* b y0) (* i y1))) (* t (- (* c i) (* a b))))))
        (t_2 (- (* y1 y4) (* y0 y5)))
        (t_3
         (*
          y2
          (+
           (+ (* k t_2) (* x (- (* c y0) (* a y1))))
           (* t (- (* a y5) (* c y4)))))))
   (if (<= z -1.38e+169)
     t_1
     (if (<= z -1.75e-19)
       (*
        y0
        (+
         (+ (* c (- (* x y2) (* z y3))) (* y5 (- (* j y3) (* k y2))))
         (* b (- (* z k) (* x j)))))
       (if (<= z -9.5e-159)
         t_3
         (if (<= z 5.8e-229)
           (* b (* x (- (* y a) (* j y0))))
           (if (<= z 3.5e-63)
             t_3
             (if (<= z 3.6e+112)
               (+
                (* (- (* k y2) (* j y3)) t_2)
                (* x (* y1 (- (* i j) (* a 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 = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))));
	double t_2 = (y1 * y4) - (y0 * y5);
	double t_3 = y2 * (((k * t_2) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	double tmp;
	if (z <= -1.38e+169) {
		tmp = t_1;
	} else if (z <= -1.75e-19) {
		tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))));
	} else if (z <= -9.5e-159) {
		tmp = t_3;
	} else if (z <= 5.8e-229) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else if (z <= 3.5e-63) {
		tmp = t_3;
	} else if (z <= 3.6e+112) {
		tmp = (((k * y2) - (j * y3)) * t_2) + (x * (y1 * ((i * j) - (a * 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) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))))
    t_2 = (y1 * y4) - (y0 * y5)
    t_3 = y2 * (((k * t_2) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
    if (z <= (-1.38d+169)) then
        tmp = t_1
    else if (z <= (-1.75d-19)) then
        tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))))
    else if (z <= (-9.5d-159)) then
        tmp = t_3
    else if (z <= 5.8d-229) then
        tmp = b * (x * ((y * a) - (j * y0)))
    else if (z <= 3.5d-63) then
        tmp = t_3
    else if (z <= 3.6d+112) then
        tmp = (((k * y2) - (j * y3)) * t_2) + (x * (y1 * ((i * j) - (a * 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 = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))));
	double t_2 = (y1 * y4) - (y0 * y5);
	double t_3 = y2 * (((k * t_2) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	double tmp;
	if (z <= -1.38e+169) {
		tmp = t_1;
	} else if (z <= -1.75e-19) {
		tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))));
	} else if (z <= -9.5e-159) {
		tmp = t_3;
	} else if (z <= 5.8e-229) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else if (z <= 3.5e-63) {
		tmp = t_3;
	} else if (z <= 3.6e+112) {
		tmp = (((k * y2) - (j * y3)) * t_2) + (x * (y1 * ((i * j) - (a * 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 = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))))
	t_2 = (y1 * y4) - (y0 * y5)
	t_3 = y2 * (((k * t_2) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
	tmp = 0
	if z <= -1.38e+169:
		tmp = t_1
	elif z <= -1.75e-19:
		tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))))
	elif z <= -9.5e-159:
		tmp = t_3
	elif z <= 5.8e-229:
		tmp = b * (x * ((y * a) - (j * y0)))
	elif z <= 3.5e-63:
		tmp = t_3
	elif z <= 3.6e+112:
		tmp = (((k * y2) - (j * y3)) * t_2) + (x * (y1 * ((i * j) - (a * 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(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(t * Float64(Float64(c * i) - Float64(a * b)))))
	t_2 = Float64(Float64(y1 * y4) - Float64(y0 * y5))
	t_3 = Float64(y2 * Float64(Float64(Float64(k * t_2) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4)))))
	tmp = 0.0
	if (z <= -1.38e+169)
		tmp = t_1;
	elseif (z <= -1.75e-19)
		tmp = Float64(y0 * Float64(Float64(Float64(c * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))) + Float64(b * Float64(Float64(z * k) - Float64(x * j)))));
	elseif (z <= -9.5e-159)
		tmp = t_3;
	elseif (z <= 5.8e-229)
		tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0))));
	elseif (z <= 3.5e-63)
		tmp = t_3;
	elseif (z <= 3.6e+112)
		tmp = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * t_2) + Float64(x * Float64(y1 * Float64(Float64(i * j) - Float64(a * 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 = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))));
	t_2 = (y1 * y4) - (y0 * y5);
	t_3 = y2 * (((k * t_2) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	tmp = 0.0;
	if (z <= -1.38e+169)
		tmp = t_1;
	elseif (z <= -1.75e-19)
		tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))));
	elseif (z <= -9.5e-159)
		tmp = t_3;
	elseif (z <= 5.8e-229)
		tmp = b * (x * ((y * a) - (j * y0)));
	elseif (z <= 3.5e-63)
		tmp = t_3;
	elseif (z <= 3.6e+112)
		tmp = (((k * y2) - (j * y3)) * t_2) + (x * (y1 * ((i * j) - (a * 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[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y2 * N[(N[(N[(k * t$95$2), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.38e+169], t$95$1, If[LessEqual[z, -1.75e-19], N[(y0 * N[(N[(N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -9.5e-159], t$95$3, If[LessEqual[z, 5.8e-229], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.5e-63], t$95$3, If[LessEqual[z, 3.6e+112], N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision] + N[(x * N[(y1 * N[(N[(i * j), $MachinePrecision] - N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\
t_2 := y1 \cdot y4 - y0 \cdot y5\\
t_3 := y2 \cdot \left(\left(k \cdot t_2 + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{if}\;z \leq -1.38 \cdot 10^{+169}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;z \leq -1.75 \cdot 10^{-19}:\\
\;\;\;\;y0 \cdot \left(\left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\

\mathbf{elif}\;z \leq -9.5 \cdot 10^{-159}:\\
\;\;\;\;t_3\\

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

\mathbf{elif}\;z \leq 3.5 \cdot 10^{-63}:\\
\;\;\;\;t_3\\

\mathbf{elif}\;z \leq 3.6 \cdot 10^{+112}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot t_2 + x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if z < -1.38e169 or 3.6e112 < z

    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. Taylor expanded in z around -inf 52.0%

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

      \[\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. Taylor expanded in y3 around 0 60.7%

      \[\leadsto -1 \cdot \color{blue}{\left(z \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    5. Step-by-step derivation
      1. *-commutative60.7%

        \[\leadsto -1 \cdot \left(z \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right) - k \cdot \left(\color{blue}{y0 \cdot b} - i \cdot y1\right)\right)\right) \]
      2. *-commutative60.7%

        \[\leadsto -1 \cdot \left(z \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right) - k \cdot \left(y0 \cdot b - \color{blue}{y1 \cdot i}\right)\right)\right) \]
    6. Simplified60.7%

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

    if -1.38e169 < z < -1.75000000000000008e-19

    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. Taylor expanded in y0 around inf 52.0%

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg52.0%

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

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

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

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

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

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

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

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

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

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

    if -1.75000000000000008e-19 < z < -9.4999999999999997e-159 or 5.7999999999999999e-229 < z < 3.50000000000000003e-63

    1. Initial program 37.3%

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

      \[\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)} \]

    if -9.4999999999999997e-159 < z < 5.7999999999999999e-229

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in x around inf 47.5%

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

    if 3.50000000000000003e-63 < z < 3.6e112

    1. Initial program 20.7%

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

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in y1 around -inf 57.1%

      \[\leadsto \color{blue}{-1 \cdot \left(x \cdot \left(y1 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    4. Step-by-step derivation
      1. associate-*r*57.1%

        \[\leadsto \color{blue}{\left(-1 \cdot x\right) \cdot \left(y1 \cdot \left(a \cdot y2 - i \cdot j\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      2. neg-mul-157.1%

        \[\leadsto \color{blue}{\left(-x\right)} \cdot \left(y1 \cdot \left(a \cdot y2 - i \cdot j\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      3. *-commutative57.1%

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -1.38 \cdot 10^{+169}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \mathbf{elif}\;z \leq -1.75 \cdot 10^{-19}:\\ \;\;\;\;y0 \cdot \left(\left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;z \leq -9.5 \cdot 10^{-159}:\\ \;\;\;\;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(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;z \leq 5.8 \cdot 10^{-229}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;z \leq 3.5 \cdot 10^{-63}:\\ \;\;\;\;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(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;z \leq 3.6 \cdot 10^{+112}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \end{array} \]

Alternative 11: 32.7% accurate, 2.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(z \cdot y0\right) \cdot \left(b \cdot k - c \cdot y3\right)\\ \mathbf{if}\;x \leq -9.5 \cdot 10^{+14}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;x \leq -9.6 \cdot 10^{-32}:\\ \;\;\;\;\left(z \cdot a\right) \cdot \left(y1 \cdot y3 - t \cdot b\right)\\ \mathbf{elif}\;x \leq -5.2 \cdot 10^{-94}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq -4.35 \cdot 10^{-162}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;x \leq 2.55 \cdot 10^{-223}:\\ \;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4 - z \cdot i\right)\right)\\ \mathbf{elif}\;x \leq 7 \cdot 10^{-102}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 7.5 \cdot 10^{-68}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\ \mathbf{elif}\;x \leq 1.75 \cdot 10^{+190}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \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 (* (* z y0) (- (* b k) (* c y3)))))
   (if (<= x -9.5e+14)
     (* b (* x (- (* y a) (* j y0))))
     (if (<= x -9.6e-32)
       (* (* z a) (- (* y1 y3) (* t b)))
       (if (<= x -5.2e-94)
         t_1
         (if (<= x -4.35e-162)
           (* y3 (* z (- (* a y1) (* c y0))))
           (if (<= x 2.55e-223)
             (* k (* y1 (- (* y2 y4) (* z i))))
             (if (<= x 7e-102)
               t_1
               (if (<= x 7.5e-68)
                 (* k (* y4 (- (* y1 y2) (* y b))))
                 (if (<= x 1.75e+190)
                   (*
                    z
                    (+ (* k (- (* b y0) (* i y1))) (* t (- (* c i) (* a b)))))
                   (* c (* x (- (* y0 y2) (* y 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 = (z * y0) * ((b * k) - (c * y3));
	double tmp;
	if (x <= -9.5e+14) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else if (x <= -9.6e-32) {
		tmp = (z * a) * ((y1 * y3) - (t * b));
	} else if (x <= -5.2e-94) {
		tmp = t_1;
	} else if (x <= -4.35e-162) {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	} else if (x <= 2.55e-223) {
		tmp = k * (y1 * ((y2 * y4) - (z * i)));
	} else if (x <= 7e-102) {
		tmp = t_1;
	} else if (x <= 7.5e-68) {
		tmp = k * (y4 * ((y1 * y2) - (y * b)));
	} else if (x <= 1.75e+190) {
		tmp = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))));
	} else {
		tmp = c * (x * ((y0 * y2) - (y * 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) :: t_1
    real(8) :: tmp
    t_1 = (z * y0) * ((b * k) - (c * y3))
    if (x <= (-9.5d+14)) then
        tmp = b * (x * ((y * a) - (j * y0)))
    else if (x <= (-9.6d-32)) then
        tmp = (z * a) * ((y1 * y3) - (t * b))
    else if (x <= (-5.2d-94)) then
        tmp = t_1
    else if (x <= (-4.35d-162)) then
        tmp = y3 * (z * ((a * y1) - (c * y0)))
    else if (x <= 2.55d-223) then
        tmp = k * (y1 * ((y2 * y4) - (z * i)))
    else if (x <= 7d-102) then
        tmp = t_1
    else if (x <= 7.5d-68) then
        tmp = k * (y4 * ((y1 * y2) - (y * b)))
    else if (x <= 1.75d+190) then
        tmp = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))))
    else
        tmp = c * (x * ((y0 * y2) - (y * 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 t_1 = (z * y0) * ((b * k) - (c * y3));
	double tmp;
	if (x <= -9.5e+14) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else if (x <= -9.6e-32) {
		tmp = (z * a) * ((y1 * y3) - (t * b));
	} else if (x <= -5.2e-94) {
		tmp = t_1;
	} else if (x <= -4.35e-162) {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	} else if (x <= 2.55e-223) {
		tmp = k * (y1 * ((y2 * y4) - (z * i)));
	} else if (x <= 7e-102) {
		tmp = t_1;
	} else if (x <= 7.5e-68) {
		tmp = k * (y4 * ((y1 * y2) - (y * b)));
	} else if (x <= 1.75e+190) {
		tmp = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))));
	} else {
		tmp = c * (x * ((y0 * y2) - (y * i)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (z * y0) * ((b * k) - (c * y3))
	tmp = 0
	if x <= -9.5e+14:
		tmp = b * (x * ((y * a) - (j * y0)))
	elif x <= -9.6e-32:
		tmp = (z * a) * ((y1 * y3) - (t * b))
	elif x <= -5.2e-94:
		tmp = t_1
	elif x <= -4.35e-162:
		tmp = y3 * (z * ((a * y1) - (c * y0)))
	elif x <= 2.55e-223:
		tmp = k * (y1 * ((y2 * y4) - (z * i)))
	elif x <= 7e-102:
		tmp = t_1
	elif x <= 7.5e-68:
		tmp = k * (y4 * ((y1 * y2) - (y * b)))
	elif x <= 1.75e+190:
		tmp = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))))
	else:
		tmp = c * (x * ((y0 * y2) - (y * 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(z * y0) * Float64(Float64(b * k) - Float64(c * y3)))
	tmp = 0.0
	if (x <= -9.5e+14)
		tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0))));
	elseif (x <= -9.6e-32)
		tmp = Float64(Float64(z * a) * Float64(Float64(y1 * y3) - Float64(t * b)));
	elseif (x <= -5.2e-94)
		tmp = t_1;
	elseif (x <= -4.35e-162)
		tmp = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0))));
	elseif (x <= 2.55e-223)
		tmp = Float64(k * Float64(y1 * Float64(Float64(y2 * y4) - Float64(z * i))));
	elseif (x <= 7e-102)
		tmp = t_1;
	elseif (x <= 7.5e-68)
		tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b))));
	elseif (x <= 1.75e+190)
		tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(t * Float64(Float64(c * i) - Float64(a * b)))));
	else
		tmp = Float64(c * Float64(x * Float64(Float64(y0 * y2) - Float64(y * 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)
	t_1 = (z * y0) * ((b * k) - (c * y3));
	tmp = 0.0;
	if (x <= -9.5e+14)
		tmp = b * (x * ((y * a) - (j * y0)));
	elseif (x <= -9.6e-32)
		tmp = (z * a) * ((y1 * y3) - (t * b));
	elseif (x <= -5.2e-94)
		tmp = t_1;
	elseif (x <= -4.35e-162)
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	elseif (x <= 2.55e-223)
		tmp = k * (y1 * ((y2 * y4) - (z * i)));
	elseif (x <= 7e-102)
		tmp = t_1;
	elseif (x <= 7.5e-68)
		tmp = k * (y4 * ((y1 * y2) - (y * b)));
	elseif (x <= 1.75e+190)
		tmp = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))));
	else
		tmp = c * (x * ((y0 * y2) - (y * i)));
	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[(z * y0), $MachinePrecision] * N[(N[(b * k), $MachinePrecision] - N[(c * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -9.5e+14], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -9.6e-32], N[(N[(z * a), $MachinePrecision] * N[(N[(y1 * y3), $MachinePrecision] - N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -5.2e-94], t$95$1, If[LessEqual[x, -4.35e-162], N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.55e-223], N[(k * N[(y1 * N[(N[(y2 * y4), $MachinePrecision] - N[(z * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 7e-102], t$95$1, If[LessEqual[x, 7.5e-68], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.75e+190], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(x * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \left(z \cdot y0\right) \cdot \left(b \cdot k - c \cdot y3\right)\\
\mathbf{if}\;x \leq -9.5 \cdot 10^{+14}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\

\mathbf{elif}\;x \leq -9.6 \cdot 10^{-32}:\\
\;\;\;\;\left(z \cdot a\right) \cdot \left(y1 \cdot y3 - t \cdot b\right)\\

\mathbf{elif}\;x \leq -5.2 \cdot 10^{-94}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;x \leq -4.35 \cdot 10^{-162}:\\
\;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\

\mathbf{elif}\;x \leq 2.55 \cdot 10^{-223}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4 - z \cdot i\right)\right)\\

\mathbf{elif}\;x \leq 7 \cdot 10^{-102}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;x \leq 7.5 \cdot 10^{-68}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\

\mathbf{elif}\;x \leq 1.75 \cdot 10^{+190}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\

\mathbf{else}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if x < -9.5e14

    1. Initial program 25.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. Simplified25.3%

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in x around inf 49.3%

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

    if -9.5e14 < x < -9.6000000000000005e-32

    1. Initial program 32.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. Taylor expanded in z around -inf 37.3%

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

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

        \[\leadsto \color{blue}{\left(a \cdot z\right) \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)} \]
      2. *-commutative69.6%

        \[\leadsto \color{blue}{\left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right) \cdot \left(a \cdot z\right)} \]
      3. +-commutative69.6%

        \[\leadsto \color{blue}{\left(y1 \cdot y3 + -1 \cdot \left(b \cdot t\right)\right)} \cdot \left(a \cdot z\right) \]
      4. mul-1-neg69.6%

        \[\leadsto \left(y1 \cdot y3 + \color{blue}{\left(-b \cdot t\right)}\right) \cdot \left(a \cdot z\right) \]
      5. unsub-neg69.6%

        \[\leadsto \color{blue}{\left(y1 \cdot y3 - b \cdot t\right)} \cdot \left(a \cdot z\right) \]
      6. *-commutative69.6%

        \[\leadsto \left(\color{blue}{y3 \cdot y1} - b \cdot t\right) \cdot \left(a \cdot z\right) \]
      7. *-commutative69.6%

        \[\leadsto \left(y3 \cdot y1 - \color{blue}{t \cdot b}\right) \cdot \left(a \cdot z\right) \]
      8. *-commutative69.6%

        \[\leadsto \left(y3 \cdot y1 - t \cdot b\right) \cdot \color{blue}{\left(z \cdot a\right)} \]
    5. Simplified69.6%

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

    if -9.6000000000000005e-32 < x < -5.19999999999999988e-94 or 2.54999999999999987e-223 < x < 6.99999999999999973e-102

    1. Initial program 30.8%

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

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

      \[\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. Taylor expanded in y0 around inf 57.3%

      \[\leadsto -1 \cdot \color{blue}{\left(y0 \cdot \left(z \cdot \left(c \cdot y3 - b \cdot k\right)\right)\right)} \]
    5. Step-by-step derivation
      1. associate-*r*50.8%

        \[\leadsto -1 \cdot \color{blue}{\left(\left(y0 \cdot z\right) \cdot \left(c \cdot y3 - b \cdot k\right)\right)} \]
      2. *-commutative50.8%

        \[\leadsto -1 \cdot \color{blue}{\left(\left(c \cdot y3 - b \cdot k\right) \cdot \left(y0 \cdot z\right)\right)} \]
      3. *-commutative50.8%

        \[\leadsto -1 \cdot \left(\left(\color{blue}{y3 \cdot c} - b \cdot k\right) \cdot \left(y0 \cdot z\right)\right) \]
      4. *-commutative50.8%

        \[\leadsto -1 \cdot \left(\left(y3 \cdot c - \color{blue}{k \cdot b}\right) \cdot \left(y0 \cdot z\right)\right) \]
    6. Simplified50.8%

      \[\leadsto -1 \cdot \color{blue}{\left(\left(y3 \cdot c - k \cdot b\right) \cdot \left(y0 \cdot z\right)\right)} \]

    if -5.19999999999999988e-94 < x < -4.35000000000000015e-162

    1. Initial program 45.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. Taylor expanded in y3 around -inf 35.7%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    3. Taylor expanded in z around inf 45.8%

      \[\leadsto -1 \cdot \color{blue}{\left(y3 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right)} \]

    if -4.35000000000000015e-162 < x < 2.54999999999999987e-223

    1. Initial program 30.8%

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

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in y1 around inf 44.6%

      \[\leadsto \color{blue}{k \cdot \left(y1 \cdot \left(y2 \cdot y4 - i \cdot z\right)\right)} \]

    if 6.99999999999999973e-102 < x < 7.50000000000000081e-68

    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. Taylor expanded in k around inf 44.8%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in y4 around inf 57.8%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
    4. Step-by-step derivation
      1. +-commutative57.8%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 + -1 \cdot \left(b \cdot y\right)\right)}\right) \]
      2. mul-1-neg57.8%

        \[\leadsto k \cdot \left(y4 \cdot \left(y1 \cdot y2 + \color{blue}{\left(-b \cdot y\right)}\right)\right) \]
      3. unsub-neg57.8%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 - b \cdot y\right)}\right) \]
      4. *-commutative57.8%

        \[\leadsto k \cdot \left(y4 \cdot \left(\color{blue}{y2 \cdot y1} - b \cdot y\right)\right) \]
    5. Simplified57.8%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(y2 \cdot y1 - b \cdot y\right)\right)} \]

    if 7.50000000000000081e-68 < x < 1.7499999999999999e190

    1. Initial program 26.1%

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

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

      \[\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. Taylor expanded in y3 around 0 44.7%

      \[\leadsto -1 \cdot \color{blue}{\left(z \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    5. Step-by-step derivation
      1. *-commutative44.7%

        \[\leadsto -1 \cdot \left(z \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right) - k \cdot \left(\color{blue}{y0 \cdot b} - i \cdot y1\right)\right)\right) \]
      2. *-commutative44.7%

        \[\leadsto -1 \cdot \left(z \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right) - k \cdot \left(y0 \cdot b - \color{blue}{y1 \cdot i}\right)\right)\right) \]
    6. Simplified44.7%

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

    if 1.7499999999999999e190 < x

    1. Initial program 24.2%

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

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in c around inf 59.0%

      \[\leadsto \color{blue}{c \cdot \left(x \cdot \left(-1 \cdot \left(i \cdot y\right) + y0 \cdot y2\right)\right)} \]
    4. Step-by-step derivation
      1. +-commutative59.0%

        \[\leadsto c \cdot \left(x \cdot \color{blue}{\left(y0 \cdot y2 + -1 \cdot \left(i \cdot y\right)\right)}\right) \]
      2. mul-1-neg59.0%

        \[\leadsto c \cdot \left(x \cdot \left(y0 \cdot y2 + \color{blue}{\left(-i \cdot y\right)}\right)\right) \]
      3. unsub-neg59.0%

        \[\leadsto c \cdot \left(x \cdot \color{blue}{\left(y0 \cdot y2 - i \cdot y\right)}\right) \]
      4. *-commutative59.0%

        \[\leadsto c \cdot \left(x \cdot \left(y0 \cdot y2 - \color{blue}{y \cdot i}\right)\right) \]
    5. Simplified59.0%

      \[\leadsto \color{blue}{c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)} \]
  3. Recombined 8 regimes into one program.
  4. Final simplification49.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -9.5 \cdot 10^{+14}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;x \leq -9.6 \cdot 10^{-32}:\\ \;\;\;\;\left(z \cdot a\right) \cdot \left(y1 \cdot y3 - t \cdot b\right)\\ \mathbf{elif}\;x \leq -5.2 \cdot 10^{-94}:\\ \;\;\;\;\left(z \cdot y0\right) \cdot \left(b \cdot k - c \cdot y3\right)\\ \mathbf{elif}\;x \leq -4.35 \cdot 10^{-162}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;x \leq 2.55 \cdot 10^{-223}:\\ \;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4 - z \cdot i\right)\right)\\ \mathbf{elif}\;x \leq 7 \cdot 10^{-102}:\\ \;\;\;\;\left(z \cdot y0\right) \cdot \left(b \cdot k - c \cdot y3\right)\\ \mathbf{elif}\;x \leq 7.5 \cdot 10^{-68}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\ \mathbf{elif}\;x \leq 1.75 \cdot 10^{+190}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\ \end{array} \]

Alternative 12: 32.5% accurate, 2.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{if}\;z \leq -1.1 \cdot 10^{+103}:\\ \;\;\;\;c \cdot \left(z \cdot \left(t \cdot i - y0 \cdot y3\right)\right)\\ \mathbf{elif}\;z \leq -1.4 \cdot 10^{-61}:\\ \;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\ \mathbf{elif}\;z \leq -1.1 \cdot 10^{-77}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;z \leq -2.7 \cdot 10^{-102}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -8.5 \cdot 10^{-156}:\\ \;\;\;\;\left(i \cdot k\right) \cdot \left(y \cdot y5 - z \cdot y1\right)\\ \mathbf{elif}\;z \leq -5.3 \cdot 10^{-284}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\ \mathbf{elif}\;z \leq 5.2 \cdot 10^{-227}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;z \leq 7.4 \cdot 10^{-152}:\\ \;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\ \mathbf{elif}\;z \leq 7.2 \cdot 10^{-91}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 2.85 \cdot 10^{-30}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \mathbf{elif}\;z \leq 4.6 \cdot 10^{+29}:\\ \;\;\;\;y0 \cdot \left(b \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;z \leq 3.45 \cdot 10^{+112}:\\ \;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\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 (* x (- (* y b) (* y1 y2))))))
   (if (<= z -1.1e+103)
     (* c (* z (- (* t i) (* y0 y3))))
     (if (<= z -1.4e-61)
       (* i (* x (- (* j y1) (* y c))))
       (if (<= z -1.1e-77)
         (* b (* y4 (- (* t j) (* y k))))
         (if (<= z -2.7e-102)
           t_1
           (if (<= z -8.5e-156)
             (* (* i k) (- (* y y5) (* z y1)))
             (if (<= z -5.3e-284)
               (* k (* y4 (- (* y1 y2) (* y b))))
               (if (<= z 5.2e-227)
                 (* b (* x (- (* y a) (* j y0))))
                 (if (<= z 7.4e-152)
                   (* y1 (* y4 (- (* k y2) (* j y3))))
                   (if (<= z 7.2e-91)
                     t_1
                     (if (<= z 2.85e-30)
                       (* y (* y3 (- (* c y4) (* a y5))))
                       (if (<= z 4.6e+29)
                         (* y0 (* b (- (* z k) (* x j))))
                         (if (<= z 3.45e+112)
                           (* y0 (* y5 (- (* j y3) (* k y2))))
                           (* y3 (* z (- (* a y1) (* c 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) {
	double t_1 = a * (x * ((y * b) - (y1 * y2)));
	double tmp;
	if (z <= -1.1e+103) {
		tmp = c * (z * ((t * i) - (y0 * y3)));
	} else if (z <= -1.4e-61) {
		tmp = i * (x * ((j * y1) - (y * c)));
	} else if (z <= -1.1e-77) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (z <= -2.7e-102) {
		tmp = t_1;
	} else if (z <= -8.5e-156) {
		tmp = (i * k) * ((y * y5) - (z * y1));
	} else if (z <= -5.3e-284) {
		tmp = k * (y4 * ((y1 * y2) - (y * b)));
	} else if (z <= 5.2e-227) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else if (z <= 7.4e-152) {
		tmp = y1 * (y4 * ((k * y2) - (j * y3)));
	} else if (z <= 7.2e-91) {
		tmp = t_1;
	} else if (z <= 2.85e-30) {
		tmp = y * (y3 * ((c * y4) - (a * y5)));
	} else if (z <= 4.6e+29) {
		tmp = y0 * (b * ((z * k) - (x * j)));
	} else if (z <= 3.45e+112) {
		tmp = y0 * (y5 * ((j * y3) - (k * y2)));
	} else {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	}
	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 * (x * ((y * b) - (y1 * y2)))
    if (z <= (-1.1d+103)) then
        tmp = c * (z * ((t * i) - (y0 * y3)))
    else if (z <= (-1.4d-61)) then
        tmp = i * (x * ((j * y1) - (y * c)))
    else if (z <= (-1.1d-77)) then
        tmp = b * (y4 * ((t * j) - (y * k)))
    else if (z <= (-2.7d-102)) then
        tmp = t_1
    else if (z <= (-8.5d-156)) then
        tmp = (i * k) * ((y * y5) - (z * y1))
    else if (z <= (-5.3d-284)) then
        tmp = k * (y4 * ((y1 * y2) - (y * b)))
    else if (z <= 5.2d-227) then
        tmp = b * (x * ((y * a) - (j * y0)))
    else if (z <= 7.4d-152) then
        tmp = y1 * (y4 * ((k * y2) - (j * y3)))
    else if (z <= 7.2d-91) then
        tmp = t_1
    else if (z <= 2.85d-30) then
        tmp = y * (y3 * ((c * y4) - (a * y5)))
    else if (z <= 4.6d+29) then
        tmp = y0 * (b * ((z * k) - (x * j)))
    else if (z <= 3.45d+112) then
        tmp = y0 * (y5 * ((j * y3) - (k * y2)))
    else
        tmp = y3 * (z * ((a * y1) - (c * y0)))
    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 * (x * ((y * b) - (y1 * y2)));
	double tmp;
	if (z <= -1.1e+103) {
		tmp = c * (z * ((t * i) - (y0 * y3)));
	} else if (z <= -1.4e-61) {
		tmp = i * (x * ((j * y1) - (y * c)));
	} else if (z <= -1.1e-77) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (z <= -2.7e-102) {
		tmp = t_1;
	} else if (z <= -8.5e-156) {
		tmp = (i * k) * ((y * y5) - (z * y1));
	} else if (z <= -5.3e-284) {
		tmp = k * (y4 * ((y1 * y2) - (y * b)));
	} else if (z <= 5.2e-227) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else if (z <= 7.4e-152) {
		tmp = y1 * (y4 * ((k * y2) - (j * y3)));
	} else if (z <= 7.2e-91) {
		tmp = t_1;
	} else if (z <= 2.85e-30) {
		tmp = y * (y3 * ((c * y4) - (a * y5)));
	} else if (z <= 4.6e+29) {
		tmp = y0 * (b * ((z * k) - (x * j)));
	} else if (z <= 3.45e+112) {
		tmp = y0 * (y5 * ((j * y3) - (k * y2)));
	} else {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = a * (x * ((y * b) - (y1 * y2)))
	tmp = 0
	if z <= -1.1e+103:
		tmp = c * (z * ((t * i) - (y0 * y3)))
	elif z <= -1.4e-61:
		tmp = i * (x * ((j * y1) - (y * c)))
	elif z <= -1.1e-77:
		tmp = b * (y4 * ((t * j) - (y * k)))
	elif z <= -2.7e-102:
		tmp = t_1
	elif z <= -8.5e-156:
		tmp = (i * k) * ((y * y5) - (z * y1))
	elif z <= -5.3e-284:
		tmp = k * (y4 * ((y1 * y2) - (y * b)))
	elif z <= 5.2e-227:
		tmp = b * (x * ((y * a) - (j * y0)))
	elif z <= 7.4e-152:
		tmp = y1 * (y4 * ((k * y2) - (j * y3)))
	elif z <= 7.2e-91:
		tmp = t_1
	elif z <= 2.85e-30:
		tmp = y * (y3 * ((c * y4) - (a * y5)))
	elif z <= 4.6e+29:
		tmp = y0 * (b * ((z * k) - (x * j)))
	elif z <= 3.45e+112:
		tmp = y0 * (y5 * ((j * y3) - (k * y2)))
	else:
		tmp = y3 * (z * ((a * y1) - (c * y0)))
	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(x * Float64(Float64(y * b) - Float64(y1 * y2))))
	tmp = 0.0
	if (z <= -1.1e+103)
		tmp = Float64(c * Float64(z * Float64(Float64(t * i) - Float64(y0 * y3))));
	elseif (z <= -1.4e-61)
		tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c))));
	elseif (z <= -1.1e-77)
		tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k))));
	elseif (z <= -2.7e-102)
		tmp = t_1;
	elseif (z <= -8.5e-156)
		tmp = Float64(Float64(i * k) * Float64(Float64(y * y5) - Float64(z * y1)));
	elseif (z <= -5.3e-284)
		tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b))));
	elseif (z <= 5.2e-227)
		tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0))));
	elseif (z <= 7.4e-152)
		tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3))));
	elseif (z <= 7.2e-91)
		tmp = t_1;
	elseif (z <= 2.85e-30)
		tmp = Float64(y * Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))));
	elseif (z <= 4.6e+29)
		tmp = Float64(y0 * Float64(b * Float64(Float64(z * k) - Float64(x * j))));
	elseif (z <= 3.45e+112)
		tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))));
	else
		tmp = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0))));
	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 * (x * ((y * b) - (y1 * y2)));
	tmp = 0.0;
	if (z <= -1.1e+103)
		tmp = c * (z * ((t * i) - (y0 * y3)));
	elseif (z <= -1.4e-61)
		tmp = i * (x * ((j * y1) - (y * c)));
	elseif (z <= -1.1e-77)
		tmp = b * (y4 * ((t * j) - (y * k)));
	elseif (z <= -2.7e-102)
		tmp = t_1;
	elseif (z <= -8.5e-156)
		tmp = (i * k) * ((y * y5) - (z * y1));
	elseif (z <= -5.3e-284)
		tmp = k * (y4 * ((y1 * y2) - (y * b)));
	elseif (z <= 5.2e-227)
		tmp = b * (x * ((y * a) - (j * y0)));
	elseif (z <= 7.4e-152)
		tmp = y1 * (y4 * ((k * y2) - (j * y3)));
	elseif (z <= 7.2e-91)
		tmp = t_1;
	elseif (z <= 2.85e-30)
		tmp = y * (y3 * ((c * y4) - (a * y5)));
	elseif (z <= 4.6e+29)
		tmp = y0 * (b * ((z * k) - (x * j)));
	elseif (z <= 3.45e+112)
		tmp = y0 * (y5 * ((j * y3) - (k * y2)));
	else
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	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[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.1e+103], N[(c * N[(z * N[(N[(t * i), $MachinePrecision] - N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.4e-61], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.1e-77], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -2.7e-102], t$95$1, If[LessEqual[z, -8.5e-156], N[(N[(i * k), $MachinePrecision] * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -5.3e-284], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 5.2e-227], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 7.4e-152], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 7.2e-91], t$95$1, If[LessEqual[z, 2.85e-30], N[(y * N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4.6e+29], N[(y0 * N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.45e+112], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\
\mathbf{if}\;z \leq -1.1 \cdot 10^{+103}:\\
\;\;\;\;c \cdot \left(z \cdot \left(t \cdot i - y0 \cdot y3\right)\right)\\

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

\mathbf{elif}\;z \leq -1.1 \cdot 10^{-77}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\

\mathbf{elif}\;z \leq -2.7 \cdot 10^{-102}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;z \leq -8.5 \cdot 10^{-156}:\\
\;\;\;\;\left(i \cdot k\right) \cdot \left(y \cdot y5 - z \cdot y1\right)\\

\mathbf{elif}\;z \leq -5.3 \cdot 10^{-284}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\

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

\mathbf{elif}\;z \leq 7.4 \cdot 10^{-152}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\

\mathbf{elif}\;z \leq 7.2 \cdot 10^{-91}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;z \leq 2.85 \cdot 10^{-30}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\

\mathbf{elif}\;z \leq 4.6 \cdot 10^{+29}:\\
\;\;\;\;y0 \cdot \left(b \cdot \left(z \cdot k - x \cdot j\right)\right)\\

\mathbf{elif}\;z \leq 3.45 \cdot 10^{+112}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 12 regimes
  2. if z < -1.09999999999999996e103

    1. Initial program 22.4%

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

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

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(z \cdot \left(-1 \cdot \left(i \cdot t\right) + y0 \cdot y3\right)\right)\right)} \]
    4. Step-by-step derivation
      1. mul-1-neg51.5%

        \[\leadsto \color{blue}{-c \cdot \left(z \cdot \left(-1 \cdot \left(i \cdot t\right) + y0 \cdot y3\right)\right)} \]
      2. *-commutative51.5%

        \[\leadsto -\color{blue}{\left(z \cdot \left(-1 \cdot \left(i \cdot t\right) + y0 \cdot y3\right)\right) \cdot c} \]
      3. distribute-rgt-neg-in51.5%

        \[\leadsto \color{blue}{\left(z \cdot \left(-1 \cdot \left(i \cdot t\right) + y0 \cdot y3\right)\right) \cdot \left(-c\right)} \]
      4. +-commutative51.5%

        \[\leadsto \left(z \cdot \color{blue}{\left(y0 \cdot y3 + -1 \cdot \left(i \cdot t\right)\right)}\right) \cdot \left(-c\right) \]
      5. mul-1-neg51.5%

        \[\leadsto \left(z \cdot \left(y0 \cdot y3 + \color{blue}{\left(-i \cdot t\right)}\right)\right) \cdot \left(-c\right) \]
      6. unsub-neg51.5%

        \[\leadsto \left(z \cdot \color{blue}{\left(y0 \cdot y3 - i \cdot t\right)}\right) \cdot \left(-c\right) \]
      7. *-commutative51.5%

        \[\leadsto \left(z \cdot \left(\color{blue}{y3 \cdot y0} - i \cdot t\right)\right) \cdot \left(-c\right) \]
      8. *-commutative51.5%

        \[\leadsto \left(z \cdot \left(y3 \cdot y0 - \color{blue}{t \cdot i}\right)\right) \cdot \left(-c\right) \]
    5. Simplified51.5%

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

    if -1.09999999999999996e103 < z < -1.4000000000000001e-61

    1. Initial program 26.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. Taylor expanded in x around inf 48.2%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in i around -inf 49.0%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(x \cdot \left(c \cdot y - j \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*49.0%

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(x \cdot \left(c \cdot y - j \cdot y1\right)\right)} \]
      2. neg-mul-149.0%

        \[\leadsto \color{blue}{\left(-i\right)} \cdot \left(x \cdot \left(c \cdot y - j \cdot y1\right)\right) \]
      3. *-commutative49.0%

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

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

    if -1.4000000000000001e-61 < z < -1.10000000000000003e-77

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in y4 around inf 58.7%

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

    if -1.10000000000000003e-77 < z < -2.7e-102 or 7.3999999999999997e-152 < z < 7.2000000000000001e-91

    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. Taylor expanded in x around inf 56.7%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in a around inf 63.3%

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

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y + -1 \cdot \left(y1 \cdot y2\right)\right)}\right) \]
      2. mul-1-neg63.3%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y + \color{blue}{\left(-y1 \cdot y2\right)}\right)\right) \]
      3. unsub-neg63.3%

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1 \cdot y2\right)}\right) \]
      4. *-commutative63.3%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y - \color{blue}{y2 \cdot y1}\right)\right) \]
    5. Simplified63.3%

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

    if -2.7e-102 < z < -8.5e-156

    1. Initial program 20.7%

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

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in i around inf 55.1%

      \[\leadsto \color{blue}{i \cdot \left(k \cdot \left(y \cdot y5 - y1 \cdot z\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*55.1%

        \[\leadsto \color{blue}{\left(i \cdot k\right) \cdot \left(y \cdot y5 - y1 \cdot z\right)} \]
      2. *-commutative55.1%

        \[\leadsto \left(i \cdot k\right) \cdot \left(y \cdot y5 - \color{blue}{z \cdot y1}\right) \]
    5. Simplified55.1%

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

    if -8.5e-156 < z < -5.2999999999999998e-284

    1. Initial program 29.0%

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

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in y4 around inf 50.7%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
    4. Step-by-step derivation
      1. +-commutative50.7%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 + -1 \cdot \left(b \cdot y\right)\right)}\right) \]
      2. mul-1-neg50.7%

        \[\leadsto k \cdot \left(y4 \cdot \left(y1 \cdot y2 + \color{blue}{\left(-b \cdot y\right)}\right)\right) \]
      3. unsub-neg50.7%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 - b \cdot y\right)}\right) \]
      4. *-commutative50.7%

        \[\leadsto k \cdot \left(y4 \cdot \left(\color{blue}{y2 \cdot y1} - b \cdot y\right)\right) \]
    5. Simplified50.7%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(y2 \cdot y1 - b \cdot y\right)\right)} \]

    if -5.2999999999999998e-284 < z < 5.20000000000000023e-227

    1. Initial program 39.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. Simplified39.3%

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in x around inf 56.5%

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

    if 5.20000000000000023e-227 < z < 7.3999999999999997e-152

    1. Initial program 29.4%

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

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in y4 around inf 48.7%

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

    if 7.2000000000000001e-91 < z < 2.84999999999999989e-30

    1. Initial program 35.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. Taylor expanded in y3 around -inf 49.8%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    3. Taylor expanded in y around inf 50.3%

      \[\leadsto -1 \cdot \color{blue}{\left(y \cdot \left(y3 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)} \]

    if 2.84999999999999989e-30 < z < 4.6000000000000002e29

    1. Initial program 36.2%

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

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg65.0%

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

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

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

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

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

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

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

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

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

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

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

    if 4.6000000000000002e29 < z < 3.45e112

    1. Initial program 12.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. Taylor expanded in y0 around inf 47.9%

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg47.9%

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

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

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

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

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

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

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

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

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

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

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

    if 3.45e112 < z

    1. Initial program 27.1%

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

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    3. Taylor expanded in z around inf 58.0%

      \[\leadsto -1 \cdot \color{blue}{\left(y3 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right)} \]
  3. Recombined 12 regimes into one program.
  4. Final simplification54.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -1.1 \cdot 10^{+103}:\\ \;\;\;\;c \cdot \left(z \cdot \left(t \cdot i - y0 \cdot y3\right)\right)\\ \mathbf{elif}\;z \leq -1.4 \cdot 10^{-61}:\\ \;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\ \mathbf{elif}\;z \leq -1.1 \cdot 10^{-77}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;z \leq -2.7 \cdot 10^{-102}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq -8.5 \cdot 10^{-156}:\\ \;\;\;\;\left(i \cdot k\right) \cdot \left(y \cdot y5 - z \cdot y1\right)\\ \mathbf{elif}\;z \leq -5.3 \cdot 10^{-284}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\ \mathbf{elif}\;z \leq 5.2 \cdot 10^{-227}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;z \leq 7.4 \cdot 10^{-152}:\\ \;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\ \mathbf{elif}\;z \leq 7.2 \cdot 10^{-91}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 2.85 \cdot 10^{-30}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \mathbf{elif}\;z \leq 4.6 \cdot 10^{+29}:\\ \;\;\;\;y0 \cdot \left(b \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;z \leq 3.45 \cdot 10^{+112}:\\ \;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \end{array} \]

Alternative 13: 32.5% accurate, 2.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\ t_2 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{if}\;y0 \leq -1350000000:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y0 \leq -4.1 \cdot 10^{-47}:\\ \;\;\;\;\left(z \cdot a\right) \cdot \left(y1 \cdot y3 - t \cdot b\right)\\ \mathbf{elif}\;y0 \leq -8.2 \cdot 10^{-91}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq -5.6 \cdot 10^{-178}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y0 \leq -1.1 \cdot 10^{-250}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y0 \leq 1.7 \cdot 10^{-293}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y0 \leq 1.1 \cdot 10^{-99}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \mathbf{elif}\;y0 \leq 3.5 \cdot 10^{+78}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq 7.6 \cdot 10^{+159}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y0 \cdot \left(z \cdot b - y2 \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 (* i (* x (- (* j y1) (* y c)))))
        (t_2 (* c (* y0 (- (* x y2) (* z y3))))))
   (if (<= y0 -1350000000.0)
     t_2
     (if (<= y0 -4.1e-47)
       (* (* z a) (- (* y1 y3) (* t b)))
       (if (<= y0 -8.2e-91)
         (+
          (* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5)))
          (* x (* y1 (- (* i j) (* a y2)))))
         (if (<= y0 -5.6e-178)
           t_1
           (if (<= y0 -1.1e-250)
             (* b (* y4 (- (* t j) (* y k))))
             (if (<= y0 1.7e-293)
               t_1
               (if (<= y0 1.1e-99)
                 (*
                  z
                  (+ (* k (- (* b y0) (* i y1))) (* t (- (* c i) (* a b)))))
                 (if (<= y0 3.5e+78)
                   (* a (* x (- (* y b) (* y1 y2))))
                   (if (<= y0 7.6e+159)
                     t_2
                     (* k (* y0 (- (* z b) (* 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 t_1 = i * (x * ((j * y1) - (y * c)));
	double t_2 = c * (y0 * ((x * y2) - (z * y3)));
	double tmp;
	if (y0 <= -1350000000.0) {
		tmp = t_2;
	} else if (y0 <= -4.1e-47) {
		tmp = (z * a) * ((y1 * y3) - (t * b));
	} else if (y0 <= -8.2e-91) {
		tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (x * (y1 * ((i * j) - (a * y2))));
	} else if (y0 <= -5.6e-178) {
		tmp = t_1;
	} else if (y0 <= -1.1e-250) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y0 <= 1.7e-293) {
		tmp = t_1;
	} else if (y0 <= 1.1e-99) {
		tmp = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))));
	} else if (y0 <= 3.5e+78) {
		tmp = a * (x * ((y * b) - (y1 * y2)));
	} else if (y0 <= 7.6e+159) {
		tmp = t_2;
	} else {
		tmp = k * (y0 * ((z * b) - (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) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = i * (x * ((j * y1) - (y * c)))
    t_2 = c * (y0 * ((x * y2) - (z * y3)))
    if (y0 <= (-1350000000.0d0)) then
        tmp = t_2
    else if (y0 <= (-4.1d-47)) then
        tmp = (z * a) * ((y1 * y3) - (t * b))
    else if (y0 <= (-8.2d-91)) then
        tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (x * (y1 * ((i * j) - (a * y2))))
    else if (y0 <= (-5.6d-178)) then
        tmp = t_1
    else if (y0 <= (-1.1d-250)) then
        tmp = b * (y4 * ((t * j) - (y * k)))
    else if (y0 <= 1.7d-293) then
        tmp = t_1
    else if (y0 <= 1.1d-99) then
        tmp = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))))
    else if (y0 <= 3.5d+78) then
        tmp = a * (x * ((y * b) - (y1 * y2)))
    else if (y0 <= 7.6d+159) then
        tmp = t_2
    else
        tmp = k * (y0 * ((z * b) - (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 t_1 = i * (x * ((j * y1) - (y * c)));
	double t_2 = c * (y0 * ((x * y2) - (z * y3)));
	double tmp;
	if (y0 <= -1350000000.0) {
		tmp = t_2;
	} else if (y0 <= -4.1e-47) {
		tmp = (z * a) * ((y1 * y3) - (t * b));
	} else if (y0 <= -8.2e-91) {
		tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (x * (y1 * ((i * j) - (a * y2))));
	} else if (y0 <= -5.6e-178) {
		tmp = t_1;
	} else if (y0 <= -1.1e-250) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y0 <= 1.7e-293) {
		tmp = t_1;
	} else if (y0 <= 1.1e-99) {
		tmp = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))));
	} else if (y0 <= 3.5e+78) {
		tmp = a * (x * ((y * b) - (y1 * y2)));
	} else if (y0 <= 7.6e+159) {
		tmp = t_2;
	} else {
		tmp = k * (y0 * ((z * b) - (y2 * y5)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = i * (x * ((j * y1) - (y * c)))
	t_2 = c * (y0 * ((x * y2) - (z * y3)))
	tmp = 0
	if y0 <= -1350000000.0:
		tmp = t_2
	elif y0 <= -4.1e-47:
		tmp = (z * a) * ((y1 * y3) - (t * b))
	elif y0 <= -8.2e-91:
		tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (x * (y1 * ((i * j) - (a * y2))))
	elif y0 <= -5.6e-178:
		tmp = t_1
	elif y0 <= -1.1e-250:
		tmp = b * (y4 * ((t * j) - (y * k)))
	elif y0 <= 1.7e-293:
		tmp = t_1
	elif y0 <= 1.1e-99:
		tmp = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))))
	elif y0 <= 3.5e+78:
		tmp = a * (x * ((y * b) - (y1 * y2)))
	elif y0 <= 7.6e+159:
		tmp = t_2
	else:
		tmp = k * (y0 * ((z * b) - (y2 * y5)))
	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(x * Float64(Float64(j * y1) - Float64(y * c))))
	t_2 = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))))
	tmp = 0.0
	if (y0 <= -1350000000.0)
		tmp = t_2;
	elseif (y0 <= -4.1e-47)
		tmp = Float64(Float64(z * a) * Float64(Float64(y1 * y3) - Float64(t * b)));
	elseif (y0 <= -8.2e-91)
		tmp = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * Float64(y1 * Float64(Float64(i * j) - Float64(a * y2)))));
	elseif (y0 <= -5.6e-178)
		tmp = t_1;
	elseif (y0 <= -1.1e-250)
		tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k))));
	elseif (y0 <= 1.7e-293)
		tmp = t_1;
	elseif (y0 <= 1.1e-99)
		tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(t * Float64(Float64(c * i) - Float64(a * b)))));
	elseif (y0 <= 3.5e+78)
		tmp = Float64(a * Float64(x * Float64(Float64(y * b) - Float64(y1 * y2))));
	elseif (y0 <= 7.6e+159)
		tmp = t_2;
	else
		tmp = Float64(k * Float64(y0 * Float64(Float64(z * b) - Float64(y2 * 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)
	t_1 = i * (x * ((j * y1) - (y * c)));
	t_2 = c * (y0 * ((x * y2) - (z * y3)));
	tmp = 0.0;
	if (y0 <= -1350000000.0)
		tmp = t_2;
	elseif (y0 <= -4.1e-47)
		tmp = (z * a) * ((y1 * y3) - (t * b));
	elseif (y0 <= -8.2e-91)
		tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (x * (y1 * ((i * j) - (a * y2))));
	elseif (y0 <= -5.6e-178)
		tmp = t_1;
	elseif (y0 <= -1.1e-250)
		tmp = b * (y4 * ((t * j) - (y * k)));
	elseif (y0 <= 1.7e-293)
		tmp = t_1;
	elseif (y0 <= 1.1e-99)
		tmp = z * ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))));
	elseif (y0 <= 3.5e+78)
		tmp = a * (x * ((y * b) - (y1 * y2)));
	elseif (y0 <= 7.6e+159)
		tmp = t_2;
	else
		tmp = k * (y0 * ((z * b) - (y2 * y5)));
	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[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -1350000000.0], t$95$2, If[LessEqual[y0, -4.1e-47], N[(N[(z * a), $MachinePrecision] * N[(N[(y1 * y3), $MachinePrecision] - N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -8.2e-91], N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(y1 * N[(N[(i * j), $MachinePrecision] - N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -5.6e-178], t$95$1, If[LessEqual[y0, -1.1e-250], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.7e-293], t$95$1, If[LessEqual[y0, 1.1e-99], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 3.5e+78], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 7.6e+159], t$95$2, N[(k * N[(y0 * N[(N[(z * b), $MachinePrecision] - N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
t_2 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{if}\;y0 \leq -1350000000:\\
\;\;\;\;t_2\\

\mathbf{elif}\;y0 \leq -4.1 \cdot 10^{-47}:\\
\;\;\;\;\left(z \cdot a\right) \cdot \left(y1 \cdot y3 - t \cdot b\right)\\

\mathbf{elif}\;y0 \leq -8.2 \cdot 10^{-91}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\

\mathbf{elif}\;y0 \leq -5.6 \cdot 10^{-178}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;y0 \leq -1.1 \cdot 10^{-250}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\

\mathbf{elif}\;y0 \leq 1.7 \cdot 10^{-293}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;y0 \leq 1.1 \cdot 10^{-99}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\

\mathbf{elif}\;y0 \leq 3.5 \cdot 10^{+78}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\

\mathbf{elif}\;y0 \leq 7.6 \cdot 10^{+159}:\\
\;\;\;\;t_2\\

\mathbf{else}:\\
\;\;\;\;k \cdot \left(y0 \cdot \left(z \cdot b - y2 \cdot y5\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if y0 < -1.35e9 or 3.5000000000000001e78 < y0 < 7.5999999999999993e159

    1. Initial program 27.8%

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

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg58.9%

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative51.6%

        \[\leadsto c \cdot \left(y0 \cdot \left(x \cdot y2 - \color{blue}{z \cdot y3}\right)\right) \]
    7. Simplified51.6%

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

    if -1.35e9 < y0 < -4.10000000000000002e-47

    1. Initial program 16.1%

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

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

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

        \[\leadsto \color{blue}{\left(a \cdot z\right) \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)} \]
      2. *-commutative62.5%

        \[\leadsto \color{blue}{\left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right) \cdot \left(a \cdot z\right)} \]
      3. +-commutative62.5%

        \[\leadsto \color{blue}{\left(y1 \cdot y3 + -1 \cdot \left(b \cdot t\right)\right)} \cdot \left(a \cdot z\right) \]
      4. mul-1-neg62.5%

        \[\leadsto \left(y1 \cdot y3 + \color{blue}{\left(-b \cdot t\right)}\right) \cdot \left(a \cdot z\right) \]
      5. unsub-neg62.5%

        \[\leadsto \color{blue}{\left(y1 \cdot y3 - b \cdot t\right)} \cdot \left(a \cdot z\right) \]
      6. *-commutative62.5%

        \[\leadsto \left(\color{blue}{y3 \cdot y1} - b \cdot t\right) \cdot \left(a \cdot z\right) \]
      7. *-commutative62.5%

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

        \[\leadsto \left(y3 \cdot y1 - t \cdot b\right) \cdot \color{blue}{\left(z \cdot a\right)} \]
    5. Simplified62.5%

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

    if -4.10000000000000002e-47 < y0 < -8.20000000000000048e-91

    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. Taylor expanded in x around inf 57.7%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in y1 around -inf 72.4%

      \[\leadsto \color{blue}{-1 \cdot \left(x \cdot \left(y1 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    4. Step-by-step derivation
      1. associate-*r*72.4%

        \[\leadsto \color{blue}{\left(-1 \cdot x\right) \cdot \left(y1 \cdot \left(a \cdot y2 - i \cdot j\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      2. neg-mul-172.4%

        \[\leadsto \color{blue}{\left(-x\right)} \cdot \left(y1 \cdot \left(a \cdot y2 - i \cdot j\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      3. *-commutative72.4%

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

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

    if -8.20000000000000048e-91 < y0 < -5.60000000000000039e-178 or -1.1e-250 < y0 < 1.7e-293

    1. Initial program 38.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. Taylor expanded in x around inf 54.9%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in i around -inf 50.5%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(x \cdot \left(c \cdot y - j \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*50.5%

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(x \cdot \left(c \cdot y - j \cdot y1\right)\right)} \]
      2. neg-mul-150.5%

        \[\leadsto \color{blue}{\left(-i\right)} \cdot \left(x \cdot \left(c \cdot y - j \cdot y1\right)\right) \]
      3. *-commutative50.5%

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

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

    if -5.60000000000000039e-178 < y0 < -1.1e-250

    1. Initial program 27.1%

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in y4 around inf 44.8%

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

    if 1.7e-293 < y0 < 1.10000000000000002e-99

    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. Taylor expanded in z around -inf 44.7%

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

      \[\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. Taylor expanded in y3 around 0 53.5%

      \[\leadsto -1 \cdot \color{blue}{\left(z \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    5. Step-by-step derivation
      1. *-commutative53.5%

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

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

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

    if 1.10000000000000002e-99 < y0 < 3.5000000000000001e78

    1. Initial program 27.8%

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

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in a around inf 48.5%

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

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y + -1 \cdot \left(y1 \cdot y2\right)\right)}\right) \]
      2. mul-1-neg48.5%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y + \color{blue}{\left(-y1 \cdot y2\right)}\right)\right) \]
      3. unsub-neg48.5%

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1 \cdot y2\right)}\right) \]
      4. *-commutative48.5%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y - \color{blue}{y2 \cdot y1}\right)\right) \]
    5. Simplified48.5%

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

    if 7.5999999999999993e159 < y0

    1. Initial program 26.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. Taylor expanded in k around inf 35.7%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in y0 around inf 56.5%

      \[\leadsto k \cdot \color{blue}{\left(y0 \cdot \left(-1 \cdot \left(y2 \cdot y5\right) - -1 \cdot \left(b \cdot z\right)\right)\right)} \]
    4. Step-by-step derivation
      1. cancel-sign-sub-inv56.5%

        \[\leadsto k \cdot \left(y0 \cdot \color{blue}{\left(-1 \cdot \left(y2 \cdot y5\right) + \left(--1\right) \cdot \left(b \cdot z\right)\right)}\right) \]
      2. metadata-eval56.5%

        \[\leadsto k \cdot \left(y0 \cdot \left(-1 \cdot \left(y2 \cdot y5\right) + \color{blue}{1} \cdot \left(b \cdot z\right)\right)\right) \]
      3. *-lft-identity56.5%

        \[\leadsto k \cdot \left(y0 \cdot \left(-1 \cdot \left(y2 \cdot y5\right) + \color{blue}{b \cdot z}\right)\right) \]
      4. +-commutative56.5%

        \[\leadsto k \cdot \left(y0 \cdot \color{blue}{\left(b \cdot z + -1 \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      5. mul-1-neg56.5%

        \[\leadsto k \cdot \left(y0 \cdot \left(b \cdot z + \color{blue}{\left(-y2 \cdot y5\right)}\right)\right) \]
      6. unsub-neg56.5%

        \[\leadsto k \cdot \left(y0 \cdot \color{blue}{\left(b \cdot z - y2 \cdot y5\right)}\right) \]
    5. Simplified56.5%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -1350000000:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;y0 \leq -4.1 \cdot 10^{-47}:\\ \;\;\;\;\left(z \cdot a\right) \cdot \left(y1 \cdot y3 - t \cdot b\right)\\ \mathbf{elif}\;y0 \leq -8.2 \cdot 10^{-91}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq -5.6 \cdot 10^{-178}:\\ \;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\ \mathbf{elif}\;y0 \leq -1.1 \cdot 10^{-250}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y0 \leq 1.7 \cdot 10^{-293}:\\ \;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\ \mathbf{elif}\;y0 \leq 1.1 \cdot 10^{-99}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \mathbf{elif}\;y0 \leq 3.5 \cdot 10^{+78}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq 7.6 \cdot 10^{+159}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y0 \cdot \left(z \cdot b - y2 \cdot y5\right)\right)\\ \end{array} \]

Alternative 14: 30.4% accurate, 3.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ t_2 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{if}\;y0 \leq -2.35 \cdot 10^{+27}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y0 \leq -2.6 \cdot 10^{-138}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y0 \leq -1.4 \cdot 10^{-307}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y0 \leq 5.5 \cdot 10^{-254}:\\ \;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\ \mathbf{elif}\;y0 \leq 1.1 \cdot 10^{-157}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;y0 \leq 7 \cdot 10^{-102}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y0 \leq 2.5 \cdot 10^{+78}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq 2.15 \cdot 10^{+164} \lor \neg \left(y0 \leq 6.2 \cdot 10^{+259}\right):\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y0 \cdot \left(y2 \cdot \left(-y5\right)\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* a (* b (- (* x y) (* z t)))))
        (t_2 (* c (* y0 (- (* x y2) (* z y3))))))
   (if (<= y0 -2.35e+27)
     t_2
     (if (<= y0 -2.6e-138)
       t_1
       (if (<= y0 -1.4e-307)
         (* b (* y4 (- (* t j) (* y k))))
         (if (<= y0 5.5e-254)
           (* c (* x (- (* y0 y2) (* y i))))
           (if (<= y0 1.1e-157)
             (* b (* x (- (* y a) (* j y0))))
             (if (<= y0 7e-102)
               t_1
               (if (<= y0 2.5e+78)
                 (* a (* x (- (* y b) (* y1 y2))))
                 (if (or (<= y0 2.15e+164) (not (<= y0 6.2e+259)))
                   t_2
                   (* k (* y0 (* 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 t_1 = a * (b * ((x * y) - (z * t)));
	double t_2 = c * (y0 * ((x * y2) - (z * y3)));
	double tmp;
	if (y0 <= -2.35e+27) {
		tmp = t_2;
	} else if (y0 <= -2.6e-138) {
		tmp = t_1;
	} else if (y0 <= -1.4e-307) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y0 <= 5.5e-254) {
		tmp = c * (x * ((y0 * y2) - (y * i)));
	} else if (y0 <= 1.1e-157) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else if (y0 <= 7e-102) {
		tmp = t_1;
	} else if (y0 <= 2.5e+78) {
		tmp = a * (x * ((y * b) - (y1 * y2)));
	} else if ((y0 <= 2.15e+164) || !(y0 <= 6.2e+259)) {
		tmp = t_2;
	} else {
		tmp = k * (y0 * (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) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = a * (b * ((x * y) - (z * t)))
    t_2 = c * (y0 * ((x * y2) - (z * y3)))
    if (y0 <= (-2.35d+27)) then
        tmp = t_2
    else if (y0 <= (-2.6d-138)) then
        tmp = t_1
    else if (y0 <= (-1.4d-307)) then
        tmp = b * (y4 * ((t * j) - (y * k)))
    else if (y0 <= 5.5d-254) then
        tmp = c * (x * ((y0 * y2) - (y * i)))
    else if (y0 <= 1.1d-157) then
        tmp = b * (x * ((y * a) - (j * y0)))
    else if (y0 <= 7d-102) then
        tmp = t_1
    else if (y0 <= 2.5d+78) then
        tmp = a * (x * ((y * b) - (y1 * y2)))
    else if ((y0 <= 2.15d+164) .or. (.not. (y0 <= 6.2d+259))) then
        tmp = t_2
    else
        tmp = k * (y0 * (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 t_1 = a * (b * ((x * y) - (z * t)));
	double t_2 = c * (y0 * ((x * y2) - (z * y3)));
	double tmp;
	if (y0 <= -2.35e+27) {
		tmp = t_2;
	} else if (y0 <= -2.6e-138) {
		tmp = t_1;
	} else if (y0 <= -1.4e-307) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y0 <= 5.5e-254) {
		tmp = c * (x * ((y0 * y2) - (y * i)));
	} else if (y0 <= 1.1e-157) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else if (y0 <= 7e-102) {
		tmp = t_1;
	} else if (y0 <= 2.5e+78) {
		tmp = a * (x * ((y * b) - (y1 * y2)));
	} else if ((y0 <= 2.15e+164) || !(y0 <= 6.2e+259)) {
		tmp = t_2;
	} else {
		tmp = k * (y0 * (y2 * -y5));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = a * (b * ((x * y) - (z * t)))
	t_2 = c * (y0 * ((x * y2) - (z * y3)))
	tmp = 0
	if y0 <= -2.35e+27:
		tmp = t_2
	elif y0 <= -2.6e-138:
		tmp = t_1
	elif y0 <= -1.4e-307:
		tmp = b * (y4 * ((t * j) - (y * k)))
	elif y0 <= 5.5e-254:
		tmp = c * (x * ((y0 * y2) - (y * i)))
	elif y0 <= 1.1e-157:
		tmp = b * (x * ((y * a) - (j * y0)))
	elif y0 <= 7e-102:
		tmp = t_1
	elif y0 <= 2.5e+78:
		tmp = a * (x * ((y * b) - (y1 * y2)))
	elif (y0 <= 2.15e+164) or not (y0 <= 6.2e+259):
		tmp = t_2
	else:
		tmp = k * (y0 * (y2 * -y5))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))))
	t_2 = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))))
	tmp = 0.0
	if (y0 <= -2.35e+27)
		tmp = t_2;
	elseif (y0 <= -2.6e-138)
		tmp = t_1;
	elseif (y0 <= -1.4e-307)
		tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k))));
	elseif (y0 <= 5.5e-254)
		tmp = Float64(c * Float64(x * Float64(Float64(y0 * y2) - Float64(y * i))));
	elseif (y0 <= 1.1e-157)
		tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0))));
	elseif (y0 <= 7e-102)
		tmp = t_1;
	elseif (y0 <= 2.5e+78)
		tmp = Float64(a * Float64(x * Float64(Float64(y * b) - Float64(y1 * y2))));
	elseif ((y0 <= 2.15e+164) || !(y0 <= 6.2e+259))
		tmp = t_2;
	else
		tmp = Float64(k * Float64(y0 * 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)
	t_1 = a * (b * ((x * y) - (z * t)));
	t_2 = c * (y0 * ((x * y2) - (z * y3)));
	tmp = 0.0;
	if (y0 <= -2.35e+27)
		tmp = t_2;
	elseif (y0 <= -2.6e-138)
		tmp = t_1;
	elseif (y0 <= -1.4e-307)
		tmp = b * (y4 * ((t * j) - (y * k)));
	elseif (y0 <= 5.5e-254)
		tmp = c * (x * ((y0 * y2) - (y * i)));
	elseif (y0 <= 1.1e-157)
		tmp = b * (x * ((y * a) - (j * y0)));
	elseif (y0 <= 7e-102)
		tmp = t_1;
	elseif (y0 <= 2.5e+78)
		tmp = a * (x * ((y * b) - (y1 * y2)));
	elseif ((y0 <= 2.15e+164) || ~((y0 <= 6.2e+259)))
		tmp = t_2;
	else
		tmp = k * (y0 * (y2 * -y5));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -2.35e+27], t$95$2, If[LessEqual[y0, -2.6e-138], t$95$1, If[LessEqual[y0, -1.4e-307], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 5.5e-254], N[(c * N[(x * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.1e-157], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 7e-102], t$95$1, If[LessEqual[y0, 2.5e+78], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[y0, 2.15e+164], N[Not[LessEqual[y0, 6.2e+259]], $MachinePrecision]], t$95$2, N[(k * N[(y0 * N[(y2 * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
t_2 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{if}\;y0 \leq -2.35 \cdot 10^{+27}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;y0 \leq -2.6 \cdot 10^{-138}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;y0 \leq -1.4 \cdot 10^{-307}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\

\mathbf{elif}\;y0 \leq 5.5 \cdot 10^{-254}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\

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

\mathbf{elif}\;y0 \leq 7 \cdot 10^{-102}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;y0 \leq 2.5 \cdot 10^{+78}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\

\mathbf{elif}\;y0 \leq 2.15 \cdot 10^{+164} \lor \neg \left(y0 \leq 6.2 \cdot 10^{+259}\right):\\
\;\;\;\;t_2\\

\mathbf{else}:\\
\;\;\;\;k \cdot \left(y0 \cdot \left(y2 \cdot \left(-y5\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if y0 < -2.34999999999999988e27 or 2.49999999999999992e78 < y0 < 2.15e164 or 6.2000000000000007e259 < y0

    1. Initial program 28.1%

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative55.3%

        \[\leadsto c \cdot \left(y0 \cdot \left(x \cdot y2 - \color{blue}{z \cdot y3}\right)\right) \]
    7. Simplified55.3%

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

    if -2.34999999999999988e27 < y0 < -2.6e-138 or 1.10000000000000005e-157 < y0 < 6.99999999999999973e-102

    1. Initial program 28.5%

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 47.0%

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

    if -2.6e-138 < y0 < -1.4e-307

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in y4 around inf 39.0%

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

    if -1.4e-307 < y0 < 5.4999999999999999e-254

    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. Taylor expanded in x around inf 50.0%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in c around inf 67.1%

      \[\leadsto \color{blue}{c \cdot \left(x \cdot \left(-1 \cdot \left(i \cdot y\right) + y0 \cdot y2\right)\right)} \]
    4. Step-by-step derivation
      1. +-commutative67.1%

        \[\leadsto c \cdot \left(x \cdot \color{blue}{\left(y0 \cdot y2 + -1 \cdot \left(i \cdot y\right)\right)}\right) \]
      2. mul-1-neg67.1%

        \[\leadsto c \cdot \left(x \cdot \left(y0 \cdot y2 + \color{blue}{\left(-i \cdot y\right)}\right)\right) \]
      3. unsub-neg67.1%

        \[\leadsto c \cdot \left(x \cdot \color{blue}{\left(y0 \cdot y2 - i \cdot y\right)}\right) \]
      4. *-commutative67.1%

        \[\leadsto c \cdot \left(x \cdot \left(y0 \cdot y2 - \color{blue}{y \cdot i}\right)\right) \]
    5. Simplified67.1%

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

    if 5.4999999999999999e-254 < y0 < 1.10000000000000005e-157

    1. Initial program 24.2%

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in x around inf 34.6%

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

    if 6.99999999999999973e-102 < y0 < 2.49999999999999992e78

    1. Initial program 27.8%

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

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in a around inf 48.5%

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

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y + -1 \cdot \left(y1 \cdot y2\right)\right)}\right) \]
      2. mul-1-neg48.5%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y + \color{blue}{\left(-y1 \cdot y2\right)}\right)\right) \]
      3. unsub-neg48.5%

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1 \cdot y2\right)}\right) \]
      4. *-commutative48.5%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y - \color{blue}{y2 \cdot y1}\right)\right) \]
    5. Simplified48.5%

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

    if 2.15e164 < y0 < 6.2000000000000007e259

    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. Taylor expanded in y0 around inf 50.1%

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg50.1%

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)} \]
    6. Taylor expanded in j around 0 55.3%

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*55.3%

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right)} \]
      2. neg-mul-155.3%

        \[\leadsto \color{blue}{\left(-k\right)} \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right) \]
    8. Simplified55.3%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -2.35 \cdot 10^{+27}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;y0 \leq -2.6 \cdot 10^{-138}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y0 \leq -1.4 \cdot 10^{-307}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y0 \leq 5.5 \cdot 10^{-254}:\\ \;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\ \mathbf{elif}\;y0 \leq 1.1 \cdot 10^{-157}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;y0 \leq 7 \cdot 10^{-102}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y0 \leq 2.5 \cdot 10^{+78}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq 2.15 \cdot 10^{+164} \lor \neg \left(y0 \leq 6.2 \cdot 10^{+259}\right):\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y0 \cdot \left(y2 \cdot \left(-y5\right)\right)\right)\\ \end{array} \]

Alternative 15: 28.3% accurate, 3.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{if}\;y1 \leq -6.6 \cdot 10^{+139}:\\ \;\;\;\;j \cdot \left(y4 \cdot \left(y3 \cdot \left(-y1\right)\right)\right)\\ \mathbf{elif}\;y1 \leq -2.25 \cdot 10^{-16}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y1 \leq -1.7 \cdot 10^{-187}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y1 \leq -2.8 \cdot 10^{-261}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y1 \leq 2.75 \cdot 10^{-49}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y1 \leq 9.5 \cdot 10^{+27}:\\ \;\;\;\;\left(-k\right) \cdot \left(y2 \cdot \left(y0 \cdot y5\right)\right)\\ \mathbf{elif}\;y1 \leq 1.15 \cdot 10^{+81}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4\right)\right)\\ \mathbf{elif}\;y1 \leq 1.02 \cdot 10^{+220}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\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 (* b (* x (- (* y a) (* j y0))))))
   (if (<= y1 -6.6e+139)
     (* j (* y4 (* y3 (- y1))))
     (if (<= y1 -2.25e-16)
       (* a (* b (- (* x y) (* z t))))
       (if (<= y1 -1.7e-187)
         t_1
         (if (<= y1 -2.8e-261)
           (* b (* y4 (- (* t j) (* y k))))
           (if (<= y1 2.75e-49)
             t_1
             (if (<= y1 9.5e+27)
               (* (- k) (* y2 (* y0 y5)))
               (if (<= y1 1.15e+81)
                 (* y (* y3 (* c y4)))
                 (if (<= y1 1.02e+220)
                   (* a (* x (- (* y b) (* y1 y2))))
                   (* k (* y4 (* y1 y2)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = b * (x * ((y * a) - (j * y0)));
	double tmp;
	if (y1 <= -6.6e+139) {
		tmp = j * (y4 * (y3 * -y1));
	} else if (y1 <= -2.25e-16) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (y1 <= -1.7e-187) {
		tmp = t_1;
	} else if (y1 <= -2.8e-261) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y1 <= 2.75e-49) {
		tmp = t_1;
	} else if (y1 <= 9.5e+27) {
		tmp = -k * (y2 * (y0 * y5));
	} else if (y1 <= 1.15e+81) {
		tmp = y * (y3 * (c * y4));
	} else if (y1 <= 1.02e+220) {
		tmp = a * (x * ((y * b) - (y1 * y2)));
	} else {
		tmp = k * (y4 * (y1 * y2));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = b * (x * ((y * a) - (j * y0)))
    if (y1 <= (-6.6d+139)) then
        tmp = j * (y4 * (y3 * -y1))
    else if (y1 <= (-2.25d-16)) then
        tmp = a * (b * ((x * y) - (z * t)))
    else if (y1 <= (-1.7d-187)) then
        tmp = t_1
    else if (y1 <= (-2.8d-261)) then
        tmp = b * (y4 * ((t * j) - (y * k)))
    else if (y1 <= 2.75d-49) then
        tmp = t_1
    else if (y1 <= 9.5d+27) then
        tmp = -k * (y2 * (y0 * y5))
    else if (y1 <= 1.15d+81) then
        tmp = y * (y3 * (c * y4))
    else if (y1 <= 1.02d+220) then
        tmp = a * (x * ((y * b) - (y1 * y2)))
    else
        tmp = k * (y4 * (y1 * y2))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = b * (x * ((y * a) - (j * y0)));
	double tmp;
	if (y1 <= -6.6e+139) {
		tmp = j * (y4 * (y3 * -y1));
	} else if (y1 <= -2.25e-16) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (y1 <= -1.7e-187) {
		tmp = t_1;
	} else if (y1 <= -2.8e-261) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y1 <= 2.75e-49) {
		tmp = t_1;
	} else if (y1 <= 9.5e+27) {
		tmp = -k * (y2 * (y0 * y5));
	} else if (y1 <= 1.15e+81) {
		tmp = y * (y3 * (c * y4));
	} else if (y1 <= 1.02e+220) {
		tmp = a * (x * ((y * b) - (y1 * y2)));
	} else {
		tmp = k * (y4 * (y1 * y2));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = b * (x * ((y * a) - (j * y0)))
	tmp = 0
	if y1 <= -6.6e+139:
		tmp = j * (y4 * (y3 * -y1))
	elif y1 <= -2.25e-16:
		tmp = a * (b * ((x * y) - (z * t)))
	elif y1 <= -1.7e-187:
		tmp = t_1
	elif y1 <= -2.8e-261:
		tmp = b * (y4 * ((t * j) - (y * k)))
	elif y1 <= 2.75e-49:
		tmp = t_1
	elif y1 <= 9.5e+27:
		tmp = -k * (y2 * (y0 * y5))
	elif y1 <= 1.15e+81:
		tmp = y * (y3 * (c * y4))
	elif y1 <= 1.02e+220:
		tmp = a * (x * ((y * b) - (y1 * y2)))
	else:
		tmp = k * (y4 * (y1 * y2))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0))))
	tmp = 0.0
	if (y1 <= -6.6e+139)
		tmp = Float64(j * Float64(y4 * Float64(y3 * Float64(-y1))));
	elseif (y1 <= -2.25e-16)
		tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))));
	elseif (y1 <= -1.7e-187)
		tmp = t_1;
	elseif (y1 <= -2.8e-261)
		tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k))));
	elseif (y1 <= 2.75e-49)
		tmp = t_1;
	elseif (y1 <= 9.5e+27)
		tmp = Float64(Float64(-k) * Float64(y2 * Float64(y0 * y5)));
	elseif (y1 <= 1.15e+81)
		tmp = Float64(y * Float64(y3 * Float64(c * y4)));
	elseif (y1 <= 1.02e+220)
		tmp = Float64(a * Float64(x * Float64(Float64(y * b) - Float64(y1 * y2))));
	else
		tmp = Float64(k * Float64(y4 * Float64(y1 * y2)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = b * (x * ((y * a) - (j * y0)));
	tmp = 0.0;
	if (y1 <= -6.6e+139)
		tmp = j * (y4 * (y3 * -y1));
	elseif (y1 <= -2.25e-16)
		tmp = a * (b * ((x * y) - (z * t)));
	elseif (y1 <= -1.7e-187)
		tmp = t_1;
	elseif (y1 <= -2.8e-261)
		tmp = b * (y4 * ((t * j) - (y * k)));
	elseif (y1 <= 2.75e-49)
		tmp = t_1;
	elseif (y1 <= 9.5e+27)
		tmp = -k * (y2 * (y0 * y5));
	elseif (y1 <= 1.15e+81)
		tmp = y * (y3 * (c * y4));
	elseif (y1 <= 1.02e+220)
		tmp = a * (x * ((y * b) - (y1 * y2)));
	else
		tmp = k * (y4 * (y1 * y2));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -6.6e+139], N[(j * N[(y4 * N[(y3 * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -2.25e-16], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.7e-187], t$95$1, If[LessEqual[y1, -2.8e-261], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.75e-49], t$95$1, If[LessEqual[y1, 9.5e+27], N[((-k) * N[(y2 * N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.15e+81], N[(y * N[(y3 * N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.02e+220], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(y4 * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{if}\;y1 \leq -6.6 \cdot 10^{+139}:\\
\;\;\;\;j \cdot \left(y4 \cdot \left(y3 \cdot \left(-y1\right)\right)\right)\\

\mathbf{elif}\;y1 \leq -2.25 \cdot 10^{-16}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\

\mathbf{elif}\;y1 \leq -1.7 \cdot 10^{-187}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;y1 \leq -2.8 \cdot 10^{-261}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\

\mathbf{elif}\;y1 \leq 2.75 \cdot 10^{-49}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;y1 \leq 9.5 \cdot 10^{+27}:\\
\;\;\;\;\left(-k\right) \cdot \left(y2 \cdot \left(y0 \cdot y5\right)\right)\\

\mathbf{elif}\;y1 \leq 1.15 \cdot 10^{+81}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4\right)\right)\\

\mathbf{elif}\;y1 \leq 1.02 \cdot 10^{+220}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\

\mathbf{else}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if y1 < -6.6000000000000003e139

    1. Initial program 21.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. Taylor expanded in x around inf 18.3%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in y4 around inf 47.0%

      \[\leadsto \color{blue}{y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*43.6%

        \[\leadsto \color{blue}{\left(y1 \cdot y4\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
      2. *-commutative43.6%

        \[\leadsto \color{blue}{\left(y4 \cdot y1\right)} \cdot \left(k \cdot y2 - j \cdot y3\right) \]
    5. Simplified43.6%

      \[\leadsto \color{blue}{\left(y4 \cdot y1\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
    6. Taylor expanded in k around 0 39.8%

      \[\leadsto \color{blue}{-1 \cdot \left(j \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-neg39.8%

        \[\leadsto \color{blue}{-j \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)} \]
      2. *-commutative39.8%

        \[\leadsto -\color{blue}{\left(y1 \cdot \left(y3 \cdot y4\right)\right) \cdot j} \]
      3. distribute-rgt-neg-in39.8%

        \[\leadsto \color{blue}{\left(y1 \cdot \left(y3 \cdot y4\right)\right) \cdot \left(-j\right)} \]
      4. associate-*r*43.4%

        \[\leadsto \color{blue}{\left(\left(y1 \cdot y3\right) \cdot y4\right)} \cdot \left(-j\right) \]
      5. *-commutative43.4%

        \[\leadsto \color{blue}{\left(y4 \cdot \left(y1 \cdot y3\right)\right)} \cdot \left(-j\right) \]
      6. *-commutative43.4%

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

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

    if -6.6000000000000003e139 < y1 < -2.2500000000000001e-16

    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. Simplified17.2%

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 52.5%

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

    if -2.2500000000000001e-16 < y1 < -1.7000000000000001e-187 or -2.80000000000000009e-261 < y1 < 2.75000000000000016e-49

    1. Initial program 37.0%

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in x around inf 39.8%

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

    if -1.7000000000000001e-187 < y1 < -2.80000000000000009e-261

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in y4 around inf 43.6%

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

    if 2.75000000000000016e-49 < y1 < 9.4999999999999997e27

    1. Initial program 16.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. Taylor expanded in y0 around inf 39.4%

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)} \]
    6. Taylor expanded in j around 0 45.7%

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-neg45.7%

        \[\leadsto \color{blue}{-k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right)} \]
      2. *-commutative45.7%

        \[\leadsto -\color{blue}{\left(y0 \cdot \left(y2 \cdot y5\right)\right) \cdot k} \]
      3. distribute-rgt-neg-in45.7%

        \[\leadsto \color{blue}{\left(y0 \cdot \left(y2 \cdot y5\right)\right) \cdot \left(-k\right)} \]
      4. *-commutative45.7%

        \[\leadsto \color{blue}{\left(\left(y2 \cdot y5\right) \cdot y0\right)} \cdot \left(-k\right) \]
      5. associate-*l*51.0%

        \[\leadsto \color{blue}{\left(y2 \cdot \left(y5 \cdot y0\right)\right)} \cdot \left(-k\right) \]
      6. *-commutative51.0%

        \[\leadsto \left(y2 \cdot \color{blue}{\left(y0 \cdot y5\right)}\right) \cdot \left(-k\right) \]
    8. Simplified51.0%

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

    if 9.4999999999999997e27 < y1 < 1.1499999999999999e81

    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. Taylor expanded in y3 around -inf 28.4%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    3. Taylor expanded in y around inf 48.3%

      \[\leadsto -1 \cdot \color{blue}{\left(y \cdot \left(y3 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)} \]
    4. Taylor expanded in a around 0 48.3%

      \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(-1 \cdot \left(c \cdot \left(y3 \cdot y4\right)\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg48.3%

        \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(-c \cdot \left(y3 \cdot y4\right)\right)}\right) \]
      2. *-commutative48.3%

        \[\leadsto -1 \cdot \left(y \cdot \left(-\color{blue}{\left(y3 \cdot y4\right) \cdot c}\right)\right) \]
      3. associate-*l*48.3%

        \[\leadsto -1 \cdot \left(y \cdot \left(-\color{blue}{y3 \cdot \left(y4 \cdot c\right)}\right)\right) \]
      4. distribute-rgt-neg-in48.3%

        \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(y3 \cdot \left(-y4 \cdot c\right)\right)}\right) \]
      5. distribute-rgt-neg-in48.3%

        \[\leadsto -1 \cdot \left(y \cdot \left(y3 \cdot \color{blue}{\left(y4 \cdot \left(-c\right)\right)}\right)\right) \]
    6. Simplified48.3%

      \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(y3 \cdot \left(y4 \cdot \left(-c\right)\right)\right)}\right) \]

    if 1.1499999999999999e81 < y1 < 1.01999999999999999e220

    1. Initial program 27.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. Taylor expanded in x around inf 34.0%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in a around inf 46.0%

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

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y + -1 \cdot \left(y1 \cdot y2\right)\right)}\right) \]
      2. mul-1-neg46.0%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y + \color{blue}{\left(-y1 \cdot y2\right)}\right)\right) \]
      3. unsub-neg46.0%

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1 \cdot y2\right)}\right) \]
      4. *-commutative46.0%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y - \color{blue}{y2 \cdot y1}\right)\right) \]
    5. Simplified46.0%

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

    if 1.01999999999999999e220 < y1

    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. Taylor expanded in k around inf 32.2%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in y4 around inf 46.2%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
    4. Step-by-step derivation
      1. +-commutative46.2%

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

        \[\leadsto k \cdot \left(y4 \cdot \left(y1 \cdot y2 + \color{blue}{\left(-b \cdot y\right)}\right)\right) \]
      3. unsub-neg46.2%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 - b \cdot y\right)}\right) \]
      4. *-commutative46.2%

        \[\leadsto k \cdot \left(y4 \cdot \left(\color{blue}{y2 \cdot y1} - b \cdot y\right)\right) \]
    5. Simplified46.2%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(y2 \cdot y1 - b \cdot y\right)\right)} \]
    6. Taylor expanded in y2 around inf 41.8%

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

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y2 \cdot y1\right)}\right) \]
    8. Simplified41.8%

      \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y2 \cdot y1\right)}\right) \]
  3. Recombined 8 regimes into one program.
  4. Final simplification43.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y1 \leq -6.6 \cdot 10^{+139}:\\ \;\;\;\;j \cdot \left(y4 \cdot \left(y3 \cdot \left(-y1\right)\right)\right)\\ \mathbf{elif}\;y1 \leq -2.25 \cdot 10^{-16}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y1 \leq -1.7 \cdot 10^{-187}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;y1 \leq -2.8 \cdot 10^{-261}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y1 \leq 2.75 \cdot 10^{-49}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;y1 \leq 9.5 \cdot 10^{+27}:\\ \;\;\;\;\left(-k\right) \cdot \left(y2 \cdot \left(y0 \cdot y5\right)\right)\\ \mathbf{elif}\;y1 \leq 1.15 \cdot 10^{+81}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4\right)\right)\\ \mathbf{elif}\;y1 \leq 1.02 \cdot 10^{+220}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\ \end{array} \]

Alternative 16: 28.6% accurate, 3.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y1 \leq -3 \cdot 10^{+139}:\\ \;\;\;\;j \cdot \left(y4 \cdot \left(y3 \cdot \left(-y1\right)\right)\right)\\ \mathbf{elif}\;y1 \leq -4.3 \cdot 10^{-141}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y1 \leq -7.2 \cdot 10^{-206}:\\ \;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\ \mathbf{elif}\;y1 \leq -3.5 \cdot 10^{-262}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y1 \leq 4.4 \cdot 10^{-48}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;y1 \leq 5.4 \cdot 10^{+26}:\\ \;\;\;\;\left(-k\right) \cdot \left(y2 \cdot \left(y0 \cdot y5\right)\right)\\ \mathbf{elif}\;y1 \leq 3.2 \cdot 10^{+82}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4\right)\right)\\ \mathbf{elif}\;y1 \leq 1.6 \cdot 10^{+220}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\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 (<= y1 -3e+139)
   (* j (* y4 (* y3 (- y1))))
   (if (<= y1 -4.3e-141)
     (* a (* b (- (* x y) (* z t))))
     (if (<= y1 -7.2e-206)
       (* c (* x (- (* y0 y2) (* y i))))
       (if (<= y1 -3.5e-262)
         (* b (* y4 (- (* t j) (* y k))))
         (if (<= y1 4.4e-48)
           (* b (* x (- (* y a) (* j y0))))
           (if (<= y1 5.4e+26)
             (* (- k) (* y2 (* y0 y5)))
             (if (<= y1 3.2e+82)
               (* y (* y3 (* c y4)))
               (if (<= y1 1.6e+220)
                 (* a (* x (- (* y b) (* y1 y2))))
                 (* k (* y4 (* y1 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 (y1 <= -3e+139) {
		tmp = j * (y4 * (y3 * -y1));
	} else if (y1 <= -4.3e-141) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (y1 <= -7.2e-206) {
		tmp = c * (x * ((y0 * y2) - (y * i)));
	} else if (y1 <= -3.5e-262) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y1 <= 4.4e-48) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else if (y1 <= 5.4e+26) {
		tmp = -k * (y2 * (y0 * y5));
	} else if (y1 <= 3.2e+82) {
		tmp = y * (y3 * (c * y4));
	} else if (y1 <= 1.6e+220) {
		tmp = a * (x * ((y * b) - (y1 * y2)));
	} else {
		tmp = k * (y4 * (y1 * 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 (y1 <= (-3d+139)) then
        tmp = j * (y4 * (y3 * -y1))
    else if (y1 <= (-4.3d-141)) then
        tmp = a * (b * ((x * y) - (z * t)))
    else if (y1 <= (-7.2d-206)) then
        tmp = c * (x * ((y0 * y2) - (y * i)))
    else if (y1 <= (-3.5d-262)) then
        tmp = b * (y4 * ((t * j) - (y * k)))
    else if (y1 <= 4.4d-48) then
        tmp = b * (x * ((y * a) - (j * y0)))
    else if (y1 <= 5.4d+26) then
        tmp = -k * (y2 * (y0 * y5))
    else if (y1 <= 3.2d+82) then
        tmp = y * (y3 * (c * y4))
    else if (y1 <= 1.6d+220) then
        tmp = a * (x * ((y * b) - (y1 * y2)))
    else
        tmp = k * (y4 * (y1 * 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 (y1 <= -3e+139) {
		tmp = j * (y4 * (y3 * -y1));
	} else if (y1 <= -4.3e-141) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (y1 <= -7.2e-206) {
		tmp = c * (x * ((y0 * y2) - (y * i)));
	} else if (y1 <= -3.5e-262) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y1 <= 4.4e-48) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else if (y1 <= 5.4e+26) {
		tmp = -k * (y2 * (y0 * y5));
	} else if (y1 <= 3.2e+82) {
		tmp = y * (y3 * (c * y4));
	} else if (y1 <= 1.6e+220) {
		tmp = a * (x * ((y * b) - (y1 * y2)));
	} else {
		tmp = k * (y4 * (y1 * y2));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if y1 <= -3e+139:
		tmp = j * (y4 * (y3 * -y1))
	elif y1 <= -4.3e-141:
		tmp = a * (b * ((x * y) - (z * t)))
	elif y1 <= -7.2e-206:
		tmp = c * (x * ((y0 * y2) - (y * i)))
	elif y1 <= -3.5e-262:
		tmp = b * (y4 * ((t * j) - (y * k)))
	elif y1 <= 4.4e-48:
		tmp = b * (x * ((y * a) - (j * y0)))
	elif y1 <= 5.4e+26:
		tmp = -k * (y2 * (y0 * y5))
	elif y1 <= 3.2e+82:
		tmp = y * (y3 * (c * y4))
	elif y1 <= 1.6e+220:
		tmp = a * (x * ((y * b) - (y1 * y2)))
	else:
		tmp = k * (y4 * (y1 * 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 (y1 <= -3e+139)
		tmp = Float64(j * Float64(y4 * Float64(y3 * Float64(-y1))));
	elseif (y1 <= -4.3e-141)
		tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))));
	elseif (y1 <= -7.2e-206)
		tmp = Float64(c * Float64(x * Float64(Float64(y0 * y2) - Float64(y * i))));
	elseif (y1 <= -3.5e-262)
		tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k))));
	elseif (y1 <= 4.4e-48)
		tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0))));
	elseif (y1 <= 5.4e+26)
		tmp = Float64(Float64(-k) * Float64(y2 * Float64(y0 * y5)));
	elseif (y1 <= 3.2e+82)
		tmp = Float64(y * Float64(y3 * Float64(c * y4)));
	elseif (y1 <= 1.6e+220)
		tmp = Float64(a * Float64(x * Float64(Float64(y * b) - Float64(y1 * y2))));
	else
		tmp = Float64(k * Float64(y4 * Float64(y1 * 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 (y1 <= -3e+139)
		tmp = j * (y4 * (y3 * -y1));
	elseif (y1 <= -4.3e-141)
		tmp = a * (b * ((x * y) - (z * t)));
	elseif (y1 <= -7.2e-206)
		tmp = c * (x * ((y0 * y2) - (y * i)));
	elseif (y1 <= -3.5e-262)
		tmp = b * (y4 * ((t * j) - (y * k)));
	elseif (y1 <= 4.4e-48)
		tmp = b * (x * ((y * a) - (j * y0)));
	elseif (y1 <= 5.4e+26)
		tmp = -k * (y2 * (y0 * y5));
	elseif (y1 <= 3.2e+82)
		tmp = y * (y3 * (c * y4));
	elseif (y1 <= 1.6e+220)
		tmp = a * (x * ((y * b) - (y1 * y2)));
	else
		tmp = k * (y4 * (y1 * 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[y1, -3e+139], N[(j * N[(y4 * N[(y3 * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -4.3e-141], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -7.2e-206], N[(c * N[(x * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -3.5e-262], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 4.4e-48], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 5.4e+26], N[((-k) * N[(y2 * N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 3.2e+82], N[(y * N[(y3 * N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.6e+220], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(y4 * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -3 \cdot 10^{+139}:\\
\;\;\;\;j \cdot \left(y4 \cdot \left(y3 \cdot \left(-y1\right)\right)\right)\\

\mathbf{elif}\;y1 \leq -4.3 \cdot 10^{-141}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\

\mathbf{elif}\;y1 \leq -7.2 \cdot 10^{-206}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\

\mathbf{elif}\;y1 \leq -3.5 \cdot 10^{-262}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\

\mathbf{elif}\;y1 \leq 4.4 \cdot 10^{-48}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\

\mathbf{elif}\;y1 \leq 5.4 \cdot 10^{+26}:\\
\;\;\;\;\left(-k\right) \cdot \left(y2 \cdot \left(y0 \cdot y5\right)\right)\\

\mathbf{elif}\;y1 \leq 3.2 \cdot 10^{+82}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4\right)\right)\\

\mathbf{elif}\;y1 \leq 1.6 \cdot 10^{+220}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\

\mathbf{else}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 9 regimes
  2. if y1 < -3e139

    1. Initial program 21.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. Taylor expanded in x around inf 18.3%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in y4 around inf 47.0%

      \[\leadsto \color{blue}{y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*43.6%

        \[\leadsto \color{blue}{\left(y1 \cdot y4\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
      2. *-commutative43.6%

        \[\leadsto \color{blue}{\left(y4 \cdot y1\right)} \cdot \left(k \cdot y2 - j \cdot y3\right) \]
    5. Simplified43.6%

      \[\leadsto \color{blue}{\left(y4 \cdot y1\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
    6. Taylor expanded in k around 0 39.8%

      \[\leadsto \color{blue}{-1 \cdot \left(j \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-neg39.8%

        \[\leadsto \color{blue}{-j \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)} \]
      2. *-commutative39.8%

        \[\leadsto -\color{blue}{\left(y1 \cdot \left(y3 \cdot y4\right)\right) \cdot j} \]
      3. distribute-rgt-neg-in39.8%

        \[\leadsto \color{blue}{\left(y1 \cdot \left(y3 \cdot y4\right)\right) \cdot \left(-j\right)} \]
      4. associate-*r*43.4%

        \[\leadsto \color{blue}{\left(\left(y1 \cdot y3\right) \cdot y4\right)} \cdot \left(-j\right) \]
      5. *-commutative43.4%

        \[\leadsto \color{blue}{\left(y4 \cdot \left(y1 \cdot y3\right)\right)} \cdot \left(-j\right) \]
      6. *-commutative43.4%

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

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

    if -3e139 < y1 < -4.29999999999999974e-141

    1. Initial program 23.6%

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 46.0%

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

    if -4.29999999999999974e-141 < y1 < -7.19999999999999987e-206

    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. Taylor expanded in x around inf 45.8%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in c around inf 55.0%

      \[\leadsto \color{blue}{c \cdot \left(x \cdot \left(-1 \cdot \left(i \cdot y\right) + y0 \cdot y2\right)\right)} \]
    4. Step-by-step derivation
      1. +-commutative55.0%

        \[\leadsto c \cdot \left(x \cdot \color{blue}{\left(y0 \cdot y2 + -1 \cdot \left(i \cdot y\right)\right)}\right) \]
      2. mul-1-neg55.0%

        \[\leadsto c \cdot \left(x \cdot \left(y0 \cdot y2 + \color{blue}{\left(-i \cdot y\right)}\right)\right) \]
      3. unsub-neg55.0%

        \[\leadsto c \cdot \left(x \cdot \color{blue}{\left(y0 \cdot y2 - i \cdot y\right)}\right) \]
      4. *-commutative55.0%

        \[\leadsto c \cdot \left(x \cdot \left(y0 \cdot y2 - \color{blue}{y \cdot i}\right)\right) \]
    5. Simplified55.0%

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

    if -7.19999999999999987e-206 < y1 < -3.50000000000000011e-262

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in y4 around inf 46.5%

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

    if -3.50000000000000011e-262 < y1 < 4.40000000000000025e-48

    1. Initial program 41.6%

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in x around inf 37.5%

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

    if 4.40000000000000025e-48 < y1 < 5.4e26

    1. Initial program 16.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. Taylor expanded in y0 around inf 39.4%

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)} \]
    6. Taylor expanded in j around 0 45.7%

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-neg45.7%

        \[\leadsto \color{blue}{-k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right)} \]
      2. *-commutative45.7%

        \[\leadsto -\color{blue}{\left(y0 \cdot \left(y2 \cdot y5\right)\right) \cdot k} \]
      3. distribute-rgt-neg-in45.7%

        \[\leadsto \color{blue}{\left(y0 \cdot \left(y2 \cdot y5\right)\right) \cdot \left(-k\right)} \]
      4. *-commutative45.7%

        \[\leadsto \color{blue}{\left(\left(y2 \cdot y5\right) \cdot y0\right)} \cdot \left(-k\right) \]
      5. associate-*l*51.0%

        \[\leadsto \color{blue}{\left(y2 \cdot \left(y5 \cdot y0\right)\right)} \cdot \left(-k\right) \]
      6. *-commutative51.0%

        \[\leadsto \left(y2 \cdot \color{blue}{\left(y0 \cdot y5\right)}\right) \cdot \left(-k\right) \]
    8. Simplified51.0%

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

    if 5.4e26 < y1 < 3.19999999999999975e82

    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. Taylor expanded in y3 around -inf 28.4%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    3. Taylor expanded in y around inf 48.3%

      \[\leadsto -1 \cdot \color{blue}{\left(y \cdot \left(y3 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)} \]
    4. Taylor expanded in a around 0 48.3%

      \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(-1 \cdot \left(c \cdot \left(y3 \cdot y4\right)\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg48.3%

        \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(-c \cdot \left(y3 \cdot y4\right)\right)}\right) \]
      2. *-commutative48.3%

        \[\leadsto -1 \cdot \left(y \cdot \left(-\color{blue}{\left(y3 \cdot y4\right) \cdot c}\right)\right) \]
      3. associate-*l*48.3%

        \[\leadsto -1 \cdot \left(y \cdot \left(-\color{blue}{y3 \cdot \left(y4 \cdot c\right)}\right)\right) \]
      4. distribute-rgt-neg-in48.3%

        \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(y3 \cdot \left(-y4 \cdot c\right)\right)}\right) \]
      5. distribute-rgt-neg-in48.3%

        \[\leadsto -1 \cdot \left(y \cdot \left(y3 \cdot \color{blue}{\left(y4 \cdot \left(-c\right)\right)}\right)\right) \]
    6. Simplified48.3%

      \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(y3 \cdot \left(y4 \cdot \left(-c\right)\right)\right)}\right) \]

    if 3.19999999999999975e82 < y1 < 1.59999999999999994e220

    1. Initial program 27.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. Taylor expanded in x around inf 34.0%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in a around inf 46.0%

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

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y + -1 \cdot \left(y1 \cdot y2\right)\right)}\right) \]
      2. mul-1-neg46.0%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y + \color{blue}{\left(-y1 \cdot y2\right)}\right)\right) \]
      3. unsub-neg46.0%

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1 \cdot y2\right)}\right) \]
      4. *-commutative46.0%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y - \color{blue}{y2 \cdot y1}\right)\right) \]
    5. Simplified46.0%

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

    if 1.59999999999999994e220 < y1

    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. Taylor expanded in k around inf 32.2%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in y4 around inf 46.2%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
    4. Step-by-step derivation
      1. +-commutative46.2%

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

        \[\leadsto k \cdot \left(y4 \cdot \left(y1 \cdot y2 + \color{blue}{\left(-b \cdot y\right)}\right)\right) \]
      3. unsub-neg46.2%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 - b \cdot y\right)}\right) \]
      4. *-commutative46.2%

        \[\leadsto k \cdot \left(y4 \cdot \left(\color{blue}{y2 \cdot y1} - b \cdot y\right)\right) \]
    5. Simplified46.2%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(y2 \cdot y1 - b \cdot y\right)\right)} \]
    6. Taylor expanded in y2 around inf 41.8%

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

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y2 \cdot y1\right)}\right) \]
    8. Simplified41.8%

      \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y2 \cdot y1\right)}\right) \]
  3. Recombined 9 regimes into one program.
  4. Final simplification44.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y1 \leq -3 \cdot 10^{+139}:\\ \;\;\;\;j \cdot \left(y4 \cdot \left(y3 \cdot \left(-y1\right)\right)\right)\\ \mathbf{elif}\;y1 \leq -4.3 \cdot 10^{-141}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y1 \leq -7.2 \cdot 10^{-206}:\\ \;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\ \mathbf{elif}\;y1 \leq -3.5 \cdot 10^{-262}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y1 \leq 4.4 \cdot 10^{-48}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;y1 \leq 5.4 \cdot 10^{+26}:\\ \;\;\;\;\left(-k\right) \cdot \left(y2 \cdot \left(y0 \cdot y5\right)\right)\\ \mathbf{elif}\;y1 \leq 3.2 \cdot 10^{+82}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4\right)\right)\\ \mathbf{elif}\;y1 \leq 1.6 \cdot 10^{+220}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\ \end{array} \]

Alternative 17: 32.1% accurate, 3.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{if}\;y0 \leq -2.9 \cdot 10^{+22}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y0 \leq -7 \cdot 10^{-138}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y0 \leq -1.3 \cdot 10^{-249}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y0 \leq 5 \cdot 10^{-202}:\\ \;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\ \mathbf{elif}\;y0 \leq 6.5 \cdot 10^{-112}:\\ \;\;\;\;\left(t \cdot b\right) \cdot \left(j \cdot y4 - z \cdot a\right)\\ \mathbf{elif}\;y0 \leq 4.9 \cdot 10^{-82}:\\ \;\;\;\;\left(i \cdot k\right) \cdot \left(y \cdot y5 - z \cdot y1\right)\\ \mathbf{elif}\;y0 \leq 6.6 \cdot 10^{+77}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq 9.5 \cdot 10^{+162}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y0 \cdot \left(z \cdot b - y2 \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 (- (* x y2) (* z y3))))))
   (if (<= y0 -2.9e+22)
     t_1
     (if (<= y0 -7e-138)
       (* a (* b (- (* x y) (* z t))))
       (if (<= y0 -1.3e-249)
         (* b (* y4 (- (* t j) (* y k))))
         (if (<= y0 5e-202)
           (* i (* x (- (* j y1) (* y c))))
           (if (<= y0 6.5e-112)
             (* (* t b) (- (* j y4) (* z a)))
             (if (<= y0 4.9e-82)
               (* (* i k) (- (* y y5) (* z y1)))
               (if (<= y0 6.6e+77)
                 (* a (* x (- (* y b) (* y1 y2))))
                 (if (<= y0 9.5e+162)
                   t_1
                   (* k (* y0 (- (* z b) (* 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 t_1 = c * (y0 * ((x * y2) - (z * y3)));
	double tmp;
	if (y0 <= -2.9e+22) {
		tmp = t_1;
	} else if (y0 <= -7e-138) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (y0 <= -1.3e-249) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y0 <= 5e-202) {
		tmp = i * (x * ((j * y1) - (y * c)));
	} else if (y0 <= 6.5e-112) {
		tmp = (t * b) * ((j * y4) - (z * a));
	} else if (y0 <= 4.9e-82) {
		tmp = (i * k) * ((y * y5) - (z * y1));
	} else if (y0 <= 6.6e+77) {
		tmp = a * (x * ((y * b) - (y1 * y2)));
	} else if (y0 <= 9.5e+162) {
		tmp = t_1;
	} else {
		tmp = k * (y0 * ((z * b) - (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) :: t_1
    real(8) :: tmp
    t_1 = c * (y0 * ((x * y2) - (z * y3)))
    if (y0 <= (-2.9d+22)) then
        tmp = t_1
    else if (y0 <= (-7d-138)) then
        tmp = a * (b * ((x * y) - (z * t)))
    else if (y0 <= (-1.3d-249)) then
        tmp = b * (y4 * ((t * j) - (y * k)))
    else if (y0 <= 5d-202) then
        tmp = i * (x * ((j * y1) - (y * c)))
    else if (y0 <= 6.5d-112) then
        tmp = (t * b) * ((j * y4) - (z * a))
    else if (y0 <= 4.9d-82) then
        tmp = (i * k) * ((y * y5) - (z * y1))
    else if (y0 <= 6.6d+77) then
        tmp = a * (x * ((y * b) - (y1 * y2)))
    else if (y0 <= 9.5d+162) then
        tmp = t_1
    else
        tmp = k * (y0 * ((z * b) - (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 t_1 = c * (y0 * ((x * y2) - (z * y3)));
	double tmp;
	if (y0 <= -2.9e+22) {
		tmp = t_1;
	} else if (y0 <= -7e-138) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (y0 <= -1.3e-249) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y0 <= 5e-202) {
		tmp = i * (x * ((j * y1) - (y * c)));
	} else if (y0 <= 6.5e-112) {
		tmp = (t * b) * ((j * y4) - (z * a));
	} else if (y0 <= 4.9e-82) {
		tmp = (i * k) * ((y * y5) - (z * y1));
	} else if (y0 <= 6.6e+77) {
		tmp = a * (x * ((y * b) - (y1 * y2)));
	} else if (y0 <= 9.5e+162) {
		tmp = t_1;
	} else {
		tmp = k * (y0 * ((z * b) - (y2 * y5)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = c * (y0 * ((x * y2) - (z * y3)))
	tmp = 0
	if y0 <= -2.9e+22:
		tmp = t_1
	elif y0 <= -7e-138:
		tmp = a * (b * ((x * y) - (z * t)))
	elif y0 <= -1.3e-249:
		tmp = b * (y4 * ((t * j) - (y * k)))
	elif y0 <= 5e-202:
		tmp = i * (x * ((j * y1) - (y * c)))
	elif y0 <= 6.5e-112:
		tmp = (t * b) * ((j * y4) - (z * a))
	elif y0 <= 4.9e-82:
		tmp = (i * k) * ((y * y5) - (z * y1))
	elif y0 <= 6.6e+77:
		tmp = a * (x * ((y * b) - (y1 * y2)))
	elif y0 <= 9.5e+162:
		tmp = t_1
	else:
		tmp = k * (y0 * ((z * b) - (y2 * 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(y0 * Float64(Float64(x * y2) - Float64(z * y3))))
	tmp = 0.0
	if (y0 <= -2.9e+22)
		tmp = t_1;
	elseif (y0 <= -7e-138)
		tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))));
	elseif (y0 <= -1.3e-249)
		tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k))));
	elseif (y0 <= 5e-202)
		tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c))));
	elseif (y0 <= 6.5e-112)
		tmp = Float64(Float64(t * b) * Float64(Float64(j * y4) - Float64(z * a)));
	elseif (y0 <= 4.9e-82)
		tmp = Float64(Float64(i * k) * Float64(Float64(y * y5) - Float64(z * y1)));
	elseif (y0 <= 6.6e+77)
		tmp = Float64(a * Float64(x * Float64(Float64(y * b) - Float64(y1 * y2))));
	elseif (y0 <= 9.5e+162)
		tmp = t_1;
	else
		tmp = Float64(k * Float64(y0 * Float64(Float64(z * b) - Float64(y2 * 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)
	t_1 = c * (y0 * ((x * y2) - (z * y3)));
	tmp = 0.0;
	if (y0 <= -2.9e+22)
		tmp = t_1;
	elseif (y0 <= -7e-138)
		tmp = a * (b * ((x * y) - (z * t)));
	elseif (y0 <= -1.3e-249)
		tmp = b * (y4 * ((t * j) - (y * k)));
	elseif (y0 <= 5e-202)
		tmp = i * (x * ((j * y1) - (y * c)));
	elseif (y0 <= 6.5e-112)
		tmp = (t * b) * ((j * y4) - (z * a));
	elseif (y0 <= 4.9e-82)
		tmp = (i * k) * ((y * y5) - (z * y1));
	elseif (y0 <= 6.6e+77)
		tmp = a * (x * ((y * b) - (y1 * y2)));
	elseif (y0 <= 9.5e+162)
		tmp = t_1;
	else
		tmp = k * (y0 * ((z * b) - (y2 * y5)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -2.9e+22], t$95$1, If[LessEqual[y0, -7e-138], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -1.3e-249], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 5e-202], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 6.5e-112], N[(N[(t * b), $MachinePrecision] * N[(N[(j * y4), $MachinePrecision] - N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 4.9e-82], N[(N[(i * k), $MachinePrecision] * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 6.6e+77], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 9.5e+162], t$95$1, N[(k * N[(y0 * N[(N[(z * b), $MachinePrecision] - N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{if}\;y0 \leq -2.9 \cdot 10^{+22}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;y0 \leq -7 \cdot 10^{-138}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\

\mathbf{elif}\;y0 \leq -1.3 \cdot 10^{-249}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\

\mathbf{elif}\;y0 \leq 5 \cdot 10^{-202}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\

\mathbf{elif}\;y0 \leq 6.5 \cdot 10^{-112}:\\
\;\;\;\;\left(t \cdot b\right) \cdot \left(j \cdot y4 - z \cdot a\right)\\

\mathbf{elif}\;y0 \leq 4.9 \cdot 10^{-82}:\\
\;\;\;\;\left(i \cdot k\right) \cdot \left(y \cdot y5 - z \cdot y1\right)\\

\mathbf{elif}\;y0 \leq 6.6 \cdot 10^{+77}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\

\mathbf{elif}\;y0 \leq 9.5 \cdot 10^{+162}:\\
\;\;\;\;t_1\\

\mathbf{else}:\\
\;\;\;\;k \cdot \left(y0 \cdot \left(z \cdot b - y2 \cdot y5\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if y0 < -2.9e22 or 6.5999999999999996e77 < y0 < 9.50000000000000021e162

    1. Initial program 27.1%

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

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg59.0%

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative53.1%

        \[\leadsto c \cdot \left(y0 \cdot \left(x \cdot y2 - \color{blue}{z \cdot y3}\right)\right) \]
    7. Simplified53.1%

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

    if -2.9e22 < y0 < -6.9999999999999997e-138

    1. Initial program 25.1%

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 44.3%

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

    if -6.9999999999999997e-138 < y0 < -1.29999999999999988e-249

    1. Initial program 37.0%

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in y4 around inf 40.8%

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

    if -1.29999999999999988e-249 < y0 < 4.99999999999999973e-202

    1. Initial program 31.6%

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

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in i around -inf 54.0%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(x \cdot \left(c \cdot y - j \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*54.0%

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(x \cdot \left(c \cdot y - j \cdot y1\right)\right)} \]
      2. neg-mul-154.0%

        \[\leadsto \color{blue}{\left(-i\right)} \cdot \left(x \cdot \left(c \cdot y - j \cdot y1\right)\right) \]
      3. *-commutative54.0%

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

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

    if 4.99999999999999973e-202 < y0 < 6.49999999999999956e-112

    1. Initial program 32.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. Simplified32.0%

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in t around inf 43.5%

      \[\leadsto \color{blue}{b \cdot \left(t \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right)\right)} \]
    5. Step-by-step derivation
      1. associate-*r*48.5%

        \[\leadsto \color{blue}{\left(b \cdot t\right) \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right)} \]
      2. +-commutative48.5%

        \[\leadsto \left(b \cdot t\right) \cdot \color{blue}{\left(j \cdot y4 + -1 \cdot \left(a \cdot z\right)\right)} \]
      3. mul-1-neg48.5%

        \[\leadsto \left(b \cdot t\right) \cdot \left(j \cdot y4 + \color{blue}{\left(-a \cdot z\right)}\right) \]
      4. unsub-neg48.5%

        \[\leadsto \left(b \cdot t\right) \cdot \color{blue}{\left(j \cdot y4 - a \cdot z\right)} \]
      5. *-commutative48.5%

        \[\leadsto \left(b \cdot t\right) \cdot \left(\color{blue}{y4 \cdot j} - a \cdot z\right) \]
      6. *-commutative48.5%

        \[\leadsto \left(b \cdot t\right) \cdot \left(y4 \cdot j - \color{blue}{z \cdot a}\right) \]
    6. Simplified48.5%

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

    if 6.49999999999999956e-112 < y0 < 4.9000000000000003e-82

    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. Taylor expanded in k around inf 42.9%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in i around inf 57.8%

      \[\leadsto \color{blue}{i \cdot \left(k \cdot \left(y \cdot y5 - y1 \cdot z\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*57.8%

        \[\leadsto \color{blue}{\left(i \cdot k\right) \cdot \left(y \cdot y5 - y1 \cdot z\right)} \]
      2. *-commutative57.8%

        \[\leadsto \left(i \cdot k\right) \cdot \left(y \cdot y5 - \color{blue}{z \cdot y1}\right) \]
    5. Simplified57.8%

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

    if 4.9000000000000003e-82 < y0 < 6.5999999999999996e77

    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. Taylor expanded in x around inf 32.8%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in a around inf 46.6%

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

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y + -1 \cdot \left(y1 \cdot y2\right)\right)}\right) \]
      2. mul-1-neg46.6%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y + \color{blue}{\left(-y1 \cdot y2\right)}\right)\right) \]
      3. unsub-neg46.6%

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1 \cdot y2\right)}\right) \]
      4. *-commutative46.6%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y - \color{blue}{y2 \cdot y1}\right)\right) \]
    5. Simplified46.6%

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

    if 9.50000000000000021e162 < y0

    1. Initial program 26.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. Taylor expanded in k around inf 35.7%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in y0 around inf 56.5%

      \[\leadsto k \cdot \color{blue}{\left(y0 \cdot \left(-1 \cdot \left(y2 \cdot y5\right) - -1 \cdot \left(b \cdot z\right)\right)\right)} \]
    4. Step-by-step derivation
      1. cancel-sign-sub-inv56.5%

        \[\leadsto k \cdot \left(y0 \cdot \color{blue}{\left(-1 \cdot \left(y2 \cdot y5\right) + \left(--1\right) \cdot \left(b \cdot z\right)\right)}\right) \]
      2. metadata-eval56.5%

        \[\leadsto k \cdot \left(y0 \cdot \left(-1 \cdot \left(y2 \cdot y5\right) + \color{blue}{1} \cdot \left(b \cdot z\right)\right)\right) \]
      3. *-lft-identity56.5%

        \[\leadsto k \cdot \left(y0 \cdot \left(-1 \cdot \left(y2 \cdot y5\right) + \color{blue}{b \cdot z}\right)\right) \]
      4. +-commutative56.5%

        \[\leadsto k \cdot \left(y0 \cdot \color{blue}{\left(b \cdot z + -1 \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      5. mul-1-neg56.5%

        \[\leadsto k \cdot \left(y0 \cdot \left(b \cdot z + \color{blue}{\left(-y2 \cdot y5\right)}\right)\right) \]
      6. unsub-neg56.5%

        \[\leadsto k \cdot \left(y0 \cdot \color{blue}{\left(b \cdot z - y2 \cdot y5\right)}\right) \]
    5. Simplified56.5%

      \[\leadsto k \cdot \color{blue}{\left(y0 \cdot \left(b \cdot z - y2 \cdot y5\right)\right)} \]
  3. Recombined 8 regimes into one program.
  4. Final simplification49.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -2.9 \cdot 10^{+22}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;y0 \leq -7 \cdot 10^{-138}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y0 \leq -1.3 \cdot 10^{-249}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y0 \leq 5 \cdot 10^{-202}:\\ \;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\ \mathbf{elif}\;y0 \leq 6.5 \cdot 10^{-112}:\\ \;\;\;\;\left(t \cdot b\right) \cdot \left(j \cdot y4 - z \cdot a\right)\\ \mathbf{elif}\;y0 \leq 4.9 \cdot 10^{-82}:\\ \;\;\;\;\left(i \cdot k\right) \cdot \left(y \cdot y5 - z \cdot y1\right)\\ \mathbf{elif}\;y0 \leq 6.6 \cdot 10^{+77}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq 9.5 \cdot 10^{+162}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y0 \cdot \left(z \cdot b - y2 \cdot y5\right)\right)\\ \end{array} \]

Alternative 18: 32.1% accurate, 3.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ t_2 := i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\ \mathbf{if}\;y0 \leq -1.62 \cdot 10^{+22}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y0 \leq -4 \cdot 10^{-138}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y0 \leq -7.4 \cdot 10^{-255}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y0 \leq 2.3 \cdot 10^{-152}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y0 \leq 3.5 \cdot 10^{-97}:\\ \;\;\;\;a \cdot \left(z \cdot \left(y1 \cdot y3 - t \cdot b\right)\right)\\ \mathbf{elif}\;y0 \leq 5.2 \cdot 10^{-80}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y0 \leq 1.7 \cdot 10^{+80}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq 7.5 \cdot 10^{+159}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y0 \cdot \left(z \cdot b - y2 \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 (- (* x y2) (* z y3)))))
        (t_2 (* i (* x (- (* j y1) (* y c))))))
   (if (<= y0 -1.62e+22)
     t_1
     (if (<= y0 -4e-138)
       (* a (* b (- (* x y) (* z t))))
       (if (<= y0 -7.4e-255)
         (* b (* y4 (- (* t j) (* y k))))
         (if (<= y0 2.3e-152)
           t_2
           (if (<= y0 3.5e-97)
             (* a (* z (- (* y1 y3) (* t b))))
             (if (<= y0 5.2e-80)
               t_2
               (if (<= y0 1.7e+80)
                 (* a (* x (- (* y b) (* y1 y2))))
                 (if (<= y0 7.5e+159)
                   t_1
                   (* k (* y0 (- (* z b) (* 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 t_1 = c * (y0 * ((x * y2) - (z * y3)));
	double t_2 = i * (x * ((j * y1) - (y * c)));
	double tmp;
	if (y0 <= -1.62e+22) {
		tmp = t_1;
	} else if (y0 <= -4e-138) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (y0 <= -7.4e-255) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y0 <= 2.3e-152) {
		tmp = t_2;
	} else if (y0 <= 3.5e-97) {
		tmp = a * (z * ((y1 * y3) - (t * b)));
	} else if (y0 <= 5.2e-80) {
		tmp = t_2;
	} else if (y0 <= 1.7e+80) {
		tmp = a * (x * ((y * b) - (y1 * y2)));
	} else if (y0 <= 7.5e+159) {
		tmp = t_1;
	} else {
		tmp = k * (y0 * ((z * b) - (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) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = c * (y0 * ((x * y2) - (z * y3)))
    t_2 = i * (x * ((j * y1) - (y * c)))
    if (y0 <= (-1.62d+22)) then
        tmp = t_1
    else if (y0 <= (-4d-138)) then
        tmp = a * (b * ((x * y) - (z * t)))
    else if (y0 <= (-7.4d-255)) then
        tmp = b * (y4 * ((t * j) - (y * k)))
    else if (y0 <= 2.3d-152) then
        tmp = t_2
    else if (y0 <= 3.5d-97) then
        tmp = a * (z * ((y1 * y3) - (t * b)))
    else if (y0 <= 5.2d-80) then
        tmp = t_2
    else if (y0 <= 1.7d+80) then
        tmp = a * (x * ((y * b) - (y1 * y2)))
    else if (y0 <= 7.5d+159) then
        tmp = t_1
    else
        tmp = k * (y0 * ((z * b) - (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 t_1 = c * (y0 * ((x * y2) - (z * y3)));
	double t_2 = i * (x * ((j * y1) - (y * c)));
	double tmp;
	if (y0 <= -1.62e+22) {
		tmp = t_1;
	} else if (y0 <= -4e-138) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (y0 <= -7.4e-255) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y0 <= 2.3e-152) {
		tmp = t_2;
	} else if (y0 <= 3.5e-97) {
		tmp = a * (z * ((y1 * y3) - (t * b)));
	} else if (y0 <= 5.2e-80) {
		tmp = t_2;
	} else if (y0 <= 1.7e+80) {
		tmp = a * (x * ((y * b) - (y1 * y2)));
	} else if (y0 <= 7.5e+159) {
		tmp = t_1;
	} else {
		tmp = k * (y0 * ((z * b) - (y2 * y5)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = c * (y0 * ((x * y2) - (z * y3)))
	t_2 = i * (x * ((j * y1) - (y * c)))
	tmp = 0
	if y0 <= -1.62e+22:
		tmp = t_1
	elif y0 <= -4e-138:
		tmp = a * (b * ((x * y) - (z * t)))
	elif y0 <= -7.4e-255:
		tmp = b * (y4 * ((t * j) - (y * k)))
	elif y0 <= 2.3e-152:
		tmp = t_2
	elif y0 <= 3.5e-97:
		tmp = a * (z * ((y1 * y3) - (t * b)))
	elif y0 <= 5.2e-80:
		tmp = t_2
	elif y0 <= 1.7e+80:
		tmp = a * (x * ((y * b) - (y1 * y2)))
	elif y0 <= 7.5e+159:
		tmp = t_1
	else:
		tmp = k * (y0 * ((z * b) - (y2 * 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(y0 * Float64(Float64(x * y2) - Float64(z * y3))))
	t_2 = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c))))
	tmp = 0.0
	if (y0 <= -1.62e+22)
		tmp = t_1;
	elseif (y0 <= -4e-138)
		tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))));
	elseif (y0 <= -7.4e-255)
		tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k))));
	elseif (y0 <= 2.3e-152)
		tmp = t_2;
	elseif (y0 <= 3.5e-97)
		tmp = Float64(a * Float64(z * Float64(Float64(y1 * y3) - Float64(t * b))));
	elseif (y0 <= 5.2e-80)
		tmp = t_2;
	elseif (y0 <= 1.7e+80)
		tmp = Float64(a * Float64(x * Float64(Float64(y * b) - Float64(y1 * y2))));
	elseif (y0 <= 7.5e+159)
		tmp = t_1;
	else
		tmp = Float64(k * Float64(y0 * Float64(Float64(z * b) - Float64(y2 * 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)
	t_1 = c * (y0 * ((x * y2) - (z * y3)));
	t_2 = i * (x * ((j * y1) - (y * c)));
	tmp = 0.0;
	if (y0 <= -1.62e+22)
		tmp = t_1;
	elseif (y0 <= -4e-138)
		tmp = a * (b * ((x * y) - (z * t)));
	elseif (y0 <= -7.4e-255)
		tmp = b * (y4 * ((t * j) - (y * k)));
	elseif (y0 <= 2.3e-152)
		tmp = t_2;
	elseif (y0 <= 3.5e-97)
		tmp = a * (z * ((y1 * y3) - (t * b)));
	elseif (y0 <= 5.2e-80)
		tmp = t_2;
	elseif (y0 <= 1.7e+80)
		tmp = a * (x * ((y * b) - (y1 * y2)));
	elseif (y0 <= 7.5e+159)
		tmp = t_1;
	else
		tmp = k * (y0 * ((z * b) - (y2 * y5)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -1.62e+22], t$95$1, If[LessEqual[y0, -4e-138], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -7.4e-255], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.3e-152], t$95$2, If[LessEqual[y0, 3.5e-97], N[(a * N[(z * N[(N[(y1 * y3), $MachinePrecision] - N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 5.2e-80], t$95$2, If[LessEqual[y0, 1.7e+80], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 7.5e+159], t$95$1, N[(k * N[(y0 * N[(N[(z * b), $MachinePrecision] - N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
t_2 := i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\mathbf{if}\;y0 \leq -1.62 \cdot 10^{+22}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;y0 \leq -4 \cdot 10^{-138}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\

\mathbf{elif}\;y0 \leq -7.4 \cdot 10^{-255}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\

\mathbf{elif}\;y0 \leq 2.3 \cdot 10^{-152}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;y0 \leq 3.5 \cdot 10^{-97}:\\
\;\;\;\;a \cdot \left(z \cdot \left(y1 \cdot y3 - t \cdot b\right)\right)\\

\mathbf{elif}\;y0 \leq 5.2 \cdot 10^{-80}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;y0 \leq 1.7 \cdot 10^{+80}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\

\mathbf{elif}\;y0 \leq 7.5 \cdot 10^{+159}:\\
\;\;\;\;t_1\\

\mathbf{else}:\\
\;\;\;\;k \cdot \left(y0 \cdot \left(z \cdot b - y2 \cdot y5\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if y0 < -1.62e22 or 1.69999999999999996e80 < y0 < 7.4999999999999997e159

    1. Initial program 27.1%

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

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg59.0%

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative53.1%

        \[\leadsto c \cdot \left(y0 \cdot \left(x \cdot y2 - \color{blue}{z \cdot y3}\right)\right) \]
    7. Simplified53.1%

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

    if -1.62e22 < y0 < -4.00000000000000027e-138

    1. Initial program 25.1%

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 44.3%

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

    if -4.00000000000000027e-138 < y0 < -7.4000000000000003e-255

    1. Initial program 37.0%

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in y4 around inf 40.8%

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

    if -7.4000000000000003e-255 < y0 < 2.3000000000000001e-152 or 3.50000000000000019e-97 < y0 < 5.2000000000000002e-80

    1. Initial program 27.1%

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

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in i around -inf 49.8%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(x \cdot \left(c \cdot y - j \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*49.8%

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(x \cdot \left(c \cdot y - j \cdot y1\right)\right)} \]
      2. neg-mul-149.8%

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

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

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

    if 2.3000000000000001e-152 < y0 < 3.50000000000000019e-97

    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. Taylor expanded in z around -inf 61.5%

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

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

        \[\leadsto \color{blue}{-a \cdot \left(z \cdot \left(-1 \cdot \left(y1 \cdot y3\right) + b \cdot t\right)\right)} \]
      2. *-commutative62.7%

        \[\leadsto -\color{blue}{\left(z \cdot \left(-1 \cdot \left(y1 \cdot y3\right) + b \cdot t\right)\right) \cdot a} \]
      3. distribute-rgt-neg-in62.7%

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

        \[\leadsto \left(z \cdot \color{blue}{\left(b \cdot t + -1 \cdot \left(y1 \cdot y3\right)\right)}\right) \cdot \left(-a\right) \]
      5. mul-1-neg62.7%

        \[\leadsto \left(z \cdot \left(b \cdot t + \color{blue}{\left(-y1 \cdot y3\right)}\right)\right) \cdot \left(-a\right) \]
      6. unsub-neg62.7%

        \[\leadsto \left(z \cdot \color{blue}{\left(b \cdot t - y1 \cdot y3\right)}\right) \cdot \left(-a\right) \]
      7. *-commutative62.7%

        \[\leadsto \left(z \cdot \left(\color{blue}{t \cdot b} - y1 \cdot y3\right)\right) \cdot \left(-a\right) \]
      8. *-commutative62.7%

        \[\leadsto \left(z \cdot \left(t \cdot b - \color{blue}{y3 \cdot y1}\right)\right) \cdot \left(-a\right) \]
    5. Simplified62.7%

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

    if 5.2000000000000002e-80 < y0 < 1.69999999999999996e80

    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. Taylor expanded in x around inf 32.8%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in a around inf 46.6%

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

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y + -1 \cdot \left(y1 \cdot y2\right)\right)}\right) \]
      2. mul-1-neg46.6%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y + \color{blue}{\left(-y1 \cdot y2\right)}\right)\right) \]
      3. unsub-neg46.6%

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1 \cdot y2\right)}\right) \]
      4. *-commutative46.6%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y - \color{blue}{y2 \cdot y1}\right)\right) \]
    5. Simplified46.6%

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

    if 7.4999999999999997e159 < y0

    1. Initial program 26.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. Taylor expanded in k around inf 35.7%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in y0 around inf 56.5%

      \[\leadsto k \cdot \color{blue}{\left(y0 \cdot \left(-1 \cdot \left(y2 \cdot y5\right) - -1 \cdot \left(b \cdot z\right)\right)\right)} \]
    4. Step-by-step derivation
      1. cancel-sign-sub-inv56.5%

        \[\leadsto k \cdot \left(y0 \cdot \color{blue}{\left(-1 \cdot \left(y2 \cdot y5\right) + \left(--1\right) \cdot \left(b \cdot z\right)\right)}\right) \]
      2. metadata-eval56.5%

        \[\leadsto k \cdot \left(y0 \cdot \left(-1 \cdot \left(y2 \cdot y5\right) + \color{blue}{1} \cdot \left(b \cdot z\right)\right)\right) \]
      3. *-lft-identity56.5%

        \[\leadsto k \cdot \left(y0 \cdot \left(-1 \cdot \left(y2 \cdot y5\right) + \color{blue}{b \cdot z}\right)\right) \]
      4. +-commutative56.5%

        \[\leadsto k \cdot \left(y0 \cdot \color{blue}{\left(b \cdot z + -1 \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      5. mul-1-neg56.5%

        \[\leadsto k \cdot \left(y0 \cdot \left(b \cdot z + \color{blue}{\left(-y2 \cdot y5\right)}\right)\right) \]
      6. unsub-neg56.5%

        \[\leadsto k \cdot \left(y0 \cdot \color{blue}{\left(b \cdot z - y2 \cdot y5\right)}\right) \]
    5. Simplified56.5%

      \[\leadsto k \cdot \color{blue}{\left(y0 \cdot \left(b \cdot z - y2 \cdot y5\right)\right)} \]
  3. Recombined 7 regimes into one program.
  4. Final simplification49.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -1.62 \cdot 10^{+22}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;y0 \leq -4 \cdot 10^{-138}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y0 \leq -7.4 \cdot 10^{-255}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y0 \leq 2.3 \cdot 10^{-152}:\\ \;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\ \mathbf{elif}\;y0 \leq 3.5 \cdot 10^{-97}:\\ \;\;\;\;a \cdot \left(z \cdot \left(y1 \cdot y3 - t \cdot b\right)\right)\\ \mathbf{elif}\;y0 \leq 5.2 \cdot 10^{-80}:\\ \;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\ \mathbf{elif}\;y0 \leq 1.7 \cdot 10^{+80}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq 7.5 \cdot 10^{+159}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y0 \cdot \left(z \cdot b - y2 \cdot y5\right)\right)\\ \end{array} \]

Alternative 19: 31.3% accurate, 3.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{if}\;y0 \leq -1.2 \cdot 10^{+28}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y0 \leq -1 \cdot 10^{-136}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y0 \leq 1.4 \cdot 10^{-300}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y0 \leq 3.5 \cdot 10^{-153}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{elif}\;y0 \leq 1.75 \cdot 10^{+79}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq 2 \cdot 10^{+164} \lor \neg \left(y0 \leq 6.2 \cdot 10^{+259}\right):\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y0 \cdot \left(y2 \cdot \left(-y5\right)\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* c (* y0 (- (* x y2) (* z y3))))))
   (if (<= y0 -1.2e+28)
     t_1
     (if (<= y0 -1e-136)
       (* a (* b (- (* x y) (* z t))))
       (if (<= y0 1.4e-300)
         (* b (* y4 (- (* t j) (* y k))))
         (if (<= y0 3.5e-153)
           (* i (* z (- (* t c) (* k y1))))
           (if (<= y0 1.75e+79)
             (* a (* x (- (* y b) (* y1 y2))))
             (if (or (<= y0 2e+164) (not (<= y0 6.2e+259)))
               t_1
               (* k (* y0 (* 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 t_1 = c * (y0 * ((x * y2) - (z * y3)));
	double tmp;
	if (y0 <= -1.2e+28) {
		tmp = t_1;
	} else if (y0 <= -1e-136) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (y0 <= 1.4e-300) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y0 <= 3.5e-153) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else if (y0 <= 1.75e+79) {
		tmp = a * (x * ((y * b) - (y1 * y2)));
	} else if ((y0 <= 2e+164) || !(y0 <= 6.2e+259)) {
		tmp = t_1;
	} else {
		tmp = k * (y0 * (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) :: t_1
    real(8) :: tmp
    t_1 = c * (y0 * ((x * y2) - (z * y3)))
    if (y0 <= (-1.2d+28)) then
        tmp = t_1
    else if (y0 <= (-1d-136)) then
        tmp = a * (b * ((x * y) - (z * t)))
    else if (y0 <= 1.4d-300) then
        tmp = b * (y4 * ((t * j) - (y * k)))
    else if (y0 <= 3.5d-153) then
        tmp = i * (z * ((t * c) - (k * y1)))
    else if (y0 <= 1.75d+79) then
        tmp = a * (x * ((y * b) - (y1 * y2)))
    else if ((y0 <= 2d+164) .or. (.not. (y0 <= 6.2d+259))) then
        tmp = t_1
    else
        tmp = k * (y0 * (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 t_1 = c * (y0 * ((x * y2) - (z * y3)));
	double tmp;
	if (y0 <= -1.2e+28) {
		tmp = t_1;
	} else if (y0 <= -1e-136) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (y0 <= 1.4e-300) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y0 <= 3.5e-153) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else if (y0 <= 1.75e+79) {
		tmp = a * (x * ((y * b) - (y1 * y2)));
	} else if ((y0 <= 2e+164) || !(y0 <= 6.2e+259)) {
		tmp = t_1;
	} else {
		tmp = k * (y0 * (y2 * -y5));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = c * (y0 * ((x * y2) - (z * y3)))
	tmp = 0
	if y0 <= -1.2e+28:
		tmp = t_1
	elif y0 <= -1e-136:
		tmp = a * (b * ((x * y) - (z * t)))
	elif y0 <= 1.4e-300:
		tmp = b * (y4 * ((t * j) - (y * k)))
	elif y0 <= 3.5e-153:
		tmp = i * (z * ((t * c) - (k * y1)))
	elif y0 <= 1.75e+79:
		tmp = a * (x * ((y * b) - (y1 * y2)))
	elif (y0 <= 2e+164) or not (y0 <= 6.2e+259):
		tmp = t_1
	else:
		tmp = k * (y0 * (y2 * -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(y0 * Float64(Float64(x * y2) - Float64(z * y3))))
	tmp = 0.0
	if (y0 <= -1.2e+28)
		tmp = t_1;
	elseif (y0 <= -1e-136)
		tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))));
	elseif (y0 <= 1.4e-300)
		tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k))));
	elseif (y0 <= 3.5e-153)
		tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1))));
	elseif (y0 <= 1.75e+79)
		tmp = Float64(a * Float64(x * Float64(Float64(y * b) - Float64(y1 * y2))));
	elseif ((y0 <= 2e+164) || !(y0 <= 6.2e+259))
		tmp = t_1;
	else
		tmp = Float64(k * Float64(y0 * 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)
	t_1 = c * (y0 * ((x * y2) - (z * y3)));
	tmp = 0.0;
	if (y0 <= -1.2e+28)
		tmp = t_1;
	elseif (y0 <= -1e-136)
		tmp = a * (b * ((x * y) - (z * t)));
	elseif (y0 <= 1.4e-300)
		tmp = b * (y4 * ((t * j) - (y * k)));
	elseif (y0 <= 3.5e-153)
		tmp = i * (z * ((t * c) - (k * y1)));
	elseif (y0 <= 1.75e+79)
		tmp = a * (x * ((y * b) - (y1 * y2)));
	elseif ((y0 <= 2e+164) || ~((y0 <= 6.2e+259)))
		tmp = t_1;
	else
		tmp = k * (y0 * (y2 * -y5));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -1.2e+28], t$95$1, If[LessEqual[y0, -1e-136], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.4e-300], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 3.5e-153], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.75e+79], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[y0, 2e+164], N[Not[LessEqual[y0, 6.2e+259]], $MachinePrecision]], t$95$1, N[(k * N[(y0 * N[(y2 * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{if}\;y0 \leq -1.2 \cdot 10^{+28}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;y0 \leq -1 \cdot 10^{-136}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\

\mathbf{elif}\;y0 \leq 1.4 \cdot 10^{-300}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\

\mathbf{elif}\;y0 \leq 3.5 \cdot 10^{-153}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\

\mathbf{elif}\;y0 \leq 1.75 \cdot 10^{+79}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\

\mathbf{elif}\;y0 \leq 2 \cdot 10^{+164} \lor \neg \left(y0 \leq 6.2 \cdot 10^{+259}\right):\\
\;\;\;\;t_1\\

\mathbf{else}:\\
\;\;\;\;k \cdot \left(y0 \cdot \left(y2 \cdot \left(-y5\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if y0 < -1.19999999999999991e28 or 1.7499999999999999e79 < y0 < 2e164 or 6.2000000000000007e259 < y0

    1. Initial program 28.1%

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative55.3%

        \[\leadsto c \cdot \left(y0 \cdot \left(x \cdot y2 - \color{blue}{z \cdot y3}\right)\right) \]
    7. Simplified55.3%

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

    if -1.19999999999999991e28 < y0 < -1e-136

    1. Initial program 25.1%

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 44.3%

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

    if -1e-136 < y0 < 1.39999999999999997e-300

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in y4 around inf 37.1%

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

    if 1.39999999999999997e-300 < y0 < 3.49999999999999981e-153

    1. Initial program 25.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. Taylor expanded in z around -inf 35.7%

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

      \[\leadsto \color{blue}{i \cdot \left(z \cdot \left(c \cdot t - k \cdot y1\right)\right)} \]
    4. Step-by-step derivation
      1. *-commutative54.2%

        \[\leadsto i \cdot \left(z \cdot \left(\color{blue}{t \cdot c} - k \cdot y1\right)\right) \]
    5. Simplified54.2%

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

    if 3.49999999999999981e-153 < y0 < 1.7499999999999999e79

    1. Initial program 30.6%

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

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in a around inf 42.3%

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

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y + -1 \cdot \left(y1 \cdot y2\right)\right)}\right) \]
      2. mul-1-neg42.3%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y + \color{blue}{\left(-y1 \cdot y2\right)}\right)\right) \]
      3. unsub-neg42.3%

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1 \cdot y2\right)}\right) \]
      4. *-commutative42.3%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y - \color{blue}{y2 \cdot y1}\right)\right) \]
    5. Simplified42.3%

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

    if 2e164 < y0 < 6.2000000000000007e259

    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. Taylor expanded in y0 around inf 50.1%

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg50.1%

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)} \]
    6. Taylor expanded in j around 0 55.3%

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right)\right)} \]
    7. Step-by-step derivation
      1. associate-*r*55.3%

        \[\leadsto \color{blue}{\left(-1 \cdot k\right) \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right)} \]
      2. neg-mul-155.3%

        \[\leadsto \color{blue}{\left(-k\right)} \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right) \]
    8. Simplified55.3%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -1.2 \cdot 10^{+28}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;y0 \leq -1 \cdot 10^{-136}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y0 \leq 1.4 \cdot 10^{-300}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y0 \leq 3.5 \cdot 10^{-153}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{elif}\;y0 \leq 1.75 \cdot 10^{+79}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq 2 \cdot 10^{+164} \lor \neg \left(y0 \leq 6.2 \cdot 10^{+259}\right):\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y0 \cdot \left(y2 \cdot \left(-y5\right)\right)\right)\\ \end{array} \]

Alternative 20: 28.4% accurate, 4.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y1 \leq -1.02 \cdot 10^{+139}:\\ \;\;\;\;j \cdot \left(y4 \cdot \left(y3 \cdot \left(-y1\right)\right)\right)\\ \mathbf{elif}\;y1 \leq -1.7 \cdot 10^{-16}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y1 \leq 7.8 \cdot 10^{-48}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;y1 \leq 2.95 \cdot 10^{+26}:\\ \;\;\;\;\left(-k\right) \cdot \left(y2 \cdot \left(y0 \cdot y5\right)\right)\\ \mathbf{elif}\;y1 \leq 6.5 \cdot 10^{+81}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4\right)\right)\\ \mathbf{elif}\;y1 \leq 1.06 \cdot 10^{+220}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\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 (<= y1 -1.02e+139)
   (* j (* y4 (* y3 (- y1))))
   (if (<= y1 -1.7e-16)
     (* a (* b (- (* x y) (* z t))))
     (if (<= y1 7.8e-48)
       (* b (* x (- (* y a) (* j y0))))
       (if (<= y1 2.95e+26)
         (* (- k) (* y2 (* y0 y5)))
         (if (<= y1 6.5e+81)
           (* y (* y3 (* c y4)))
           (if (<= y1 1.06e+220)
             (* a (* x (- (* y b) (* y1 y2))))
             (* k (* y4 (* y1 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 (y1 <= -1.02e+139) {
		tmp = j * (y4 * (y3 * -y1));
	} else if (y1 <= -1.7e-16) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (y1 <= 7.8e-48) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else if (y1 <= 2.95e+26) {
		tmp = -k * (y2 * (y0 * y5));
	} else if (y1 <= 6.5e+81) {
		tmp = y * (y3 * (c * y4));
	} else if (y1 <= 1.06e+220) {
		tmp = a * (x * ((y * b) - (y1 * y2)));
	} else {
		tmp = k * (y4 * (y1 * 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 (y1 <= (-1.02d+139)) then
        tmp = j * (y4 * (y3 * -y1))
    else if (y1 <= (-1.7d-16)) then
        tmp = a * (b * ((x * y) - (z * t)))
    else if (y1 <= 7.8d-48) then
        tmp = b * (x * ((y * a) - (j * y0)))
    else if (y1 <= 2.95d+26) then
        tmp = -k * (y2 * (y0 * y5))
    else if (y1 <= 6.5d+81) then
        tmp = y * (y3 * (c * y4))
    else if (y1 <= 1.06d+220) then
        tmp = a * (x * ((y * b) - (y1 * y2)))
    else
        tmp = k * (y4 * (y1 * 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 (y1 <= -1.02e+139) {
		tmp = j * (y4 * (y3 * -y1));
	} else if (y1 <= -1.7e-16) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (y1 <= 7.8e-48) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else if (y1 <= 2.95e+26) {
		tmp = -k * (y2 * (y0 * y5));
	} else if (y1 <= 6.5e+81) {
		tmp = y * (y3 * (c * y4));
	} else if (y1 <= 1.06e+220) {
		tmp = a * (x * ((y * b) - (y1 * y2)));
	} else {
		tmp = k * (y4 * (y1 * y2));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if y1 <= -1.02e+139:
		tmp = j * (y4 * (y3 * -y1))
	elif y1 <= -1.7e-16:
		tmp = a * (b * ((x * y) - (z * t)))
	elif y1 <= 7.8e-48:
		tmp = b * (x * ((y * a) - (j * y0)))
	elif y1 <= 2.95e+26:
		tmp = -k * (y2 * (y0 * y5))
	elif y1 <= 6.5e+81:
		tmp = y * (y3 * (c * y4))
	elif y1 <= 1.06e+220:
		tmp = a * (x * ((y * b) - (y1 * y2)))
	else:
		tmp = k * (y4 * (y1 * 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 (y1 <= -1.02e+139)
		tmp = Float64(j * Float64(y4 * Float64(y3 * Float64(-y1))));
	elseif (y1 <= -1.7e-16)
		tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))));
	elseif (y1 <= 7.8e-48)
		tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0))));
	elseif (y1 <= 2.95e+26)
		tmp = Float64(Float64(-k) * Float64(y2 * Float64(y0 * y5)));
	elseif (y1 <= 6.5e+81)
		tmp = Float64(y * Float64(y3 * Float64(c * y4)));
	elseif (y1 <= 1.06e+220)
		tmp = Float64(a * Float64(x * Float64(Float64(y * b) - Float64(y1 * y2))));
	else
		tmp = Float64(k * Float64(y4 * Float64(y1 * 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 (y1 <= -1.02e+139)
		tmp = j * (y4 * (y3 * -y1));
	elseif (y1 <= -1.7e-16)
		tmp = a * (b * ((x * y) - (z * t)));
	elseif (y1 <= 7.8e-48)
		tmp = b * (x * ((y * a) - (j * y0)));
	elseif (y1 <= 2.95e+26)
		tmp = -k * (y2 * (y0 * y5));
	elseif (y1 <= 6.5e+81)
		tmp = y * (y3 * (c * y4));
	elseif (y1 <= 1.06e+220)
		tmp = a * (x * ((y * b) - (y1 * y2)));
	else
		tmp = k * (y4 * (y1 * 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[y1, -1.02e+139], N[(j * N[(y4 * N[(y3 * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.7e-16], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 7.8e-48], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.95e+26], N[((-k) * N[(y2 * N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 6.5e+81], N[(y * N[(y3 * N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.06e+220], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(y4 * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -1.02 \cdot 10^{+139}:\\
\;\;\;\;j \cdot \left(y4 \cdot \left(y3 \cdot \left(-y1\right)\right)\right)\\

\mathbf{elif}\;y1 \leq -1.7 \cdot 10^{-16}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\

\mathbf{elif}\;y1 \leq 7.8 \cdot 10^{-48}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\

\mathbf{elif}\;y1 \leq 2.95 \cdot 10^{+26}:\\
\;\;\;\;\left(-k\right) \cdot \left(y2 \cdot \left(y0 \cdot y5\right)\right)\\

\mathbf{elif}\;y1 \leq 6.5 \cdot 10^{+81}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4\right)\right)\\

\mathbf{elif}\;y1 \leq 1.06 \cdot 10^{+220}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\

\mathbf{else}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if y1 < -1.02e139

    1. Initial program 21.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. Taylor expanded in x around inf 18.3%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in y4 around inf 47.0%

      \[\leadsto \color{blue}{y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*43.6%

        \[\leadsto \color{blue}{\left(y1 \cdot y4\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
      2. *-commutative43.6%

        \[\leadsto \color{blue}{\left(y4 \cdot y1\right)} \cdot \left(k \cdot y2 - j \cdot y3\right) \]
    5. Simplified43.6%

      \[\leadsto \color{blue}{\left(y4 \cdot y1\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
    6. Taylor expanded in k around 0 39.8%

      \[\leadsto \color{blue}{-1 \cdot \left(j \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-neg39.8%

        \[\leadsto \color{blue}{-j \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)} \]
      2. *-commutative39.8%

        \[\leadsto -\color{blue}{\left(y1 \cdot \left(y3 \cdot y4\right)\right) \cdot j} \]
      3. distribute-rgt-neg-in39.8%

        \[\leadsto \color{blue}{\left(y1 \cdot \left(y3 \cdot y4\right)\right) \cdot \left(-j\right)} \]
      4. associate-*r*43.4%

        \[\leadsto \color{blue}{\left(\left(y1 \cdot y3\right) \cdot y4\right)} \cdot \left(-j\right) \]
      5. *-commutative43.4%

        \[\leadsto \color{blue}{\left(y4 \cdot \left(y1 \cdot y3\right)\right)} \cdot \left(-j\right) \]
      6. *-commutative43.4%

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

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

    if -1.02e139 < y1 < -1.7e-16

    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. Simplified17.2%

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 52.5%

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

    if -1.7e-16 < y1 < 7.800000000000001e-48

    1. Initial program 35.9%

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in x around inf 36.7%

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

    if 7.800000000000001e-48 < y1 < 2.95000000000000015e26

    1. Initial program 16.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. Taylor expanded in y0 around inf 39.4%

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)} \]
    6. Taylor expanded in j around 0 45.7%

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-neg45.7%

        \[\leadsto \color{blue}{-k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right)} \]
      2. *-commutative45.7%

        \[\leadsto -\color{blue}{\left(y0 \cdot \left(y2 \cdot y5\right)\right) \cdot k} \]
      3. distribute-rgt-neg-in45.7%

        \[\leadsto \color{blue}{\left(y0 \cdot \left(y2 \cdot y5\right)\right) \cdot \left(-k\right)} \]
      4. *-commutative45.7%

        \[\leadsto \color{blue}{\left(\left(y2 \cdot y5\right) \cdot y0\right)} \cdot \left(-k\right) \]
      5. associate-*l*51.0%

        \[\leadsto \color{blue}{\left(y2 \cdot \left(y5 \cdot y0\right)\right)} \cdot \left(-k\right) \]
      6. *-commutative51.0%

        \[\leadsto \left(y2 \cdot \color{blue}{\left(y0 \cdot y5\right)}\right) \cdot \left(-k\right) \]
    8. Simplified51.0%

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

    if 2.95000000000000015e26 < y1 < 6.4999999999999996e81

    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. Taylor expanded in y3 around -inf 28.4%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    3. Taylor expanded in y around inf 48.3%

      \[\leadsto -1 \cdot \color{blue}{\left(y \cdot \left(y3 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)} \]
    4. Taylor expanded in a around 0 48.3%

      \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(-1 \cdot \left(c \cdot \left(y3 \cdot y4\right)\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg48.3%

        \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(-c \cdot \left(y3 \cdot y4\right)\right)}\right) \]
      2. *-commutative48.3%

        \[\leadsto -1 \cdot \left(y \cdot \left(-\color{blue}{\left(y3 \cdot y4\right) \cdot c}\right)\right) \]
      3. associate-*l*48.3%

        \[\leadsto -1 \cdot \left(y \cdot \left(-\color{blue}{y3 \cdot \left(y4 \cdot c\right)}\right)\right) \]
      4. distribute-rgt-neg-in48.3%

        \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(y3 \cdot \left(-y4 \cdot c\right)\right)}\right) \]
      5. distribute-rgt-neg-in48.3%

        \[\leadsto -1 \cdot \left(y \cdot \left(y3 \cdot \color{blue}{\left(y4 \cdot \left(-c\right)\right)}\right)\right) \]
    6. Simplified48.3%

      \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(y3 \cdot \left(y4 \cdot \left(-c\right)\right)\right)}\right) \]

    if 6.4999999999999996e81 < y1 < 1.05999999999999997e220

    1. Initial program 27.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. Taylor expanded in x around inf 34.0%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in a around inf 46.0%

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

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y + -1 \cdot \left(y1 \cdot y2\right)\right)}\right) \]
      2. mul-1-neg46.0%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y + \color{blue}{\left(-y1 \cdot y2\right)}\right)\right) \]
      3. unsub-neg46.0%

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1 \cdot y2\right)}\right) \]
      4. *-commutative46.0%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y - \color{blue}{y2 \cdot y1}\right)\right) \]
    5. Simplified46.0%

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

    if 1.05999999999999997e220 < y1

    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. Taylor expanded in k around inf 32.2%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in y4 around inf 46.2%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
    4. Step-by-step derivation
      1. +-commutative46.2%

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

        \[\leadsto k \cdot \left(y4 \cdot \left(y1 \cdot y2 + \color{blue}{\left(-b \cdot y\right)}\right)\right) \]
      3. unsub-neg46.2%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 - b \cdot y\right)}\right) \]
      4. *-commutative46.2%

        \[\leadsto k \cdot \left(y4 \cdot \left(\color{blue}{y2 \cdot y1} - b \cdot y\right)\right) \]
    5. Simplified46.2%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(y2 \cdot y1 - b \cdot y\right)\right)} \]
    6. Taylor expanded in y2 around inf 41.8%

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

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y2 \cdot y1\right)}\right) \]
    8. Simplified41.8%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y1 \leq -1.02 \cdot 10^{+139}:\\ \;\;\;\;j \cdot \left(y4 \cdot \left(y3 \cdot \left(-y1\right)\right)\right)\\ \mathbf{elif}\;y1 \leq -1.7 \cdot 10^{-16}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y1 \leq 7.8 \cdot 10^{-48}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;y1 \leq 2.95 \cdot 10^{+26}:\\ \;\;\;\;\left(-k\right) \cdot \left(y2 \cdot \left(y0 \cdot y5\right)\right)\\ \mathbf{elif}\;y1 \leq 6.5 \cdot 10^{+81}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4\right)\right)\\ \mathbf{elif}\;y1 \leq 1.06 \cdot 10^{+220}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\ \end{array} \]

Alternative 21: 32.1% accurate, 4.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{if}\;y0 \leq -2 \cdot 10^{+28}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y0 \leq -3 \cdot 10^{-136}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y0 \leq 8.2 \cdot 10^{-301}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y0 \leq 2.9 \cdot 10^{-158}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{elif}\;y0 \leq 5 \cdot 10^{+79}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq 9.5 \cdot 10^{+162}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y0 \cdot \left(z \cdot b - y2 \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 (- (* x y2) (* z y3))))))
   (if (<= y0 -2e+28)
     t_1
     (if (<= y0 -3e-136)
       (* a (* b (- (* x y) (* z t))))
       (if (<= y0 8.2e-301)
         (* b (* y4 (- (* t j) (* y k))))
         (if (<= y0 2.9e-158)
           (* i (* z (- (* t c) (* k y1))))
           (if (<= y0 5e+79)
             (* a (* x (- (* y b) (* y1 y2))))
             (if (<= y0 9.5e+162)
               t_1
               (* k (* y0 (- (* z b) (* 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 t_1 = c * (y0 * ((x * y2) - (z * y3)));
	double tmp;
	if (y0 <= -2e+28) {
		tmp = t_1;
	} else if (y0 <= -3e-136) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (y0 <= 8.2e-301) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y0 <= 2.9e-158) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else if (y0 <= 5e+79) {
		tmp = a * (x * ((y * b) - (y1 * y2)));
	} else if (y0 <= 9.5e+162) {
		tmp = t_1;
	} else {
		tmp = k * (y0 * ((z * b) - (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) :: t_1
    real(8) :: tmp
    t_1 = c * (y0 * ((x * y2) - (z * y3)))
    if (y0 <= (-2d+28)) then
        tmp = t_1
    else if (y0 <= (-3d-136)) then
        tmp = a * (b * ((x * y) - (z * t)))
    else if (y0 <= 8.2d-301) then
        tmp = b * (y4 * ((t * j) - (y * k)))
    else if (y0 <= 2.9d-158) then
        tmp = i * (z * ((t * c) - (k * y1)))
    else if (y0 <= 5d+79) then
        tmp = a * (x * ((y * b) - (y1 * y2)))
    else if (y0 <= 9.5d+162) then
        tmp = t_1
    else
        tmp = k * (y0 * ((z * b) - (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 t_1 = c * (y0 * ((x * y2) - (z * y3)));
	double tmp;
	if (y0 <= -2e+28) {
		tmp = t_1;
	} else if (y0 <= -3e-136) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (y0 <= 8.2e-301) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y0 <= 2.9e-158) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else if (y0 <= 5e+79) {
		tmp = a * (x * ((y * b) - (y1 * y2)));
	} else if (y0 <= 9.5e+162) {
		tmp = t_1;
	} else {
		tmp = k * (y0 * ((z * b) - (y2 * y5)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = c * (y0 * ((x * y2) - (z * y3)))
	tmp = 0
	if y0 <= -2e+28:
		tmp = t_1
	elif y0 <= -3e-136:
		tmp = a * (b * ((x * y) - (z * t)))
	elif y0 <= 8.2e-301:
		tmp = b * (y4 * ((t * j) - (y * k)))
	elif y0 <= 2.9e-158:
		tmp = i * (z * ((t * c) - (k * y1)))
	elif y0 <= 5e+79:
		tmp = a * (x * ((y * b) - (y1 * y2)))
	elif y0 <= 9.5e+162:
		tmp = t_1
	else:
		tmp = k * (y0 * ((z * b) - (y2 * 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(y0 * Float64(Float64(x * y2) - Float64(z * y3))))
	tmp = 0.0
	if (y0 <= -2e+28)
		tmp = t_1;
	elseif (y0 <= -3e-136)
		tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))));
	elseif (y0 <= 8.2e-301)
		tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k))));
	elseif (y0 <= 2.9e-158)
		tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1))));
	elseif (y0 <= 5e+79)
		tmp = Float64(a * Float64(x * Float64(Float64(y * b) - Float64(y1 * y2))));
	elseif (y0 <= 9.5e+162)
		tmp = t_1;
	else
		tmp = Float64(k * Float64(y0 * Float64(Float64(z * b) - Float64(y2 * 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)
	t_1 = c * (y0 * ((x * y2) - (z * y3)));
	tmp = 0.0;
	if (y0 <= -2e+28)
		tmp = t_1;
	elseif (y0 <= -3e-136)
		tmp = a * (b * ((x * y) - (z * t)));
	elseif (y0 <= 8.2e-301)
		tmp = b * (y4 * ((t * j) - (y * k)));
	elseif (y0 <= 2.9e-158)
		tmp = i * (z * ((t * c) - (k * y1)));
	elseif (y0 <= 5e+79)
		tmp = a * (x * ((y * b) - (y1 * y2)));
	elseif (y0 <= 9.5e+162)
		tmp = t_1;
	else
		tmp = k * (y0 * ((z * b) - (y2 * y5)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -2e+28], t$95$1, If[LessEqual[y0, -3e-136], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 8.2e-301], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.9e-158], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 5e+79], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 9.5e+162], t$95$1, N[(k * N[(y0 * N[(N[(z * b), $MachinePrecision] - N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{if}\;y0 \leq -2 \cdot 10^{+28}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;y0 \leq -3 \cdot 10^{-136}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\

\mathbf{elif}\;y0 \leq 8.2 \cdot 10^{-301}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\

\mathbf{elif}\;y0 \leq 2.9 \cdot 10^{-158}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\

\mathbf{elif}\;y0 \leq 5 \cdot 10^{+79}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\

\mathbf{elif}\;y0 \leq 9.5 \cdot 10^{+162}:\\
\;\;\;\;t_1\\

\mathbf{else}:\\
\;\;\;\;k \cdot \left(y0 \cdot \left(z \cdot b - y2 \cdot y5\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if y0 < -1.99999999999999992e28 or 5e79 < y0 < 9.50000000000000021e162

    1. Initial program 27.1%

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

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg59.0%

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative53.1%

        \[\leadsto c \cdot \left(y0 \cdot \left(x \cdot y2 - \color{blue}{z \cdot y3}\right)\right) \]
    7. Simplified53.1%

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

    if -1.99999999999999992e28 < y0 < -2.9999999999999998e-136

    1. Initial program 25.1%

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 44.3%

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

    if -2.9999999999999998e-136 < y0 < 8.19999999999999918e-301

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in y4 around inf 37.1%

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

    if 8.19999999999999918e-301 < y0 < 2.8999999999999998e-158

    1. Initial program 25.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. Taylor expanded in z around -inf 35.7%

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

      \[\leadsto \color{blue}{i \cdot \left(z \cdot \left(c \cdot t - k \cdot y1\right)\right)} \]
    4. Step-by-step derivation
      1. *-commutative54.2%

        \[\leadsto i \cdot \left(z \cdot \left(\color{blue}{t \cdot c} - k \cdot y1\right)\right) \]
    5. Simplified54.2%

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

    if 2.8999999999999998e-158 < y0 < 5e79

    1. Initial program 30.6%

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

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in a around inf 42.3%

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

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y + -1 \cdot \left(y1 \cdot y2\right)\right)}\right) \]
      2. mul-1-neg42.3%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y + \color{blue}{\left(-y1 \cdot y2\right)}\right)\right) \]
      3. unsub-neg42.3%

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1 \cdot y2\right)}\right) \]
      4. *-commutative42.3%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y - \color{blue}{y2 \cdot y1}\right)\right) \]
    5. Simplified42.3%

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

    if 9.50000000000000021e162 < y0

    1. Initial program 26.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. Taylor expanded in k around inf 35.7%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in y0 around inf 56.5%

      \[\leadsto k \cdot \color{blue}{\left(y0 \cdot \left(-1 \cdot \left(y2 \cdot y5\right) - -1 \cdot \left(b \cdot z\right)\right)\right)} \]
    4. Step-by-step derivation
      1. cancel-sign-sub-inv56.5%

        \[\leadsto k \cdot \left(y0 \cdot \color{blue}{\left(-1 \cdot \left(y2 \cdot y5\right) + \left(--1\right) \cdot \left(b \cdot z\right)\right)}\right) \]
      2. metadata-eval56.5%

        \[\leadsto k \cdot \left(y0 \cdot \left(-1 \cdot \left(y2 \cdot y5\right) + \color{blue}{1} \cdot \left(b \cdot z\right)\right)\right) \]
      3. *-lft-identity56.5%

        \[\leadsto k \cdot \left(y0 \cdot \left(-1 \cdot \left(y2 \cdot y5\right) + \color{blue}{b \cdot z}\right)\right) \]
      4. +-commutative56.5%

        \[\leadsto k \cdot \left(y0 \cdot \color{blue}{\left(b \cdot z + -1 \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      5. mul-1-neg56.5%

        \[\leadsto k \cdot \left(y0 \cdot \left(b \cdot z + \color{blue}{\left(-y2 \cdot y5\right)}\right)\right) \]
      6. unsub-neg56.5%

        \[\leadsto k \cdot \left(y0 \cdot \color{blue}{\left(b \cdot z - y2 \cdot y5\right)}\right) \]
    5. Simplified56.5%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -2 \cdot 10^{+28}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;y0 \leq -3 \cdot 10^{-136}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y0 \leq 8.2 \cdot 10^{-301}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y0 \leq 2.9 \cdot 10^{-158}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{elif}\;y0 \leq 5 \cdot 10^{+79}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq 9.5 \cdot 10^{+162}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y0 \cdot \left(z \cdot b - y2 \cdot y5\right)\right)\\ \end{array} \]

Alternative 22: 28.1% accurate, 4.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{if}\;y1 \leq -4.1 \cdot 10^{+138}:\\ \;\;\;\;j \cdot \left(y4 \cdot \left(y3 \cdot \left(-y1\right)\right)\right)\\ \mathbf{elif}\;y1 \leq 4.7 \cdot 10^{-54}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y1 \leq 3.1 \cdot 10^{+26}:\\ \;\;\;\;\left(-k\right) \cdot \left(y2 \cdot \left(y0 \cdot y5\right)\right)\\ \mathbf{elif}\;y1 \leq 1.18 \cdot 10^{+101}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4\right)\right)\\ \mathbf{elif}\;y1 \leq 2.3 \cdot 10^{+216}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* a (* b (- (* x y) (* z t))))))
   (if (<= y1 -4.1e+138)
     (* j (* y4 (* y3 (- y1))))
     (if (<= y1 4.7e-54)
       t_1
       (if (<= y1 3.1e+26)
         (* (- k) (* y2 (* y0 y5)))
         (if (<= y1 1.18e+101)
           (* y (* y3 (* c y4)))
           (if (<= y1 2.3e+216) t_1 (* k (* y4 (* y1 y2))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (b * ((x * y) - (z * t)));
	double tmp;
	if (y1 <= -4.1e+138) {
		tmp = j * (y4 * (y3 * -y1));
	} else if (y1 <= 4.7e-54) {
		tmp = t_1;
	} else if (y1 <= 3.1e+26) {
		tmp = -k * (y2 * (y0 * y5));
	} else if (y1 <= 1.18e+101) {
		tmp = y * (y3 * (c * y4));
	} else if (y1 <= 2.3e+216) {
		tmp = t_1;
	} else {
		tmp = k * (y4 * (y1 * y2));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = a * (b * ((x * y) - (z * t)))
    if (y1 <= (-4.1d+138)) then
        tmp = j * (y4 * (y3 * -y1))
    else if (y1 <= 4.7d-54) then
        tmp = t_1
    else if (y1 <= 3.1d+26) then
        tmp = -k * (y2 * (y0 * y5))
    else if (y1 <= 1.18d+101) then
        tmp = y * (y3 * (c * y4))
    else if (y1 <= 2.3d+216) then
        tmp = t_1
    else
        tmp = k * (y4 * (y1 * y2))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (b * ((x * y) - (z * t)));
	double tmp;
	if (y1 <= -4.1e+138) {
		tmp = j * (y4 * (y3 * -y1));
	} else if (y1 <= 4.7e-54) {
		tmp = t_1;
	} else if (y1 <= 3.1e+26) {
		tmp = -k * (y2 * (y0 * y5));
	} else if (y1 <= 1.18e+101) {
		tmp = y * (y3 * (c * y4));
	} else if (y1 <= 2.3e+216) {
		tmp = t_1;
	} else {
		tmp = k * (y4 * (y1 * y2));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = a * (b * ((x * y) - (z * t)))
	tmp = 0
	if y1 <= -4.1e+138:
		tmp = j * (y4 * (y3 * -y1))
	elif y1 <= 4.7e-54:
		tmp = t_1
	elif y1 <= 3.1e+26:
		tmp = -k * (y2 * (y0 * y5))
	elif y1 <= 1.18e+101:
		tmp = y * (y3 * (c * y4))
	elif y1 <= 2.3e+216:
		tmp = t_1
	else:
		tmp = k * (y4 * (y1 * y2))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))))
	tmp = 0.0
	if (y1 <= -4.1e+138)
		tmp = Float64(j * Float64(y4 * Float64(y3 * Float64(-y1))));
	elseif (y1 <= 4.7e-54)
		tmp = t_1;
	elseif (y1 <= 3.1e+26)
		tmp = Float64(Float64(-k) * Float64(y2 * Float64(y0 * y5)));
	elseif (y1 <= 1.18e+101)
		tmp = Float64(y * Float64(y3 * Float64(c * y4)));
	elseif (y1 <= 2.3e+216)
		tmp = t_1;
	else
		tmp = Float64(k * Float64(y4 * Float64(y1 * y2)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = a * (b * ((x * y) - (z * t)));
	tmp = 0.0;
	if (y1 <= -4.1e+138)
		tmp = j * (y4 * (y3 * -y1));
	elseif (y1 <= 4.7e-54)
		tmp = t_1;
	elseif (y1 <= 3.1e+26)
		tmp = -k * (y2 * (y0 * y5));
	elseif (y1 <= 1.18e+101)
		tmp = y * (y3 * (c * y4));
	elseif (y1 <= 2.3e+216)
		tmp = t_1;
	else
		tmp = k * (y4 * (y1 * y2));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -4.1e+138], N[(j * N[(y4 * N[(y3 * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 4.7e-54], t$95$1, If[LessEqual[y1, 3.1e+26], N[((-k) * N[(y2 * N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.18e+101], N[(y * N[(y3 * N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.3e+216], t$95$1, N[(k * N[(y4 * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{if}\;y1 \leq -4.1 \cdot 10^{+138}:\\
\;\;\;\;j \cdot \left(y4 \cdot \left(y3 \cdot \left(-y1\right)\right)\right)\\

\mathbf{elif}\;y1 \leq 4.7 \cdot 10^{-54}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;y1 \leq 3.1 \cdot 10^{+26}:\\
\;\;\;\;\left(-k\right) \cdot \left(y2 \cdot \left(y0 \cdot y5\right)\right)\\

\mathbf{elif}\;y1 \leq 1.18 \cdot 10^{+101}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4\right)\right)\\

\mathbf{elif}\;y1 \leq 2.3 \cdot 10^{+216}:\\
\;\;\;\;t_1\\

\mathbf{else}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y1 < -4.0999999999999998e138

    1. Initial program 21.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. Taylor expanded in x around inf 18.3%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in y4 around inf 47.0%

      \[\leadsto \color{blue}{y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*43.6%

        \[\leadsto \color{blue}{\left(y1 \cdot y4\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
      2. *-commutative43.6%

        \[\leadsto \color{blue}{\left(y4 \cdot y1\right)} \cdot \left(k \cdot y2 - j \cdot y3\right) \]
    5. Simplified43.6%

      \[\leadsto \color{blue}{\left(y4 \cdot y1\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
    6. Taylor expanded in k around 0 39.8%

      \[\leadsto \color{blue}{-1 \cdot \left(j \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-neg39.8%

        \[\leadsto \color{blue}{-j \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)} \]
      2. *-commutative39.8%

        \[\leadsto -\color{blue}{\left(y1 \cdot \left(y3 \cdot y4\right)\right) \cdot j} \]
      3. distribute-rgt-neg-in39.8%

        \[\leadsto \color{blue}{\left(y1 \cdot \left(y3 \cdot y4\right)\right) \cdot \left(-j\right)} \]
      4. associate-*r*43.4%

        \[\leadsto \color{blue}{\left(\left(y1 \cdot y3\right) \cdot y4\right)} \cdot \left(-j\right) \]
      5. *-commutative43.4%

        \[\leadsto \color{blue}{\left(y4 \cdot \left(y1 \cdot y3\right)\right)} \cdot \left(-j\right) \]
      6. *-commutative43.4%

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

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

    if -4.0999999999999998e138 < y1 < 4.7e-54 or 1.18000000000000005e101 < y1 < 2.29999999999999996e216

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 37.2%

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

    if 4.7e-54 < y1 < 3.1e26

    1. Initial program 20.9%

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

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg42.6%

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)} \]
    6. Taylor expanded in j around 0 43.3%

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-neg43.3%

        \[\leadsto \color{blue}{-k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right)} \]
      2. *-commutative43.3%

        \[\leadsto -\color{blue}{\left(y0 \cdot \left(y2 \cdot y5\right)\right) \cdot k} \]
      3. distribute-rgt-neg-in43.3%

        \[\leadsto \color{blue}{\left(y0 \cdot \left(y2 \cdot y5\right)\right) \cdot \left(-k\right)} \]
      4. *-commutative43.3%

        \[\leadsto \color{blue}{\left(\left(y2 \cdot y5\right) \cdot y0\right)} \cdot \left(-k\right) \]
      5. associate-*l*48.3%

        \[\leadsto \color{blue}{\left(y2 \cdot \left(y5 \cdot y0\right)\right)} \cdot \left(-k\right) \]
      6. *-commutative48.3%

        \[\leadsto \left(y2 \cdot \color{blue}{\left(y0 \cdot y5\right)}\right) \cdot \left(-k\right) \]
    8. Simplified48.3%

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

    if 3.1e26 < y1 < 1.18000000000000005e101

    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. Taylor expanded in y3 around -inf 37.2%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    3. Taylor expanded in y around inf 60.2%

      \[\leadsto -1 \cdot \color{blue}{\left(y \cdot \left(y3 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)} \]
    4. Taylor expanded in a around 0 45.4%

      \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(-1 \cdot \left(c \cdot \left(y3 \cdot y4\right)\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg45.4%

        \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(-c \cdot \left(y3 \cdot y4\right)\right)}\right) \]
      2. *-commutative45.4%

        \[\leadsto -1 \cdot \left(y \cdot \left(-\color{blue}{\left(y3 \cdot y4\right) \cdot c}\right)\right) \]
      3. associate-*l*52.8%

        \[\leadsto -1 \cdot \left(y \cdot \left(-\color{blue}{y3 \cdot \left(y4 \cdot c\right)}\right)\right) \]
      4. distribute-rgt-neg-in52.8%

        \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(y3 \cdot \left(-y4 \cdot c\right)\right)}\right) \]
      5. distribute-rgt-neg-in52.8%

        \[\leadsto -1 \cdot \left(y \cdot \left(y3 \cdot \color{blue}{\left(y4 \cdot \left(-c\right)\right)}\right)\right) \]
    6. Simplified52.8%

      \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(y3 \cdot \left(y4 \cdot \left(-c\right)\right)\right)}\right) \]

    if 2.29999999999999996e216 < y1

    1. Initial program 24.9%

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

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in y4 around inf 46.5%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
    4. Step-by-step derivation
      1. +-commutative46.5%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 + -1 \cdot \left(b \cdot y\right)\right)}\right) \]
      2. mul-1-neg46.5%

        \[\leadsto k \cdot \left(y4 \cdot \left(y1 \cdot y2 + \color{blue}{\left(-b \cdot y\right)}\right)\right) \]
      3. unsub-neg46.5%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 - b \cdot y\right)}\right) \]
      4. *-commutative46.5%

        \[\leadsto k \cdot \left(y4 \cdot \left(\color{blue}{y2 \cdot y1} - b \cdot y\right)\right) \]
    5. Simplified46.5%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(y2 \cdot y1 - b \cdot y\right)\right)} \]
    6. Taylor expanded in y2 around inf 42.4%

      \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2\right)}\right) \]
    7. Step-by-step derivation
      1. *-commutative42.4%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y2 \cdot y1\right)}\right) \]
    8. Simplified42.4%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y1 \leq -4.1 \cdot 10^{+138}:\\ \;\;\;\;j \cdot \left(y4 \cdot \left(y3 \cdot \left(-y1\right)\right)\right)\\ \mathbf{elif}\;y1 \leq 4.7 \cdot 10^{-54}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y1 \leq 3.1 \cdot 10^{+26}:\\ \;\;\;\;\left(-k\right) \cdot \left(y2 \cdot \left(y0 \cdot y5\right)\right)\\ \mathbf{elif}\;y1 \leq 1.18 \cdot 10^{+101}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4\right)\right)\\ \mathbf{elif}\;y1 \leq 2.3 \cdot 10^{+216}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\ \end{array} \]

Alternative 23: 28.7% accurate, 4.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y1 \leq -3 \cdot 10^{+139}:\\ \;\;\;\;j \cdot \left(y4 \cdot \left(y3 \cdot \left(-y1\right)\right)\right)\\ \mathbf{elif}\;y1 \leq 4.7 \cdot 10^{-54}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y1 \leq 4.8 \cdot 10^{+26}:\\ \;\;\;\;\left(-k\right) \cdot \left(y2 \cdot \left(y0 \cdot y5\right)\right)\\ \mathbf{elif}\;y1 \leq 3.1 \cdot 10^{+82}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4\right)\right)\\ \mathbf{elif}\;y1 \leq 1.6 \cdot 10^{+220}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\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 (<= y1 -3e+139)
   (* j (* y4 (* y3 (- y1))))
   (if (<= y1 4.7e-54)
     (* a (* b (- (* x y) (* z t))))
     (if (<= y1 4.8e+26)
       (* (- k) (* y2 (* y0 y5)))
       (if (<= y1 3.1e+82)
         (* y (* y3 (* c y4)))
         (if (<= y1 1.6e+220)
           (* a (* x (- (* y b) (* y1 y2))))
           (* k (* y4 (* y1 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 (y1 <= -3e+139) {
		tmp = j * (y4 * (y3 * -y1));
	} else if (y1 <= 4.7e-54) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (y1 <= 4.8e+26) {
		tmp = -k * (y2 * (y0 * y5));
	} else if (y1 <= 3.1e+82) {
		tmp = y * (y3 * (c * y4));
	} else if (y1 <= 1.6e+220) {
		tmp = a * (x * ((y * b) - (y1 * y2)));
	} else {
		tmp = k * (y4 * (y1 * 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 (y1 <= (-3d+139)) then
        tmp = j * (y4 * (y3 * -y1))
    else if (y1 <= 4.7d-54) then
        tmp = a * (b * ((x * y) - (z * t)))
    else if (y1 <= 4.8d+26) then
        tmp = -k * (y2 * (y0 * y5))
    else if (y1 <= 3.1d+82) then
        tmp = y * (y3 * (c * y4))
    else if (y1 <= 1.6d+220) then
        tmp = a * (x * ((y * b) - (y1 * y2)))
    else
        tmp = k * (y4 * (y1 * 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 (y1 <= -3e+139) {
		tmp = j * (y4 * (y3 * -y1));
	} else if (y1 <= 4.7e-54) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (y1 <= 4.8e+26) {
		tmp = -k * (y2 * (y0 * y5));
	} else if (y1 <= 3.1e+82) {
		tmp = y * (y3 * (c * y4));
	} else if (y1 <= 1.6e+220) {
		tmp = a * (x * ((y * b) - (y1 * y2)));
	} else {
		tmp = k * (y4 * (y1 * y2));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if y1 <= -3e+139:
		tmp = j * (y4 * (y3 * -y1))
	elif y1 <= 4.7e-54:
		tmp = a * (b * ((x * y) - (z * t)))
	elif y1 <= 4.8e+26:
		tmp = -k * (y2 * (y0 * y5))
	elif y1 <= 3.1e+82:
		tmp = y * (y3 * (c * y4))
	elif y1 <= 1.6e+220:
		tmp = a * (x * ((y * b) - (y1 * y2)))
	else:
		tmp = k * (y4 * (y1 * 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 (y1 <= -3e+139)
		tmp = Float64(j * Float64(y4 * Float64(y3 * Float64(-y1))));
	elseif (y1 <= 4.7e-54)
		tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))));
	elseif (y1 <= 4.8e+26)
		tmp = Float64(Float64(-k) * Float64(y2 * Float64(y0 * y5)));
	elseif (y1 <= 3.1e+82)
		tmp = Float64(y * Float64(y3 * Float64(c * y4)));
	elseif (y1 <= 1.6e+220)
		tmp = Float64(a * Float64(x * Float64(Float64(y * b) - Float64(y1 * y2))));
	else
		tmp = Float64(k * Float64(y4 * Float64(y1 * 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 (y1 <= -3e+139)
		tmp = j * (y4 * (y3 * -y1));
	elseif (y1 <= 4.7e-54)
		tmp = a * (b * ((x * y) - (z * t)));
	elseif (y1 <= 4.8e+26)
		tmp = -k * (y2 * (y0 * y5));
	elseif (y1 <= 3.1e+82)
		tmp = y * (y3 * (c * y4));
	elseif (y1 <= 1.6e+220)
		tmp = a * (x * ((y * b) - (y1 * y2)));
	else
		tmp = k * (y4 * (y1 * 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[y1, -3e+139], N[(j * N[(y4 * N[(y3 * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 4.7e-54], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 4.8e+26], N[((-k) * N[(y2 * N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 3.1e+82], N[(y * N[(y3 * N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.6e+220], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(y4 * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -3 \cdot 10^{+139}:\\
\;\;\;\;j \cdot \left(y4 \cdot \left(y3 \cdot \left(-y1\right)\right)\right)\\

\mathbf{elif}\;y1 \leq 4.7 \cdot 10^{-54}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\

\mathbf{elif}\;y1 \leq 4.8 \cdot 10^{+26}:\\
\;\;\;\;\left(-k\right) \cdot \left(y2 \cdot \left(y0 \cdot y5\right)\right)\\

\mathbf{elif}\;y1 \leq 3.1 \cdot 10^{+82}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4\right)\right)\\

\mathbf{elif}\;y1 \leq 1.6 \cdot 10^{+220}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\

\mathbf{else}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if y1 < -3e139

    1. Initial program 21.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. Taylor expanded in x around inf 18.3%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in y4 around inf 47.0%

      \[\leadsto \color{blue}{y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*43.6%

        \[\leadsto \color{blue}{\left(y1 \cdot y4\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
      2. *-commutative43.6%

        \[\leadsto \color{blue}{\left(y4 \cdot y1\right)} \cdot \left(k \cdot y2 - j \cdot y3\right) \]
    5. Simplified43.6%

      \[\leadsto \color{blue}{\left(y4 \cdot y1\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
    6. Taylor expanded in k around 0 39.8%

      \[\leadsto \color{blue}{-1 \cdot \left(j \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-neg39.8%

        \[\leadsto \color{blue}{-j \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)} \]
      2. *-commutative39.8%

        \[\leadsto -\color{blue}{\left(y1 \cdot \left(y3 \cdot y4\right)\right) \cdot j} \]
      3. distribute-rgt-neg-in39.8%

        \[\leadsto \color{blue}{\left(y1 \cdot \left(y3 \cdot y4\right)\right) \cdot \left(-j\right)} \]
      4. associate-*r*43.4%

        \[\leadsto \color{blue}{\left(\left(y1 \cdot y3\right) \cdot y4\right)} \cdot \left(-j\right) \]
      5. *-commutative43.4%

        \[\leadsto \color{blue}{\left(y4 \cdot \left(y1 \cdot y3\right)\right)} \cdot \left(-j\right) \]
      6. *-commutative43.4%

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

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

    if -3e139 < y1 < 4.7e-54

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 37.3%

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

    if 4.7e-54 < y1 < 4.80000000000000009e26

    1. Initial program 20.9%

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

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg42.6%

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)} \]
    6. Taylor expanded in j around 0 43.3%

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-neg43.3%

        \[\leadsto \color{blue}{-k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right)} \]
      2. *-commutative43.3%

        \[\leadsto -\color{blue}{\left(y0 \cdot \left(y2 \cdot y5\right)\right) \cdot k} \]
      3. distribute-rgt-neg-in43.3%

        \[\leadsto \color{blue}{\left(y0 \cdot \left(y2 \cdot y5\right)\right) \cdot \left(-k\right)} \]
      4. *-commutative43.3%

        \[\leadsto \color{blue}{\left(\left(y2 \cdot y5\right) \cdot y0\right)} \cdot \left(-k\right) \]
      5. associate-*l*48.3%

        \[\leadsto \color{blue}{\left(y2 \cdot \left(y5 \cdot y0\right)\right)} \cdot \left(-k\right) \]
      6. *-commutative48.3%

        \[\leadsto \left(y2 \cdot \color{blue}{\left(y0 \cdot y5\right)}\right) \cdot \left(-k\right) \]
    8. Simplified48.3%

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

    if 4.80000000000000009e26 < y1 < 3.10000000000000032e82

    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. Taylor expanded in y3 around -inf 28.4%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    3. Taylor expanded in y around inf 48.3%

      \[\leadsto -1 \cdot \color{blue}{\left(y \cdot \left(y3 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)} \]
    4. Taylor expanded in a around 0 48.3%

      \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(-1 \cdot \left(c \cdot \left(y3 \cdot y4\right)\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg48.3%

        \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(-c \cdot \left(y3 \cdot y4\right)\right)}\right) \]
      2. *-commutative48.3%

        \[\leadsto -1 \cdot \left(y \cdot \left(-\color{blue}{\left(y3 \cdot y4\right) \cdot c}\right)\right) \]
      3. associate-*l*48.3%

        \[\leadsto -1 \cdot \left(y \cdot \left(-\color{blue}{y3 \cdot \left(y4 \cdot c\right)}\right)\right) \]
      4. distribute-rgt-neg-in48.3%

        \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(y3 \cdot \left(-y4 \cdot c\right)\right)}\right) \]
      5. distribute-rgt-neg-in48.3%

        \[\leadsto -1 \cdot \left(y \cdot \left(y3 \cdot \color{blue}{\left(y4 \cdot \left(-c\right)\right)}\right)\right) \]
    6. Simplified48.3%

      \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(y3 \cdot \left(y4 \cdot \left(-c\right)\right)\right)}\right) \]

    if 3.10000000000000032e82 < y1 < 1.59999999999999994e220

    1. Initial program 27.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. Taylor expanded in x around inf 34.0%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in a around inf 46.0%

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

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y + -1 \cdot \left(y1 \cdot y2\right)\right)}\right) \]
      2. mul-1-neg46.0%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y + \color{blue}{\left(-y1 \cdot y2\right)}\right)\right) \]
      3. unsub-neg46.0%

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(b \cdot y - y1 \cdot y2\right)}\right) \]
      4. *-commutative46.0%

        \[\leadsto a \cdot \left(x \cdot \left(b \cdot y - \color{blue}{y2 \cdot y1}\right)\right) \]
    5. Simplified46.0%

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

    if 1.59999999999999994e220 < y1

    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. Taylor expanded in k around inf 32.2%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in y4 around inf 46.2%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
    4. Step-by-step derivation
      1. +-commutative46.2%

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

        \[\leadsto k \cdot \left(y4 \cdot \left(y1 \cdot y2 + \color{blue}{\left(-b \cdot y\right)}\right)\right) \]
      3. unsub-neg46.2%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 - b \cdot y\right)}\right) \]
      4. *-commutative46.2%

        \[\leadsto k \cdot \left(y4 \cdot \left(\color{blue}{y2 \cdot y1} - b \cdot y\right)\right) \]
    5. Simplified46.2%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(y2 \cdot y1 - b \cdot y\right)\right)} \]
    6. Taylor expanded in y2 around inf 41.8%

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

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y2 \cdot y1\right)}\right) \]
    8. Simplified41.8%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y1 \leq -3 \cdot 10^{+139}:\\ \;\;\;\;j \cdot \left(y4 \cdot \left(y3 \cdot \left(-y1\right)\right)\right)\\ \mathbf{elif}\;y1 \leq 4.7 \cdot 10^{-54}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y1 \leq 4.8 \cdot 10^{+26}:\\ \;\;\;\;\left(-k\right) \cdot \left(y2 \cdot \left(y0 \cdot y5\right)\right)\\ \mathbf{elif}\;y1 \leq 3.1 \cdot 10^{+82}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4\right)\right)\\ \mathbf{elif}\;y1 \leq 1.6 \cdot 10^{+220}:\\ \;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\ \end{array} \]

Alternative 24: 21.8% accurate, 4.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{if}\;a \leq -1.1 \cdot 10^{+204}:\\ \;\;\;\;\left(z \cdot t\right) \cdot \left(a \cdot \left(-b\right)\right)\\ \mathbf{elif}\;a \leq -5.5 \cdot 10^{-71}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 1.3 \cdot 10^{-264}:\\ \;\;\;\;\left(k \cdot y2\right) \cdot \left(y1 \cdot y4\right)\\ \mathbf{elif}\;a \leq 4.2 \cdot 10^{+17}:\\ \;\;\;\;j \cdot \left(y4 \cdot \left(y3 \cdot \left(-y1\right)\right)\right)\\ \mathbf{elif}\;a \leq 3.8 \cdot 10^{+141} \lor \neg \left(a \leq 4.6 \cdot 10^{+256}\right):\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(a \cdot \left(-y5\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 (* b (* x (* y a)))))
   (if (<= a -1.1e+204)
     (* (* z t) (* a (- b)))
     (if (<= a -5.5e-71)
       t_1
       (if (<= a 1.3e-264)
         (* (* k y2) (* y1 y4))
         (if (<= a 4.2e+17)
           (* j (* y4 (* y3 (- y1))))
           (if (or (<= a 3.8e+141) (not (<= a 4.6e+256)))
             t_1
             (* y (* y3 (* 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 = b * (x * (y * a));
	double tmp;
	if (a <= -1.1e+204) {
		tmp = (z * t) * (a * -b);
	} else if (a <= -5.5e-71) {
		tmp = t_1;
	} else if (a <= 1.3e-264) {
		tmp = (k * y2) * (y1 * y4);
	} else if (a <= 4.2e+17) {
		tmp = j * (y4 * (y3 * -y1));
	} else if ((a <= 3.8e+141) || !(a <= 4.6e+256)) {
		tmp = t_1;
	} else {
		tmp = y * (y3 * (a * -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) :: t_1
    real(8) :: tmp
    t_1 = b * (x * (y * a))
    if (a <= (-1.1d+204)) then
        tmp = (z * t) * (a * -b)
    else if (a <= (-5.5d-71)) then
        tmp = t_1
    else if (a <= 1.3d-264) then
        tmp = (k * y2) * (y1 * y4)
    else if (a <= 4.2d+17) then
        tmp = j * (y4 * (y3 * -y1))
    else if ((a <= 3.8d+141) .or. (.not. (a <= 4.6d+256))) then
        tmp = t_1
    else
        tmp = y * (y3 * (a * -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 t_1 = b * (x * (y * a));
	double tmp;
	if (a <= -1.1e+204) {
		tmp = (z * t) * (a * -b);
	} else if (a <= -5.5e-71) {
		tmp = t_1;
	} else if (a <= 1.3e-264) {
		tmp = (k * y2) * (y1 * y4);
	} else if (a <= 4.2e+17) {
		tmp = j * (y4 * (y3 * -y1));
	} else if ((a <= 3.8e+141) || !(a <= 4.6e+256)) {
		tmp = t_1;
	} else {
		tmp = y * (y3 * (a * -y5));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = b * (x * (y * a))
	tmp = 0
	if a <= -1.1e+204:
		tmp = (z * t) * (a * -b)
	elif a <= -5.5e-71:
		tmp = t_1
	elif a <= 1.3e-264:
		tmp = (k * y2) * (y1 * y4)
	elif a <= 4.2e+17:
		tmp = j * (y4 * (y3 * -y1))
	elif (a <= 3.8e+141) or not (a <= 4.6e+256):
		tmp = t_1
	else:
		tmp = y * (y3 * (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(b * Float64(x * Float64(y * a)))
	tmp = 0.0
	if (a <= -1.1e+204)
		tmp = Float64(Float64(z * t) * Float64(a * Float64(-b)));
	elseif (a <= -5.5e-71)
		tmp = t_1;
	elseif (a <= 1.3e-264)
		tmp = Float64(Float64(k * y2) * Float64(y1 * y4));
	elseif (a <= 4.2e+17)
		tmp = Float64(j * Float64(y4 * Float64(y3 * Float64(-y1))));
	elseif ((a <= 3.8e+141) || !(a <= 4.6e+256))
		tmp = t_1;
	else
		tmp = Float64(y * Float64(y3 * Float64(a * 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)
	t_1 = b * (x * (y * a));
	tmp = 0.0;
	if (a <= -1.1e+204)
		tmp = (z * t) * (a * -b);
	elseif (a <= -5.5e-71)
		tmp = t_1;
	elseif (a <= 1.3e-264)
		tmp = (k * y2) * (y1 * y4);
	elseif (a <= 4.2e+17)
		tmp = j * (y4 * (y3 * -y1));
	elseif ((a <= 3.8e+141) || ~((a <= 4.6e+256)))
		tmp = t_1;
	else
		tmp = y * (y3 * (a * -y5));
	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[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.1e+204], N[(N[(z * t), $MachinePrecision] * N[(a * (-b)), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -5.5e-71], t$95$1, If[LessEqual[a, 1.3e-264], N[(N[(k * y2), $MachinePrecision] * N[(y1 * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 4.2e+17], N[(j * N[(y4 * N[(y3 * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[a, 3.8e+141], N[Not[LessEqual[a, 4.6e+256]], $MachinePrecision]], t$95$1, N[(y * N[(y3 * N[(a * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\
\mathbf{if}\;a \leq -1.1 \cdot 10^{+204}:\\
\;\;\;\;\left(z \cdot t\right) \cdot \left(a \cdot \left(-b\right)\right)\\

\mathbf{elif}\;a \leq -5.5 \cdot 10^{-71}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;a \leq 1.3 \cdot 10^{-264}:\\
\;\;\;\;\left(k \cdot y2\right) \cdot \left(y1 \cdot y4\right)\\

\mathbf{elif}\;a \leq 4.2 \cdot 10^{+17}:\\
\;\;\;\;j \cdot \left(y4 \cdot \left(y3 \cdot \left(-y1\right)\right)\right)\\

\mathbf{elif}\;a \leq 3.8 \cdot 10^{+141} \lor \neg \left(a \leq 4.6 \cdot 10^{+256}\right):\\
\;\;\;\;t_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if a < -1.10000000000000006e204

    1. Initial program 21.7%

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 53.0%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around 0 49.0%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(b \cdot \left(t \cdot z\right)\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg49.0%

        \[\leadsto \color{blue}{-a \cdot \left(b \cdot \left(t \cdot z\right)\right)} \]
      2. associate-*r*53.1%

        \[\leadsto -\color{blue}{\left(a \cdot b\right) \cdot \left(t \cdot z\right)} \]
      3. *-commutative53.1%

        \[\leadsto -\left(a \cdot b\right) \cdot \color{blue}{\left(z \cdot t\right)} \]
    7. Simplified53.1%

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

    if -1.10000000000000006e204 < a < -5.4999999999999997e-71 or 4.2e17 < a < 3.79999999999999976e141 or 4.5999999999999997e256 < a

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 39.8%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 31.6%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
    6. Step-by-step derivation
      1. expm1-log1p-u15.8%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)\right)} \]
      2. expm1-udef15.8%

        \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)} - 1} \]
      3. *-commutative15.8%

        \[\leadsto e^{\mathsf{log1p}\left(\color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a}\right)} - 1 \]
    7. Applied egg-rr15.8%

      \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)} - 1} \]
    8. Step-by-step derivation
      1. expm1-def15.8%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)\right)} \]
      2. expm1-log1p31.6%

        \[\leadsto \color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a} \]
      3. associate-*l*32.6%

        \[\leadsto \color{blue}{b \cdot \left(\left(x \cdot y\right) \cdot a\right)} \]
      4. associate-*l*37.7%

        \[\leadsto b \cdot \color{blue}{\left(x \cdot \left(y \cdot a\right)\right)} \]
      5. *-commutative37.7%

        \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(a \cdot y\right)}\right) \]
    9. Simplified37.7%

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

    if -5.4999999999999997e-71 < a < 1.3000000000000001e-264

    1. Initial program 30.6%

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

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in y4 around inf 34.7%

      \[\leadsto \color{blue}{y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*37.5%

        \[\leadsto \color{blue}{\left(y1 \cdot y4\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
      2. *-commutative37.5%

        \[\leadsto \color{blue}{\left(y4 \cdot y1\right)} \cdot \left(k \cdot y2 - j \cdot y3\right) \]
    5. Simplified37.5%

      \[\leadsto \color{blue}{\left(y4 \cdot y1\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
    6. Taylor expanded in k around inf 31.3%

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

    if 1.3000000000000001e-264 < a < 4.2e17

    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. Taylor expanded in x around inf 31.8%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in y4 around inf 24.6%

      \[\leadsto \color{blue}{y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*22.9%

        \[\leadsto \color{blue}{\left(y1 \cdot y4\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
      2. *-commutative22.9%

        \[\leadsto \color{blue}{\left(y4 \cdot y1\right)} \cdot \left(k \cdot y2 - j \cdot y3\right) \]
    5. Simplified22.9%

      \[\leadsto \color{blue}{\left(y4 \cdot y1\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
    6. Taylor expanded in k around 0 21.3%

      \[\leadsto \color{blue}{-1 \cdot \left(j \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-neg21.3%

        \[\leadsto \color{blue}{-j \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)} \]
      2. *-commutative21.3%

        \[\leadsto -\color{blue}{\left(y1 \cdot \left(y3 \cdot y4\right)\right) \cdot j} \]
      3. distribute-rgt-neg-in21.3%

        \[\leadsto \color{blue}{\left(y1 \cdot \left(y3 \cdot y4\right)\right) \cdot \left(-j\right)} \]
      4. associate-*r*24.7%

        \[\leadsto \color{blue}{\left(\left(y1 \cdot y3\right) \cdot y4\right)} \cdot \left(-j\right) \]
      5. *-commutative24.7%

        \[\leadsto \color{blue}{\left(y4 \cdot \left(y1 \cdot y3\right)\right)} \cdot \left(-j\right) \]
      6. *-commutative24.7%

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

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

    if 3.79999999999999976e141 < a < 4.5999999999999997e256

    1. Initial program 9.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. Taylor expanded in y3 around -inf 51.8%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    3. Taylor expanded in y around inf 42.7%

      \[\leadsto -1 \cdot \color{blue}{\left(y \cdot \left(y3 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)} \]
    4. Taylor expanded in a around inf 42.6%

      \[\leadsto -1 \cdot \left(y \cdot \left(y3 \cdot \color{blue}{\left(a \cdot y5\right)}\right)\right) \]
    5. Step-by-step derivation
      1. *-commutative42.6%

        \[\leadsto -1 \cdot \left(y \cdot \left(y3 \cdot \color{blue}{\left(y5 \cdot a\right)}\right)\right) \]
    6. Simplified42.6%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -1.1 \cdot 10^{+204}:\\ \;\;\;\;\left(z \cdot t\right) \cdot \left(a \cdot \left(-b\right)\right)\\ \mathbf{elif}\;a \leq -5.5 \cdot 10^{-71}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{elif}\;a \leq 1.3 \cdot 10^{-264}:\\ \;\;\;\;\left(k \cdot y2\right) \cdot \left(y1 \cdot y4\right)\\ \mathbf{elif}\;a \leq 4.2 \cdot 10^{+17}:\\ \;\;\;\;j \cdot \left(y4 \cdot \left(y3 \cdot \left(-y1\right)\right)\right)\\ \mathbf{elif}\;a \leq 3.8 \cdot 10^{+141} \lor \neg \left(a \leq 4.6 \cdot 10^{+256}\right):\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(a \cdot \left(-y5\right)\right)\right)\\ \end{array} \]

Alternative 25: 21.9% accurate, 4.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(y3 \cdot \left(c \cdot y4\right)\right)\\ \mathbf{if}\;c \leq -5 \cdot 10^{+99}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -1.55 \cdot 10^{-25}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\ \mathbf{elif}\;c \leq 2.45 \cdot 10^{-290}:\\ \;\;\;\;a \cdot \left(z \cdot \left(t \cdot \left(-b\right)\right)\right)\\ \mathbf{elif}\;c \leq 7 \cdot 10^{-236}:\\ \;\;\;\;a \cdot \left(\left(-y\right) \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{elif}\;c \leq 1.55 \cdot 10^{-10}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\ \mathbf{elif}\;c \leq 6.2 \cdot 10^{+136}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\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 (* y (* y3 (* c y4)))))
   (if (<= c -5e+99)
     t_1
     (if (<= c -1.55e-25)
       (* a (* (* x y) b))
       (if (<= c 2.45e-290)
         (* a (* z (* t (- b))))
         (if (<= c 7e-236)
           (* a (* (- y) (* y3 y5)))
           (if (<= c 1.55e-10)
             (* k (* y4 (* y1 y2)))
             (if (<= c 6.2e+136) (* b (* x (* y a))) t_1))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = y * (y3 * (c * y4));
	double tmp;
	if (c <= -5e+99) {
		tmp = t_1;
	} else if (c <= -1.55e-25) {
		tmp = a * ((x * y) * b);
	} else if (c <= 2.45e-290) {
		tmp = a * (z * (t * -b));
	} else if (c <= 7e-236) {
		tmp = a * (-y * (y3 * y5));
	} else if (c <= 1.55e-10) {
		tmp = k * (y4 * (y1 * y2));
	} else if (c <= 6.2e+136) {
		tmp = b * (x * (y * a));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = y * (y3 * (c * y4))
    if (c <= (-5d+99)) then
        tmp = t_1
    else if (c <= (-1.55d-25)) then
        tmp = a * ((x * y) * b)
    else if (c <= 2.45d-290) then
        tmp = a * (z * (t * -b))
    else if (c <= 7d-236) then
        tmp = a * (-y * (y3 * y5))
    else if (c <= 1.55d-10) then
        tmp = k * (y4 * (y1 * y2))
    else if (c <= 6.2d+136) then
        tmp = b * (x * (y * a))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = y * (y3 * (c * y4));
	double tmp;
	if (c <= -5e+99) {
		tmp = t_1;
	} else if (c <= -1.55e-25) {
		tmp = a * ((x * y) * b);
	} else if (c <= 2.45e-290) {
		tmp = a * (z * (t * -b));
	} else if (c <= 7e-236) {
		tmp = a * (-y * (y3 * y5));
	} else if (c <= 1.55e-10) {
		tmp = k * (y4 * (y1 * y2));
	} else if (c <= 6.2e+136) {
		tmp = b * (x * (y * a));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = y * (y3 * (c * y4))
	tmp = 0
	if c <= -5e+99:
		tmp = t_1
	elif c <= -1.55e-25:
		tmp = a * ((x * y) * b)
	elif c <= 2.45e-290:
		tmp = a * (z * (t * -b))
	elif c <= 7e-236:
		tmp = a * (-y * (y3 * y5))
	elif c <= 1.55e-10:
		tmp = k * (y4 * (y1 * y2))
	elif c <= 6.2e+136:
		tmp = b * (x * (y * a))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(y * Float64(y3 * Float64(c * y4)))
	tmp = 0.0
	if (c <= -5e+99)
		tmp = t_1;
	elseif (c <= -1.55e-25)
		tmp = Float64(a * Float64(Float64(x * y) * b));
	elseif (c <= 2.45e-290)
		tmp = Float64(a * Float64(z * Float64(t * Float64(-b))));
	elseif (c <= 7e-236)
		tmp = Float64(a * Float64(Float64(-y) * Float64(y3 * y5)));
	elseif (c <= 1.55e-10)
		tmp = Float64(k * Float64(y4 * Float64(y1 * y2)));
	elseif (c <= 6.2e+136)
		tmp = Float64(b * Float64(x * Float64(y * a)));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = y * (y3 * (c * y4));
	tmp = 0.0;
	if (c <= -5e+99)
		tmp = t_1;
	elseif (c <= -1.55e-25)
		tmp = a * ((x * y) * b);
	elseif (c <= 2.45e-290)
		tmp = a * (z * (t * -b));
	elseif (c <= 7e-236)
		tmp = a * (-y * (y3 * y5));
	elseif (c <= 1.55e-10)
		tmp = k * (y4 * (y1 * y2));
	elseif (c <= 6.2e+136)
		tmp = b * (x * (y * a));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y * N[(y3 * N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -5e+99], t$95$1, If[LessEqual[c, -1.55e-25], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.45e-290], N[(a * N[(z * N[(t * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 7e-236], N[(a * N[((-y) * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.55e-10], N[(k * N[(y4 * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 6.2e+136], N[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y \cdot \left(y3 \cdot \left(c \cdot y4\right)\right)\\
\mathbf{if}\;c \leq -5 \cdot 10^{+99}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;c \leq -1.55 \cdot 10^{-25}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\

\mathbf{elif}\;c \leq 2.45 \cdot 10^{-290}:\\
\;\;\;\;a \cdot \left(z \cdot \left(t \cdot \left(-b\right)\right)\right)\\

\mathbf{elif}\;c \leq 7 \cdot 10^{-236}:\\
\;\;\;\;a \cdot \left(\left(-y\right) \cdot \left(y3 \cdot y5\right)\right)\\

\mathbf{elif}\;c \leq 1.55 \cdot 10^{-10}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\

\mathbf{elif}\;c \leq 6.2 \cdot 10^{+136}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if c < -5.00000000000000008e99 or 6.19999999999999967e136 < c

    1. Initial program 22.2%

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

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    3. Taylor expanded in y around inf 44.0%

      \[\leadsto -1 \cdot \color{blue}{\left(y \cdot \left(y3 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)} \]
    4. Taylor expanded in a around 0 37.6%

      \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(-1 \cdot \left(c \cdot \left(y3 \cdot y4\right)\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg37.6%

        \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(-c \cdot \left(y3 \cdot y4\right)\right)}\right) \]
      2. *-commutative37.6%

        \[\leadsto -1 \cdot \left(y \cdot \left(-\color{blue}{\left(y3 \cdot y4\right) \cdot c}\right)\right) \]
      3. associate-*l*39.1%

        \[\leadsto -1 \cdot \left(y \cdot \left(-\color{blue}{y3 \cdot \left(y4 \cdot c\right)}\right)\right) \]
      4. distribute-rgt-neg-in39.1%

        \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(y3 \cdot \left(-y4 \cdot c\right)\right)}\right) \]
      5. distribute-rgt-neg-in39.1%

        \[\leadsto -1 \cdot \left(y \cdot \left(y3 \cdot \color{blue}{\left(y4 \cdot \left(-c\right)\right)}\right)\right) \]
    6. Simplified39.1%

      \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(y3 \cdot \left(y4 \cdot \left(-c\right)\right)\right)}\right) \]

    if -5.00000000000000008e99 < c < -1.54999999999999997e-25

    1. Initial program 25.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. Simplified25.3%

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 30.6%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 34.5%

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

    if -1.54999999999999997e-25 < c < 2.45e-290

    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. Simplified31.2%

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 37.4%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around 0 30.8%

      \[\leadsto a \cdot \color{blue}{\left(-1 \cdot \left(b \cdot \left(t \cdot z\right)\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg30.8%

        \[\leadsto a \cdot \color{blue}{\left(-b \cdot \left(t \cdot z\right)\right)} \]
      2. associate-*r*34.8%

        \[\leadsto a \cdot \left(-\color{blue}{\left(b \cdot t\right) \cdot z}\right) \]
      3. *-commutative34.8%

        \[\leadsto a \cdot \left(-\color{blue}{z \cdot \left(b \cdot t\right)}\right) \]
      4. distribute-rgt-neg-out34.8%

        \[\leadsto a \cdot \color{blue}{\left(z \cdot \left(-b \cdot t\right)\right)} \]
      5. distribute-rgt-neg-in34.8%

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

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

    if 2.45e-290 < c < 6.99999999999999988e-236

    1. Initial program 40.7%

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

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    3. Taylor expanded in y around inf 34.6%

      \[\leadsto -1 \cdot \color{blue}{\left(y \cdot \left(y3 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)} \]
    4. Taylor expanded in a around inf 41.5%

      \[\leadsto -1 \cdot \color{blue}{\left(a \cdot \left(y \cdot \left(y3 \cdot y5\right)\right)\right)} \]
    5. Step-by-step derivation
      1. *-commutative41.5%

        \[\leadsto -1 \cdot \left(a \cdot \color{blue}{\left(\left(y3 \cdot y5\right) \cdot y\right)}\right) \]
    6. Simplified41.5%

      \[\leadsto -1 \cdot \color{blue}{\left(a \cdot \left(\left(y3 \cdot y5\right) \cdot y\right)\right)} \]

    if 6.99999999999999988e-236 < c < 1.55000000000000008e-10

    1. Initial program 35.3%

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

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in y4 around inf 44.6%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
    4. Step-by-step derivation
      1. +-commutative44.6%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 + -1 \cdot \left(b \cdot y\right)\right)}\right) \]
      2. mul-1-neg44.6%

        \[\leadsto k \cdot \left(y4 \cdot \left(y1 \cdot y2 + \color{blue}{\left(-b \cdot y\right)}\right)\right) \]
      3. unsub-neg44.6%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 - b \cdot y\right)}\right) \]
      4. *-commutative44.6%

        \[\leadsto k \cdot \left(y4 \cdot \left(\color{blue}{y2 \cdot y1} - b \cdot y\right)\right) \]
    5. Simplified44.6%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(y2 \cdot y1 - b \cdot y\right)\right)} \]
    6. Taylor expanded in y2 around inf 33.9%

      \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2\right)}\right) \]
    7. Step-by-step derivation
      1. *-commutative33.9%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y2 \cdot y1\right)}\right) \]
    8. Simplified33.9%

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

    if 1.55000000000000008e-10 < c < 6.19999999999999967e136

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 38.3%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 26.4%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
    6. Step-by-step derivation
      1. expm1-log1p-u13.0%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)\right)} \]
      2. expm1-udef13.0%

        \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)} - 1} \]
      3. *-commutative13.0%

        \[\leadsto e^{\mathsf{log1p}\left(\color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a}\right)} - 1 \]
    7. Applied egg-rr13.0%

      \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)} - 1} \]
    8. Step-by-step derivation
      1. expm1-def13.0%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)\right)} \]
      2. expm1-log1p26.4%

        \[\leadsto \color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a} \]
      3. associate-*l*26.4%

        \[\leadsto \color{blue}{b \cdot \left(\left(x \cdot y\right) \cdot a\right)} \]
      4. associate-*l*29.3%

        \[\leadsto b \cdot \color{blue}{\left(x \cdot \left(y \cdot a\right)\right)} \]
      5. *-commutative29.3%

        \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(a \cdot y\right)}\right) \]
    9. Simplified29.3%

      \[\leadsto \color{blue}{b \cdot \left(x \cdot \left(a \cdot y\right)\right)} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification35.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -5 \cdot 10^{+99}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4\right)\right)\\ \mathbf{elif}\;c \leq -1.55 \cdot 10^{-25}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\ \mathbf{elif}\;c \leq 2.45 \cdot 10^{-290}:\\ \;\;\;\;a \cdot \left(z \cdot \left(t \cdot \left(-b\right)\right)\right)\\ \mathbf{elif}\;c \leq 7 \cdot 10^{-236}:\\ \;\;\;\;a \cdot \left(\left(-y\right) \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{elif}\;c \leq 1.55 \cdot 10^{-10}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\ \mathbf{elif}\;c \leq 6.2 \cdot 10^{+136}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4\right)\right)\\ \end{array} \]

Alternative 26: 21.3% accurate, 4.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;c \leq -8.5 \cdot 10^{+100}:\\ \;\;\;\;y \cdot \left(c \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;c \leq -2.02 \cdot 10^{-25}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\ \mathbf{elif}\;c \leq 9.5 \cdot 10^{-293}:\\ \;\;\;\;a \cdot \left(z \cdot \left(t \cdot \left(-b\right)\right)\right)\\ \mathbf{elif}\;c \leq 5.5 \cdot 10^{-239}:\\ \;\;\;\;a \cdot \left(\left(-y\right) \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{elif}\;c \leq 1.3 \cdot 10^{-10}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\ \mathbf{elif}\;c \leq 4.6 \cdot 10^{+138}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(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
 (if (<= c -8.5e+100)
   (* y (* c (* y3 y4)))
   (if (<= c -2.02e-25)
     (* a (* (* x y) b))
     (if (<= c 9.5e-293)
       (* a (* z (* t (- b))))
       (if (<= c 5.5e-239)
         (* a (* (- y) (* y3 y5)))
         (if (<= c 1.3e-10)
           (* k (* y4 (* y1 y2)))
           (if (<= c 4.6e+138) (* b (* x (* y a))) (* y (* y3 (* 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 (c <= -8.5e+100) {
		tmp = y * (c * (y3 * y4));
	} else if (c <= -2.02e-25) {
		tmp = a * ((x * y) * b);
	} else if (c <= 9.5e-293) {
		tmp = a * (z * (t * -b));
	} else if (c <= 5.5e-239) {
		tmp = a * (-y * (y3 * y5));
	} else if (c <= 1.3e-10) {
		tmp = k * (y4 * (y1 * y2));
	} else if (c <= 4.6e+138) {
		tmp = b * (x * (y * a));
	} else {
		tmp = y * (y3 * (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 (c <= (-8.5d+100)) then
        tmp = y * (c * (y3 * y4))
    else if (c <= (-2.02d-25)) then
        tmp = a * ((x * y) * b)
    else if (c <= 9.5d-293) then
        tmp = a * (z * (t * -b))
    else if (c <= 5.5d-239) then
        tmp = a * (-y * (y3 * y5))
    else if (c <= 1.3d-10) then
        tmp = k * (y4 * (y1 * y2))
    else if (c <= 4.6d+138) then
        tmp = b * (x * (y * a))
    else
        tmp = y * (y3 * (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 (c <= -8.5e+100) {
		tmp = y * (c * (y3 * y4));
	} else if (c <= -2.02e-25) {
		tmp = a * ((x * y) * b);
	} else if (c <= 9.5e-293) {
		tmp = a * (z * (t * -b));
	} else if (c <= 5.5e-239) {
		tmp = a * (-y * (y3 * y5));
	} else if (c <= 1.3e-10) {
		tmp = k * (y4 * (y1 * y2));
	} else if (c <= 4.6e+138) {
		tmp = b * (x * (y * a));
	} else {
		tmp = y * (y3 * (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 c <= -8.5e+100:
		tmp = y * (c * (y3 * y4))
	elif c <= -2.02e-25:
		tmp = a * ((x * y) * b)
	elif c <= 9.5e-293:
		tmp = a * (z * (t * -b))
	elif c <= 5.5e-239:
		tmp = a * (-y * (y3 * y5))
	elif c <= 1.3e-10:
		tmp = k * (y4 * (y1 * y2))
	elif c <= 4.6e+138:
		tmp = b * (x * (y * a))
	else:
		tmp = y * (y3 * (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 (c <= -8.5e+100)
		tmp = Float64(y * Float64(c * Float64(y3 * y4)));
	elseif (c <= -2.02e-25)
		tmp = Float64(a * Float64(Float64(x * y) * b));
	elseif (c <= 9.5e-293)
		tmp = Float64(a * Float64(z * Float64(t * Float64(-b))));
	elseif (c <= 5.5e-239)
		tmp = Float64(a * Float64(Float64(-y) * Float64(y3 * y5)));
	elseif (c <= 1.3e-10)
		tmp = Float64(k * Float64(y4 * Float64(y1 * y2)));
	elseif (c <= 4.6e+138)
		tmp = Float64(b * Float64(x * Float64(y * a)));
	else
		tmp = Float64(y * Float64(y3 * Float64(c * 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 (c <= -8.5e+100)
		tmp = y * (c * (y3 * y4));
	elseif (c <= -2.02e-25)
		tmp = a * ((x * y) * b);
	elseif (c <= 9.5e-293)
		tmp = a * (z * (t * -b));
	elseif (c <= 5.5e-239)
		tmp = a * (-y * (y3 * y5));
	elseif (c <= 1.3e-10)
		tmp = k * (y4 * (y1 * y2));
	elseif (c <= 4.6e+138)
		tmp = b * (x * (y * a));
	else
		tmp = y * (y3 * (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[c, -8.5e+100], N[(y * N[(c * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -2.02e-25], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 9.5e-293], N[(a * N[(z * N[(t * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5.5e-239], N[(a * N[((-y) * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.3e-10], N[(k * N[(y4 * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.6e+138], N[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y * N[(y3 * N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;c \leq -8.5 \cdot 10^{+100}:\\
\;\;\;\;y \cdot \left(c \cdot \left(y3 \cdot y4\right)\right)\\

\mathbf{elif}\;c \leq -2.02 \cdot 10^{-25}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\

\mathbf{elif}\;c \leq 9.5 \cdot 10^{-293}:\\
\;\;\;\;a \cdot \left(z \cdot \left(t \cdot \left(-b\right)\right)\right)\\

\mathbf{elif}\;c \leq 5.5 \cdot 10^{-239}:\\
\;\;\;\;a \cdot \left(\left(-y\right) \cdot \left(y3 \cdot y5\right)\right)\\

\mathbf{elif}\;c \leq 1.3 \cdot 10^{-10}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\

\mathbf{elif}\;c \leq 4.6 \cdot 10^{+138}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\

\mathbf{else}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if c < -8.50000000000000043e100

    1. Initial program 20.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. Taylor expanded in y3 around -inf 45.9%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    3. Taylor expanded in y around inf 41.5%

      \[\leadsto -1 \cdot \color{blue}{\left(y \cdot \left(y3 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)} \]
    4. Taylor expanded in a around 0 38.9%

      \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(-1 \cdot \left(c \cdot \left(y3 \cdot y4\right)\right)\right)}\right) \]
    5. Step-by-step derivation
      1. associate-*r*38.9%

        \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(\left(-1 \cdot c\right) \cdot \left(y3 \cdot y4\right)\right)}\right) \]
      2. neg-mul-138.9%

        \[\leadsto -1 \cdot \left(y \cdot \left(\color{blue}{\left(-c\right)} \cdot \left(y3 \cdot y4\right)\right)\right) \]
    6. Simplified38.9%

      \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(\left(-c\right) \cdot \left(y3 \cdot y4\right)\right)}\right) \]

    if -8.50000000000000043e100 < c < -2.02000000000000002e-25

    1. Initial program 25.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. Simplified25.3%

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 30.6%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 34.5%

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

    if -2.02000000000000002e-25 < c < 9.50000000000000049e-293

    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. Simplified31.2%

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 37.4%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around 0 30.8%

      \[\leadsto a \cdot \color{blue}{\left(-1 \cdot \left(b \cdot \left(t \cdot z\right)\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg30.8%

        \[\leadsto a \cdot \color{blue}{\left(-b \cdot \left(t \cdot z\right)\right)} \]
      2. associate-*r*34.8%

        \[\leadsto a \cdot \left(-\color{blue}{\left(b \cdot t\right) \cdot z}\right) \]
      3. *-commutative34.8%

        \[\leadsto a \cdot \left(-\color{blue}{z \cdot \left(b \cdot t\right)}\right) \]
      4. distribute-rgt-neg-out34.8%

        \[\leadsto a \cdot \color{blue}{\left(z \cdot \left(-b \cdot t\right)\right)} \]
      5. distribute-rgt-neg-in34.8%

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

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

    if 9.50000000000000049e-293 < c < 5.49999999999999978e-239

    1. Initial program 40.7%

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

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    3. Taylor expanded in y around inf 34.6%

      \[\leadsto -1 \cdot \color{blue}{\left(y \cdot \left(y3 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)} \]
    4. Taylor expanded in a around inf 41.5%

      \[\leadsto -1 \cdot \color{blue}{\left(a \cdot \left(y \cdot \left(y3 \cdot y5\right)\right)\right)} \]
    5. Step-by-step derivation
      1. *-commutative41.5%

        \[\leadsto -1 \cdot \left(a \cdot \color{blue}{\left(\left(y3 \cdot y5\right) \cdot y\right)}\right) \]
    6. Simplified41.5%

      \[\leadsto -1 \cdot \color{blue}{\left(a \cdot \left(\left(y3 \cdot y5\right) \cdot y\right)\right)} \]

    if 5.49999999999999978e-239 < c < 1.29999999999999991e-10

    1. Initial program 35.3%

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

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in y4 around inf 44.6%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
    4. Step-by-step derivation
      1. +-commutative44.6%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 + -1 \cdot \left(b \cdot y\right)\right)}\right) \]
      2. mul-1-neg44.6%

        \[\leadsto k \cdot \left(y4 \cdot \left(y1 \cdot y2 + \color{blue}{\left(-b \cdot y\right)}\right)\right) \]
      3. unsub-neg44.6%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 - b \cdot y\right)}\right) \]
      4. *-commutative44.6%

        \[\leadsto k \cdot \left(y4 \cdot \left(\color{blue}{y2 \cdot y1} - b \cdot y\right)\right) \]
    5. Simplified44.6%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(y2 \cdot y1 - b \cdot y\right)\right)} \]
    6. Taylor expanded in y2 around inf 33.9%

      \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2\right)}\right) \]
    7. Step-by-step derivation
      1. *-commutative33.9%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y2 \cdot y1\right)}\right) \]
    8. Simplified33.9%

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

    if 1.29999999999999991e-10 < c < 4.60000000000000015e138

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 38.3%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 26.4%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
    6. Step-by-step derivation
      1. expm1-log1p-u13.0%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)\right)} \]
      2. expm1-udef13.0%

        \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)} - 1} \]
      3. *-commutative13.0%

        \[\leadsto e^{\mathsf{log1p}\left(\color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a}\right)} - 1 \]
    7. Applied egg-rr13.0%

      \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)} - 1} \]
    8. Step-by-step derivation
      1. expm1-def13.0%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)\right)} \]
      2. expm1-log1p26.4%

        \[\leadsto \color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a} \]
      3. associate-*l*26.4%

        \[\leadsto \color{blue}{b \cdot \left(\left(x \cdot y\right) \cdot a\right)} \]
      4. associate-*l*29.3%

        \[\leadsto b \cdot \color{blue}{\left(x \cdot \left(y \cdot a\right)\right)} \]
      5. *-commutative29.3%

        \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(a \cdot y\right)}\right) \]
    9. Simplified29.3%

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

    if 4.60000000000000015e138 < c

    1. Initial program 24.3%

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

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    3. Taylor expanded in y around inf 46.7%

      \[\leadsto -1 \cdot \color{blue}{\left(y \cdot \left(y3 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)} \]
    4. Taylor expanded in a around 0 36.2%

      \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(-1 \cdot \left(c \cdot \left(y3 \cdot y4\right)\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg36.2%

        \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(-c \cdot \left(y3 \cdot y4\right)\right)}\right) \]
      2. *-commutative36.2%

        \[\leadsto -1 \cdot \left(y \cdot \left(-\color{blue}{\left(y3 \cdot y4\right) \cdot c}\right)\right) \]
      3. associate-*l*41.5%

        \[\leadsto -1 \cdot \left(y \cdot \left(-\color{blue}{y3 \cdot \left(y4 \cdot c\right)}\right)\right) \]
      4. distribute-rgt-neg-in41.5%

        \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(y3 \cdot \left(-y4 \cdot c\right)\right)}\right) \]
      5. distribute-rgt-neg-in41.5%

        \[\leadsto -1 \cdot \left(y \cdot \left(y3 \cdot \color{blue}{\left(y4 \cdot \left(-c\right)\right)}\right)\right) \]
    6. Simplified41.5%

      \[\leadsto -1 \cdot \left(y \cdot \color{blue}{\left(y3 \cdot \left(y4 \cdot \left(-c\right)\right)\right)}\right) \]
  3. Recombined 7 regimes into one program.
  4. Final simplification35.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -8.5 \cdot 10^{+100}:\\ \;\;\;\;y \cdot \left(c \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;c \leq -2.02 \cdot 10^{-25}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\ \mathbf{elif}\;c \leq 9.5 \cdot 10^{-293}:\\ \;\;\;\;a \cdot \left(z \cdot \left(t \cdot \left(-b\right)\right)\right)\\ \mathbf{elif}\;c \leq 5.5 \cdot 10^{-239}:\\ \;\;\;\;a \cdot \left(\left(-y\right) \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{elif}\;c \leq 1.3 \cdot 10^{-10}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\ \mathbf{elif}\;c \leq 4.6 \cdot 10^{+138}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4\right)\right)\\ \end{array} \]

Alternative 27: 22.1% accurate, 5.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{if}\;a \leq -8.8 \cdot 10^{+203}:\\ \;\;\;\;\left(z \cdot t\right) \cdot \left(a \cdot \left(-b\right)\right)\\ \mathbf{elif}\;a \leq -4.4 \cdot 10^{-72}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 2.3 \cdot 10^{-264}:\\ \;\;\;\;\left(k \cdot y2\right) \cdot \left(y1 \cdot y4\right)\\ \mathbf{elif}\;a \leq 4.5 \cdot 10^{+16}:\\ \;\;\;\;y1 \cdot \left(y4 \cdot \left(-j \cdot y3\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* b (* x (* y a)))))
   (if (<= a -8.8e+203)
     (* (* z t) (* a (- b)))
     (if (<= a -4.4e-72)
       t_1
       (if (<= a 2.3e-264)
         (* (* k y2) (* y1 y4))
         (if (<= a 4.5e+16) (* y1 (* y4 (- (* j y3)))) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = b * (x * (y * a));
	double tmp;
	if (a <= -8.8e+203) {
		tmp = (z * t) * (a * -b);
	} else if (a <= -4.4e-72) {
		tmp = t_1;
	} else if (a <= 2.3e-264) {
		tmp = (k * y2) * (y1 * y4);
	} else if (a <= 4.5e+16) {
		tmp = y1 * (y4 * -(j * y3));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = b * (x * (y * a))
    if (a <= (-8.8d+203)) then
        tmp = (z * t) * (a * -b)
    else if (a <= (-4.4d-72)) then
        tmp = t_1
    else if (a <= 2.3d-264) then
        tmp = (k * y2) * (y1 * y4)
    else if (a <= 4.5d+16) then
        tmp = y1 * (y4 * -(j * y3))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = b * (x * (y * a));
	double tmp;
	if (a <= -8.8e+203) {
		tmp = (z * t) * (a * -b);
	} else if (a <= -4.4e-72) {
		tmp = t_1;
	} else if (a <= 2.3e-264) {
		tmp = (k * y2) * (y1 * y4);
	} else if (a <= 4.5e+16) {
		tmp = y1 * (y4 * -(j * y3));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = b * (x * (y * a))
	tmp = 0
	if a <= -8.8e+203:
		tmp = (z * t) * (a * -b)
	elif a <= -4.4e-72:
		tmp = t_1
	elif a <= 2.3e-264:
		tmp = (k * y2) * (y1 * y4)
	elif a <= 4.5e+16:
		tmp = y1 * (y4 * -(j * y3))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(b * Float64(x * Float64(y * a)))
	tmp = 0.0
	if (a <= -8.8e+203)
		tmp = Float64(Float64(z * t) * Float64(a * Float64(-b)));
	elseif (a <= -4.4e-72)
		tmp = t_1;
	elseif (a <= 2.3e-264)
		tmp = Float64(Float64(k * y2) * Float64(y1 * y4));
	elseif (a <= 4.5e+16)
		tmp = Float64(y1 * Float64(y4 * Float64(-Float64(j * y3))));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = b * (x * (y * a));
	tmp = 0.0;
	if (a <= -8.8e+203)
		tmp = (z * t) * (a * -b);
	elseif (a <= -4.4e-72)
		tmp = t_1;
	elseif (a <= 2.3e-264)
		tmp = (k * y2) * (y1 * y4);
	elseif (a <= 4.5e+16)
		tmp = y1 * (y4 * -(j * y3));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -8.8e+203], N[(N[(z * t), $MachinePrecision] * N[(a * (-b)), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -4.4e-72], t$95$1, If[LessEqual[a, 2.3e-264], N[(N[(k * y2), $MachinePrecision] * N[(y1 * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 4.5e+16], N[(y1 * N[(y4 * (-N[(j * y3), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\
\mathbf{if}\;a \leq -8.8 \cdot 10^{+203}:\\
\;\;\;\;\left(z \cdot t\right) \cdot \left(a \cdot \left(-b\right)\right)\\

\mathbf{elif}\;a \leq -4.4 \cdot 10^{-72}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;a \leq 2.3 \cdot 10^{-264}:\\
\;\;\;\;\left(k \cdot y2\right) \cdot \left(y1 \cdot y4\right)\\

\mathbf{elif}\;a \leq 4.5 \cdot 10^{+16}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(-j \cdot y3\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if a < -8.80000000000000018e203

    1. Initial program 21.7%

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 53.0%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around 0 49.0%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(b \cdot \left(t \cdot z\right)\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg49.0%

        \[\leadsto \color{blue}{-a \cdot \left(b \cdot \left(t \cdot z\right)\right)} \]
      2. associate-*r*53.1%

        \[\leadsto -\color{blue}{\left(a \cdot b\right) \cdot \left(t \cdot z\right)} \]
      3. *-commutative53.1%

        \[\leadsto -\left(a \cdot b\right) \cdot \color{blue}{\left(z \cdot t\right)} \]
    7. Simplified53.1%

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

    if -8.80000000000000018e203 < a < -4.40000000000000005e-72 or 4.5e16 < a

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 37.9%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 29.6%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
    6. Step-by-step derivation
      1. expm1-log1p-u14.8%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)\right)} \]
      2. expm1-udef14.7%

        \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)} - 1} \]
      3. *-commutative14.7%

        \[\leadsto e^{\mathsf{log1p}\left(\color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a}\right)} - 1 \]
    7. Applied egg-rr14.7%

      \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)} - 1} \]
    8. Step-by-step derivation
      1. expm1-def14.8%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)\right)} \]
      2. expm1-log1p29.6%

        \[\leadsto \color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a} \]
      3. associate-*l*30.4%

        \[\leadsto \color{blue}{b \cdot \left(\left(x \cdot y\right) \cdot a\right)} \]
      4. associate-*l*34.5%

        \[\leadsto b \cdot \color{blue}{\left(x \cdot \left(y \cdot a\right)\right)} \]
      5. *-commutative34.5%

        \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(a \cdot y\right)}\right) \]
    9. Simplified34.5%

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

    if -4.40000000000000005e-72 < a < 2.30000000000000012e-264

    1. Initial program 30.6%

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

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in y4 around inf 34.7%

      \[\leadsto \color{blue}{y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*37.5%

        \[\leadsto \color{blue}{\left(y1 \cdot y4\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
      2. *-commutative37.5%

        \[\leadsto \color{blue}{\left(y4 \cdot y1\right)} \cdot \left(k \cdot y2 - j \cdot y3\right) \]
    5. Simplified37.5%

      \[\leadsto \color{blue}{\left(y4 \cdot y1\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
    6. Taylor expanded in k around inf 31.3%

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

    if 2.30000000000000012e-264 < a < 4.5e16

    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. Taylor expanded in x around inf 31.8%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in y4 around inf 24.6%

      \[\leadsto \color{blue}{y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*22.9%

        \[\leadsto \color{blue}{\left(y1 \cdot y4\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
      2. *-commutative22.9%

        \[\leadsto \color{blue}{\left(y4 \cdot y1\right)} \cdot \left(k \cdot y2 - j \cdot y3\right) \]
    5. Simplified22.9%

      \[\leadsto \color{blue}{\left(y4 \cdot y1\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
    6. Taylor expanded in k around 0 21.2%

      \[\leadsto \left(y4 \cdot y1\right) \cdot \color{blue}{\left(-1 \cdot \left(j \cdot y3\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-neg21.2%

        \[\leadsto \left(y4 \cdot y1\right) \cdot \color{blue}{\left(-j \cdot y3\right)} \]
      2. distribute-lft-neg-out21.2%

        \[\leadsto \left(y4 \cdot y1\right) \cdot \color{blue}{\left(\left(-j\right) \cdot y3\right)} \]
      3. *-commutative21.2%

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

      \[\leadsto \left(y4 \cdot y1\right) \cdot \color{blue}{\left(y3 \cdot \left(-j\right)\right)} \]
    9. Taylor expanded in y4 around 0 21.3%

      \[\leadsto \color{blue}{-1 \cdot \left(j \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)\right)} \]
    10. Step-by-step derivation
      1. associate-*r*21.3%

        \[\leadsto \color{blue}{\left(-1 \cdot j\right) \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)} \]
      2. neg-mul-121.3%

        \[\leadsto \color{blue}{\left(-j\right)} \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right) \]
      3. associate-*r*24.7%

        \[\leadsto \left(-j\right) \cdot \color{blue}{\left(\left(y1 \cdot y3\right) \cdot y4\right)} \]
      4. associate-*r*24.8%

        \[\leadsto \color{blue}{\left(\left(-j\right) \cdot \left(y1 \cdot y3\right)\right) \cdot y4} \]
      5. *-commutative24.8%

        \[\leadsto \color{blue}{\left(\left(y1 \cdot y3\right) \cdot \left(-j\right)\right)} \cdot y4 \]
      6. associate-*r*19.6%

        \[\leadsto \color{blue}{\left(y1 \cdot \left(y3 \cdot \left(-j\right)\right)\right)} \cdot y4 \]
      7. associate-*l*21.3%

        \[\leadsto \color{blue}{y1 \cdot \left(\left(y3 \cdot \left(-j\right)\right) \cdot y4\right)} \]
    11. Simplified21.3%

      \[\leadsto \color{blue}{y1 \cdot \left(\left(y3 \cdot \left(-j\right)\right) \cdot y4\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification32.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -8.8 \cdot 10^{+203}:\\ \;\;\;\;\left(z \cdot t\right) \cdot \left(a \cdot \left(-b\right)\right)\\ \mathbf{elif}\;a \leq -4.4 \cdot 10^{-72}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{elif}\;a \leq 2.3 \cdot 10^{-264}:\\ \;\;\;\;\left(k \cdot y2\right) \cdot \left(y1 \cdot y4\right)\\ \mathbf{elif}\;a \leq 4.5 \cdot 10^{+16}:\\ \;\;\;\;y1 \cdot \left(y4 \cdot \left(-j \cdot y3\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \end{array} \]

Alternative 28: 20.8% accurate, 5.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{if}\;a \leq -1.6 \cdot 10^{+204}:\\ \;\;\;\;\left(z \cdot t\right) \cdot \left(a \cdot \left(-b\right)\right)\\ \mathbf{elif}\;a \leq -3.4 \cdot 10^{-73}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 3.5 \cdot 10^{-261}:\\ \;\;\;\;\left(k \cdot y2\right) \cdot \left(y1 \cdot y4\right)\\ \mathbf{elif}\;a \leq 9.8 \cdot 10^{-119}:\\ \;\;\;\;\left(-k\right) \cdot \left(y2 \cdot \left(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 (* b (* x (* y a)))))
   (if (<= a -1.6e+204)
     (* (* z t) (* a (- b)))
     (if (<= a -3.4e-73)
       t_1
       (if (<= a 3.5e-261)
         (* (* k y2) (* y1 y4))
         (if (<= a 9.8e-119) (* (- k) (* y2 (* 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 = b * (x * (y * a));
	double tmp;
	if (a <= -1.6e+204) {
		tmp = (z * t) * (a * -b);
	} else if (a <= -3.4e-73) {
		tmp = t_1;
	} else if (a <= 3.5e-261) {
		tmp = (k * y2) * (y1 * y4);
	} else if (a <= 9.8e-119) {
		tmp = -k * (y2 * (y0 * 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 = b * (x * (y * a))
    if (a <= (-1.6d+204)) then
        tmp = (z * t) * (a * -b)
    else if (a <= (-3.4d-73)) then
        tmp = t_1
    else if (a <= 3.5d-261) then
        tmp = (k * y2) * (y1 * y4)
    else if (a <= 9.8d-119) then
        tmp = -k * (y2 * (y0 * 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 = b * (x * (y * a));
	double tmp;
	if (a <= -1.6e+204) {
		tmp = (z * t) * (a * -b);
	} else if (a <= -3.4e-73) {
		tmp = t_1;
	} else if (a <= 3.5e-261) {
		tmp = (k * y2) * (y1 * y4);
	} else if (a <= 9.8e-119) {
		tmp = -k * (y2 * (y0 * 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 = b * (x * (y * a))
	tmp = 0
	if a <= -1.6e+204:
		tmp = (z * t) * (a * -b)
	elif a <= -3.4e-73:
		tmp = t_1
	elif a <= 3.5e-261:
		tmp = (k * y2) * (y1 * y4)
	elif a <= 9.8e-119:
		tmp = -k * (y2 * (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(b * Float64(x * Float64(y * a)))
	tmp = 0.0
	if (a <= -1.6e+204)
		tmp = Float64(Float64(z * t) * Float64(a * Float64(-b)));
	elseif (a <= -3.4e-73)
		tmp = t_1;
	elseif (a <= 3.5e-261)
		tmp = Float64(Float64(k * y2) * Float64(y1 * y4));
	elseif (a <= 9.8e-119)
		tmp = Float64(Float64(-k) * Float64(y2 * Float64(y0 * 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 = b * (x * (y * a));
	tmp = 0.0;
	if (a <= -1.6e+204)
		tmp = (z * t) * (a * -b);
	elseif (a <= -3.4e-73)
		tmp = t_1;
	elseif (a <= 3.5e-261)
		tmp = (k * y2) * (y1 * y4);
	elseif (a <= 9.8e-119)
		tmp = -k * (y2 * (y0 * 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[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.6e+204], N[(N[(z * t), $MachinePrecision] * N[(a * (-b)), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -3.4e-73], t$95$1, If[LessEqual[a, 3.5e-261], N[(N[(k * y2), $MachinePrecision] * N[(y1 * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 9.8e-119], N[((-k) * N[(y2 * N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\
\mathbf{if}\;a \leq -1.6 \cdot 10^{+204}:\\
\;\;\;\;\left(z \cdot t\right) \cdot \left(a \cdot \left(-b\right)\right)\\

\mathbf{elif}\;a \leq -3.4 \cdot 10^{-73}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;a \leq 3.5 \cdot 10^{-261}:\\
\;\;\;\;\left(k \cdot y2\right) \cdot \left(y1 \cdot y4\right)\\

\mathbf{elif}\;a \leq 9.8 \cdot 10^{-119}:\\
\;\;\;\;\left(-k\right) \cdot \left(y2 \cdot \left(y0 \cdot y5\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if a < -1.6e204

    1. Initial program 21.7%

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 53.0%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around 0 49.0%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(b \cdot \left(t \cdot z\right)\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg49.0%

        \[\leadsto \color{blue}{-a \cdot \left(b \cdot \left(t \cdot z\right)\right)} \]
      2. associate-*r*53.1%

        \[\leadsto -\color{blue}{\left(a \cdot b\right) \cdot \left(t \cdot z\right)} \]
      3. *-commutative53.1%

        \[\leadsto -\left(a \cdot b\right) \cdot \color{blue}{\left(z \cdot t\right)} \]
    7. Simplified53.1%

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

    if -1.6e204 < a < -3.40000000000000021e-73 or 9.8e-119 < a

    1. Initial program 26.0%

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 34.7%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 26.6%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
    6. Step-by-step derivation
      1. expm1-log1p-u13.0%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)\right)} \]
      2. expm1-udef13.0%

        \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)} - 1} \]
      3. *-commutative13.0%

        \[\leadsto e^{\mathsf{log1p}\left(\color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a}\right)} - 1 \]
    7. Applied egg-rr13.0%

      \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)} - 1} \]
    8. Step-by-step derivation
      1. expm1-def13.0%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)\right)} \]
      2. expm1-log1p26.6%

        \[\leadsto \color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a} \]
      3. associate-*l*27.3%

        \[\leadsto \color{blue}{b \cdot \left(\left(x \cdot y\right) \cdot a\right)} \]
      4. associate-*l*30.6%

        \[\leadsto b \cdot \color{blue}{\left(x \cdot \left(y \cdot a\right)\right)} \]
      5. *-commutative30.6%

        \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(a \cdot y\right)}\right) \]
    9. Simplified30.6%

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

    if -3.40000000000000021e-73 < a < 3.4999999999999998e-261

    1. Initial program 32.7%

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

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in y4 around inf 35.3%

      \[\leadsto \color{blue}{y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*38.0%

        \[\leadsto \color{blue}{\left(y1 \cdot y4\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
      2. *-commutative38.0%

        \[\leadsto \color{blue}{\left(y4 \cdot y1\right)} \cdot \left(k \cdot y2 - j \cdot y3\right) \]
    5. Simplified38.0%

      \[\leadsto \color{blue}{\left(y4 \cdot y1\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
    6. Taylor expanded in k around inf 30.5%

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

    if 3.4999999999999998e-261 < a < 9.8e-119

    1. Initial program 43.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. Taylor expanded in y0 around inf 29.4%

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)} \]
    6. Taylor expanded in j around 0 26.5%

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-neg26.5%

        \[\leadsto \color{blue}{-k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right)} \]
      2. *-commutative26.5%

        \[\leadsto -\color{blue}{\left(y0 \cdot \left(y2 \cdot y5\right)\right) \cdot k} \]
      3. distribute-rgt-neg-in26.5%

        \[\leadsto \color{blue}{\left(y0 \cdot \left(y2 \cdot y5\right)\right) \cdot \left(-k\right)} \]
      4. *-commutative26.5%

        \[\leadsto \color{blue}{\left(\left(y2 \cdot y5\right) \cdot y0\right)} \cdot \left(-k\right) \]
      5. associate-*l*29.8%

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -1.6 \cdot 10^{+204}:\\ \;\;\;\;\left(z \cdot t\right) \cdot \left(a \cdot \left(-b\right)\right)\\ \mathbf{elif}\;a \leq -3.4 \cdot 10^{-73}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{elif}\;a \leq 3.5 \cdot 10^{-261}:\\ \;\;\;\;\left(k \cdot y2\right) \cdot \left(y1 \cdot y4\right)\\ \mathbf{elif}\;a \leq 9.8 \cdot 10^{-119}:\\ \;\;\;\;\left(-k\right) \cdot \left(y2 \cdot \left(y0 \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \end{array} \]

Alternative 29: 22.1% accurate, 5.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{if}\;a \leq -9.6 \cdot 10^{+205}:\\ \;\;\;\;\left(z \cdot t\right) \cdot \left(a \cdot \left(-b\right)\right)\\ \mathbf{elif}\;a \leq -1.6 \cdot 10^{-71}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 3.8 \cdot 10^{-264}:\\ \;\;\;\;\left(k \cdot y2\right) \cdot \left(y1 \cdot y4\right)\\ \mathbf{elif}\;a \leq 4.8 \cdot 10^{+17}:\\ \;\;\;\;j \cdot \left(y4 \cdot \left(y3 \cdot \left(-y1\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* b (* x (* y a)))))
   (if (<= a -9.6e+205)
     (* (* z t) (* a (- b)))
     (if (<= a -1.6e-71)
       t_1
       (if (<= a 3.8e-264)
         (* (* k y2) (* y1 y4))
         (if (<= a 4.8e+17) (* j (* y4 (* y3 (- 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 = b * (x * (y * a));
	double tmp;
	if (a <= -9.6e+205) {
		tmp = (z * t) * (a * -b);
	} else if (a <= -1.6e-71) {
		tmp = t_1;
	} else if (a <= 3.8e-264) {
		tmp = (k * y2) * (y1 * y4);
	} else if (a <= 4.8e+17) {
		tmp = j * (y4 * (y3 * -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 = b * (x * (y * a))
    if (a <= (-9.6d+205)) then
        tmp = (z * t) * (a * -b)
    else if (a <= (-1.6d-71)) then
        tmp = t_1
    else if (a <= 3.8d-264) then
        tmp = (k * y2) * (y1 * y4)
    else if (a <= 4.8d+17) then
        tmp = j * (y4 * (y3 * -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 = b * (x * (y * a));
	double tmp;
	if (a <= -9.6e+205) {
		tmp = (z * t) * (a * -b);
	} else if (a <= -1.6e-71) {
		tmp = t_1;
	} else if (a <= 3.8e-264) {
		tmp = (k * y2) * (y1 * y4);
	} else if (a <= 4.8e+17) {
		tmp = j * (y4 * (y3 * -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 = b * (x * (y * a))
	tmp = 0
	if a <= -9.6e+205:
		tmp = (z * t) * (a * -b)
	elif a <= -1.6e-71:
		tmp = t_1
	elif a <= 3.8e-264:
		tmp = (k * y2) * (y1 * y4)
	elif a <= 4.8e+17:
		tmp = j * (y4 * (y3 * -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(b * Float64(x * Float64(y * a)))
	tmp = 0.0
	if (a <= -9.6e+205)
		tmp = Float64(Float64(z * t) * Float64(a * Float64(-b)));
	elseif (a <= -1.6e-71)
		tmp = t_1;
	elseif (a <= 3.8e-264)
		tmp = Float64(Float64(k * y2) * Float64(y1 * y4));
	elseif (a <= 4.8e+17)
		tmp = Float64(j * Float64(y4 * Float64(y3 * Float64(-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 = b * (x * (y * a));
	tmp = 0.0;
	if (a <= -9.6e+205)
		tmp = (z * t) * (a * -b);
	elseif (a <= -1.6e-71)
		tmp = t_1;
	elseif (a <= 3.8e-264)
		tmp = (k * y2) * (y1 * y4);
	elseif (a <= 4.8e+17)
		tmp = j * (y4 * (y3 * -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[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -9.6e+205], N[(N[(z * t), $MachinePrecision] * N[(a * (-b)), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.6e-71], t$95$1, If[LessEqual[a, 3.8e-264], N[(N[(k * y2), $MachinePrecision] * N[(y1 * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 4.8e+17], N[(j * N[(y4 * N[(y3 * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\
\mathbf{if}\;a \leq -9.6 \cdot 10^{+205}:\\
\;\;\;\;\left(z \cdot t\right) \cdot \left(a \cdot \left(-b\right)\right)\\

\mathbf{elif}\;a \leq -1.6 \cdot 10^{-71}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;a \leq 3.8 \cdot 10^{-264}:\\
\;\;\;\;\left(k \cdot y2\right) \cdot \left(y1 \cdot y4\right)\\

\mathbf{elif}\;a \leq 4.8 \cdot 10^{+17}:\\
\;\;\;\;j \cdot \left(y4 \cdot \left(y3 \cdot \left(-y1\right)\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if a < -9.59999999999999945e205

    1. Initial program 21.7%

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 53.0%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around 0 49.0%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(b \cdot \left(t \cdot z\right)\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg49.0%

        \[\leadsto \color{blue}{-a \cdot \left(b \cdot \left(t \cdot z\right)\right)} \]
      2. associate-*r*53.1%

        \[\leadsto -\color{blue}{\left(a \cdot b\right) \cdot \left(t \cdot z\right)} \]
      3. *-commutative53.1%

        \[\leadsto -\left(a \cdot b\right) \cdot \color{blue}{\left(z \cdot t\right)} \]
    7. Simplified53.1%

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

    if -9.59999999999999945e205 < a < -1.5999999999999999e-71 or 4.8e17 < a

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 37.9%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 29.6%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
    6. Step-by-step derivation
      1. expm1-log1p-u14.8%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)\right)} \]
      2. expm1-udef14.7%

        \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)} - 1} \]
      3. *-commutative14.7%

        \[\leadsto e^{\mathsf{log1p}\left(\color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a}\right)} - 1 \]
    7. Applied egg-rr14.7%

      \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)} - 1} \]
    8. Step-by-step derivation
      1. expm1-def14.8%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)\right)} \]
      2. expm1-log1p29.6%

        \[\leadsto \color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a} \]
      3. associate-*l*30.4%

        \[\leadsto \color{blue}{b \cdot \left(\left(x \cdot y\right) \cdot a\right)} \]
      4. associate-*l*34.5%

        \[\leadsto b \cdot \color{blue}{\left(x \cdot \left(y \cdot a\right)\right)} \]
      5. *-commutative34.5%

        \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(a \cdot y\right)}\right) \]
    9. Simplified34.5%

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

    if -1.5999999999999999e-71 < a < 3.80000000000000013e-264

    1. Initial program 30.6%

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

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in y4 around inf 34.7%

      \[\leadsto \color{blue}{y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*37.5%

        \[\leadsto \color{blue}{\left(y1 \cdot y4\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
      2. *-commutative37.5%

        \[\leadsto \color{blue}{\left(y4 \cdot y1\right)} \cdot \left(k \cdot y2 - j \cdot y3\right) \]
    5. Simplified37.5%

      \[\leadsto \color{blue}{\left(y4 \cdot y1\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
    6. Taylor expanded in k around inf 31.3%

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

    if 3.80000000000000013e-264 < a < 4.8e17

    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. Taylor expanded in x around inf 31.8%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in y4 around inf 24.6%

      \[\leadsto \color{blue}{y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*22.9%

        \[\leadsto \color{blue}{\left(y1 \cdot y4\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
      2. *-commutative22.9%

        \[\leadsto \color{blue}{\left(y4 \cdot y1\right)} \cdot \left(k \cdot y2 - j \cdot y3\right) \]
    5. Simplified22.9%

      \[\leadsto \color{blue}{\left(y4 \cdot y1\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
    6. Taylor expanded in k around 0 21.3%

      \[\leadsto \color{blue}{-1 \cdot \left(j \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-neg21.3%

        \[\leadsto \color{blue}{-j \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)} \]
      2. *-commutative21.3%

        \[\leadsto -\color{blue}{\left(y1 \cdot \left(y3 \cdot y4\right)\right) \cdot j} \]
      3. distribute-rgt-neg-in21.3%

        \[\leadsto \color{blue}{\left(y1 \cdot \left(y3 \cdot y4\right)\right) \cdot \left(-j\right)} \]
      4. associate-*r*24.7%

        \[\leadsto \color{blue}{\left(\left(y1 \cdot y3\right) \cdot y4\right)} \cdot \left(-j\right) \]
      5. *-commutative24.7%

        \[\leadsto \color{blue}{\left(y4 \cdot \left(y1 \cdot y3\right)\right)} \cdot \left(-j\right) \]
      6. *-commutative24.7%

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

      \[\leadsto \color{blue}{\left(y4 \cdot \left(y3 \cdot y1\right)\right) \cdot \left(-j\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification33.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -9.6 \cdot 10^{+205}:\\ \;\;\;\;\left(z \cdot t\right) \cdot \left(a \cdot \left(-b\right)\right)\\ \mathbf{elif}\;a \leq -1.6 \cdot 10^{-71}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{elif}\;a \leq 3.8 \cdot 10^{-264}:\\ \;\;\;\;\left(k \cdot y2\right) \cdot \left(y1 \cdot y4\right)\\ \mathbf{elif}\;a \leq 4.8 \cdot 10^{+17}:\\ \;\;\;\;j \cdot \left(y4 \cdot \left(y3 \cdot \left(-y1\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \end{array} \]

Alternative 30: 21.8% accurate, 6.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{if}\;a \leq -5.5 \cdot 10^{-75}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 1.45 \cdot 10^{-259}:\\ \;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq 3.5 \cdot 10^{-120}:\\ \;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5\right)\right)\\ \mathbf{elif}\;a \leq 10^{+43}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* b (* x (* y a)))))
   (if (<= a -5.5e-75)
     t_1
     (if (<= a 1.45e-259)
       (* k (* y1 (* y2 y4)))
       (if (<= a 3.5e-120)
         (* j (* y3 (* y0 y5)))
         (if (<= a 1e+43) (* a (* y (* x b))) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = b * (x * (y * a));
	double tmp;
	if (a <= -5.5e-75) {
		tmp = t_1;
	} else if (a <= 1.45e-259) {
		tmp = k * (y1 * (y2 * y4));
	} else if (a <= 3.5e-120) {
		tmp = j * (y3 * (y0 * y5));
	} else if (a <= 1e+43) {
		tmp = a * (y * (x * b));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = b * (x * (y * a))
    if (a <= (-5.5d-75)) then
        tmp = t_1
    else if (a <= 1.45d-259) then
        tmp = k * (y1 * (y2 * y4))
    else if (a <= 3.5d-120) then
        tmp = j * (y3 * (y0 * y5))
    else if (a <= 1d+43) then
        tmp = a * (y * (x * b))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = b * (x * (y * a));
	double tmp;
	if (a <= -5.5e-75) {
		tmp = t_1;
	} else if (a <= 1.45e-259) {
		tmp = k * (y1 * (y2 * y4));
	} else if (a <= 3.5e-120) {
		tmp = j * (y3 * (y0 * y5));
	} else if (a <= 1e+43) {
		tmp = a * (y * (x * b));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = b * (x * (y * a))
	tmp = 0
	if a <= -5.5e-75:
		tmp = t_1
	elif a <= 1.45e-259:
		tmp = k * (y1 * (y2 * y4))
	elif a <= 3.5e-120:
		tmp = j * (y3 * (y0 * y5))
	elif a <= 1e+43:
		tmp = a * (y * (x * b))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(b * Float64(x * Float64(y * a)))
	tmp = 0.0
	if (a <= -5.5e-75)
		tmp = t_1;
	elseif (a <= 1.45e-259)
		tmp = Float64(k * Float64(y1 * Float64(y2 * y4)));
	elseif (a <= 3.5e-120)
		tmp = Float64(j * Float64(y3 * Float64(y0 * y5)));
	elseif (a <= 1e+43)
		tmp = Float64(a * Float64(y * Float64(x * b)));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = b * (x * (y * a));
	tmp = 0.0;
	if (a <= -5.5e-75)
		tmp = t_1;
	elseif (a <= 1.45e-259)
		tmp = k * (y1 * (y2 * y4));
	elseif (a <= 3.5e-120)
		tmp = j * (y3 * (y0 * y5));
	elseif (a <= 1e+43)
		tmp = a * (y * (x * b));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -5.5e-75], t$95$1, If[LessEqual[a, 1.45e-259], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3.5e-120], N[(j * N[(y3 * N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1e+43], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\
\mathbf{if}\;a \leq -5.5 \cdot 10^{-75}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;a \leq 1.45 \cdot 10^{-259}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\

\mathbf{elif}\;a \leq 3.5 \cdot 10^{-120}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5\right)\right)\\

\mathbf{elif}\;a \leq 10^{+43}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if a < -5.50000000000000026e-75 or 1.00000000000000001e43 < a

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 41.6%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 28.0%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
    6. Step-by-step derivation
      1. expm1-log1p-u14.8%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)\right)} \]
      2. expm1-udef14.7%

        \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)} - 1} \]
      3. *-commutative14.7%

        \[\leadsto e^{\mathsf{log1p}\left(\color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a}\right)} - 1 \]
    7. Applied egg-rr14.7%

      \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)} - 1} \]
    8. Step-by-step derivation
      1. expm1-def14.8%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)\right)} \]
      2. expm1-log1p28.0%

        \[\leadsto \color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a} \]
      3. associate-*l*29.5%

        \[\leadsto \color{blue}{b \cdot \left(\left(x \cdot y\right) \cdot a\right)} \]
      4. associate-*l*33.2%

        \[\leadsto b \cdot \color{blue}{\left(x \cdot \left(y \cdot a\right)\right)} \]
      5. *-commutative33.2%

        \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(a \cdot y\right)}\right) \]
    9. Simplified33.2%

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

    if -5.50000000000000026e-75 < a < 1.45000000000000004e-259

    1. Initial program 32.7%

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

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in y4 around inf 35.1%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
    4. Step-by-step derivation
      1. +-commutative35.1%

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

        \[\leadsto k \cdot \left(y4 \cdot \left(y1 \cdot y2 + \color{blue}{\left(-b \cdot y\right)}\right)\right) \]
      3. unsub-neg35.1%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 - b \cdot y\right)}\right) \]
      4. *-commutative35.1%

        \[\leadsto k \cdot \left(y4 \cdot \left(\color{blue}{y2 \cdot y1} - b \cdot y\right)\right) \]
    5. Simplified35.1%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(y2 \cdot y1 - b \cdot y\right)\right)} \]
    6. Taylor expanded in y2 around inf 29.0%

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

    if 1.45000000000000004e-259 < a < 3.5e-120

    1. Initial program 44.8%

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

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg26.8%

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)} \]
    6. Taylor expanded in j around inf 27.1%

      \[\leadsto \color{blue}{j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)} \]
    7. Step-by-step derivation
      1. *-commutative27.1%

        \[\leadsto j \cdot \color{blue}{\left(\left(y3 \cdot y5\right) \cdot y0\right)} \]
      2. associate-*l*27.2%

        \[\leadsto j \cdot \color{blue}{\left(y3 \cdot \left(y5 \cdot y0\right)\right)} \]
      3. *-commutative27.2%

        \[\leadsto j \cdot \left(y3 \cdot \color{blue}{\left(y0 \cdot y5\right)}\right) \]
    8. Simplified27.2%

      \[\leadsto \color{blue}{j \cdot \left(y3 \cdot \left(y0 \cdot y5\right)\right)} \]

    if 3.5e-120 < a < 1.00000000000000001e43

    1. Initial program 22.8%

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 21.0%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 15.6%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*18.3%

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
      2. *-commutative18.3%

        \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x\right)\right)} \]
    7. Simplified18.3%

      \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x\right)\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification29.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -5.5 \cdot 10^{-75}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{elif}\;a \leq 1.45 \cdot 10^{-259}:\\ \;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq 3.5 \cdot 10^{-120}:\\ \;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5\right)\right)\\ \mathbf{elif}\;a \leq 10^{+43}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \end{array} \]

Alternative 31: 22.4% accurate, 6.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ t_2 := k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\ \mathbf{if}\;a \leq -8.4 \cdot 10^{-72}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 4.8 \cdot 10^{-260}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq 9 \cdot 10^{-87}:\\ \;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5\right)\right)\\ \mathbf{elif}\;a \leq 2.3 \cdot 10^{+64}:\\ \;\;\;\;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 (* b (* x (* y a)))) (t_2 (* k (* y4 (* y1 y2)))))
   (if (<= a -8.4e-72)
     t_1
     (if (<= a 4.8e-260)
       t_2
       (if (<= a 9e-87) (* j (* y3 (* y0 y5))) (if (<= a 2.3e+64) 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 = b * (x * (y * a));
	double t_2 = k * (y4 * (y1 * y2));
	double tmp;
	if (a <= -8.4e-72) {
		tmp = t_1;
	} else if (a <= 4.8e-260) {
		tmp = t_2;
	} else if (a <= 9e-87) {
		tmp = j * (y3 * (y0 * y5));
	} else if (a <= 2.3e+64) {
		tmp = t_2;
	} 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) :: t_2
    real(8) :: tmp
    t_1 = b * (x * (y * a))
    t_2 = k * (y4 * (y1 * y2))
    if (a <= (-8.4d-72)) then
        tmp = t_1
    else if (a <= 4.8d-260) then
        tmp = t_2
    else if (a <= 9d-87) then
        tmp = j * (y3 * (y0 * y5))
    else if (a <= 2.3d+64) then
        tmp = t_2
    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 = b * (x * (y * a));
	double t_2 = k * (y4 * (y1 * y2));
	double tmp;
	if (a <= -8.4e-72) {
		tmp = t_1;
	} else if (a <= 4.8e-260) {
		tmp = t_2;
	} else if (a <= 9e-87) {
		tmp = j * (y3 * (y0 * y5));
	} else if (a <= 2.3e+64) {
		tmp = t_2;
	} 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 = b * (x * (y * a))
	t_2 = k * (y4 * (y1 * y2))
	tmp = 0
	if a <= -8.4e-72:
		tmp = t_1
	elif a <= 4.8e-260:
		tmp = t_2
	elif a <= 9e-87:
		tmp = j * (y3 * (y0 * y5))
	elif a <= 2.3e+64:
		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(b * Float64(x * Float64(y * a)))
	t_2 = Float64(k * Float64(y4 * Float64(y1 * y2)))
	tmp = 0.0
	if (a <= -8.4e-72)
		tmp = t_1;
	elseif (a <= 4.8e-260)
		tmp = t_2;
	elseif (a <= 9e-87)
		tmp = Float64(j * Float64(y3 * Float64(y0 * y5)));
	elseif (a <= 2.3e+64)
		tmp = t_2;
	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 = b * (x * (y * a));
	t_2 = k * (y4 * (y1 * y2));
	tmp = 0.0;
	if (a <= -8.4e-72)
		tmp = t_1;
	elseif (a <= 4.8e-260)
		tmp = t_2;
	elseif (a <= 9e-87)
		tmp = j * (y3 * (y0 * y5));
	elseif (a <= 2.3e+64)
		tmp = t_2;
	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[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(k * N[(y4 * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -8.4e-72], t$95$1, If[LessEqual[a, 4.8e-260], t$95$2, If[LessEqual[a, 9e-87], N[(j * N[(y3 * N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.3e+64], t$95$2, t$95$1]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\
t_2 := k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{if}\;a \leq -8.4 \cdot 10^{-72}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;a \leq 4.8 \cdot 10^{-260}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;a \leq 9 \cdot 10^{-87}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5\right)\right)\\

\mathbf{elif}\;a \leq 2.3 \cdot 10^{+64}:\\
\;\;\;\;t_2\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if a < -8.4e-72 or 2.3e64 < a

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 43.2%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 29.1%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
    6. Step-by-step derivation
      1. expm1-log1p-u15.3%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)\right)} \]
      2. expm1-udef15.3%

        \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)} - 1} \]
      3. *-commutative15.3%

        \[\leadsto e^{\mathsf{log1p}\left(\color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a}\right)} - 1 \]
    7. Applied egg-rr15.3%

      \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)} - 1} \]
    8. Step-by-step derivation
      1. expm1-def15.3%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)\right)} \]
      2. expm1-log1p29.1%

        \[\leadsto \color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a} \]
      3. associate-*l*30.6%

        \[\leadsto \color{blue}{b \cdot \left(\left(x \cdot y\right) \cdot a\right)} \]
      4. associate-*l*34.4%

        \[\leadsto b \cdot \color{blue}{\left(x \cdot \left(y \cdot a\right)\right)} \]
      5. *-commutative34.4%

        \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(a \cdot y\right)}\right) \]
    9. Simplified34.4%

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

    if -8.4e-72 < a < 4.8000000000000001e-260 or 8.99999999999999915e-87 < a < 2.3e64

    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. Taylor expanded in k around inf 39.4%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    3. Taylor expanded in y4 around inf 35.0%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right)} \]
    4. Step-by-step derivation
      1. +-commutative35.0%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 + -1 \cdot \left(b \cdot y\right)\right)}\right) \]
      2. mul-1-neg35.0%

        \[\leadsto k \cdot \left(y4 \cdot \left(y1 \cdot y2 + \color{blue}{\left(-b \cdot y\right)}\right)\right) \]
      3. unsub-neg35.0%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2 - b \cdot y\right)}\right) \]
      4. *-commutative35.0%

        \[\leadsto k \cdot \left(y4 \cdot \left(\color{blue}{y2 \cdot y1} - b \cdot y\right)\right) \]
    5. Simplified35.0%

      \[\leadsto k \cdot \color{blue}{\left(y4 \cdot \left(y2 \cdot y1 - b \cdot y\right)\right)} \]
    6. Taylor expanded in y2 around inf 26.0%

      \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y1 \cdot y2\right)}\right) \]
    7. Step-by-step derivation
      1. *-commutative26.0%

        \[\leadsto k \cdot \left(y4 \cdot \color{blue}{\left(y2 \cdot y1\right)}\right) \]
    8. Simplified26.0%

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

    if 4.8000000000000001e-260 < a < 8.99999999999999915e-87

    1. Initial program 40.4%

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

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg32.2%

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)} \]
    6. Taylor expanded in j around inf 21.4%

      \[\leadsto \color{blue}{j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)} \]
    7. Step-by-step derivation
      1. *-commutative21.4%

        \[\leadsto j \cdot \color{blue}{\left(\left(y3 \cdot y5\right) \cdot y0\right)} \]
      2. associate-*l*21.4%

        \[\leadsto j \cdot \color{blue}{\left(y3 \cdot \left(y5 \cdot y0\right)\right)} \]
      3. *-commutative21.4%

        \[\leadsto j \cdot \left(y3 \cdot \color{blue}{\left(y0 \cdot y5\right)}\right) \]
    8. Simplified21.4%

      \[\leadsto \color{blue}{j \cdot \left(y3 \cdot \left(y0 \cdot y5\right)\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification29.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -8.4 \cdot 10^{-72}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{elif}\;a \leq 4.8 \cdot 10^{-260}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\ \mathbf{elif}\;a \leq 9 \cdot 10^{-87}:\\ \;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5\right)\right)\\ \mathbf{elif}\;a \leq 2.3 \cdot 10^{+64}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \end{array} \]

Alternative 32: 21.0% accurate, 6.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{if}\;a \leq -1.95 \cdot 10^{+205}:\\ \;\;\;\;\left(z \cdot t\right) \cdot \left(a \cdot \left(-b\right)\right)\\ \mathbf{elif}\;a \leq -5.6 \cdot 10^{-71}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 5 \cdot 10^{-259}:\\ \;\;\;\;\left(k \cdot y2\right) \cdot \left(y1 \cdot y4\right)\\ \mathbf{elif}\;a \leq 3.7 \cdot 10^{-120}:\\ \;\;\;\;j \cdot \left(y3 \cdot \left(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 (* b (* x (* y a)))))
   (if (<= a -1.95e+205)
     (* (* z t) (* a (- b)))
     (if (<= a -5.6e-71)
       t_1
       (if (<= a 5e-259)
         (* (* k y2) (* y1 y4))
         (if (<= a 3.7e-120) (* j (* y3 (* 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 = b * (x * (y * a));
	double tmp;
	if (a <= -1.95e+205) {
		tmp = (z * t) * (a * -b);
	} else if (a <= -5.6e-71) {
		tmp = t_1;
	} else if (a <= 5e-259) {
		tmp = (k * y2) * (y1 * y4);
	} else if (a <= 3.7e-120) {
		tmp = j * (y3 * (y0 * 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 = b * (x * (y * a))
    if (a <= (-1.95d+205)) then
        tmp = (z * t) * (a * -b)
    else if (a <= (-5.6d-71)) then
        tmp = t_1
    else if (a <= 5d-259) then
        tmp = (k * y2) * (y1 * y4)
    else if (a <= 3.7d-120) then
        tmp = j * (y3 * (y0 * 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 = b * (x * (y * a));
	double tmp;
	if (a <= -1.95e+205) {
		tmp = (z * t) * (a * -b);
	} else if (a <= -5.6e-71) {
		tmp = t_1;
	} else if (a <= 5e-259) {
		tmp = (k * y2) * (y1 * y4);
	} else if (a <= 3.7e-120) {
		tmp = j * (y3 * (y0 * 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 = b * (x * (y * a))
	tmp = 0
	if a <= -1.95e+205:
		tmp = (z * t) * (a * -b)
	elif a <= -5.6e-71:
		tmp = t_1
	elif a <= 5e-259:
		tmp = (k * y2) * (y1 * y4)
	elif a <= 3.7e-120:
		tmp = j * (y3 * (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(b * Float64(x * Float64(y * a)))
	tmp = 0.0
	if (a <= -1.95e+205)
		tmp = Float64(Float64(z * t) * Float64(a * Float64(-b)));
	elseif (a <= -5.6e-71)
		tmp = t_1;
	elseif (a <= 5e-259)
		tmp = Float64(Float64(k * y2) * Float64(y1 * y4));
	elseif (a <= 3.7e-120)
		tmp = Float64(j * Float64(y3 * Float64(y0 * 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 = b * (x * (y * a));
	tmp = 0.0;
	if (a <= -1.95e+205)
		tmp = (z * t) * (a * -b);
	elseif (a <= -5.6e-71)
		tmp = t_1;
	elseif (a <= 5e-259)
		tmp = (k * y2) * (y1 * y4);
	elseif (a <= 3.7e-120)
		tmp = j * (y3 * (y0 * 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[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.95e+205], N[(N[(z * t), $MachinePrecision] * N[(a * (-b)), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -5.6e-71], t$95$1, If[LessEqual[a, 5e-259], N[(N[(k * y2), $MachinePrecision] * N[(y1 * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3.7e-120], N[(j * N[(y3 * N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\
\mathbf{if}\;a \leq -1.95 \cdot 10^{+205}:\\
\;\;\;\;\left(z \cdot t\right) \cdot \left(a \cdot \left(-b\right)\right)\\

\mathbf{elif}\;a \leq -5.6 \cdot 10^{-71}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;a \leq 5 \cdot 10^{-259}:\\
\;\;\;\;\left(k \cdot y2\right) \cdot \left(y1 \cdot y4\right)\\

\mathbf{elif}\;a \leq 3.7 \cdot 10^{-120}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if a < -1.9499999999999999e205

    1. Initial program 21.7%

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 53.0%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around 0 49.0%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(b \cdot \left(t \cdot z\right)\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg49.0%

        \[\leadsto \color{blue}{-a \cdot \left(b \cdot \left(t \cdot z\right)\right)} \]
      2. associate-*r*53.1%

        \[\leadsto -\color{blue}{\left(a \cdot b\right) \cdot \left(t \cdot z\right)} \]
      3. *-commutative53.1%

        \[\leadsto -\left(a \cdot b\right) \cdot \color{blue}{\left(z \cdot t\right)} \]
    7. Simplified53.1%

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

    if -1.9499999999999999e205 < a < -5.60000000000000001e-71 or 3.70000000000000001e-120 < a

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 34.5%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 26.4%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
    6. Step-by-step derivation
      1. expm1-log1p-u12.9%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)\right)} \]
      2. expm1-udef12.9%

        \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)} - 1} \]
      3. *-commutative12.9%

        \[\leadsto e^{\mathsf{log1p}\left(\color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a}\right)} - 1 \]
    7. Applied egg-rr12.9%

      \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)} - 1} \]
    8. Step-by-step derivation
      1. expm1-def12.9%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)\right)} \]
      2. expm1-log1p26.4%

        \[\leadsto \color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a} \]
      3. associate-*l*27.1%

        \[\leadsto \color{blue}{b \cdot \left(\left(x \cdot y\right) \cdot a\right)} \]
      4. associate-*l*30.4%

        \[\leadsto b \cdot \color{blue}{\left(x \cdot \left(y \cdot a\right)\right)} \]
      5. *-commutative30.4%

        \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(a \cdot y\right)}\right) \]
    9. Simplified30.4%

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

    if -5.60000000000000001e-71 < a < 4.99999999999999977e-259

    1. Initial program 32.7%

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

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in y4 around inf 35.3%

      \[\leadsto \color{blue}{y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*38.0%

        \[\leadsto \color{blue}{\left(y1 \cdot y4\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
      2. *-commutative38.0%

        \[\leadsto \color{blue}{\left(y4 \cdot y1\right)} \cdot \left(k \cdot y2 - j \cdot y3\right) \]
    5. Simplified38.0%

      \[\leadsto \color{blue}{\left(y4 \cdot y1\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
    6. Taylor expanded in k around inf 30.5%

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

    if 4.99999999999999977e-259 < a < 3.70000000000000001e-120

    1. Initial program 44.8%

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

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg26.8%

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)} \]
    6. Taylor expanded in j around inf 27.1%

      \[\leadsto \color{blue}{j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)} \]
    7. Step-by-step derivation
      1. *-commutative27.1%

        \[\leadsto j \cdot \color{blue}{\left(\left(y3 \cdot y5\right) \cdot y0\right)} \]
      2. associate-*l*27.2%

        \[\leadsto j \cdot \color{blue}{\left(y3 \cdot \left(y5 \cdot y0\right)\right)} \]
      3. *-commutative27.2%

        \[\leadsto j \cdot \left(y3 \cdot \color{blue}{\left(y0 \cdot y5\right)}\right) \]
    8. Simplified27.2%

      \[\leadsto \color{blue}{j \cdot \left(y3 \cdot \left(y0 \cdot y5\right)\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification32.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -1.95 \cdot 10^{+205}:\\ \;\;\;\;\left(z \cdot t\right) \cdot \left(a \cdot \left(-b\right)\right)\\ \mathbf{elif}\;a \leq -5.6 \cdot 10^{-71}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{elif}\;a \leq 5 \cdot 10^{-259}:\\ \;\;\;\;\left(k \cdot y2\right) \cdot \left(y1 \cdot y4\right)\\ \mathbf{elif}\;a \leq 3.7 \cdot 10^{-120}:\\ \;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \end{array} \]

Alternative 33: 21.3% accurate, 7.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{if}\;a \leq -4.8 \cdot 10^{-71}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 1.35 \cdot 10^{-258}:\\ \;\;\;\;\left(k \cdot y2\right) \cdot \left(y1 \cdot y4\right)\\ \mathbf{elif}\;a \leq 2.3 \cdot 10^{-120}:\\ \;\;\;\;j \cdot \left(y3 \cdot \left(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 (* b (* x (* y a)))))
   (if (<= a -4.8e-71)
     t_1
     (if (<= a 1.35e-258)
       (* (* k y2) (* y1 y4))
       (if (<= a 2.3e-120) (* j (* y3 (* 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 = b * (x * (y * a));
	double tmp;
	if (a <= -4.8e-71) {
		tmp = t_1;
	} else if (a <= 1.35e-258) {
		tmp = (k * y2) * (y1 * y4);
	} else if (a <= 2.3e-120) {
		tmp = j * (y3 * (y0 * 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 = b * (x * (y * a))
    if (a <= (-4.8d-71)) then
        tmp = t_1
    else if (a <= 1.35d-258) then
        tmp = (k * y2) * (y1 * y4)
    else if (a <= 2.3d-120) then
        tmp = j * (y3 * (y0 * 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 = b * (x * (y * a));
	double tmp;
	if (a <= -4.8e-71) {
		tmp = t_1;
	} else if (a <= 1.35e-258) {
		tmp = (k * y2) * (y1 * y4);
	} else if (a <= 2.3e-120) {
		tmp = j * (y3 * (y0 * 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 = b * (x * (y * a))
	tmp = 0
	if a <= -4.8e-71:
		tmp = t_1
	elif a <= 1.35e-258:
		tmp = (k * y2) * (y1 * y4)
	elif a <= 2.3e-120:
		tmp = j * (y3 * (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(b * Float64(x * Float64(y * a)))
	tmp = 0.0
	if (a <= -4.8e-71)
		tmp = t_1;
	elseif (a <= 1.35e-258)
		tmp = Float64(Float64(k * y2) * Float64(y1 * y4));
	elseif (a <= 2.3e-120)
		tmp = Float64(j * Float64(y3 * Float64(y0 * 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 = b * (x * (y * a));
	tmp = 0.0;
	if (a <= -4.8e-71)
		tmp = t_1;
	elseif (a <= 1.35e-258)
		tmp = (k * y2) * (y1 * y4);
	elseif (a <= 2.3e-120)
		tmp = j * (y3 * (y0 * 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[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -4.8e-71], t$95$1, If[LessEqual[a, 1.35e-258], N[(N[(k * y2), $MachinePrecision] * N[(y1 * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.3e-120], N[(j * N[(y3 * N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\
\mathbf{if}\;a \leq -4.8 \cdot 10^{-71}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;a \leq 1.35 \cdot 10^{-258}:\\
\;\;\;\;\left(k \cdot y2\right) \cdot \left(y1 \cdot y4\right)\\

\mathbf{elif}\;a \leq 2.3 \cdot 10^{-120}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if a < -4.8e-71 or 2.29999999999999986e-120 < a

    1. Initial program 25.2%

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 37.1%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 25.3%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
    6. Step-by-step derivation
      1. expm1-log1p-u13.1%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)\right)} \]
      2. expm1-udef13.0%

        \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)} - 1} \]
      3. *-commutative13.0%

        \[\leadsto e^{\mathsf{log1p}\left(\color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a}\right)} - 1 \]
    7. Applied egg-rr13.0%

      \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)} - 1} \]
    8. Step-by-step derivation
      1. expm1-def13.1%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)\right)} \]
      2. expm1-log1p25.3%

        \[\leadsto \color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a} \]
      3. associate-*l*26.4%

        \[\leadsto \color{blue}{b \cdot \left(\left(x \cdot y\right) \cdot a\right)} \]
      4. associate-*l*29.3%

        \[\leadsto b \cdot \color{blue}{\left(x \cdot \left(y \cdot a\right)\right)} \]
      5. *-commutative29.3%

        \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(a \cdot y\right)}\right) \]
    9. Simplified29.3%

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

    if -4.8e-71 < a < 1.34999999999999998e-258

    1. Initial program 32.7%

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

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    3. Taylor expanded in y4 around inf 35.3%

      \[\leadsto \color{blue}{y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)} \]
    4. Step-by-step derivation
      1. associate-*r*38.0%

        \[\leadsto \color{blue}{\left(y1 \cdot y4\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
      2. *-commutative38.0%

        \[\leadsto \color{blue}{\left(y4 \cdot y1\right)} \cdot \left(k \cdot y2 - j \cdot y3\right) \]
    5. Simplified38.0%

      \[\leadsto \color{blue}{\left(y4 \cdot y1\right) \cdot \left(k \cdot y2 - j \cdot y3\right)} \]
    6. Taylor expanded in k around inf 30.5%

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

    if 1.34999999999999998e-258 < a < 2.29999999999999986e-120

    1. Initial program 44.8%

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

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg26.8%

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)} \]
    6. Taylor expanded in j around inf 27.1%

      \[\leadsto \color{blue}{j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)} \]
    7. Step-by-step derivation
      1. *-commutative27.1%

        \[\leadsto j \cdot \color{blue}{\left(\left(y3 \cdot y5\right) \cdot y0\right)} \]
      2. associate-*l*27.2%

        \[\leadsto j \cdot \color{blue}{\left(y3 \cdot \left(y5 \cdot y0\right)\right)} \]
      3. *-commutative27.2%

        \[\leadsto j \cdot \left(y3 \cdot \color{blue}{\left(y0 \cdot y5\right)}\right) \]
    8. Simplified27.2%

      \[\leadsto \color{blue}{j \cdot \left(y3 \cdot \left(y0 \cdot y5\right)\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification29.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -4.8 \cdot 10^{-71}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{elif}\;a \leq 1.35 \cdot 10^{-258}:\\ \;\;\;\;\left(k \cdot y2\right) \cdot \left(y1 \cdot y4\right)\\ \mathbf{elif}\;a \leq 2.3 \cdot 10^{-120}:\\ \;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \end{array} \]

Alternative 34: 21.5% accurate, 8.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;a \leq -3.3 \cdot 10^{-89} \lor \neg \left(a \leq 2.3 \cdot 10^{-120}\right):\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (if (or (<= a -3.3e-89) (not (<= a 2.3e-120)))
   (* b (* x (* y a)))
   (* j (* y0 (* y3 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 ((a <= -3.3e-89) || !(a <= 2.3e-120)) {
		tmp = b * (x * (y * a));
	} else {
		tmp = j * (y0 * (y3 * 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 ((a <= (-3.3d-89)) .or. (.not. (a <= 2.3d-120))) then
        tmp = b * (x * (y * a))
    else
        tmp = j * (y0 * (y3 * 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 ((a <= -3.3e-89) || !(a <= 2.3e-120)) {
		tmp = b * (x * (y * a));
	} else {
		tmp = j * (y0 * (y3 * y5));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if (a <= -3.3e-89) or not (a <= 2.3e-120):
		tmp = b * (x * (y * a))
	else:
		tmp = j * (y0 * (y3 * 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 ((a <= -3.3e-89) || !(a <= 2.3e-120))
		tmp = Float64(b * Float64(x * Float64(y * a)));
	else
		tmp = Float64(j * Float64(y0 * Float64(y3 * 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 ((a <= -3.3e-89) || ~((a <= 2.3e-120)))
		tmp = b * (x * (y * a));
	else
		tmp = j * (y0 * (y3 * y5));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[a, -3.3e-89], N[Not[LessEqual[a, 2.3e-120]], $MachinePrecision]], N[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;a \leq -3.3 \cdot 10^{-89} \lor \neg \left(a \leq 2.3 \cdot 10^{-120}\right):\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\

\mathbf{else}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if a < -3.2999999999999997e-89 or 2.29999999999999986e-120 < a

    1. Initial program 25.6%

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

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

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
    4. Taylor expanded in a around inf 36.1%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 24.6%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
    6. Step-by-step derivation
      1. expm1-log1p-u12.7%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)\right)} \]
      2. expm1-udef12.7%

        \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)} - 1} \]
      3. *-commutative12.7%

        \[\leadsto e^{\mathsf{log1p}\left(\color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a}\right)} - 1 \]
    7. Applied egg-rr12.7%

      \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)} - 1} \]
    8. Step-by-step derivation
      1. expm1-def12.7%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)\right)} \]
      2. expm1-log1p24.6%

        \[\leadsto \color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a} \]
      3. associate-*l*25.7%

        \[\leadsto \color{blue}{b \cdot \left(\left(x \cdot y\right) \cdot a\right)} \]
      4. associate-*l*28.5%

        \[\leadsto b \cdot \color{blue}{\left(x \cdot \left(y \cdot a\right)\right)} \]
      5. *-commutative28.5%

        \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(a \cdot y\right)}\right) \]
    9. Simplified28.5%

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

    if -3.2999999999999997e-89 < a < 2.29999999999999986e-120

    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. Taylor expanded in y0 around inf 37.9%

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    3. Step-by-step derivation
      1. sub-neg37.9%

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)} \]
    6. Taylor expanded in j around inf 21.1%

      \[\leadsto \color{blue}{j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification26.0%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -3.3 \cdot 10^{-89} \lor \neg \left(a \leq 2.3 \cdot 10^{-120}\right):\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \end{array} \]

Alternative 35: 17.1% accurate, 13.6× speedup?

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

\\
a \cdot \left(\left(x \cdot y\right) \cdot b\right)
\end{array}
Derivation
  1. Initial program 29.2%

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

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

    \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
  4. Taylor expanded in a around inf 27.8%

    \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
  5. Taylor expanded in x around inf 18.7%

    \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
  6. Final simplification18.7%

    \[\leadsto a \cdot \left(\left(x \cdot y\right) \cdot b\right) \]

Alternative 36: 17.3% accurate, 13.6× speedup?

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

\\
b \cdot \left(x \cdot \left(y \cdot a\right)\right)
\end{array}
Derivation
  1. Initial program 29.2%

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

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

    \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(-1 \cdot \left(k \cdot z\right) + j \cdot x\right)\right)} \]
  4. Taylor expanded in a around inf 27.8%

    \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
  5. Taylor expanded in x around inf 18.7%

    \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(x \cdot y\right)\right)} \]
  6. Step-by-step derivation
    1. expm1-log1p-u10.0%

      \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)\right)} \]
    2. expm1-udef10.0%

      \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)} - 1} \]
    3. *-commutative10.0%

      \[\leadsto e^{\mathsf{log1p}\left(\color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a}\right)} - 1 \]
  7. Applied egg-rr10.0%

    \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)} - 1} \]
  8. Step-by-step derivation
    1. expm1-def10.0%

      \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(\left(b \cdot \left(x \cdot y\right)\right) \cdot a\right)\right)} \]
    2. expm1-log1p18.7%

      \[\leadsto \color{blue}{\left(b \cdot \left(x \cdot y\right)\right) \cdot a} \]
    3. associate-*l*19.5%

      \[\leadsto \color{blue}{b \cdot \left(\left(x \cdot y\right) \cdot a\right)} \]
    4. associate-*l*20.6%

      \[\leadsto b \cdot \color{blue}{\left(x \cdot \left(y \cdot a\right)\right)} \]
    5. *-commutative20.6%

      \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(a \cdot y\right)}\right) \]
  9. Simplified20.6%

    \[\leadsto \color{blue}{b \cdot \left(x \cdot \left(a \cdot y\right)\right)} \]
  10. Final simplification20.6%

    \[\leadsto b \cdot \left(x \cdot \left(y \cdot a\right)\right) \]

Developer target: 27.1% accurate, 0.8× 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 2023290 
(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

  :herbie-target
  (if (< y4 -7.206256231996481e+60) (- (- (* (- (* 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.0 (- (* y4 c) (* y5 a)))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (if (< y4 -3.364603505246317e-66) (+ (- (- (- (* (* 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 -1.2000065055686116e-105) (+ (+ (- (* (- (* 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 6.718963124057495e-279) (+ (- (- (- (* (* 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 4.77962681403792e-222) (+ (+ (- (* (- (* 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 2.2852241541266835e-175) (+ (- (- (- (* (* 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)))))