Data.Colour.Matrix:determinant from colour-2.3.3, A

Percentage Accurate: 73.8% → 81.8%
Time: 40.3s
Alternatives: 30
Speedup: 0.5×

Specification

?
\[\begin{array}{l} \\ \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (+
  (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i))))
  (* j (- (* c a) (* y i)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)));
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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
    code = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)));
}
def code(x, y, z, t, a, b, c, i, j):
	return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)))
function code(x, y, z, t, a, b, c, i, j)
	return Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(b * Float64(Float64(c * z) - Float64(t * i)))) + Float64(j * Float64(Float64(c * a) - Float64(y * i))))
end
function tmp = code(x, y, z, t, a, b, c, i, j)
	tmp = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)));
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(c * z), $MachinePrecision] - N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(c * a), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)
\end{array}

Sampling outcomes in binary64 precision:

Local Percentage Accuracy vs ?

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

Accuracy vs Speed?

Herbie found 30 alternatives:

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

Initial Program: 73.8% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (+
  (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i))))
  (* j (- (* c a) (* y i)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)));
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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
    code = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)));
}
def code(x, y, z, t, a, b, c, i, j):
	return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)))
function code(x, y, z, t, a, b, c, i, j)
	return Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(b * Float64(Float64(c * z) - Float64(t * i)))) + Float64(j * Float64(Float64(c * a) - Float64(y * i))))
end
function tmp = code(x, y, z, t, a, b, c, i, j)
	tmp = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)));
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(c * z), $MachinePrecision] - N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(c * a), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)
\end{array}

Alternative 1: 81.8% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(b \cdot \left(t \cdot i - z \cdot c\right) - x \cdot \left(t \cdot a - y \cdot z\right)\right) - j \cdot \left(y \cdot i - a \cdot c\right)\\ \mathbf{if}\;t_1 \leq \infty:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1
         (-
          (- (* b (- (* t i) (* z c))) (* x (- (* t a) (* y z))))
          (* j (- (* y i) (* a c))))))
   (if (<= t_1 INFINITY) t_1 (* j (- (* a c) (* y i))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = ((b * ((t * i) - (z * c))) - (x * ((t * a) - (y * z)))) - (j * ((y * i) - (a * c)));
	double tmp;
	if (t_1 <= ((double) INFINITY)) {
		tmp = t_1;
	} else {
		tmp = j * ((a * c) - (y * i));
	}
	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 t_1 = ((b * ((t * i) - (z * c))) - (x * ((t * a) - (y * z)))) - (j * ((y * i) - (a * c)));
	double tmp;
	if (t_1 <= Double.POSITIVE_INFINITY) {
		tmp = t_1;
	} else {
		tmp = j * ((a * c) - (y * i));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = ((b * ((t * i) - (z * c))) - (x * ((t * a) - (y * z)))) - (j * ((y * i) - (a * c)))
	tmp = 0
	if t_1 <= math.inf:
		tmp = t_1
	else:
		tmp = j * ((a * c) - (y * i))
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(Float64(Float64(b * Float64(Float64(t * i) - Float64(z * c))) - Float64(x * Float64(Float64(t * a) - Float64(y * z)))) - Float64(j * Float64(Float64(y * i) - Float64(a * c))))
	tmp = 0.0
	if (t_1 <= Inf)
		tmp = t_1;
	else
		tmp = Float64(j * Float64(Float64(a * c) - Float64(y * i)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = ((b * ((t * i) - (z * c))) - (x * ((t * a) - (y * z)))) - (j * ((y * i) - (a * c)));
	tmp = 0.0;
	if (t_1 <= Inf)
		tmp = t_1;
	else
		tmp = j * ((a * c) - (y * i));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(x * N[(N[(t * a), $MachinePrecision] - N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(j * N[(N[(y * i), $MachinePrecision] - N[(a * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \left(b \cdot \left(t \cdot i - z \cdot c\right) - x \cdot \left(t \cdot a - y \cdot z\right)\right) - j \cdot \left(y \cdot i - a \cdot c\right)\\
\mathbf{if}\;t_1 \leq \infty:\\
\;\;\;\;t_1\\

\mathbf{else}:\\
\;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 t i)))) (*.f64 j (-.f64 (*.f64 c a) (*.f64 y i)))) < +inf.0

    1. Initial program 93.7%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]

    if +inf.0 < (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 t i)))) (*.f64 j (-.f64 (*.f64 c a) (*.f64 y i))))

    1. Initial program 0.0%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-0.0%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative0.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg0.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg0.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative0.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified0.0%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in j around -inf 55.2%

      \[\leadsto \color{blue}{\left(c \cdot a - i \cdot y\right) \cdot j} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification87.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;\left(b \cdot \left(t \cdot i - z \cdot c\right) - x \cdot \left(t \cdot a - y \cdot z\right)\right) - j \cdot \left(y \cdot i - a \cdot c\right) \leq \infty:\\ \;\;\;\;\left(b \cdot \left(t \cdot i - z \cdot c\right) - x \cdot \left(t \cdot a - y \cdot z\right)\right) - j \cdot \left(y \cdot i - a \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right)\\ \end{array} \]

Alternative 2: 63.6% accurate, 0.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(x \cdot z - i \cdot j\right)\\ t_2 := j \cdot \left(a \cdot c - y \cdot i\right)\\ t_3 := a \cdot \left(c \cdot j - x \cdot t\right) + b \cdot \left(t \cdot i - z \cdot c\right)\\ \mathbf{if}\;y \leq -2.9 \cdot 10^{+185}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq -1.55 \cdot 10^{+117}:\\ \;\;\;\;t_2 + b \cdot \left(t \cdot i\right)\\ \mathbf{elif}\;y \leq -1.4 \cdot 10^{+92}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 5.6 \cdot 10^{-64}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq 5.7 \cdot 10^{+175}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) - j \cdot \left(y \cdot i\right)\\ \mathbf{elif}\;y \leq 1.12 \cdot 10^{+225}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* y (- (* x z) (* i j))))
        (t_2 (* j (- (* a c) (* y i))))
        (t_3 (+ (* a (- (* c j) (* x t))) (* b (- (* t i) (* z c))))))
   (if (<= y -2.9e+185)
     t_1
     (if (<= y -1.55e+117)
       (+ t_2 (* b (* t i)))
       (if (<= y -1.4e+92)
         t_1
         (if (<= y 5.6e-64)
           t_3
           (if (<= y 5.7e+175)
             (- (* x (- (* y z) (* t a))) (* j (* y i)))
             (if (<= y 1.12e+225) t_3 t_2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = y * ((x * z) - (i * j));
	double t_2 = j * ((a * c) - (y * i));
	double t_3 = (a * ((c * j) - (x * t))) + (b * ((t * i) - (z * c)));
	double tmp;
	if (y <= -2.9e+185) {
		tmp = t_1;
	} else if (y <= -1.55e+117) {
		tmp = t_2 + (b * (t * i));
	} else if (y <= -1.4e+92) {
		tmp = t_1;
	} else if (y <= 5.6e-64) {
		tmp = t_3;
	} else if (y <= 5.7e+175) {
		tmp = (x * ((y * z) - (t * a))) - (j * (y * i));
	} else if (y <= 1.12e+225) {
		tmp = t_3;
	} else {
		tmp = t_2;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = y * ((x * z) - (i * j))
    t_2 = j * ((a * c) - (y * i))
    t_3 = (a * ((c * j) - (x * t))) + (b * ((t * i) - (z * c)))
    if (y <= (-2.9d+185)) then
        tmp = t_1
    else if (y <= (-1.55d+117)) then
        tmp = t_2 + (b * (t * i))
    else if (y <= (-1.4d+92)) then
        tmp = t_1
    else if (y <= 5.6d-64) then
        tmp = t_3
    else if (y <= 5.7d+175) then
        tmp = (x * ((y * z) - (t * a))) - (j * (y * i))
    else if (y <= 1.12d+225) then
        tmp = t_3
    else
        tmp = t_2
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = y * ((x * z) - (i * j));
	double t_2 = j * ((a * c) - (y * i));
	double t_3 = (a * ((c * j) - (x * t))) + (b * ((t * i) - (z * c)));
	double tmp;
	if (y <= -2.9e+185) {
		tmp = t_1;
	} else if (y <= -1.55e+117) {
		tmp = t_2 + (b * (t * i));
	} else if (y <= -1.4e+92) {
		tmp = t_1;
	} else if (y <= 5.6e-64) {
		tmp = t_3;
	} else if (y <= 5.7e+175) {
		tmp = (x * ((y * z) - (t * a))) - (j * (y * i));
	} else if (y <= 1.12e+225) {
		tmp = t_3;
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = y * ((x * z) - (i * j))
	t_2 = j * ((a * c) - (y * i))
	t_3 = (a * ((c * j) - (x * t))) + (b * ((t * i) - (z * c)))
	tmp = 0
	if y <= -2.9e+185:
		tmp = t_1
	elif y <= -1.55e+117:
		tmp = t_2 + (b * (t * i))
	elif y <= -1.4e+92:
		tmp = t_1
	elif y <= 5.6e-64:
		tmp = t_3
	elif y <= 5.7e+175:
		tmp = (x * ((y * z) - (t * a))) - (j * (y * i))
	elif y <= 1.12e+225:
		tmp = t_3
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(y * Float64(Float64(x * z) - Float64(i * j)))
	t_2 = Float64(j * Float64(Float64(a * c) - Float64(y * i)))
	t_3 = Float64(Float64(a * Float64(Float64(c * j) - Float64(x * t))) + Float64(b * Float64(Float64(t * i) - Float64(z * c))))
	tmp = 0.0
	if (y <= -2.9e+185)
		tmp = t_1;
	elseif (y <= -1.55e+117)
		tmp = Float64(t_2 + Float64(b * Float64(t * i)));
	elseif (y <= -1.4e+92)
		tmp = t_1;
	elseif (y <= 5.6e-64)
		tmp = t_3;
	elseif (y <= 5.7e+175)
		tmp = Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(j * Float64(y * i)));
	elseif (y <= 1.12e+225)
		tmp = t_3;
	else
		tmp = t_2;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = y * ((x * z) - (i * j));
	t_2 = j * ((a * c) - (y * i));
	t_3 = (a * ((c * j) - (x * t))) + (b * ((t * i) - (z * c)));
	tmp = 0.0;
	if (y <= -2.9e+185)
		tmp = t_1;
	elseif (y <= -1.55e+117)
		tmp = t_2 + (b * (t * i));
	elseif (y <= -1.4e+92)
		tmp = t_1;
	elseif (y <= 5.6e-64)
		tmp = t_3;
	elseif (y <= 5.7e+175)
		tmp = (x * ((y * z) - (t * a))) - (j * (y * i));
	elseif (y <= 1.12e+225)
		tmp = t_3;
	else
		tmp = t_2;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(a * N[(N[(c * j), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -2.9e+185], t$95$1, If[LessEqual[y, -1.55e+117], N[(t$95$2 + N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.4e+92], t$95$1, If[LessEqual[y, 5.6e-64], t$95$3, If[LessEqual[y, 5.7e+175], N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(j * N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.12e+225], t$95$3, t$95$2]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y \cdot \left(x \cdot z - i \cdot j\right)\\
t_2 := j \cdot \left(a \cdot c - y \cdot i\right)\\
t_3 := a \cdot \left(c \cdot j - x \cdot t\right) + b \cdot \left(t \cdot i - z \cdot c\right)\\
\mathbf{if}\;y \leq -2.9 \cdot 10^{+185}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;y \leq -1.55 \cdot 10^{+117}:\\
\;\;\;\;t_2 + b \cdot \left(t \cdot i\right)\\

\mathbf{elif}\;y \leq -1.4 \cdot 10^{+92}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;y \leq 5.6 \cdot 10^{-64}:\\
\;\;\;\;t_3\\

\mathbf{elif}\;y \leq 5.7 \cdot 10^{+175}:\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) - j \cdot \left(y \cdot i\right)\\

\mathbf{elif}\;y \leq 1.12 \cdot 10^{+225}:\\
\;\;\;\;t_3\\

\mathbf{else}:\\
\;\;\;\;t_2\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y < -2.89999999999999988e185 or -1.54999999999999988e117 < y < -1.4e92

    1. Initial program 71.7%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-71.7%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative71.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg71.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg71.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative71.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified71.7%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in y around inf 87.3%

      \[\leadsto \color{blue}{\left(z \cdot x + -1 \cdot \left(i \cdot j\right)\right) \cdot y} \]
    5. Step-by-step derivation
      1. *-commutative87.3%

        \[\leadsto \color{blue}{y \cdot \left(z \cdot x + -1 \cdot \left(i \cdot j\right)\right)} \]
      2. mul-1-neg87.3%

        \[\leadsto y \cdot \left(z \cdot x + \color{blue}{\left(-i \cdot j\right)}\right) \]
      3. unsub-neg87.3%

        \[\leadsto y \cdot \color{blue}{\left(z \cdot x - i \cdot j\right)} \]
    6. Simplified87.3%

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

    if -2.89999999999999988e185 < y < -1.54999999999999988e117

    1. Initial program 70.8%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative70.8%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def75.8%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative75.8%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative75.8%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified75.8%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in x around 0 75.8%

      \[\leadsto \color{blue}{\left(c \cdot a - i \cdot y\right) \cdot j - \left(c \cdot z - i \cdot t\right) \cdot b} \]
    5. Taylor expanded in c around 0 71.0%

      \[\leadsto \left(c \cdot a - i \cdot y\right) \cdot j - \color{blue}{\left(-1 \cdot \left(i \cdot t\right)\right)} \cdot b \]
    6. Step-by-step derivation
      1. neg-mul-171.0%

        \[\leadsto \left(c \cdot a - i \cdot y\right) \cdot j - \color{blue}{\left(-i \cdot t\right)} \cdot b \]
      2. distribute-rgt-neg-in71.0%

        \[\leadsto \left(c \cdot a - i \cdot y\right) \cdot j - \color{blue}{\left(i \cdot \left(-t\right)\right)} \cdot b \]
    7. Simplified71.0%

      \[\leadsto \left(c \cdot a - i \cdot y\right) \cdot j - \color{blue}{\left(i \cdot \left(-t\right)\right)} \cdot b \]

    if -1.4e92 < y < 5.60000000000000008e-64 or 5.70000000000000024e175 < y < 1.12000000000000003e225

    1. Initial program 84.5%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-84.5%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative84.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg84.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg84.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative84.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified84.5%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in y around 0 75.4%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(a \cdot j\right)\right) - \left(c \cdot z - i \cdot t\right) \cdot b} \]
    5. Step-by-step derivation
      1. sub-neg75.4%

        \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(a \cdot j\right)\right) + \left(-\left(c \cdot z - i \cdot t\right) \cdot b\right)} \]
      2. mul-1-neg75.4%

        \[\leadsto \left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(a \cdot j\right)\right) + \color{blue}{-1 \cdot \left(\left(c \cdot z - i \cdot t\right) \cdot b\right)} \]
      3. associate-*r*75.4%

        \[\leadsto \left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(a \cdot j\right)\right) + \color{blue}{\left(-1 \cdot \left(c \cdot z - i \cdot t\right)\right) \cdot b} \]
      4. *-commutative75.4%

        \[\leadsto \left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(a \cdot j\right)\right) + \left(-1 \cdot \left(\color{blue}{z \cdot c} - i \cdot t\right)\right) \cdot b \]
      5. *-commutative75.4%

        \[\leadsto \left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(a \cdot j\right)\right) + \left(-1 \cdot \left(z \cdot c - \color{blue}{t \cdot i}\right)\right) \cdot b \]
      6. neg-mul-175.4%

        \[\leadsto \left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(a \cdot j\right)\right) + \color{blue}{\left(-\left(z \cdot c - t \cdot i\right)\right)} \cdot b \]
      7. cancel-sign-sub-inv75.4%

        \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(a \cdot j\right)\right) - \left(z \cdot c - t \cdot i\right) \cdot b} \]
      8. *-commutative75.4%

        \[\leadsto \left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(a \cdot j\right)\right) - \color{blue}{b \cdot \left(z \cdot c - t \cdot i\right)} \]
      9. *-rgt-identity75.4%

        \[\leadsto \left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(a \cdot j\right)\right) - \color{blue}{\left(b \cdot \left(z \cdot c - t \cdot i\right)\right) \cdot 1} \]
      10. cancel-sign-sub-inv75.4%

        \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(a \cdot j\right)\right) + \left(-b \cdot \left(z \cdot c - t \cdot i\right)\right) \cdot 1} \]
    6. Simplified77.8%

      \[\leadsto \color{blue}{a \cdot \left(c \cdot j - t \cdot x\right) + b \cdot \left(t \cdot i - z \cdot c\right)} \]

    if 5.60000000000000008e-64 < y < 5.70000000000000024e175

    1. Initial program 80.0%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative80.0%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def80.0%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative80.0%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative80.0%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified80.0%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in b around 0 78.5%

      \[\leadsto \color{blue}{\left(y \cdot z - a \cdot t\right) \cdot x + \left(c \cdot a - i \cdot y\right) \cdot j} \]
    5. Taylor expanded in c around 0 71.7%

      \[\leadsto \left(y \cdot z - a \cdot t\right) \cdot x + \color{blue}{\left(-1 \cdot \left(y \cdot i\right)\right)} \cdot j \]
    6. Step-by-step derivation
      1. mul-1-neg71.7%

        \[\leadsto \left(y \cdot z - a \cdot t\right) \cdot x + \color{blue}{\left(-y \cdot i\right)} \cdot j \]
      2. distribute-rgt-neg-out71.7%

        \[\leadsto \left(y \cdot z - a \cdot t\right) \cdot x + \color{blue}{\left(y \cdot \left(-i\right)\right)} \cdot j \]
    7. Simplified71.7%

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

    if 1.12000000000000003e225 < y

    1. Initial program 52.6%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-52.6%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative52.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg52.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg52.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative52.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified52.6%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in j around -inf 67.5%

      \[\leadsto \color{blue}{\left(c \cdot a - i \cdot y\right) \cdot j} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification76.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -2.9 \cdot 10^{+185}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;y \leq -1.55 \cdot 10^{+117}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + b \cdot \left(t \cdot i\right)\\ \mathbf{elif}\;y \leq -1.4 \cdot 10^{+92}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;y \leq 5.6 \cdot 10^{-64}:\\ \;\;\;\;a \cdot \left(c \cdot j - x \cdot t\right) + b \cdot \left(t \cdot i - z \cdot c\right)\\ \mathbf{elif}\;y \leq 5.7 \cdot 10^{+175}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) - j \cdot \left(y \cdot i\right)\\ \mathbf{elif}\;y \leq 1.12 \cdot 10^{+225}:\\ \;\;\;\;a \cdot \left(c \cdot j - x \cdot t\right) + b \cdot \left(t \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right)\\ \end{array} \]

Alternative 3: 57.9% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot \left(y \cdot z - t \cdot a\right) - j \cdot \left(y \cdot i\right)\\ \mathbf{if}\;c \leq -9.5 \cdot 10^{+136}:\\ \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{elif}\;c \leq -2.9 \cdot 10^{+75}:\\ \;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\ \mathbf{elif}\;c \leq -1.26 \cdot 10^{-132}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -1.85 \cdot 10^{-177}:\\ \;\;\;\;i \cdot \left(t \cdot b\right) - i \cdot \left(y \cdot j\right)\\ \mathbf{elif}\;c \leq 4.9 \cdot 10^{-166}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 2 \cdot 10^{-130}:\\ \;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\ \mathbf{elif}\;c \leq 1.22 \cdot 10^{+115}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) - c \cdot \left(z \cdot b\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (- (* x (- (* y z) (* t a))) (* j (* y i)))))
   (if (<= c -9.5e+136)
     (* c (- (* a j) (* z b)))
     (if (<= c -2.9e+75)
       (* b (- (* t i) (* z c)))
       (if (<= c -1.26e-132)
         t_1
         (if (<= c -1.85e-177)
           (- (* i (* t b)) (* i (* y j)))
           (if (<= c 4.9e-166)
             t_1
             (if (<= c 2e-130)
               (* i (- (* t b) (* y j)))
               (if (<= c 1.22e+115)
                 t_1
                 (- (* j (- (* a c) (* y i))) (* c (* z b))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = (x * ((y * z) - (t * a))) - (j * (y * i));
	double tmp;
	if (c <= -9.5e+136) {
		tmp = c * ((a * j) - (z * b));
	} else if (c <= -2.9e+75) {
		tmp = b * ((t * i) - (z * c));
	} else if (c <= -1.26e-132) {
		tmp = t_1;
	} else if (c <= -1.85e-177) {
		tmp = (i * (t * b)) - (i * (y * j));
	} else if (c <= 4.9e-166) {
		tmp = t_1;
	} else if (c <= 2e-130) {
		tmp = i * ((t * b) - (y * j));
	} else if (c <= 1.22e+115) {
		tmp = t_1;
	} else {
		tmp = (j * ((a * c) - (y * i))) - (c * (z * b));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: tmp
    t_1 = (x * ((y * z) - (t * a))) - (j * (y * i))
    if (c <= (-9.5d+136)) then
        tmp = c * ((a * j) - (z * b))
    else if (c <= (-2.9d+75)) then
        tmp = b * ((t * i) - (z * c))
    else if (c <= (-1.26d-132)) then
        tmp = t_1
    else if (c <= (-1.85d-177)) then
        tmp = (i * (t * b)) - (i * (y * j))
    else if (c <= 4.9d-166) then
        tmp = t_1
    else if (c <= 2d-130) then
        tmp = i * ((t * b) - (y * j))
    else if (c <= 1.22d+115) then
        tmp = t_1
    else
        tmp = (j * ((a * c) - (y * i))) - (c * (z * b))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = (x * ((y * z) - (t * a))) - (j * (y * i));
	double tmp;
	if (c <= -9.5e+136) {
		tmp = c * ((a * j) - (z * b));
	} else if (c <= -2.9e+75) {
		tmp = b * ((t * i) - (z * c));
	} else if (c <= -1.26e-132) {
		tmp = t_1;
	} else if (c <= -1.85e-177) {
		tmp = (i * (t * b)) - (i * (y * j));
	} else if (c <= 4.9e-166) {
		tmp = t_1;
	} else if (c <= 2e-130) {
		tmp = i * ((t * b) - (y * j));
	} else if (c <= 1.22e+115) {
		tmp = t_1;
	} else {
		tmp = (j * ((a * c) - (y * i))) - (c * (z * b));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = (x * ((y * z) - (t * a))) - (j * (y * i))
	tmp = 0
	if c <= -9.5e+136:
		tmp = c * ((a * j) - (z * b))
	elif c <= -2.9e+75:
		tmp = b * ((t * i) - (z * c))
	elif c <= -1.26e-132:
		tmp = t_1
	elif c <= -1.85e-177:
		tmp = (i * (t * b)) - (i * (y * j))
	elif c <= 4.9e-166:
		tmp = t_1
	elif c <= 2e-130:
		tmp = i * ((t * b) - (y * j))
	elif c <= 1.22e+115:
		tmp = t_1
	else:
		tmp = (j * ((a * c) - (y * i))) - (c * (z * b))
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(j * Float64(y * i)))
	tmp = 0.0
	if (c <= -9.5e+136)
		tmp = Float64(c * Float64(Float64(a * j) - Float64(z * b)));
	elseif (c <= -2.9e+75)
		tmp = Float64(b * Float64(Float64(t * i) - Float64(z * c)));
	elseif (c <= -1.26e-132)
		tmp = t_1;
	elseif (c <= -1.85e-177)
		tmp = Float64(Float64(i * Float64(t * b)) - Float64(i * Float64(y * j)));
	elseif (c <= 4.9e-166)
		tmp = t_1;
	elseif (c <= 2e-130)
		tmp = Float64(i * Float64(Float64(t * b) - Float64(y * j)));
	elseif (c <= 1.22e+115)
		tmp = t_1;
	else
		tmp = Float64(Float64(j * Float64(Float64(a * c) - Float64(y * i))) - Float64(c * Float64(z * b)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = (x * ((y * z) - (t * a))) - (j * (y * i));
	tmp = 0.0;
	if (c <= -9.5e+136)
		tmp = c * ((a * j) - (z * b));
	elseif (c <= -2.9e+75)
		tmp = b * ((t * i) - (z * c));
	elseif (c <= -1.26e-132)
		tmp = t_1;
	elseif (c <= -1.85e-177)
		tmp = (i * (t * b)) - (i * (y * j));
	elseif (c <= 4.9e-166)
		tmp = t_1;
	elseif (c <= 2e-130)
		tmp = i * ((t * b) - (y * j));
	elseif (c <= 1.22e+115)
		tmp = t_1;
	else
		tmp = (j * ((a * c) - (y * i))) - (c * (z * b));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(j * N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -9.5e+136], N[(c * N[(N[(a * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -2.9e+75], N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -1.26e-132], t$95$1, If[LessEqual[c, -1.85e-177], N[(N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision] - N[(i * N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.9e-166], t$95$1, If[LessEqual[c, 2e-130], N[(i * N[(N[(t * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.22e+115], t$95$1, N[(N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;c \leq -2.9 \cdot 10^{+75}:\\
\;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\

\mathbf{elif}\;c \leq -1.26 \cdot 10^{-132}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;c \leq -1.85 \cdot 10^{-177}:\\
\;\;\;\;i \cdot \left(t \cdot b\right) - i \cdot \left(y \cdot j\right)\\

\mathbf{elif}\;c \leq 4.9 \cdot 10^{-166}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;c \leq 2 \cdot 10^{-130}:\\
\;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\

\mathbf{elif}\;c \leq 1.22 \cdot 10^{+115}:\\
\;\;\;\;t_1\\

\mathbf{else}:\\
\;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) - c \cdot \left(z \cdot b\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if c < -9.49999999999999907e136

    1. Initial program 70.4%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-70.4%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative70.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg70.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg70.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative70.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified70.4%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in c around inf 76.8%

      \[\leadsto \color{blue}{c \cdot \left(a \cdot j - z \cdot b\right)} \]

    if -9.49999999999999907e136 < c < -2.8999999999999998e75

    1. Initial program 61.4%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-61.4%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative61.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg61.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg61.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative61.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified61.4%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in b around inf 66.7%

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

    if -2.8999999999999998e75 < c < -1.2600000000000001e-132 or -1.84999999999999997e-177 < c < 4.8999999999999999e-166 or 2.0000000000000002e-130 < c < 1.22e115

    1. Initial program 88.0%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative88.0%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def88.8%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative88.8%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative88.8%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified88.8%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in b around 0 73.5%

      \[\leadsto \color{blue}{\left(y \cdot z - a \cdot t\right) \cdot x + \left(c \cdot a - i \cdot y\right) \cdot j} \]
    5. Taylor expanded in c around 0 72.9%

      \[\leadsto \left(y \cdot z - a \cdot t\right) \cdot x + \color{blue}{\left(-1 \cdot \left(y \cdot i\right)\right)} \cdot j \]
    6. Step-by-step derivation
      1. mul-1-neg72.9%

        \[\leadsto \left(y \cdot z - a \cdot t\right) \cdot x + \color{blue}{\left(-y \cdot i\right)} \cdot j \]
      2. distribute-rgt-neg-out72.9%

        \[\leadsto \left(y \cdot z - a \cdot t\right) \cdot x + \color{blue}{\left(y \cdot \left(-i\right)\right)} \cdot j \]
    7. Simplified72.9%

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

    if -1.2600000000000001e-132 < c < -1.84999999999999997e-177

    1. Initial program 54.2%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative54.2%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def61.9%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative61.9%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative61.9%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified61.9%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in x around 0 85.1%

      \[\leadsto \color{blue}{\left(c \cdot a - i \cdot y\right) \cdot j - \left(c \cdot z - i \cdot t\right) \cdot b} \]
    5. Taylor expanded in c around 0 70.4%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(y \cdot j\right)\right) - -1 \cdot \left(i \cdot \left(t \cdot b\right)\right)} \]
    6. Step-by-step derivation
      1. distribute-lft-out--70.4%

        \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(y \cdot j\right) - i \cdot \left(t \cdot b\right)\right)} \]
    7. Simplified70.4%

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

    if 4.8999999999999999e-166 < c < 2.0000000000000002e-130

    1. Initial program 67.7%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-67.7%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative67.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg67.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg67.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative67.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified67.7%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in i around inf 83.4%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j\right) - -1 \cdot \left(t \cdot b\right)\right)} \]
    5. Step-by-step derivation
      1. cancel-sign-sub-inv83.4%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right) + \left(--1\right) \cdot \left(t \cdot b\right)\right)} \]
      2. metadata-eval83.4%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{1} \cdot \left(t \cdot b\right)\right) \]
      3. *-lft-identity83.4%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{t \cdot b}\right) \]
      4. +-commutative83.4%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b + -1 \cdot \left(y \cdot j\right)\right)} \]
      5. mul-1-neg83.4%

        \[\leadsto i \cdot \left(t \cdot b + \color{blue}{\left(-y \cdot j\right)}\right) \]
      6. unsub-neg83.4%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b - y \cdot j\right)} \]
    6. Simplified83.4%

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

    if 1.22e115 < c

    1. Initial program 71.8%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative71.8%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def71.8%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative71.8%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative71.8%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified71.8%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in x around 0 75.0%

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

      \[\leadsto \left(c \cdot a - i \cdot y\right) \cdot j - \color{blue}{c \cdot \left(z \cdot b\right)} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification74.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -9.5 \cdot 10^{+136}:\\ \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{elif}\;c \leq -2.9 \cdot 10^{+75}:\\ \;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\ \mathbf{elif}\;c \leq -1.26 \cdot 10^{-132}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) - j \cdot \left(y \cdot i\right)\\ \mathbf{elif}\;c \leq -1.85 \cdot 10^{-177}:\\ \;\;\;\;i \cdot \left(t \cdot b\right) - i \cdot \left(y \cdot j\right)\\ \mathbf{elif}\;c \leq 4.9 \cdot 10^{-166}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) - j \cdot \left(y \cdot i\right)\\ \mathbf{elif}\;c \leq 2 \cdot 10^{-130}:\\ \;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\ \mathbf{elif}\;c \leq 1.22 \cdot 10^{+115}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) - j \cdot \left(y \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) - c \cdot \left(z \cdot b\right)\\ \end{array} \]

Alternative 4: 69.0% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(t \cdot i - z \cdot c\right)\\ t_2 := j \cdot \left(a \cdot c - y \cdot i\right)\\ \mathbf{if}\;j \leq -4.5 \cdot 10^{+196}:\\ \;\;\;\;t_2 + b \cdot \left(t \cdot i\right)\\ \mathbf{elif}\;j \leq -3.4 \cdot 10^{-30}:\\ \;\;\;\;t_2 + z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;j \leq 9.2 \cdot 10^{-111}:\\ \;\;\;\;t_1 - x \cdot \left(t \cdot a - y \cdot z\right)\\ \mathbf{elif}\;j \leq 310000:\\ \;\;\;\;t_2 + t_1\\ \mathbf{elif}\;j \leq 2.2 \cdot 10^{+217}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) - j \cdot \left(y \cdot i - a \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* b (- (* t i) (* z c)))) (t_2 (* j (- (* a c) (* y i)))))
   (if (<= j -4.5e+196)
     (+ t_2 (* b (* t i)))
     (if (<= j -3.4e-30)
       (+ t_2 (* z (- (* x y) (* b c))))
       (if (<= j 9.2e-111)
         (- t_1 (* x (- (* t a) (* y z))))
         (if (<= j 310000.0)
           (+ t_2 t_1)
           (if (<= j 2.2e+217)
             (- (* x (- (* y z) (* t a))) (* j (- (* y i) (* a c))))
             t_2)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = b * ((t * i) - (z * c));
	double t_2 = j * ((a * c) - (y * i));
	double tmp;
	if (j <= -4.5e+196) {
		tmp = t_2 + (b * (t * i));
	} else if (j <= -3.4e-30) {
		tmp = t_2 + (z * ((x * y) - (b * c)));
	} else if (j <= 9.2e-111) {
		tmp = t_1 - (x * ((t * a) - (y * z)));
	} else if (j <= 310000.0) {
		tmp = t_2 + t_1;
	} else if (j <= 2.2e+217) {
		tmp = (x * ((y * z) - (t * a))) - (j * ((y * i) - (a * c)));
	} else {
		tmp = t_2;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = b * ((t * i) - (z * c))
    t_2 = j * ((a * c) - (y * i))
    if (j <= (-4.5d+196)) then
        tmp = t_2 + (b * (t * i))
    else if (j <= (-3.4d-30)) then
        tmp = t_2 + (z * ((x * y) - (b * c)))
    else if (j <= 9.2d-111) then
        tmp = t_1 - (x * ((t * a) - (y * z)))
    else if (j <= 310000.0d0) then
        tmp = t_2 + t_1
    else if (j <= 2.2d+217) then
        tmp = (x * ((y * z) - (t * a))) - (j * ((y * i) - (a * c)))
    else
        tmp = t_2
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = b * ((t * i) - (z * c));
	double t_2 = j * ((a * c) - (y * i));
	double tmp;
	if (j <= -4.5e+196) {
		tmp = t_2 + (b * (t * i));
	} else if (j <= -3.4e-30) {
		tmp = t_2 + (z * ((x * y) - (b * c)));
	} else if (j <= 9.2e-111) {
		tmp = t_1 - (x * ((t * a) - (y * z)));
	} else if (j <= 310000.0) {
		tmp = t_2 + t_1;
	} else if (j <= 2.2e+217) {
		tmp = (x * ((y * z) - (t * a))) - (j * ((y * i) - (a * c)));
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = b * ((t * i) - (z * c))
	t_2 = j * ((a * c) - (y * i))
	tmp = 0
	if j <= -4.5e+196:
		tmp = t_2 + (b * (t * i))
	elif j <= -3.4e-30:
		tmp = t_2 + (z * ((x * y) - (b * c)))
	elif j <= 9.2e-111:
		tmp = t_1 - (x * ((t * a) - (y * z)))
	elif j <= 310000.0:
		tmp = t_2 + t_1
	elif j <= 2.2e+217:
		tmp = (x * ((y * z) - (t * a))) - (j * ((y * i) - (a * c)))
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(b * Float64(Float64(t * i) - Float64(z * c)))
	t_2 = Float64(j * Float64(Float64(a * c) - Float64(y * i)))
	tmp = 0.0
	if (j <= -4.5e+196)
		tmp = Float64(t_2 + Float64(b * Float64(t * i)));
	elseif (j <= -3.4e-30)
		tmp = Float64(t_2 + Float64(z * Float64(Float64(x * y) - Float64(b * c))));
	elseif (j <= 9.2e-111)
		tmp = Float64(t_1 - Float64(x * Float64(Float64(t * a) - Float64(y * z))));
	elseif (j <= 310000.0)
		tmp = Float64(t_2 + t_1);
	elseif (j <= 2.2e+217)
		tmp = Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(j * Float64(Float64(y * i) - Float64(a * c))));
	else
		tmp = t_2;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = b * ((t * i) - (z * c));
	t_2 = j * ((a * c) - (y * i));
	tmp = 0.0;
	if (j <= -4.5e+196)
		tmp = t_2 + (b * (t * i));
	elseif (j <= -3.4e-30)
		tmp = t_2 + (z * ((x * y) - (b * c)));
	elseif (j <= 9.2e-111)
		tmp = t_1 - (x * ((t * a) - (y * z)));
	elseif (j <= 310000.0)
		tmp = t_2 + t_1;
	elseif (j <= 2.2e+217)
		tmp = (x * ((y * z) - (t * a))) - (j * ((y * i) - (a * c)));
	else
		tmp = t_2;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -4.5e+196], N[(t$95$2 + N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -3.4e-30], N[(t$95$2 + N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 9.2e-111], N[(t$95$1 - N[(x * N[(N[(t * a), $MachinePrecision] - N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 310000.0], N[(t$95$2 + t$95$1), $MachinePrecision], If[LessEqual[j, 2.2e+217], N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(j * N[(N[(y * i), $MachinePrecision] - N[(a * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(t \cdot i - z \cdot c\right)\\
t_2 := j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{if}\;j \leq -4.5 \cdot 10^{+196}:\\
\;\;\;\;t_2 + b \cdot \left(t \cdot i\right)\\

\mathbf{elif}\;j \leq -3.4 \cdot 10^{-30}:\\
\;\;\;\;t_2 + z \cdot \left(x \cdot y - b \cdot c\right)\\

\mathbf{elif}\;j \leq 9.2 \cdot 10^{-111}:\\
\;\;\;\;t_1 - x \cdot \left(t \cdot a - y \cdot z\right)\\

\mathbf{elif}\;j \leq 310000:\\
\;\;\;\;t_2 + t_1\\

\mathbf{elif}\;j \leq 2.2 \cdot 10^{+217}:\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) - j \cdot \left(y \cdot i - a \cdot c\right)\\

\mathbf{else}:\\
\;\;\;\;t_2\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if j < -4.49999999999999978e196

    1. Initial program 80.8%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative80.8%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def80.8%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative80.8%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative80.8%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified80.8%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in x around 0 81.1%

      \[\leadsto \color{blue}{\left(c \cdot a - i \cdot y\right) \cdot j - \left(c \cdot z - i \cdot t\right) \cdot b} \]
    5. Taylor expanded in c around 0 86.0%

      \[\leadsto \left(c \cdot a - i \cdot y\right) \cdot j - \color{blue}{\left(-1 \cdot \left(i \cdot t\right)\right)} \cdot b \]
    6. Step-by-step derivation
      1. neg-mul-186.0%

        \[\leadsto \left(c \cdot a - i \cdot y\right) \cdot j - \color{blue}{\left(-i \cdot t\right)} \cdot b \]
      2. distribute-rgt-neg-in86.0%

        \[\leadsto \left(c \cdot a - i \cdot y\right) \cdot j - \color{blue}{\left(i \cdot \left(-t\right)\right)} \cdot b \]
    7. Simplified86.0%

      \[\leadsto \left(c \cdot a - i \cdot y\right) \cdot j - \color{blue}{\left(i \cdot \left(-t\right)\right)} \cdot b \]

    if -4.49999999999999978e196 < j < -3.4000000000000003e-30

    1. Initial program 73.4%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-73.4%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative73.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg73.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg73.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative73.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified73.4%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in t around 0 66.8%

      \[\leadsto \color{blue}{\left(y \cdot \left(z \cdot x\right) + j \cdot \left(c \cdot a - y \cdot i\right)\right) - c \cdot \left(b \cdot z\right)} \]
    5. Step-by-step derivation
      1. +-commutative66.8%

        \[\leadsto \color{blue}{\left(j \cdot \left(c \cdot a - y \cdot i\right) + y \cdot \left(z \cdot x\right)\right)} - c \cdot \left(b \cdot z\right) \]
      2. *-commutative66.8%

        \[\leadsto \left(\color{blue}{\left(c \cdot a - y \cdot i\right) \cdot j} + y \cdot \left(z \cdot x\right)\right) - c \cdot \left(b \cdot z\right) \]
      3. *-commutative66.8%

        \[\leadsto \left(\left(c \cdot a - \color{blue}{i \cdot y}\right) \cdot j + y \cdot \left(z \cdot x\right)\right) - c \cdot \left(b \cdot z\right) \]
      4. associate--l+66.8%

        \[\leadsto \color{blue}{\left(c \cdot a - i \cdot y\right) \cdot j + \left(y \cdot \left(z \cdot x\right) - c \cdot \left(b \cdot z\right)\right)} \]
      5. sub-neg66.8%

        \[\leadsto \left(c \cdot a - i \cdot y\right) \cdot j + \color{blue}{\left(y \cdot \left(z \cdot x\right) + \left(-c \cdot \left(b \cdot z\right)\right)\right)} \]
      6. *-commutative66.8%

        \[\leadsto \left(c \cdot a - \color{blue}{y \cdot i}\right) \cdot j + \left(y \cdot \left(z \cdot x\right) + \left(-c \cdot \left(b \cdot z\right)\right)\right) \]
      7. *-commutative66.8%

        \[\leadsto \left(\color{blue}{a \cdot c} - y \cdot i\right) \cdot j + \left(y \cdot \left(z \cdot x\right) + \left(-c \cdot \left(b \cdot z\right)\right)\right) \]
      8. *-commutative66.8%

        \[\leadsto \color{blue}{j \cdot \left(a \cdot c - y \cdot i\right)} + \left(y \cdot \left(z \cdot x\right) + \left(-c \cdot \left(b \cdot z\right)\right)\right) \]
      9. *-commutative66.8%

        \[\leadsto j \cdot \left(a \cdot c - y \cdot i\right) + \left(y \cdot \color{blue}{\left(x \cdot z\right)} + \left(-c \cdot \left(b \cdot z\right)\right)\right) \]
      10. associate-*r*68.9%

        \[\leadsto j \cdot \left(a \cdot c - y \cdot i\right) + \left(\color{blue}{\left(y \cdot x\right) \cdot z} + \left(-c \cdot \left(b \cdot z\right)\right)\right) \]
      11. associate-*r*71.2%

        \[\leadsto j \cdot \left(a \cdot c - y \cdot i\right) + \left(\left(y \cdot x\right) \cdot z + \left(-\color{blue}{\left(c \cdot b\right) \cdot z}\right)\right) \]
      12. distribute-lft-neg-in71.2%

        \[\leadsto j \cdot \left(a \cdot c - y \cdot i\right) + \left(\left(y \cdot x\right) \cdot z + \color{blue}{\left(-c \cdot b\right) \cdot z}\right) \]
      13. mul-1-neg71.2%

        \[\leadsto j \cdot \left(a \cdot c - y \cdot i\right) + \left(\left(y \cdot x\right) \cdot z + \color{blue}{\left(-1 \cdot \left(c \cdot b\right)\right)} \cdot z\right) \]
      14. distribute-rgt-in71.2%

        \[\leadsto j \cdot \left(a \cdot c - y \cdot i\right) + \color{blue}{z \cdot \left(y \cdot x + -1 \cdot \left(c \cdot b\right)\right)} \]
    6. Simplified71.2%

      \[\leadsto \color{blue}{j \cdot \left(a \cdot c - y \cdot i\right) + z \cdot \left(y \cdot x - c \cdot b\right)} \]

    if -3.4000000000000003e-30 < j < 9.2e-111

    1. Initial program 81.9%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-81.9%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative81.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg81.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg81.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative81.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified81.9%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in j around 0 83.3%

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

    if 9.2e-111 < j < 3.1e5

    1. Initial program 84.2%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative84.2%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def84.2%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative84.2%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative84.2%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified84.2%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in x around 0 84.7%

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

    if 3.1e5 < j < 2.2e217

    1. Initial program 83.1%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative83.1%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def85.2%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative85.2%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative85.2%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified85.2%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in b around 0 77.0%

      \[\leadsto \color{blue}{\left(y \cdot z - a \cdot t\right) \cdot x + \left(c \cdot a - i \cdot y\right) \cdot j} \]

    if 2.2e217 < j

    1. Initial program 50.0%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-50.0%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative50.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg50.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg50.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative50.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified50.0%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in j around -inf 90.0%

      \[\leadsto \color{blue}{\left(c \cdot a - i \cdot y\right) \cdot j} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification80.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -4.5 \cdot 10^{+196}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + b \cdot \left(t \cdot i\right)\\ \mathbf{elif}\;j \leq -3.4 \cdot 10^{-30}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;j \leq 9.2 \cdot 10^{-111}:\\ \;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right) - x \cdot \left(t \cdot a - y \cdot z\right)\\ \mathbf{elif}\;j \leq 310000:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + b \cdot \left(t \cdot i - z \cdot c\right)\\ \mathbf{elif}\;j \leq 2.2 \cdot 10^{+217}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) - j \cdot \left(y \cdot i - a \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right)\\ \end{array} \]

Alternative 5: 55.7% accurate, 1.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{if}\;y \leq -2.35 \cdot 10^{+184}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq -2.15 \cdot 10^{+117}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right)\\ \mathbf{elif}\;y \leq -2 \cdot 10^{+93} \lor \neg \left(y \leq 1.9 \cdot 10^{-111} \lor \neg \left(y \leq 650\right) \land y \leq 1.25 \cdot 10^{+25}\right):\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right) - a \cdot \left(x \cdot t\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* y (- (* x z) (* i j)))))
   (if (<= y -2.35e+184)
     t_1
     (if (<= y -2.15e+117)
       (* j (- (* a c) (* y i)))
       (if (or (<= y -2e+93)
               (not
                (or (<= y 1.9e-111) (and (not (<= y 650.0)) (<= y 1.25e+25)))))
         t_1
         (- (* b (- (* t i) (* z c))) (* a (* x t))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = y * ((x * z) - (i * j));
	double tmp;
	if (y <= -2.35e+184) {
		tmp = t_1;
	} else if (y <= -2.15e+117) {
		tmp = j * ((a * c) - (y * i));
	} else if ((y <= -2e+93) || !((y <= 1.9e-111) || (!(y <= 650.0) && (y <= 1.25e+25)))) {
		tmp = t_1;
	} else {
		tmp = (b * ((t * i) - (z * c))) - (a * (x * t));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: tmp
    t_1 = y * ((x * z) - (i * j))
    if (y <= (-2.35d+184)) then
        tmp = t_1
    else if (y <= (-2.15d+117)) then
        tmp = j * ((a * c) - (y * i))
    else if ((y <= (-2d+93)) .or. (.not. (y <= 1.9d-111) .or. (.not. (y <= 650.0d0)) .and. (y <= 1.25d+25))) then
        tmp = t_1
    else
        tmp = (b * ((t * i) - (z * c))) - (a * (x * t))
    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 t_1 = y * ((x * z) - (i * j));
	double tmp;
	if (y <= -2.35e+184) {
		tmp = t_1;
	} else if (y <= -2.15e+117) {
		tmp = j * ((a * c) - (y * i));
	} else if ((y <= -2e+93) || !((y <= 1.9e-111) || (!(y <= 650.0) && (y <= 1.25e+25)))) {
		tmp = t_1;
	} else {
		tmp = (b * ((t * i) - (z * c))) - (a * (x * t));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = y * ((x * z) - (i * j))
	tmp = 0
	if y <= -2.35e+184:
		tmp = t_1
	elif y <= -2.15e+117:
		tmp = j * ((a * c) - (y * i))
	elif (y <= -2e+93) or not ((y <= 1.9e-111) or (not (y <= 650.0) and (y <= 1.25e+25))):
		tmp = t_1
	else:
		tmp = (b * ((t * i) - (z * c))) - (a * (x * t))
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(y * Float64(Float64(x * z) - Float64(i * j)))
	tmp = 0.0
	if (y <= -2.35e+184)
		tmp = t_1;
	elseif (y <= -2.15e+117)
		tmp = Float64(j * Float64(Float64(a * c) - Float64(y * i)));
	elseif ((y <= -2e+93) || !((y <= 1.9e-111) || (!(y <= 650.0) && (y <= 1.25e+25))))
		tmp = t_1;
	else
		tmp = Float64(Float64(b * Float64(Float64(t * i) - Float64(z * c))) - Float64(a * Float64(x * t)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = y * ((x * z) - (i * j));
	tmp = 0.0;
	if (y <= -2.35e+184)
		tmp = t_1;
	elseif (y <= -2.15e+117)
		tmp = j * ((a * c) - (y * i));
	elseif ((y <= -2e+93) || ~(((y <= 1.9e-111) || (~((y <= 650.0)) && (y <= 1.25e+25)))))
		tmp = t_1;
	else
		tmp = (b * ((t * i) - (z * c))) - (a * (x * t));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -2.35e+184], t$95$1, If[LessEqual[y, -2.15e+117], N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[y, -2e+93], N[Not[Or[LessEqual[y, 1.9e-111], And[N[Not[LessEqual[y, 650.0]], $MachinePrecision], LessEqual[y, 1.25e+25]]]], $MachinePrecision]], t$95$1, N[(N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y \cdot \left(x \cdot z - i \cdot j\right)\\
\mathbf{if}\;y \leq -2.35 \cdot 10^{+184}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;y \leq -2.15 \cdot 10^{+117}:\\
\;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right)\\

\mathbf{elif}\;y \leq -2 \cdot 10^{+93} \lor \neg \left(y \leq 1.9 \cdot 10^{-111} \lor \neg \left(y \leq 650\right) \land y \leq 1.25 \cdot 10^{+25}\right):\\
\;\;\;\;t_1\\

\mathbf{else}:\\
\;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right) - a \cdot \left(x \cdot t\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if y < -2.3500000000000002e184 or -2.14999999999999999e117 < y < -2.00000000000000009e93 or 1.90000000000000011e-111 < y < 650 or 1.25000000000000006e25 < y

    1. Initial program 72.8%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-72.8%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative72.8%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg72.8%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg72.8%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative72.8%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified72.8%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in y around inf 72.2%

      \[\leadsto \color{blue}{\left(z \cdot x + -1 \cdot \left(i \cdot j\right)\right) \cdot y} \]
    5. Step-by-step derivation
      1. *-commutative72.2%

        \[\leadsto \color{blue}{y \cdot \left(z \cdot x + -1 \cdot \left(i \cdot j\right)\right)} \]
      2. mul-1-neg72.2%

        \[\leadsto y \cdot \left(z \cdot x + \color{blue}{\left(-i \cdot j\right)}\right) \]
      3. unsub-neg72.2%

        \[\leadsto y \cdot \color{blue}{\left(z \cdot x - i \cdot j\right)} \]
    6. Simplified72.2%

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

    if -2.3500000000000002e184 < y < -2.14999999999999999e117

    1. Initial program 70.8%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-70.8%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative70.8%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg70.8%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg70.8%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative70.8%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified70.8%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in j around -inf 66.1%

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

    if -2.00000000000000009e93 < y < 1.90000000000000011e-111 or 650 < y < 1.25000000000000006e25

    1. Initial program 84.2%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-84.2%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative84.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg84.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg84.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative84.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified84.2%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in j around 0 75.3%

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

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) - \left(c \cdot z - i \cdot t\right) \cdot b} \]
    6. Step-by-step derivation
      1. sub-neg67.1%

        \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(-\left(c \cdot z - i \cdot t\right) \cdot b\right)} \]
      2. cancel-sign-sub-inv67.1%

        \[\leadsto -1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(-\color{blue}{\left(c \cdot z + \left(-i\right) \cdot t\right)} \cdot b\right) \]
      3. *-commutative67.1%

        \[\leadsto -1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(-\left(\color{blue}{z \cdot c} + \left(-i\right) \cdot t\right) \cdot b\right) \]
      4. fma-udef67.1%

        \[\leadsto -1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(-\color{blue}{\mathsf{fma}\left(z, c, \left(-i\right) \cdot t\right)} \cdot b\right) \]
      5. +-commutative67.1%

        \[\leadsto \color{blue}{\left(-\mathsf{fma}\left(z, c, \left(-i\right) \cdot t\right) \cdot b\right) + -1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} \]
      6. mul-1-neg67.1%

        \[\leadsto \left(-\mathsf{fma}\left(z, c, \left(-i\right) \cdot t\right) \cdot b\right) + \color{blue}{\left(-a \cdot \left(t \cdot x\right)\right)} \]
      7. unsub-neg67.1%

        \[\leadsto \color{blue}{\left(-\mathsf{fma}\left(z, c, \left(-i\right) \cdot t\right) \cdot b\right) - a \cdot \left(t \cdot x\right)} \]
    7. Simplified67.1%

      \[\leadsto \color{blue}{b \cdot \left(t \cdot i - z \cdot c\right) - a \cdot \left(t \cdot x\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification69.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -2.35 \cdot 10^{+184}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;y \leq -2.15 \cdot 10^{+117}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right)\\ \mathbf{elif}\;y \leq -2 \cdot 10^{+93} \lor \neg \left(y \leq 1.9 \cdot 10^{-111} \lor \neg \left(y \leq 650\right) \land y \leq 1.25 \cdot 10^{+25}\right):\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right) - a \cdot \left(x \cdot t\right)\\ \end{array} \]

Alternative 6: 56.0% accurate, 1.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{if}\;y \leq -1.25 \cdot 10^{+185}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq -1.1 \cdot 10^{+117}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) - c \cdot \left(z \cdot b\right)\\ \mathbf{elif}\;y \leq -4.6 \cdot 10^{+91} \lor \neg \left(y \leq 4.1 \cdot 10^{-112}\right) \land \left(y \leq 800 \lor \neg \left(y \leq 1.2 \cdot 10^{+26}\right)\right):\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right) - a \cdot \left(x \cdot t\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* y (- (* x z) (* i j)))))
   (if (<= y -1.25e+185)
     t_1
     (if (<= y -1.1e+117)
       (- (* j (- (* a c) (* y i))) (* c (* z b)))
       (if (or (<= y -4.6e+91)
               (and (not (<= y 4.1e-112))
                    (or (<= y 800.0) (not (<= y 1.2e+26)))))
         t_1
         (- (* b (- (* t i) (* z c))) (* a (* x t))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = y * ((x * z) - (i * j));
	double tmp;
	if (y <= -1.25e+185) {
		tmp = t_1;
	} else if (y <= -1.1e+117) {
		tmp = (j * ((a * c) - (y * i))) - (c * (z * b));
	} else if ((y <= -4.6e+91) || (!(y <= 4.1e-112) && ((y <= 800.0) || !(y <= 1.2e+26)))) {
		tmp = t_1;
	} else {
		tmp = (b * ((t * i) - (z * c))) - (a * (x * t));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: tmp
    t_1 = y * ((x * z) - (i * j))
    if (y <= (-1.25d+185)) then
        tmp = t_1
    else if (y <= (-1.1d+117)) then
        tmp = (j * ((a * c) - (y * i))) - (c * (z * b))
    else if ((y <= (-4.6d+91)) .or. (.not. (y <= 4.1d-112)) .and. (y <= 800.0d0) .or. (.not. (y <= 1.2d+26))) then
        tmp = t_1
    else
        tmp = (b * ((t * i) - (z * c))) - (a * (x * t))
    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 t_1 = y * ((x * z) - (i * j));
	double tmp;
	if (y <= -1.25e+185) {
		tmp = t_1;
	} else if (y <= -1.1e+117) {
		tmp = (j * ((a * c) - (y * i))) - (c * (z * b));
	} else if ((y <= -4.6e+91) || (!(y <= 4.1e-112) && ((y <= 800.0) || !(y <= 1.2e+26)))) {
		tmp = t_1;
	} else {
		tmp = (b * ((t * i) - (z * c))) - (a * (x * t));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = y * ((x * z) - (i * j))
	tmp = 0
	if y <= -1.25e+185:
		tmp = t_1
	elif y <= -1.1e+117:
		tmp = (j * ((a * c) - (y * i))) - (c * (z * b))
	elif (y <= -4.6e+91) or (not (y <= 4.1e-112) and ((y <= 800.0) or not (y <= 1.2e+26))):
		tmp = t_1
	else:
		tmp = (b * ((t * i) - (z * c))) - (a * (x * t))
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(y * Float64(Float64(x * z) - Float64(i * j)))
	tmp = 0.0
	if (y <= -1.25e+185)
		tmp = t_1;
	elseif (y <= -1.1e+117)
		tmp = Float64(Float64(j * Float64(Float64(a * c) - Float64(y * i))) - Float64(c * Float64(z * b)));
	elseif ((y <= -4.6e+91) || (!(y <= 4.1e-112) && ((y <= 800.0) || !(y <= 1.2e+26))))
		tmp = t_1;
	else
		tmp = Float64(Float64(b * Float64(Float64(t * i) - Float64(z * c))) - Float64(a * Float64(x * t)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = y * ((x * z) - (i * j));
	tmp = 0.0;
	if (y <= -1.25e+185)
		tmp = t_1;
	elseif (y <= -1.1e+117)
		tmp = (j * ((a * c) - (y * i))) - (c * (z * b));
	elseif ((y <= -4.6e+91) || (~((y <= 4.1e-112)) && ((y <= 800.0) || ~((y <= 1.2e+26)))))
		tmp = t_1;
	else
		tmp = (b * ((t * i) - (z * c))) - (a * (x * t));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.25e+185], t$95$1, If[LessEqual[y, -1.1e+117], N[(N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[y, -4.6e+91], And[N[Not[LessEqual[y, 4.1e-112]], $MachinePrecision], Or[LessEqual[y, 800.0], N[Not[LessEqual[y, 1.2e+26]], $MachinePrecision]]]], t$95$1, N[(N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y \cdot \left(x \cdot z - i \cdot j\right)\\
\mathbf{if}\;y \leq -1.25 \cdot 10^{+185}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;y \leq -1.1 \cdot 10^{+117}:\\
\;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) - c \cdot \left(z \cdot b\right)\\

\mathbf{elif}\;y \leq -4.6 \cdot 10^{+91} \lor \neg \left(y \leq 4.1 \cdot 10^{-112}\right) \land \left(y \leq 800 \lor \neg \left(y \leq 1.2 \cdot 10^{+26}\right)\right):\\
\;\;\;\;t_1\\

\mathbf{else}:\\
\;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right) - a \cdot \left(x \cdot t\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if y < -1.24999999999999997e185 or -1.10000000000000007e117 < y < -4.59999999999999982e91 or 4.09999999999999996e-112 < y < 800 or 1.20000000000000002e26 < y

    1. Initial program 72.8%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-72.8%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative72.8%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg72.8%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg72.8%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative72.8%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified72.8%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in y around inf 72.2%

      \[\leadsto \color{blue}{\left(z \cdot x + -1 \cdot \left(i \cdot j\right)\right) \cdot y} \]
    5. Step-by-step derivation
      1. *-commutative72.2%

        \[\leadsto \color{blue}{y \cdot \left(z \cdot x + -1 \cdot \left(i \cdot j\right)\right)} \]
      2. mul-1-neg72.2%

        \[\leadsto y \cdot \left(z \cdot x + \color{blue}{\left(-i \cdot j\right)}\right) \]
      3. unsub-neg72.2%

        \[\leadsto y \cdot \color{blue}{\left(z \cdot x - i \cdot j\right)} \]
    6. Simplified72.2%

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

    if -1.24999999999999997e185 < y < -1.10000000000000007e117

    1. Initial program 70.8%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative70.8%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def75.8%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative75.8%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative75.8%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified75.8%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in x around 0 75.8%

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

      \[\leadsto \left(c \cdot a - i \cdot y\right) \cdot j - \color{blue}{c \cdot \left(z \cdot b\right)} \]

    if -4.59999999999999982e91 < y < 4.09999999999999996e-112 or 800 < y < 1.20000000000000002e26

    1. Initial program 84.2%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-84.2%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative84.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg84.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg84.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative84.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified84.2%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in j around 0 75.3%

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

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) - \left(c \cdot z - i \cdot t\right) \cdot b} \]
    6. Step-by-step derivation
      1. sub-neg67.1%

        \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(-\left(c \cdot z - i \cdot t\right) \cdot b\right)} \]
      2. cancel-sign-sub-inv67.1%

        \[\leadsto -1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(-\color{blue}{\left(c \cdot z + \left(-i\right) \cdot t\right)} \cdot b\right) \]
      3. *-commutative67.1%

        \[\leadsto -1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(-\left(\color{blue}{z \cdot c} + \left(-i\right) \cdot t\right) \cdot b\right) \]
      4. fma-udef67.1%

        \[\leadsto -1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(-\color{blue}{\mathsf{fma}\left(z, c, \left(-i\right) \cdot t\right)} \cdot b\right) \]
      5. +-commutative67.1%

        \[\leadsto \color{blue}{\left(-\mathsf{fma}\left(z, c, \left(-i\right) \cdot t\right) \cdot b\right) + -1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} \]
      6. mul-1-neg67.1%

        \[\leadsto \left(-\mathsf{fma}\left(z, c, \left(-i\right) \cdot t\right) \cdot b\right) + \color{blue}{\left(-a \cdot \left(t \cdot x\right)\right)} \]
      7. unsub-neg67.1%

        \[\leadsto \color{blue}{\left(-\mathsf{fma}\left(z, c, \left(-i\right) \cdot t\right) \cdot b\right) - a \cdot \left(t \cdot x\right)} \]
    7. Simplified67.1%

      \[\leadsto \color{blue}{b \cdot \left(t \cdot i - z \cdot c\right) - a \cdot \left(t \cdot x\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification69.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1.25 \cdot 10^{+185}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;y \leq -1.1 \cdot 10^{+117}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) - c \cdot \left(z \cdot b\right)\\ \mathbf{elif}\;y \leq -4.6 \cdot 10^{+91} \lor \neg \left(y \leq 4.1 \cdot 10^{-112}\right) \land \left(y \leq 800 \lor \neg \left(y \leq 1.2 \cdot 10^{+26}\right)\right):\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right) - a \cdot \left(x \cdot t\right)\\ \end{array} \]

Alternative 7: 58.1% accurate, 1.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot \left(y \cdot z - t \cdot a\right) - j \cdot \left(y \cdot i\right)\\ t_2 := j \cdot \left(a \cdot c - y \cdot i\right)\\ \mathbf{if}\;c \leq -6 \cdot 10^{+99}:\\ \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{elif}\;c \leq -3.8 \cdot 10^{-177}:\\ \;\;\;\;t_2 + b \cdot \left(t \cdot i\right)\\ \mathbf{elif}\;c \leq 5.8 \cdot 10^{-168}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 4.8 \cdot 10^{-130}:\\ \;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\ \mathbf{elif}\;c \leq 3.5 \cdot 10^{+114}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2 - c \cdot \left(z \cdot b\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (- (* x (- (* y z) (* t a))) (* j (* y i))))
        (t_2 (* j (- (* a c) (* y i)))))
   (if (<= c -6e+99)
     (* c (- (* a j) (* z b)))
     (if (<= c -3.8e-177)
       (+ t_2 (* b (* t i)))
       (if (<= c 5.8e-168)
         t_1
         (if (<= c 4.8e-130)
           (* i (- (* t b) (* y j)))
           (if (<= c 3.5e+114) t_1 (- t_2 (* c (* z b))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = (x * ((y * z) - (t * a))) - (j * (y * i));
	double t_2 = j * ((a * c) - (y * i));
	double tmp;
	if (c <= -6e+99) {
		tmp = c * ((a * j) - (z * b));
	} else if (c <= -3.8e-177) {
		tmp = t_2 + (b * (t * i));
	} else if (c <= 5.8e-168) {
		tmp = t_1;
	} else if (c <= 4.8e-130) {
		tmp = i * ((t * b) - (y * j));
	} else if (c <= 3.5e+114) {
		tmp = t_1;
	} else {
		tmp = t_2 - (c * (z * b));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = (x * ((y * z) - (t * a))) - (j * (y * i))
    t_2 = j * ((a * c) - (y * i))
    if (c <= (-6d+99)) then
        tmp = c * ((a * j) - (z * b))
    else if (c <= (-3.8d-177)) then
        tmp = t_2 + (b * (t * i))
    else if (c <= 5.8d-168) then
        tmp = t_1
    else if (c <= 4.8d-130) then
        tmp = i * ((t * b) - (y * j))
    else if (c <= 3.5d+114) then
        tmp = t_1
    else
        tmp = t_2 - (c * (z * b))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = (x * ((y * z) - (t * a))) - (j * (y * i));
	double t_2 = j * ((a * c) - (y * i));
	double tmp;
	if (c <= -6e+99) {
		tmp = c * ((a * j) - (z * b));
	} else if (c <= -3.8e-177) {
		tmp = t_2 + (b * (t * i));
	} else if (c <= 5.8e-168) {
		tmp = t_1;
	} else if (c <= 4.8e-130) {
		tmp = i * ((t * b) - (y * j));
	} else if (c <= 3.5e+114) {
		tmp = t_1;
	} else {
		tmp = t_2 - (c * (z * b));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = (x * ((y * z) - (t * a))) - (j * (y * i))
	t_2 = j * ((a * c) - (y * i))
	tmp = 0
	if c <= -6e+99:
		tmp = c * ((a * j) - (z * b))
	elif c <= -3.8e-177:
		tmp = t_2 + (b * (t * i))
	elif c <= 5.8e-168:
		tmp = t_1
	elif c <= 4.8e-130:
		tmp = i * ((t * b) - (y * j))
	elif c <= 3.5e+114:
		tmp = t_1
	else:
		tmp = t_2 - (c * (z * b))
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(j * Float64(y * i)))
	t_2 = Float64(j * Float64(Float64(a * c) - Float64(y * i)))
	tmp = 0.0
	if (c <= -6e+99)
		tmp = Float64(c * Float64(Float64(a * j) - Float64(z * b)));
	elseif (c <= -3.8e-177)
		tmp = Float64(t_2 + Float64(b * Float64(t * i)));
	elseif (c <= 5.8e-168)
		tmp = t_1;
	elseif (c <= 4.8e-130)
		tmp = Float64(i * Float64(Float64(t * b) - Float64(y * j)));
	elseif (c <= 3.5e+114)
		tmp = t_1;
	else
		tmp = Float64(t_2 - Float64(c * Float64(z * b)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = (x * ((y * z) - (t * a))) - (j * (y * i));
	t_2 = j * ((a * c) - (y * i));
	tmp = 0.0;
	if (c <= -6e+99)
		tmp = c * ((a * j) - (z * b));
	elseif (c <= -3.8e-177)
		tmp = t_2 + (b * (t * i));
	elseif (c <= 5.8e-168)
		tmp = t_1;
	elseif (c <= 4.8e-130)
		tmp = i * ((t * b) - (y * j));
	elseif (c <= 3.5e+114)
		tmp = t_1;
	else
		tmp = t_2 - (c * (z * b));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(j * N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -6e+99], N[(c * N[(N[(a * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -3.8e-177], N[(t$95$2 + N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5.8e-168], t$95$1, If[LessEqual[c, 4.8e-130], N[(i * N[(N[(t * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3.5e+114], t$95$1, N[(t$95$2 - N[(c * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := x \cdot \left(y \cdot z - t \cdot a\right) - j \cdot \left(y \cdot i\right)\\
t_2 := j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{if}\;c \leq -6 \cdot 10^{+99}:\\
\;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\

\mathbf{elif}\;c \leq -3.8 \cdot 10^{-177}:\\
\;\;\;\;t_2 + b \cdot \left(t \cdot i\right)\\

\mathbf{elif}\;c \leq 5.8 \cdot 10^{-168}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;c \leq 4.8 \cdot 10^{-130}:\\
\;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\

\mathbf{elif}\;c \leq 3.5 \cdot 10^{+114}:\\
\;\;\;\;t_1\\

\mathbf{else}:\\
\;\;\;\;t_2 - c \cdot \left(z \cdot b\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if c < -6.00000000000000029e99

    1. Initial program 69.9%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-69.9%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative69.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg69.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg69.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative69.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified69.9%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in c around inf 72.0%

      \[\leadsto \color{blue}{c \cdot \left(a \cdot j - z \cdot b\right)} \]

    if -6.00000000000000029e99 < c < -3.80000000000000004e-177

    1. Initial program 76.3%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative76.3%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def81.4%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative81.4%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative81.4%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified81.4%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in x around 0 67.0%

      \[\leadsto \color{blue}{\left(c \cdot a - i \cdot y\right) \cdot j - \left(c \cdot z - i \cdot t\right) \cdot b} \]
    5. Taylor expanded in c around 0 66.8%

      \[\leadsto \left(c \cdot a - i \cdot y\right) \cdot j - \color{blue}{\left(-1 \cdot \left(i \cdot t\right)\right)} \cdot b \]
    6. Step-by-step derivation
      1. neg-mul-166.8%

        \[\leadsto \left(c \cdot a - i \cdot y\right) \cdot j - \color{blue}{\left(-i \cdot t\right)} \cdot b \]
      2. distribute-rgt-neg-in66.8%

        \[\leadsto \left(c \cdot a - i \cdot y\right) \cdot j - \color{blue}{\left(i \cdot \left(-t\right)\right)} \cdot b \]
    7. Simplified66.8%

      \[\leadsto \left(c \cdot a - i \cdot y\right) \cdot j - \color{blue}{\left(i \cdot \left(-t\right)\right)} \cdot b \]

    if -3.80000000000000004e-177 < c < 5.7999999999999997e-168 or 4.79999999999999993e-130 < c < 3.5000000000000001e114

    1. Initial program 87.6%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative87.6%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def87.6%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative87.6%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative87.6%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified87.6%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in b around 0 75.7%

      \[\leadsto \color{blue}{\left(y \cdot z - a \cdot t\right) \cdot x + \left(c \cdot a - i \cdot y\right) \cdot j} \]
    5. Taylor expanded in c around 0 75.8%

      \[\leadsto \left(y \cdot z - a \cdot t\right) \cdot x + \color{blue}{\left(-1 \cdot \left(y \cdot i\right)\right)} \cdot j \]
    6. Step-by-step derivation
      1. mul-1-neg75.8%

        \[\leadsto \left(y \cdot z - a \cdot t\right) \cdot x + \color{blue}{\left(-y \cdot i\right)} \cdot j \]
      2. distribute-rgt-neg-out75.8%

        \[\leadsto \left(y \cdot z - a \cdot t\right) \cdot x + \color{blue}{\left(y \cdot \left(-i\right)\right)} \cdot j \]
    7. Simplified75.8%

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

    if 5.7999999999999997e-168 < c < 4.79999999999999993e-130

    1. Initial program 67.7%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-67.7%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative67.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg67.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg67.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative67.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified67.7%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in i around inf 83.4%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j\right) - -1 \cdot \left(t \cdot b\right)\right)} \]
    5. Step-by-step derivation
      1. cancel-sign-sub-inv83.4%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right) + \left(--1\right) \cdot \left(t \cdot b\right)\right)} \]
      2. metadata-eval83.4%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{1} \cdot \left(t \cdot b\right)\right) \]
      3. *-lft-identity83.4%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{t \cdot b}\right) \]
      4. +-commutative83.4%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b + -1 \cdot \left(y \cdot j\right)\right)} \]
      5. mul-1-neg83.4%

        \[\leadsto i \cdot \left(t \cdot b + \color{blue}{\left(-y \cdot j\right)}\right) \]
      6. unsub-neg83.4%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b - y \cdot j\right)} \]
    6. Simplified83.4%

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

    if 3.5000000000000001e114 < c

    1. Initial program 71.8%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative71.8%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def71.8%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative71.8%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative71.8%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified71.8%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in x around 0 75.0%

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

      \[\leadsto \left(c \cdot a - i \cdot y\right) \cdot j - \color{blue}{c \cdot \left(z \cdot b\right)} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification73.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -6 \cdot 10^{+99}:\\ \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{elif}\;c \leq -3.8 \cdot 10^{-177}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + b \cdot \left(t \cdot i\right)\\ \mathbf{elif}\;c \leq 5.8 \cdot 10^{-168}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) - j \cdot \left(y \cdot i\right)\\ \mathbf{elif}\;c \leq 4.8 \cdot 10^{-130}:\\ \;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\ \mathbf{elif}\;c \leq 3.5 \cdot 10^{+114}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) - j \cdot \left(y \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) - c \cdot \left(z \cdot b\right)\\ \end{array} \]

Alternative 8: 51.5% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(x \cdot z - i \cdot j\right)\\ t_2 := i \cdot \left(t \cdot b - y \cdot j\right)\\ t_3 := c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{if}\;c \leq -1.35 \cdot 10^{+138}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -6 \cdot 10^{+23}:\\ \;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\ \mathbf{elif}\;c \leq -1.76 \cdot 10^{-25}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 3.4 \cdot 10^{-275}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 2.1 \cdot 10^{-196}:\\ \;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\ \mathbf{elif}\;c \leq 5 \cdot 10^{-130}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 6.5 \cdot 10^{+119}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* y (- (* x z) (* i j))))
        (t_2 (* i (- (* t b) (* y j))))
        (t_3 (* c (- (* a j) (* z b)))))
   (if (<= c -1.35e+138)
     t_3
     (if (<= c -6e+23)
       (* b (- (* t i) (* z c)))
       (if (<= c -1.76e-25)
         t_1
         (if (<= c 3.4e-275)
           t_2
           (if (<= c 2.1e-196)
             (* t (- (* b i) (* x a)))
             (if (<= c 5e-130) t_2 (if (<= c 6.5e+119) t_1 t_3)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = y * ((x * z) - (i * j));
	double t_2 = i * ((t * b) - (y * j));
	double t_3 = c * ((a * j) - (z * b));
	double tmp;
	if (c <= -1.35e+138) {
		tmp = t_3;
	} else if (c <= -6e+23) {
		tmp = b * ((t * i) - (z * c));
	} else if (c <= -1.76e-25) {
		tmp = t_1;
	} else if (c <= 3.4e-275) {
		tmp = t_2;
	} else if (c <= 2.1e-196) {
		tmp = t * ((b * i) - (x * a));
	} else if (c <= 5e-130) {
		tmp = t_2;
	} else if (c <= 6.5e+119) {
		tmp = t_1;
	} else {
		tmp = t_3;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = y * ((x * z) - (i * j))
    t_2 = i * ((t * b) - (y * j))
    t_3 = c * ((a * j) - (z * b))
    if (c <= (-1.35d+138)) then
        tmp = t_3
    else if (c <= (-6d+23)) then
        tmp = b * ((t * i) - (z * c))
    else if (c <= (-1.76d-25)) then
        tmp = t_1
    else if (c <= 3.4d-275) then
        tmp = t_2
    else if (c <= 2.1d-196) then
        tmp = t * ((b * i) - (x * a))
    else if (c <= 5d-130) then
        tmp = t_2
    else if (c <= 6.5d+119) then
        tmp = t_1
    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 t_1 = y * ((x * z) - (i * j));
	double t_2 = i * ((t * b) - (y * j));
	double t_3 = c * ((a * j) - (z * b));
	double tmp;
	if (c <= -1.35e+138) {
		tmp = t_3;
	} else if (c <= -6e+23) {
		tmp = b * ((t * i) - (z * c));
	} else if (c <= -1.76e-25) {
		tmp = t_1;
	} else if (c <= 3.4e-275) {
		tmp = t_2;
	} else if (c <= 2.1e-196) {
		tmp = t * ((b * i) - (x * a));
	} else if (c <= 5e-130) {
		tmp = t_2;
	} else if (c <= 6.5e+119) {
		tmp = t_1;
	} else {
		tmp = t_3;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = y * ((x * z) - (i * j))
	t_2 = i * ((t * b) - (y * j))
	t_3 = c * ((a * j) - (z * b))
	tmp = 0
	if c <= -1.35e+138:
		tmp = t_3
	elif c <= -6e+23:
		tmp = b * ((t * i) - (z * c))
	elif c <= -1.76e-25:
		tmp = t_1
	elif c <= 3.4e-275:
		tmp = t_2
	elif c <= 2.1e-196:
		tmp = t * ((b * i) - (x * a))
	elif c <= 5e-130:
		tmp = t_2
	elif c <= 6.5e+119:
		tmp = t_1
	else:
		tmp = t_3
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(y * Float64(Float64(x * z) - Float64(i * j)))
	t_2 = Float64(i * Float64(Float64(t * b) - Float64(y * j)))
	t_3 = Float64(c * Float64(Float64(a * j) - Float64(z * b)))
	tmp = 0.0
	if (c <= -1.35e+138)
		tmp = t_3;
	elseif (c <= -6e+23)
		tmp = Float64(b * Float64(Float64(t * i) - Float64(z * c)));
	elseif (c <= -1.76e-25)
		tmp = t_1;
	elseif (c <= 3.4e-275)
		tmp = t_2;
	elseif (c <= 2.1e-196)
		tmp = Float64(t * Float64(Float64(b * i) - Float64(x * a)));
	elseif (c <= 5e-130)
		tmp = t_2;
	elseif (c <= 6.5e+119)
		tmp = t_1;
	else
		tmp = t_3;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = y * ((x * z) - (i * j));
	t_2 = i * ((t * b) - (y * j));
	t_3 = c * ((a * j) - (z * b));
	tmp = 0.0;
	if (c <= -1.35e+138)
		tmp = t_3;
	elseif (c <= -6e+23)
		tmp = b * ((t * i) - (z * c));
	elseif (c <= -1.76e-25)
		tmp = t_1;
	elseif (c <= 3.4e-275)
		tmp = t_2;
	elseif (c <= 2.1e-196)
		tmp = t * ((b * i) - (x * a));
	elseif (c <= 5e-130)
		tmp = t_2;
	elseif (c <= 6.5e+119)
		tmp = t_1;
	else
		tmp = t_3;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(i * N[(N[(t * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(c * N[(N[(a * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -1.35e+138], t$95$3, If[LessEqual[c, -6e+23], N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -1.76e-25], t$95$1, If[LessEqual[c, 3.4e-275], t$95$2, If[LessEqual[c, 2.1e-196], N[(t * N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5e-130], t$95$2, If[LessEqual[c, 6.5e+119], t$95$1, t$95$3]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y \cdot \left(x \cdot z - i \cdot j\right)\\
t_2 := i \cdot \left(t \cdot b - y \cdot j\right)\\
t_3 := c \cdot \left(a \cdot j - z \cdot b\right)\\
\mathbf{if}\;c \leq -1.35 \cdot 10^{+138}:\\
\;\;\;\;t_3\\

\mathbf{elif}\;c \leq -6 \cdot 10^{+23}:\\
\;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\

\mathbf{elif}\;c \leq -1.76 \cdot 10^{-25}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;c \leq 3.4 \cdot 10^{-275}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;c \leq 2.1 \cdot 10^{-196}:\\
\;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\

\mathbf{elif}\;c \leq 5 \cdot 10^{-130}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;c \leq 6.5 \cdot 10^{+119}:\\
\;\;\;\;t_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if c < -1.35000000000000004e138 or 6.4999999999999997e119 < c

    1. Initial program 70.6%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-70.6%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative70.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg70.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg70.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative70.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified70.6%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in c around inf 75.8%

      \[\leadsto \color{blue}{c \cdot \left(a \cdot j - z \cdot b\right)} \]

    if -1.35000000000000004e138 < c < -6.0000000000000002e23

    1. Initial program 66.9%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-66.9%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative66.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg66.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg66.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative66.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified66.9%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in b around inf 62.2%

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

    if -6.0000000000000002e23 < c < -1.7600000000000001e-25 or 4.9999999999999996e-130 < c < 6.4999999999999997e119

    1. Initial program 82.5%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-82.5%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative82.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg82.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg82.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative82.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified82.5%

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

      \[\leadsto \color{blue}{\left(z \cdot x + -1 \cdot \left(i \cdot j\right)\right) \cdot y} \]
    5. Step-by-step derivation
      1. *-commutative58.7%

        \[\leadsto \color{blue}{y \cdot \left(z \cdot x + -1 \cdot \left(i \cdot j\right)\right)} \]
      2. mul-1-neg58.7%

        \[\leadsto y \cdot \left(z \cdot x + \color{blue}{\left(-i \cdot j\right)}\right) \]
      3. unsub-neg58.7%

        \[\leadsto y \cdot \color{blue}{\left(z \cdot x - i \cdot j\right)} \]
    6. Simplified58.7%

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

    if -1.7600000000000001e-25 < c < 3.39999999999999968e-275 or 2.09999999999999988e-196 < c < 4.9999999999999996e-130

    1. Initial program 81.5%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-81.5%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative81.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg81.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg81.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative81.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified81.5%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in i around inf 63.6%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j\right) - -1 \cdot \left(t \cdot b\right)\right)} \]
    5. Step-by-step derivation
      1. cancel-sign-sub-inv63.6%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right) + \left(--1\right) \cdot \left(t \cdot b\right)\right)} \]
      2. metadata-eval63.6%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{1} \cdot \left(t \cdot b\right)\right) \]
      3. *-lft-identity63.6%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{t \cdot b}\right) \]
      4. +-commutative63.6%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b + -1 \cdot \left(y \cdot j\right)\right)} \]
      5. mul-1-neg63.6%

        \[\leadsto i \cdot \left(t \cdot b + \color{blue}{\left(-y \cdot j\right)}\right) \]
      6. unsub-neg63.6%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b - y \cdot j\right)} \]
    6. Simplified63.6%

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

    if 3.39999999999999968e-275 < c < 2.09999999999999988e-196

    1. Initial program 99.9%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-99.9%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative99.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg99.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg99.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative99.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified99.9%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in t around inf 72.4%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right) \cdot t} \]
    5. Step-by-step derivation
      1. *-commutative72.4%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right)} \]
      2. cancel-sign-sub-inv72.4%

        \[\leadsto t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right) + \left(--1\right) \cdot \left(i \cdot b\right)\right)} \]
      3. metadata-eval72.4%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{1} \cdot \left(i \cdot b\right)\right) \]
      4. *-lft-identity72.4%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{i \cdot b}\right) \]
      5. +-commutative72.4%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b + -1 \cdot \left(a \cdot x\right)\right)} \]
      6. mul-1-neg72.4%

        \[\leadsto t \cdot \left(i \cdot b + \color{blue}{\left(-a \cdot x\right)}\right) \]
      7. unsub-neg72.4%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b - a \cdot x\right)} \]
    6. Simplified72.4%

      \[\leadsto \color{blue}{t \cdot \left(i \cdot b - a \cdot x\right)} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification66.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -1.35 \cdot 10^{+138}:\\ \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{elif}\;c \leq -6 \cdot 10^{+23}:\\ \;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\ \mathbf{elif}\;c \leq -1.76 \cdot 10^{-25}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;c \leq 3.4 \cdot 10^{-275}:\\ \;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\ \mathbf{elif}\;c \leq 2.1 \cdot 10^{-196}:\\ \;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\ \mathbf{elif}\;c \leq 5 \cdot 10^{-130}:\\ \;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\ \mathbf{elif}\;c \leq 6.5 \cdot 10^{+119}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\ \end{array} \]

Alternative 9: 51.7% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_2 := i \cdot \left(t \cdot b - y \cdot j\right)\\ t_3 := c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{if}\;c \leq -6 \cdot 10^{+99}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -2.35 \cdot 10^{+16}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq -2.6 \cdot 10^{-19}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 3.3 \cdot 10^{-289}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 5.1 \cdot 10^{-158}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 1.85 \cdot 10^{-129}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 4.5 \cdot 10^{+113}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* x (- (* y z) (* t a))))
        (t_2 (* i (- (* t b) (* y j))))
        (t_3 (* c (- (* a j) (* z b)))))
   (if (<= c -6e+99)
     t_3
     (if (<= c -2.35e+16)
       t_2
       (if (<= c -2.6e-19)
         t_1
         (if (<= c 3.3e-289)
           t_2
           (if (<= c 5.1e-158)
             t_1
             (if (<= c 1.85e-129) t_2 (if (<= c 4.5e+113) t_1 t_3)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = x * ((y * z) - (t * a));
	double t_2 = i * ((t * b) - (y * j));
	double t_3 = c * ((a * j) - (z * b));
	double tmp;
	if (c <= -6e+99) {
		tmp = t_3;
	} else if (c <= -2.35e+16) {
		tmp = t_2;
	} else if (c <= -2.6e-19) {
		tmp = t_1;
	} else if (c <= 3.3e-289) {
		tmp = t_2;
	} else if (c <= 5.1e-158) {
		tmp = t_1;
	} else if (c <= 1.85e-129) {
		tmp = t_2;
	} else if (c <= 4.5e+113) {
		tmp = t_1;
	} else {
		tmp = t_3;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = x * ((y * z) - (t * a))
    t_2 = i * ((t * b) - (y * j))
    t_3 = c * ((a * j) - (z * b))
    if (c <= (-6d+99)) then
        tmp = t_3
    else if (c <= (-2.35d+16)) then
        tmp = t_2
    else if (c <= (-2.6d-19)) then
        tmp = t_1
    else if (c <= 3.3d-289) then
        tmp = t_2
    else if (c <= 5.1d-158) then
        tmp = t_1
    else if (c <= 1.85d-129) then
        tmp = t_2
    else if (c <= 4.5d+113) then
        tmp = t_1
    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 t_1 = x * ((y * z) - (t * a));
	double t_2 = i * ((t * b) - (y * j));
	double t_3 = c * ((a * j) - (z * b));
	double tmp;
	if (c <= -6e+99) {
		tmp = t_3;
	} else if (c <= -2.35e+16) {
		tmp = t_2;
	} else if (c <= -2.6e-19) {
		tmp = t_1;
	} else if (c <= 3.3e-289) {
		tmp = t_2;
	} else if (c <= 5.1e-158) {
		tmp = t_1;
	} else if (c <= 1.85e-129) {
		tmp = t_2;
	} else if (c <= 4.5e+113) {
		tmp = t_1;
	} else {
		tmp = t_3;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = x * ((y * z) - (t * a))
	t_2 = i * ((t * b) - (y * j))
	t_3 = c * ((a * j) - (z * b))
	tmp = 0
	if c <= -6e+99:
		tmp = t_3
	elif c <= -2.35e+16:
		tmp = t_2
	elif c <= -2.6e-19:
		tmp = t_1
	elif c <= 3.3e-289:
		tmp = t_2
	elif c <= 5.1e-158:
		tmp = t_1
	elif c <= 1.85e-129:
		tmp = t_2
	elif c <= 4.5e+113:
		tmp = t_1
	else:
		tmp = t_3
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(x * Float64(Float64(y * z) - Float64(t * a)))
	t_2 = Float64(i * Float64(Float64(t * b) - Float64(y * j)))
	t_3 = Float64(c * Float64(Float64(a * j) - Float64(z * b)))
	tmp = 0.0
	if (c <= -6e+99)
		tmp = t_3;
	elseif (c <= -2.35e+16)
		tmp = t_2;
	elseif (c <= -2.6e-19)
		tmp = t_1;
	elseif (c <= 3.3e-289)
		tmp = t_2;
	elseif (c <= 5.1e-158)
		tmp = t_1;
	elseif (c <= 1.85e-129)
		tmp = t_2;
	elseif (c <= 4.5e+113)
		tmp = t_1;
	else
		tmp = t_3;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = x * ((y * z) - (t * a));
	t_2 = i * ((t * b) - (y * j));
	t_3 = c * ((a * j) - (z * b));
	tmp = 0.0;
	if (c <= -6e+99)
		tmp = t_3;
	elseif (c <= -2.35e+16)
		tmp = t_2;
	elseif (c <= -2.6e-19)
		tmp = t_1;
	elseif (c <= 3.3e-289)
		tmp = t_2;
	elseif (c <= 5.1e-158)
		tmp = t_1;
	elseif (c <= 1.85e-129)
		tmp = t_2;
	elseif (c <= 4.5e+113)
		tmp = t_1;
	else
		tmp = t_3;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(i * N[(N[(t * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(c * N[(N[(a * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -6e+99], t$95$3, If[LessEqual[c, -2.35e+16], t$95$2, If[LessEqual[c, -2.6e-19], t$95$1, If[LessEqual[c, 3.3e-289], t$95$2, If[LessEqual[c, 5.1e-158], t$95$1, If[LessEqual[c, 1.85e-129], t$95$2, If[LessEqual[c, 4.5e+113], t$95$1, t$95$3]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := x \cdot \left(y \cdot z - t \cdot a\right)\\
t_2 := i \cdot \left(t \cdot b - y \cdot j\right)\\
t_3 := c \cdot \left(a \cdot j - z \cdot b\right)\\
\mathbf{if}\;c \leq -6 \cdot 10^{+99}:\\
\;\;\;\;t_3\\

\mathbf{elif}\;c \leq -2.35 \cdot 10^{+16}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;c \leq -2.6 \cdot 10^{-19}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;c \leq 3.3 \cdot 10^{-289}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;c \leq 5.1 \cdot 10^{-158}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;c \leq 1.85 \cdot 10^{-129}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;c \leq 4.5 \cdot 10^{+113}:\\
\;\;\;\;t_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if c < -6.00000000000000029e99 or 4.5000000000000001e113 < c

    1. Initial program 70.6%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-70.6%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative70.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg70.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg70.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative70.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified70.6%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in c around inf 72.1%

      \[\leadsto \color{blue}{c \cdot \left(a \cdot j - z \cdot b\right)} \]

    if -6.00000000000000029e99 < c < -2.35e16 or -2.60000000000000013e-19 < c < 3.29999999999999997e-289 or 5.1000000000000003e-158 < c < 1.8500000000000001e-129

    1. Initial program 81.0%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-81.0%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative81.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg81.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg81.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative81.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified81.0%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in i around inf 66.9%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j\right) - -1 \cdot \left(t \cdot b\right)\right)} \]
    5. Step-by-step derivation
      1. cancel-sign-sub-inv66.9%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right) + \left(--1\right) \cdot \left(t \cdot b\right)\right)} \]
      2. metadata-eval66.9%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{1} \cdot \left(t \cdot b\right)\right) \]
      3. *-lft-identity66.9%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{t \cdot b}\right) \]
      4. +-commutative66.9%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b + -1 \cdot \left(y \cdot j\right)\right)} \]
      5. mul-1-neg66.9%

        \[\leadsto i \cdot \left(t \cdot b + \color{blue}{\left(-y \cdot j\right)}\right) \]
      6. unsub-neg66.9%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b - y \cdot j\right)} \]
    6. Simplified66.9%

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

    if -2.35e16 < c < -2.60000000000000013e-19 or 3.29999999999999997e-289 < c < 5.1000000000000003e-158 or 1.8500000000000001e-129 < c < 4.5000000000000001e113

    1. Initial program 83.7%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-83.7%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative83.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg83.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg83.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative83.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified83.7%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in j around 0 74.0%

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

      \[\leadsto \color{blue}{\left(y \cdot z - a \cdot t\right) \cdot x} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification68.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -6 \cdot 10^{+99}:\\ \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{elif}\;c \leq -2.35 \cdot 10^{+16}:\\ \;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\ \mathbf{elif}\;c \leq -2.6 \cdot 10^{-19}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{elif}\;c \leq 3.3 \cdot 10^{-289}:\\ \;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\ \mathbf{elif}\;c \leq 5.1 \cdot 10^{-158}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{elif}\;c \leq 1.85 \cdot 10^{-129}:\\ \;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\ \mathbf{elif}\;c \leq 4.5 \cdot 10^{+113}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\ \end{array} \]

Alternative 10: 51.1% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_2 := i \cdot \left(t \cdot b - y \cdot j\right)\\ t_3 := c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{if}\;c \leq -6 \cdot 10^{+99}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -4.3 \cdot 10^{+16}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq -7.5 \cdot 10^{-20}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 1.3 \cdot 10^{-288}:\\ \;\;\;\;i \cdot \left(t \cdot b\right) - i \cdot \left(y \cdot j\right)\\ \mathbf{elif}\;c \leq 1.14 \cdot 10^{-156}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 1.1 \cdot 10^{-129}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 10^{+114}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* x (- (* y z) (* t a))))
        (t_2 (* i (- (* t b) (* y j))))
        (t_3 (* c (- (* a j) (* z b)))))
   (if (<= c -6e+99)
     t_3
     (if (<= c -4.3e+16)
       t_2
       (if (<= c -7.5e-20)
         t_1
         (if (<= c 1.3e-288)
           (- (* i (* t b)) (* i (* y j)))
           (if (<= c 1.14e-156)
             t_1
             (if (<= c 1.1e-129) t_2 (if (<= c 1e+114) t_1 t_3)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = x * ((y * z) - (t * a));
	double t_2 = i * ((t * b) - (y * j));
	double t_3 = c * ((a * j) - (z * b));
	double tmp;
	if (c <= -6e+99) {
		tmp = t_3;
	} else if (c <= -4.3e+16) {
		tmp = t_2;
	} else if (c <= -7.5e-20) {
		tmp = t_1;
	} else if (c <= 1.3e-288) {
		tmp = (i * (t * b)) - (i * (y * j));
	} else if (c <= 1.14e-156) {
		tmp = t_1;
	} else if (c <= 1.1e-129) {
		tmp = t_2;
	} else if (c <= 1e+114) {
		tmp = t_1;
	} else {
		tmp = t_3;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = x * ((y * z) - (t * a))
    t_2 = i * ((t * b) - (y * j))
    t_3 = c * ((a * j) - (z * b))
    if (c <= (-6d+99)) then
        tmp = t_3
    else if (c <= (-4.3d+16)) then
        tmp = t_2
    else if (c <= (-7.5d-20)) then
        tmp = t_1
    else if (c <= 1.3d-288) then
        tmp = (i * (t * b)) - (i * (y * j))
    else if (c <= 1.14d-156) then
        tmp = t_1
    else if (c <= 1.1d-129) then
        tmp = t_2
    else if (c <= 1d+114) then
        tmp = t_1
    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 t_1 = x * ((y * z) - (t * a));
	double t_2 = i * ((t * b) - (y * j));
	double t_3 = c * ((a * j) - (z * b));
	double tmp;
	if (c <= -6e+99) {
		tmp = t_3;
	} else if (c <= -4.3e+16) {
		tmp = t_2;
	} else if (c <= -7.5e-20) {
		tmp = t_1;
	} else if (c <= 1.3e-288) {
		tmp = (i * (t * b)) - (i * (y * j));
	} else if (c <= 1.14e-156) {
		tmp = t_1;
	} else if (c <= 1.1e-129) {
		tmp = t_2;
	} else if (c <= 1e+114) {
		tmp = t_1;
	} else {
		tmp = t_3;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = x * ((y * z) - (t * a))
	t_2 = i * ((t * b) - (y * j))
	t_3 = c * ((a * j) - (z * b))
	tmp = 0
	if c <= -6e+99:
		tmp = t_3
	elif c <= -4.3e+16:
		tmp = t_2
	elif c <= -7.5e-20:
		tmp = t_1
	elif c <= 1.3e-288:
		tmp = (i * (t * b)) - (i * (y * j))
	elif c <= 1.14e-156:
		tmp = t_1
	elif c <= 1.1e-129:
		tmp = t_2
	elif c <= 1e+114:
		tmp = t_1
	else:
		tmp = t_3
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(x * Float64(Float64(y * z) - Float64(t * a)))
	t_2 = Float64(i * Float64(Float64(t * b) - Float64(y * j)))
	t_3 = Float64(c * Float64(Float64(a * j) - Float64(z * b)))
	tmp = 0.0
	if (c <= -6e+99)
		tmp = t_3;
	elseif (c <= -4.3e+16)
		tmp = t_2;
	elseif (c <= -7.5e-20)
		tmp = t_1;
	elseif (c <= 1.3e-288)
		tmp = Float64(Float64(i * Float64(t * b)) - Float64(i * Float64(y * j)));
	elseif (c <= 1.14e-156)
		tmp = t_1;
	elseif (c <= 1.1e-129)
		tmp = t_2;
	elseif (c <= 1e+114)
		tmp = t_1;
	else
		tmp = t_3;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = x * ((y * z) - (t * a));
	t_2 = i * ((t * b) - (y * j));
	t_3 = c * ((a * j) - (z * b));
	tmp = 0.0;
	if (c <= -6e+99)
		tmp = t_3;
	elseif (c <= -4.3e+16)
		tmp = t_2;
	elseif (c <= -7.5e-20)
		tmp = t_1;
	elseif (c <= 1.3e-288)
		tmp = (i * (t * b)) - (i * (y * j));
	elseif (c <= 1.14e-156)
		tmp = t_1;
	elseif (c <= 1.1e-129)
		tmp = t_2;
	elseif (c <= 1e+114)
		tmp = t_1;
	else
		tmp = t_3;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(i * N[(N[(t * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(c * N[(N[(a * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -6e+99], t$95$3, If[LessEqual[c, -4.3e+16], t$95$2, If[LessEqual[c, -7.5e-20], t$95$1, If[LessEqual[c, 1.3e-288], N[(N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision] - N[(i * N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.14e-156], t$95$1, If[LessEqual[c, 1.1e-129], t$95$2, If[LessEqual[c, 1e+114], t$95$1, t$95$3]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := x \cdot \left(y \cdot z - t \cdot a\right)\\
t_2 := i \cdot \left(t \cdot b - y \cdot j\right)\\
t_3 := c \cdot \left(a \cdot j - z \cdot b\right)\\
\mathbf{if}\;c \leq -6 \cdot 10^{+99}:\\
\;\;\;\;t_3\\

\mathbf{elif}\;c \leq -4.3 \cdot 10^{+16}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;c \leq -7.5 \cdot 10^{-20}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;c \leq 1.3 \cdot 10^{-288}:\\
\;\;\;\;i \cdot \left(t \cdot b\right) - i \cdot \left(y \cdot j\right)\\

\mathbf{elif}\;c \leq 1.14 \cdot 10^{-156}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;c \leq 1.1 \cdot 10^{-129}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;c \leq 10^{+114}:\\
\;\;\;\;t_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if c < -6.00000000000000029e99 or 1e114 < c

    1. Initial program 70.6%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-70.6%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative70.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg70.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg70.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative70.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified70.6%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in c around inf 72.1%

      \[\leadsto \color{blue}{c \cdot \left(a \cdot j - z \cdot b\right)} \]

    if -6.00000000000000029e99 < c < -4.3e16 or 1.14e-156 < c < 1.10000000000000001e-129

    1. Initial program 70.1%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-70.1%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative70.1%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg70.1%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg70.1%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative70.1%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified70.1%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in i around inf 79.2%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j\right) - -1 \cdot \left(t \cdot b\right)\right)} \]
    5. Step-by-step derivation
      1. cancel-sign-sub-inv79.2%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right) + \left(--1\right) \cdot \left(t \cdot b\right)\right)} \]
      2. metadata-eval79.2%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{1} \cdot \left(t \cdot b\right)\right) \]
      3. *-lft-identity79.2%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{t \cdot b}\right) \]
      4. +-commutative79.2%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b + -1 \cdot \left(y \cdot j\right)\right)} \]
      5. mul-1-neg79.2%

        \[\leadsto i \cdot \left(t \cdot b + \color{blue}{\left(-y \cdot j\right)}\right) \]
      6. unsub-neg79.2%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b - y \cdot j\right)} \]
    6. Simplified79.2%

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

    if -4.3e16 < c < -7.49999999999999981e-20 or 1.29999999999999995e-288 < c < 1.14e-156 or 1.10000000000000001e-129 < c < 1e114

    1. Initial program 83.7%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-83.7%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative83.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg83.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg83.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative83.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified83.7%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in j around 0 74.0%

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

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

    if -7.49999999999999981e-20 < c < 1.29999999999999995e-288

    1. Initial program 84.7%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative84.7%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def86.3%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified86.3%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in x around 0 69.6%

      \[\leadsto \color{blue}{\left(c \cdot a - i \cdot y\right) \cdot j - \left(c \cdot z - i \cdot t\right) \cdot b} \]
    5. Taylor expanded in c around 0 62.7%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(y \cdot j\right)\right) - -1 \cdot \left(i \cdot \left(t \cdot b\right)\right)} \]
    6. Step-by-step derivation
      1. distribute-lft-out--62.7%

        \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(y \cdot j\right) - i \cdot \left(t \cdot b\right)\right)} \]
    7. Simplified62.7%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(y \cdot j\right) - i \cdot \left(t \cdot b\right)\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification68.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -6 \cdot 10^{+99}:\\ \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{elif}\;c \leq -4.3 \cdot 10^{+16}:\\ \;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\ \mathbf{elif}\;c \leq -7.5 \cdot 10^{-20}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{elif}\;c \leq 1.3 \cdot 10^{-288}:\\ \;\;\;\;i \cdot \left(t \cdot b\right) - i \cdot \left(y \cdot j\right)\\ \mathbf{elif}\;c \leq 1.14 \cdot 10^{-156}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{elif}\;c \leq 1.1 \cdot 10^{-129}:\\ \;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\ \mathbf{elif}\;c \leq 10^{+114}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\ \end{array} \]

Alternative 11: 66.1% accurate, 1.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -2.2 \cdot 10^{+64}:\\ \;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\ \mathbf{elif}\;t \leq 2.1 \cdot 10^{+65}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(c \cdot j - x \cdot t\right) + b \cdot \left(t \cdot i - z \cdot c\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (<= t -2.2e+64)
   (* t (- (* b i) (* x a)))
   (if (<= t 2.1e+65)
     (+ (* j (- (* a c) (* y i))) (* z (- (* x y) (* b c))))
     (+ (* a (- (* c j) (* x t))) (* b (- (* t i) (* z c)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (t <= -2.2e+64) {
		tmp = t * ((b * i) - (x * a));
	} else if (t <= 2.1e+65) {
		tmp = (j * ((a * c) - (y * i))) + (z * ((x * y) - (b * c)));
	} else {
		tmp = (a * ((c * j) - (x * t))) + (b * ((t * i) - (z * c)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: tmp
    if (t <= (-2.2d+64)) then
        tmp = t * ((b * i) - (x * a))
    else if (t <= 2.1d+65) then
        tmp = (j * ((a * c) - (y * i))) + (z * ((x * y) - (b * c)))
    else
        tmp = (a * ((c * j) - (x * t))) + (b * ((t * i) - (z * c)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (t <= -2.2e+64) {
		tmp = t * ((b * i) - (x * a));
	} else if (t <= 2.1e+65) {
		tmp = (j * ((a * c) - (y * i))) + (z * ((x * y) - (b * c)));
	} else {
		tmp = (a * ((c * j) - (x * t))) + (b * ((t * i) - (z * c)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if t <= -2.2e+64:
		tmp = t * ((b * i) - (x * a))
	elif t <= 2.1e+65:
		tmp = (j * ((a * c) - (y * i))) + (z * ((x * y) - (b * c)))
	else:
		tmp = (a * ((c * j) - (x * t))) + (b * ((t * i) - (z * c)))
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if (t <= -2.2e+64)
		tmp = Float64(t * Float64(Float64(b * i) - Float64(x * a)));
	elseif (t <= 2.1e+65)
		tmp = Float64(Float64(j * Float64(Float64(a * c) - Float64(y * i))) + Float64(z * Float64(Float64(x * y) - Float64(b * c))));
	else
		tmp = Float64(Float64(a * Float64(Float64(c * j) - Float64(x * t))) + Float64(b * Float64(Float64(t * i) - Float64(z * c))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if (t <= -2.2e+64)
		tmp = t * ((b * i) - (x * a));
	elseif (t <= 2.1e+65)
		tmp = (j * ((a * c) - (y * i))) + (z * ((x * y) - (b * c)));
	else
		tmp = (a * ((c * j) - (x * t))) + (b * ((t * i) - (z * c)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[t, -2.2e+64], N[(t * N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.1e+65], N[(N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(a * N[(N[(c * j), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;t \leq -2.2 \cdot 10^{+64}:\\
\;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\

\mathbf{elif}\;t \leq 2.1 \cdot 10^{+65}:\\
\;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + z \cdot \left(x \cdot y - b \cdot c\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(c \cdot j - x \cdot t\right) + b \cdot \left(t \cdot i - z \cdot c\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if t < -2.20000000000000002e64

    1. Initial program 79.1%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-79.1%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative79.1%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg79.1%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg79.1%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative79.1%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified79.1%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in t around inf 79.7%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right) \cdot t} \]
    5. Step-by-step derivation
      1. *-commutative79.7%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right)} \]
      2. cancel-sign-sub-inv79.7%

        \[\leadsto t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right) + \left(--1\right) \cdot \left(i \cdot b\right)\right)} \]
      3. metadata-eval79.7%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{1} \cdot \left(i \cdot b\right)\right) \]
      4. *-lft-identity79.7%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{i \cdot b}\right) \]
      5. +-commutative79.7%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b + -1 \cdot \left(a \cdot x\right)\right)} \]
      6. mul-1-neg79.7%

        \[\leadsto t \cdot \left(i \cdot b + \color{blue}{\left(-a \cdot x\right)}\right) \]
      7. unsub-neg79.7%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b - a \cdot x\right)} \]
    6. Simplified79.7%

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

    if -2.20000000000000002e64 < t < 2.09999999999999991e65

    1. Initial program 78.4%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-78.4%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative78.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg78.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg78.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative78.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified78.4%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in t around 0 72.8%

      \[\leadsto \color{blue}{\left(y \cdot \left(z \cdot x\right) + j \cdot \left(c \cdot a - y \cdot i\right)\right) - c \cdot \left(b \cdot z\right)} \]
    5. Step-by-step derivation
      1. +-commutative72.8%

        \[\leadsto \color{blue}{\left(j \cdot \left(c \cdot a - y \cdot i\right) + y \cdot \left(z \cdot x\right)\right)} - c \cdot \left(b \cdot z\right) \]
      2. *-commutative72.8%

        \[\leadsto \left(\color{blue}{\left(c \cdot a - y \cdot i\right) \cdot j} + y \cdot \left(z \cdot x\right)\right) - c \cdot \left(b \cdot z\right) \]
      3. *-commutative72.8%

        \[\leadsto \left(\left(c \cdot a - \color{blue}{i \cdot y}\right) \cdot j + y \cdot \left(z \cdot x\right)\right) - c \cdot \left(b \cdot z\right) \]
      4. associate--l+72.8%

        \[\leadsto \color{blue}{\left(c \cdot a - i \cdot y\right) \cdot j + \left(y \cdot \left(z \cdot x\right) - c \cdot \left(b \cdot z\right)\right)} \]
      5. sub-neg72.8%

        \[\leadsto \left(c \cdot a - i \cdot y\right) \cdot j + \color{blue}{\left(y \cdot \left(z \cdot x\right) + \left(-c \cdot \left(b \cdot z\right)\right)\right)} \]
      6. *-commutative72.8%

        \[\leadsto \left(c \cdot a - \color{blue}{y \cdot i}\right) \cdot j + \left(y \cdot \left(z \cdot x\right) + \left(-c \cdot \left(b \cdot z\right)\right)\right) \]
      7. *-commutative72.8%

        \[\leadsto \left(\color{blue}{a \cdot c} - y \cdot i\right) \cdot j + \left(y \cdot \left(z \cdot x\right) + \left(-c \cdot \left(b \cdot z\right)\right)\right) \]
      8. *-commutative72.8%

        \[\leadsto \color{blue}{j \cdot \left(a \cdot c - y \cdot i\right)} + \left(y \cdot \left(z \cdot x\right) + \left(-c \cdot \left(b \cdot z\right)\right)\right) \]
      9. *-commutative72.8%

        \[\leadsto j \cdot \left(a \cdot c - y \cdot i\right) + \left(y \cdot \color{blue}{\left(x \cdot z\right)} + \left(-c \cdot \left(b \cdot z\right)\right)\right) \]
      10. associate-*r*71.5%

        \[\leadsto j \cdot \left(a \cdot c - y \cdot i\right) + \left(\color{blue}{\left(y \cdot x\right) \cdot z} + \left(-c \cdot \left(b \cdot z\right)\right)\right) \]
      11. associate-*r*72.9%

        \[\leadsto j \cdot \left(a \cdot c - y \cdot i\right) + \left(\left(y \cdot x\right) \cdot z + \left(-\color{blue}{\left(c \cdot b\right) \cdot z}\right)\right) \]
      12. distribute-lft-neg-in72.9%

        \[\leadsto j \cdot \left(a \cdot c - y \cdot i\right) + \left(\left(y \cdot x\right) \cdot z + \color{blue}{\left(-c \cdot b\right) \cdot z}\right) \]
      13. mul-1-neg72.9%

        \[\leadsto j \cdot \left(a \cdot c - y \cdot i\right) + \left(\left(y \cdot x\right) \cdot z + \color{blue}{\left(-1 \cdot \left(c \cdot b\right)\right)} \cdot z\right) \]
      14. distribute-rgt-in73.5%

        \[\leadsto j \cdot \left(a \cdot c - y \cdot i\right) + \color{blue}{z \cdot \left(y \cdot x + -1 \cdot \left(c \cdot b\right)\right)} \]
    6. Simplified73.5%

      \[\leadsto \color{blue}{j \cdot \left(a \cdot c - y \cdot i\right) + z \cdot \left(y \cdot x - c \cdot b\right)} \]

    if 2.09999999999999991e65 < t

    1. Initial program 77.0%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-77.0%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative77.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg77.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg77.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative77.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified77.0%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in y around 0 66.9%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(a \cdot j\right)\right) - \left(c \cdot z - i \cdot t\right) \cdot b} \]
    5. Step-by-step derivation
      1. sub-neg66.9%

        \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(a \cdot j\right)\right) + \left(-\left(c \cdot z - i \cdot t\right) \cdot b\right)} \]
      2. mul-1-neg66.9%

        \[\leadsto \left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(a \cdot j\right)\right) + \color{blue}{-1 \cdot \left(\left(c \cdot z - i \cdot t\right) \cdot b\right)} \]
      3. associate-*r*66.9%

        \[\leadsto \left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(a \cdot j\right)\right) + \color{blue}{\left(-1 \cdot \left(c \cdot z - i \cdot t\right)\right) \cdot b} \]
      4. *-commutative66.9%

        \[\leadsto \left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(a \cdot j\right)\right) + \left(-1 \cdot \left(\color{blue}{z \cdot c} - i \cdot t\right)\right) \cdot b \]
      5. *-commutative66.9%

        \[\leadsto \left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(a \cdot j\right)\right) + \left(-1 \cdot \left(z \cdot c - \color{blue}{t \cdot i}\right)\right) \cdot b \]
      6. neg-mul-166.9%

        \[\leadsto \left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(a \cdot j\right)\right) + \color{blue}{\left(-\left(z \cdot c - t \cdot i\right)\right)} \cdot b \]
      7. cancel-sign-sub-inv66.9%

        \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(a \cdot j\right)\right) - \left(z \cdot c - t \cdot i\right) \cdot b} \]
      8. *-commutative66.9%

        \[\leadsto \left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(a \cdot j\right)\right) - \color{blue}{b \cdot \left(z \cdot c - t \cdot i\right)} \]
      9. *-rgt-identity66.9%

        \[\leadsto \left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(a \cdot j\right)\right) - \color{blue}{\left(b \cdot \left(z \cdot c - t \cdot i\right)\right) \cdot 1} \]
      10. cancel-sign-sub-inv66.9%

        \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(a \cdot j\right)\right) + \left(-b \cdot \left(z \cdot c - t \cdot i\right)\right) \cdot 1} \]
    6. Simplified67.1%

      \[\leadsto \color{blue}{a \cdot \left(c \cdot j - t \cdot x\right) + b \cdot \left(t \cdot i - z \cdot c\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification73.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -2.2 \cdot 10^{+64}:\\ \;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\ \mathbf{elif}\;t \leq 2.1 \cdot 10^{+65}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(c \cdot j - x \cdot t\right) + b \cdot \left(t \cdot i - z \cdot c\right)\\ \end{array} \]

Alternative 12: 69.3% accurate, 1.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(t \cdot i - z \cdot c\right)\\ \mathbf{if}\;x \leq -1.62 \cdot 10^{-18}:\\ \;\;\;\;\left(x \cdot \left(y \cdot z - t \cdot a\right) - y \cdot \left(i \cdot j\right)\right) + i \cdot \left(t \cdot b\right)\\ \mathbf{elif}\;x \leq 3.6 \cdot 10^{+28}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + t_1\\ \mathbf{else}:\\ \;\;\;\;t_1 - x \cdot \left(t \cdot a - y \cdot z\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* b (- (* t i) (* z c)))))
   (if (<= x -1.62e-18)
     (+ (- (* x (- (* y z) (* t a))) (* y (* i j))) (* i (* t b)))
     (if (<= x 3.6e+28)
       (+ (* j (- (* a c) (* y i))) t_1)
       (- t_1 (* x (- (* t a) (* y z))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = b * ((t * i) - (z * c));
	double tmp;
	if (x <= -1.62e-18) {
		tmp = ((x * ((y * z) - (t * a))) - (y * (i * j))) + (i * (t * b));
	} else if (x <= 3.6e+28) {
		tmp = (j * ((a * c) - (y * i))) + t_1;
	} else {
		tmp = t_1 - (x * ((t * a) - (y * z)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: tmp
    t_1 = b * ((t * i) - (z * c))
    if (x <= (-1.62d-18)) then
        tmp = ((x * ((y * z) - (t * a))) - (y * (i * j))) + (i * (t * b))
    else if (x <= 3.6d+28) then
        tmp = (j * ((a * c) - (y * i))) + t_1
    else
        tmp = t_1 - (x * ((t * a) - (y * z)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = b * ((t * i) - (z * c));
	double tmp;
	if (x <= -1.62e-18) {
		tmp = ((x * ((y * z) - (t * a))) - (y * (i * j))) + (i * (t * b));
	} else if (x <= 3.6e+28) {
		tmp = (j * ((a * c) - (y * i))) + t_1;
	} else {
		tmp = t_1 - (x * ((t * a) - (y * z)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = b * ((t * i) - (z * c))
	tmp = 0
	if x <= -1.62e-18:
		tmp = ((x * ((y * z) - (t * a))) - (y * (i * j))) + (i * (t * b))
	elif x <= 3.6e+28:
		tmp = (j * ((a * c) - (y * i))) + t_1
	else:
		tmp = t_1 - (x * ((t * a) - (y * z)))
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(b * Float64(Float64(t * i) - Float64(z * c)))
	tmp = 0.0
	if (x <= -1.62e-18)
		tmp = Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(y * Float64(i * j))) + Float64(i * Float64(t * b)));
	elseif (x <= 3.6e+28)
		tmp = Float64(Float64(j * Float64(Float64(a * c) - Float64(y * i))) + t_1);
	else
		tmp = Float64(t_1 - Float64(x * Float64(Float64(t * a) - Float64(y * z))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = b * ((t * i) - (z * c));
	tmp = 0.0;
	if (x <= -1.62e-18)
		tmp = ((x * ((y * z) - (t * a))) - (y * (i * j))) + (i * (t * b));
	elseif (x <= 3.6e+28)
		tmp = (j * ((a * c) - (y * i))) + t_1;
	else
		tmp = t_1 - (x * ((t * a) - (y * z)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -1.62e-18], N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y * N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3.6e+28], N[(N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision], N[(t$95$1 - N[(x * N[(N[(t * a), $MachinePrecision] - N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(t \cdot i - z \cdot c\right)\\
\mathbf{if}\;x \leq -1.62 \cdot 10^{-18}:\\
\;\;\;\;\left(x \cdot \left(y \cdot z - t \cdot a\right) - y \cdot \left(i \cdot j\right)\right) + i \cdot \left(t \cdot b\right)\\

\mathbf{elif}\;x \leq 3.6 \cdot 10^{+28}:\\
\;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + t_1\\

\mathbf{else}:\\
\;\;\;\;t_1 - x \cdot \left(t \cdot a - y \cdot z\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if x < -1.62000000000000005e-18

    1. Initial program 76.0%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-76.0%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative76.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg76.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg76.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative76.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified76.0%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in c around 0 75.9%

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

    if -1.62000000000000005e-18 < x < 3.5999999999999999e28

    1. Initial program 78.3%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative78.3%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def78.3%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative78.3%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative78.3%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified78.3%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in x around 0 77.9%

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

    if 3.5999999999999999e28 < x

    1. Initial program 80.2%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-80.2%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative80.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg80.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg80.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative80.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified80.2%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in j around 0 74.8%

      \[\leadsto \color{blue}{\left(y \cdot z - a \cdot t\right) \cdot x - \left(c \cdot z - i \cdot t\right) \cdot b} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification76.7%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -1.62 \cdot 10^{-18}:\\ \;\;\;\;\left(x \cdot \left(y \cdot z - t \cdot a\right) - y \cdot \left(i \cdot j\right)\right) + i \cdot \left(t \cdot b\right)\\ \mathbf{elif}\;x \leq 3.6 \cdot 10^{+28}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + b \cdot \left(t \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right) - x \cdot \left(t \cdot a - y \cdot z\right)\\ \end{array} \]

Alternative 13: 41.1% accurate, 1.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(a \cdot j - z \cdot b\right)\\ t_2 := i \cdot \left(-y \cdot j\right)\\ \mathbf{if}\;i \leq -2.25 \cdot 10^{+89}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;i \leq -1.9 \cdot 10^{-215}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;i \leq 7.8 \cdot 10^{-300}:\\ \;\;\;\;a \cdot \left(c \cdot j - x \cdot t\right)\\ \mathbf{elif}\;i \leq 9 \cdot 10^{-16}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;i \leq 2.4 \cdot 10^{+28}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;i \leq 1.24 \cdot 10^{+113}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;i \leq 1.16 \cdot 10^{+247}:\\ \;\;\;\;y \cdot \left(j \cdot \left(-i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(t \cdot i\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* c (- (* a j) (* z b)))) (t_2 (* i (- (* y j)))))
   (if (<= i -2.25e+89)
     t_2
     (if (<= i -1.9e-215)
       t_1
       (if (<= i 7.8e-300)
         (* a (- (* c j) (* x t)))
         (if (<= i 9e-16)
           t_1
           (if (<= i 2.4e+28)
             t_2
             (if (<= i 1.24e+113)
               t_1
               (if (<= i 1.16e+247) (* y (* j (- i))) (* b (* t i)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = c * ((a * j) - (z * b));
	double t_2 = i * -(y * j);
	double tmp;
	if (i <= -2.25e+89) {
		tmp = t_2;
	} else if (i <= -1.9e-215) {
		tmp = t_1;
	} else if (i <= 7.8e-300) {
		tmp = a * ((c * j) - (x * t));
	} else if (i <= 9e-16) {
		tmp = t_1;
	} else if (i <= 2.4e+28) {
		tmp = t_2;
	} else if (i <= 1.24e+113) {
		tmp = t_1;
	} else if (i <= 1.16e+247) {
		tmp = y * (j * -i);
	} else {
		tmp = b * (t * i);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = c * ((a * j) - (z * b))
    t_2 = i * -(y * j)
    if (i <= (-2.25d+89)) then
        tmp = t_2
    else if (i <= (-1.9d-215)) then
        tmp = t_1
    else if (i <= 7.8d-300) then
        tmp = a * ((c * j) - (x * t))
    else if (i <= 9d-16) then
        tmp = t_1
    else if (i <= 2.4d+28) then
        tmp = t_2
    else if (i <= 1.24d+113) then
        tmp = t_1
    else if (i <= 1.16d+247) then
        tmp = y * (j * -i)
    else
        tmp = b * (t * 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 t_1 = c * ((a * j) - (z * b));
	double t_2 = i * -(y * j);
	double tmp;
	if (i <= -2.25e+89) {
		tmp = t_2;
	} else if (i <= -1.9e-215) {
		tmp = t_1;
	} else if (i <= 7.8e-300) {
		tmp = a * ((c * j) - (x * t));
	} else if (i <= 9e-16) {
		tmp = t_1;
	} else if (i <= 2.4e+28) {
		tmp = t_2;
	} else if (i <= 1.24e+113) {
		tmp = t_1;
	} else if (i <= 1.16e+247) {
		tmp = y * (j * -i);
	} else {
		tmp = b * (t * i);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = c * ((a * j) - (z * b))
	t_2 = i * -(y * j)
	tmp = 0
	if i <= -2.25e+89:
		tmp = t_2
	elif i <= -1.9e-215:
		tmp = t_1
	elif i <= 7.8e-300:
		tmp = a * ((c * j) - (x * t))
	elif i <= 9e-16:
		tmp = t_1
	elif i <= 2.4e+28:
		tmp = t_2
	elif i <= 1.24e+113:
		tmp = t_1
	elif i <= 1.16e+247:
		tmp = y * (j * -i)
	else:
		tmp = b * (t * i)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(c * Float64(Float64(a * j) - Float64(z * b)))
	t_2 = Float64(i * Float64(-Float64(y * j)))
	tmp = 0.0
	if (i <= -2.25e+89)
		tmp = t_2;
	elseif (i <= -1.9e-215)
		tmp = t_1;
	elseif (i <= 7.8e-300)
		tmp = Float64(a * Float64(Float64(c * j) - Float64(x * t)));
	elseif (i <= 9e-16)
		tmp = t_1;
	elseif (i <= 2.4e+28)
		tmp = t_2;
	elseif (i <= 1.24e+113)
		tmp = t_1;
	elseif (i <= 1.16e+247)
		tmp = Float64(y * Float64(j * Float64(-i)));
	else
		tmp = Float64(b * Float64(t * i));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = c * ((a * j) - (z * b));
	t_2 = i * -(y * j);
	tmp = 0.0;
	if (i <= -2.25e+89)
		tmp = t_2;
	elseif (i <= -1.9e-215)
		tmp = t_1;
	elseif (i <= 7.8e-300)
		tmp = a * ((c * j) - (x * t));
	elseif (i <= 9e-16)
		tmp = t_1;
	elseif (i <= 2.4e+28)
		tmp = t_2;
	elseif (i <= 1.24e+113)
		tmp = t_1;
	elseif (i <= 1.16e+247)
		tmp = y * (j * -i);
	else
		tmp = b * (t * i);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(c * N[(N[(a * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(i * (-N[(y * j), $MachinePrecision])), $MachinePrecision]}, If[LessEqual[i, -2.25e+89], t$95$2, If[LessEqual[i, -1.9e-215], t$95$1, If[LessEqual[i, 7.8e-300], N[(a * N[(N[(c * j), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 9e-16], t$95$1, If[LessEqual[i, 2.4e+28], t$95$2, If[LessEqual[i, 1.24e+113], t$95$1, If[LessEqual[i, 1.16e+247], N[(y * N[(j * (-i)), $MachinePrecision]), $MachinePrecision], N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(a \cdot j - z \cdot b\right)\\
t_2 := i \cdot \left(-y \cdot j\right)\\
\mathbf{if}\;i \leq -2.25 \cdot 10^{+89}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;i \leq -1.9 \cdot 10^{-215}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;i \leq 7.8 \cdot 10^{-300}:\\
\;\;\;\;a \cdot \left(c \cdot j - x \cdot t\right)\\

\mathbf{elif}\;i \leq 9 \cdot 10^{-16}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;i \leq 2.4 \cdot 10^{+28}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;i \leq 1.24 \cdot 10^{+113}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;i \leq 1.16 \cdot 10^{+247}:\\
\;\;\;\;y \cdot \left(j \cdot \left(-i\right)\right)\\

\mathbf{else}:\\
\;\;\;\;b \cdot \left(t \cdot i\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if i < -2.25e89 or 9.0000000000000003e-16 < i < 2.39999999999999981e28

    1. Initial program 62.9%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-62.9%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative62.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg62.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg62.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative62.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified62.9%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in i around inf 72.1%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j\right) - -1 \cdot \left(t \cdot b\right)\right)} \]
    5. Step-by-step derivation
      1. cancel-sign-sub-inv72.1%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right) + \left(--1\right) \cdot \left(t \cdot b\right)\right)} \]
      2. metadata-eval72.1%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{1} \cdot \left(t \cdot b\right)\right) \]
      3. *-lft-identity72.1%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{t \cdot b}\right) \]
      4. +-commutative72.1%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b + -1 \cdot \left(y \cdot j\right)\right)} \]
      5. mul-1-neg72.1%

        \[\leadsto i \cdot \left(t \cdot b + \color{blue}{\left(-y \cdot j\right)}\right) \]
      6. unsub-neg72.1%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b - y \cdot j\right)} \]
    6. Simplified72.1%

      \[\leadsto \color{blue}{i \cdot \left(t \cdot b - y \cdot j\right)} \]
    7. Taylor expanded in t around 0 46.4%

      \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right)\right)} \]
    8. Step-by-step derivation
      1. neg-mul-146.4%

        \[\leadsto i \cdot \color{blue}{\left(-y \cdot j\right)} \]
      2. distribute-rgt-neg-in46.4%

        \[\leadsto i \cdot \color{blue}{\left(y \cdot \left(-j\right)\right)} \]
    9. Simplified46.4%

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

    if -2.25e89 < i < -1.89999999999999989e-215 or 7.8000000000000002e-300 < i < 9.0000000000000003e-16 or 2.39999999999999981e28 < i < 1.23999999999999993e113

    1. Initial program 88.2%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-88.2%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative88.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg88.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg88.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative88.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified88.2%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in c around inf 50.3%

      \[\leadsto \color{blue}{c \cdot \left(a \cdot j - z \cdot b\right)} \]

    if -1.89999999999999989e-215 < i < 7.8000000000000002e-300

    1. Initial program 94.1%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-94.1%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative94.1%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg94.1%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg94.1%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative94.1%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified94.1%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in a around inf 64.1%

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
    5. Step-by-step derivation
      1. +-commutative64.1%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(t \cdot x\right)\right)} \]
      2. mul-1-neg64.1%

        \[\leadsto a \cdot \left(c \cdot j + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg64.1%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j - t \cdot x\right)} \]
    6. Simplified64.1%

      \[\leadsto \color{blue}{a \cdot \left(c \cdot j - t \cdot x\right)} \]

    if 1.23999999999999993e113 < i < 1.16000000000000006e247

    1. Initial program 61.4%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-61.4%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative61.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg61.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg61.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative61.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified61.4%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in i around inf 70.8%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j\right) - -1 \cdot \left(t \cdot b\right)\right)} \]
    5. Step-by-step derivation
      1. cancel-sign-sub-inv70.8%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right) + \left(--1\right) \cdot \left(t \cdot b\right)\right)} \]
      2. metadata-eval70.8%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{1} \cdot \left(t \cdot b\right)\right) \]
      3. *-lft-identity70.8%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{t \cdot b}\right) \]
      4. +-commutative70.8%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b + -1 \cdot \left(y \cdot j\right)\right)} \]
      5. mul-1-neg70.8%

        \[\leadsto i \cdot \left(t \cdot b + \color{blue}{\left(-y \cdot j\right)}\right) \]
      6. unsub-neg70.8%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b - y \cdot j\right)} \]
    6. Simplified70.8%

      \[\leadsto \color{blue}{i \cdot \left(t \cdot b - y \cdot j\right)} \]
    7. Taylor expanded in t around 0 58.9%

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(i \cdot j\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*58.9%

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

        \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(i \cdot j\right) \]
    9. Simplified58.9%

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

    if 1.16000000000000006e247 < i

    1. Initial program 64.4%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-64.4%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative64.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg64.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg64.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative64.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified64.4%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in b around inf 58.6%

      \[\leadsto \color{blue}{\left(i \cdot t - c \cdot z\right) \cdot b} \]
    5. Taylor expanded in i around inf 65.7%

      \[\leadsto \color{blue}{\left(i \cdot t\right)} \cdot b \]
  3. Recombined 5 regimes into one program.
  4. Final simplification52.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -2.25 \cdot 10^{+89}:\\ \;\;\;\;i \cdot \left(-y \cdot j\right)\\ \mathbf{elif}\;i \leq -1.9 \cdot 10^{-215}:\\ \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{elif}\;i \leq 7.8 \cdot 10^{-300}:\\ \;\;\;\;a \cdot \left(c \cdot j - x \cdot t\right)\\ \mathbf{elif}\;i \leq 9 \cdot 10^{-16}:\\ \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{elif}\;i \leq 2.4 \cdot 10^{+28}:\\ \;\;\;\;i \cdot \left(-y \cdot j\right)\\ \mathbf{elif}\;i \leq 1.24 \cdot 10^{+113}:\\ \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{elif}\;i \leq 1.16 \cdot 10^{+247}:\\ \;\;\;\;y \cdot \left(j \cdot \left(-i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(t \cdot i\right)\\ \end{array} \]

Alternative 14: 49.3% accurate, 1.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := i \cdot \left(t \cdot b - y \cdot j\right)\\ t_2 := c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{if}\;c \leq -6 \cdot 10^{+99}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 6 \cdot 10^{-284}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 2 \cdot 10^{-195}:\\ \;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\ \mathbf{elif}\;c \leq 1.9 \cdot 10^{-129}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 2.7 \cdot 10^{+51}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;c \leq 3.1 \cdot 10^{+119}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* i (- (* t b) (* y j)))) (t_2 (* c (- (* a j) (* z b)))))
   (if (<= c -6e+99)
     t_2
     (if (<= c 6e-284)
       t_1
       (if (<= c 2e-195)
         (* t (- (* b i) (* x a)))
         (if (<= c 1.9e-129)
           t_1
           (if (<= c 2.7e+51) (* x (* y z)) (if (<= c 3.1e+119) t_1 t_2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = i * ((t * b) - (y * j));
	double t_2 = c * ((a * j) - (z * b));
	double tmp;
	if (c <= -6e+99) {
		tmp = t_2;
	} else if (c <= 6e-284) {
		tmp = t_1;
	} else if (c <= 2e-195) {
		tmp = t * ((b * i) - (x * a));
	} else if (c <= 1.9e-129) {
		tmp = t_1;
	} else if (c <= 2.7e+51) {
		tmp = x * (y * z);
	} else if (c <= 3.1e+119) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = i * ((t * b) - (y * j))
    t_2 = c * ((a * j) - (z * b))
    if (c <= (-6d+99)) then
        tmp = t_2
    else if (c <= 6d-284) then
        tmp = t_1
    else if (c <= 2d-195) then
        tmp = t * ((b * i) - (x * a))
    else if (c <= 1.9d-129) then
        tmp = t_1
    else if (c <= 2.7d+51) then
        tmp = x * (y * z)
    else if (c <= 3.1d+119) then
        tmp = t_1
    else
        tmp = t_2
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = i * ((t * b) - (y * j));
	double t_2 = c * ((a * j) - (z * b));
	double tmp;
	if (c <= -6e+99) {
		tmp = t_2;
	} else if (c <= 6e-284) {
		tmp = t_1;
	} else if (c <= 2e-195) {
		tmp = t * ((b * i) - (x * a));
	} else if (c <= 1.9e-129) {
		tmp = t_1;
	} else if (c <= 2.7e+51) {
		tmp = x * (y * z);
	} else if (c <= 3.1e+119) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = i * ((t * b) - (y * j))
	t_2 = c * ((a * j) - (z * b))
	tmp = 0
	if c <= -6e+99:
		tmp = t_2
	elif c <= 6e-284:
		tmp = t_1
	elif c <= 2e-195:
		tmp = t * ((b * i) - (x * a))
	elif c <= 1.9e-129:
		tmp = t_1
	elif c <= 2.7e+51:
		tmp = x * (y * z)
	elif c <= 3.1e+119:
		tmp = t_1
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(i * Float64(Float64(t * b) - Float64(y * j)))
	t_2 = Float64(c * Float64(Float64(a * j) - Float64(z * b)))
	tmp = 0.0
	if (c <= -6e+99)
		tmp = t_2;
	elseif (c <= 6e-284)
		tmp = t_1;
	elseif (c <= 2e-195)
		tmp = Float64(t * Float64(Float64(b * i) - Float64(x * a)));
	elseif (c <= 1.9e-129)
		tmp = t_1;
	elseif (c <= 2.7e+51)
		tmp = Float64(x * Float64(y * z));
	elseif (c <= 3.1e+119)
		tmp = t_1;
	else
		tmp = t_2;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = i * ((t * b) - (y * j));
	t_2 = c * ((a * j) - (z * b));
	tmp = 0.0;
	if (c <= -6e+99)
		tmp = t_2;
	elseif (c <= 6e-284)
		tmp = t_1;
	elseif (c <= 2e-195)
		tmp = t * ((b * i) - (x * a));
	elseif (c <= 1.9e-129)
		tmp = t_1;
	elseif (c <= 2.7e+51)
		tmp = x * (y * z);
	elseif (c <= 3.1e+119)
		tmp = t_1;
	else
		tmp = t_2;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(i * N[(N[(t * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(N[(a * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -6e+99], t$95$2, If[LessEqual[c, 6e-284], t$95$1, If[LessEqual[c, 2e-195], N[(t * N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.9e-129], t$95$1, If[LessEqual[c, 2.7e+51], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3.1e+119], t$95$1, t$95$2]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := i \cdot \left(t \cdot b - y \cdot j\right)\\
t_2 := c \cdot \left(a \cdot j - z \cdot b\right)\\
\mathbf{if}\;c \leq -6 \cdot 10^{+99}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;c \leq 6 \cdot 10^{-284}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;c \leq 2 \cdot 10^{-195}:\\
\;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\

\mathbf{elif}\;c \leq 1.9 \cdot 10^{-129}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;c \leq 2.7 \cdot 10^{+51}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\

\mathbf{elif}\;c \leq 3.1 \cdot 10^{+119}:\\
\;\;\;\;t_1\\

\mathbf{else}:\\
\;\;\;\;t_2\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if c < -6.00000000000000029e99 or 3.09999999999999995e119 < c

    1. Initial program 70.3%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-70.3%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative70.3%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg70.3%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg70.3%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative70.3%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified70.3%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in c around inf 72.8%

      \[\leadsto \color{blue}{c \cdot \left(a \cdot j - z \cdot b\right)} \]

    if -6.00000000000000029e99 < c < 5.9999999999999999e-284 or 2.0000000000000002e-195 < c < 1.89999999999999992e-129 or 2.69999999999999992e51 < c < 3.09999999999999995e119

    1. Initial program 79.5%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-79.5%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative79.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg79.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg79.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative79.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified79.5%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in i around inf 58.5%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j\right) - -1 \cdot \left(t \cdot b\right)\right)} \]
    5. Step-by-step derivation
      1. cancel-sign-sub-inv58.5%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right) + \left(--1\right) \cdot \left(t \cdot b\right)\right)} \]
      2. metadata-eval58.5%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{1} \cdot \left(t \cdot b\right)\right) \]
      3. *-lft-identity58.5%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{t \cdot b}\right) \]
      4. +-commutative58.5%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b + -1 \cdot \left(y \cdot j\right)\right)} \]
      5. mul-1-neg58.5%

        \[\leadsto i \cdot \left(t \cdot b + \color{blue}{\left(-y \cdot j\right)}\right) \]
      6. unsub-neg58.5%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b - y \cdot j\right)} \]
    6. Simplified58.5%

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

    if 5.9999999999999999e-284 < c < 2.0000000000000002e-195

    1. Initial program 99.9%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-99.9%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative99.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg99.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg99.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative99.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified99.9%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in t around inf 72.4%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right) \cdot t} \]
    5. Step-by-step derivation
      1. *-commutative72.4%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right)} \]
      2. cancel-sign-sub-inv72.4%

        \[\leadsto t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right) + \left(--1\right) \cdot \left(i \cdot b\right)\right)} \]
      3. metadata-eval72.4%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{1} \cdot \left(i \cdot b\right)\right) \]
      4. *-lft-identity72.4%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{i \cdot b}\right) \]
      5. +-commutative72.4%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b + -1 \cdot \left(a \cdot x\right)\right)} \]
      6. mul-1-neg72.4%

        \[\leadsto t \cdot \left(i \cdot b + \color{blue}{\left(-a \cdot x\right)}\right) \]
      7. unsub-neg72.4%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b - a \cdot x\right)} \]
    6. Simplified72.4%

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

    if 1.89999999999999992e-129 < c < 2.69999999999999992e51

    1. Initial program 85.4%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-85.4%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative85.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg85.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg85.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative85.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified85.4%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in j around 0 71.3%

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

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

      \[\leadsto \color{blue}{\left(y \cdot z\right)} \cdot x \]
    7. Step-by-step derivation
      1. *-commutative45.8%

        \[\leadsto \color{blue}{\left(z \cdot y\right)} \cdot x \]
    8. Simplified45.8%

      \[\leadsto \color{blue}{\left(z \cdot y\right)} \cdot x \]
  3. Recombined 4 regimes into one program.
  4. Final simplification62.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -6 \cdot 10^{+99}:\\ \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{elif}\;c \leq 6 \cdot 10^{-284}:\\ \;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\ \mathbf{elif}\;c \leq 2 \cdot 10^{-195}:\\ \;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\ \mathbf{elif}\;c \leq 1.9 \cdot 10^{-129}:\\ \;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\ \mathbf{elif}\;c \leq 2.7 \cdot 10^{+51}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;c \leq 3.1 \cdot 10^{+119}:\\ \;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\ \end{array} \]

Alternative 15: 29.8% accurate, 1.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;j \leq -4.4 \cdot 10^{-69}:\\ \;\;\;\;i \cdot \left(-y \cdot j\right)\\ \mathbf{elif}\;j \leq 7.5 \cdot 10^{-301}:\\ \;\;\;\;t \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;j \leq 3.85 \cdot 10^{-87}:\\ \;\;\;\;z \cdot \left(b \cdot \left(-c\right)\right)\\ \mathbf{elif}\;j \leq 1.85 \cdot 10^{-24}:\\ \;\;\;\;i \cdot \left(t \cdot b\right)\\ \mathbf{elif}\;j \leq 3 \cdot 10^{+44}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;j \leq 3.75 \cdot 10^{+92} \lor \neg \left(j \leq 6.4 \cdot 10^{+117}\right):\\ \;\;\;\;y \cdot \left(j \cdot \left(-i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(a \cdot \left(-x\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (<= j -4.4e-69)
   (* i (- (* y j)))
   (if (<= j 7.5e-301)
     (* t (* b i))
     (if (<= j 3.85e-87)
       (* z (* b (- c)))
       (if (<= j 1.85e-24)
         (* i (* t b))
         (if (<= j 3e+44)
           (* a (* c j))
           (if (or (<= j 3.75e+92) (not (<= j 6.4e+117)))
             (* y (* j (- i)))
             (* t (* a (- x))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (j <= -4.4e-69) {
		tmp = i * -(y * j);
	} else if (j <= 7.5e-301) {
		tmp = t * (b * i);
	} else if (j <= 3.85e-87) {
		tmp = z * (b * -c);
	} else if (j <= 1.85e-24) {
		tmp = i * (t * b);
	} else if (j <= 3e+44) {
		tmp = a * (c * j);
	} else if ((j <= 3.75e+92) || !(j <= 6.4e+117)) {
		tmp = y * (j * -i);
	} else {
		tmp = t * (a * -x);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: tmp
    if (j <= (-4.4d-69)) then
        tmp = i * -(y * j)
    else if (j <= 7.5d-301) then
        tmp = t * (b * i)
    else if (j <= 3.85d-87) then
        tmp = z * (b * -c)
    else if (j <= 1.85d-24) then
        tmp = i * (t * b)
    else if (j <= 3d+44) then
        tmp = a * (c * j)
    else if ((j <= 3.75d+92) .or. (.not. (j <= 6.4d+117))) then
        tmp = y * (j * -i)
    else
        tmp = t * (a * -x)
    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 tmp;
	if (j <= -4.4e-69) {
		tmp = i * -(y * j);
	} else if (j <= 7.5e-301) {
		tmp = t * (b * i);
	} else if (j <= 3.85e-87) {
		tmp = z * (b * -c);
	} else if (j <= 1.85e-24) {
		tmp = i * (t * b);
	} else if (j <= 3e+44) {
		tmp = a * (c * j);
	} else if ((j <= 3.75e+92) || !(j <= 6.4e+117)) {
		tmp = y * (j * -i);
	} else {
		tmp = t * (a * -x);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if j <= -4.4e-69:
		tmp = i * -(y * j)
	elif j <= 7.5e-301:
		tmp = t * (b * i)
	elif j <= 3.85e-87:
		tmp = z * (b * -c)
	elif j <= 1.85e-24:
		tmp = i * (t * b)
	elif j <= 3e+44:
		tmp = a * (c * j)
	elif (j <= 3.75e+92) or not (j <= 6.4e+117):
		tmp = y * (j * -i)
	else:
		tmp = t * (a * -x)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if (j <= -4.4e-69)
		tmp = Float64(i * Float64(-Float64(y * j)));
	elseif (j <= 7.5e-301)
		tmp = Float64(t * Float64(b * i));
	elseif (j <= 3.85e-87)
		tmp = Float64(z * Float64(b * Float64(-c)));
	elseif (j <= 1.85e-24)
		tmp = Float64(i * Float64(t * b));
	elseif (j <= 3e+44)
		tmp = Float64(a * Float64(c * j));
	elseif ((j <= 3.75e+92) || !(j <= 6.4e+117))
		tmp = Float64(y * Float64(j * Float64(-i)));
	else
		tmp = Float64(t * Float64(a * Float64(-x)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if (j <= -4.4e-69)
		tmp = i * -(y * j);
	elseif (j <= 7.5e-301)
		tmp = t * (b * i);
	elseif (j <= 3.85e-87)
		tmp = z * (b * -c);
	elseif (j <= 1.85e-24)
		tmp = i * (t * b);
	elseif (j <= 3e+44)
		tmp = a * (c * j);
	elseif ((j <= 3.75e+92) || ~((j <= 6.4e+117)))
		tmp = y * (j * -i);
	else
		tmp = t * (a * -x);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[j, -4.4e-69], N[(i * (-N[(y * j), $MachinePrecision])), $MachinePrecision], If[LessEqual[j, 7.5e-301], N[(t * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.85e-87], N[(z * N[(b * (-c)), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.85e-24], N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3e+44], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[j, 3.75e+92], N[Not[LessEqual[j, 6.4e+117]], $MachinePrecision]], N[(y * N[(j * (-i)), $MachinePrecision]), $MachinePrecision], N[(t * N[(a * (-x)), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;j \leq -4.4 \cdot 10^{-69}:\\
\;\;\;\;i \cdot \left(-y \cdot j\right)\\

\mathbf{elif}\;j \leq 7.5 \cdot 10^{-301}:\\
\;\;\;\;t \cdot \left(b \cdot i\right)\\

\mathbf{elif}\;j \leq 3.85 \cdot 10^{-87}:\\
\;\;\;\;z \cdot \left(b \cdot \left(-c\right)\right)\\

\mathbf{elif}\;j \leq 1.85 \cdot 10^{-24}:\\
\;\;\;\;i \cdot \left(t \cdot b\right)\\

\mathbf{elif}\;j \leq 3 \cdot 10^{+44}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\

\mathbf{elif}\;j \leq 3.75 \cdot 10^{+92} \lor \neg \left(j \leq 6.4 \cdot 10^{+117}\right):\\
\;\;\;\;y \cdot \left(j \cdot \left(-i\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t \cdot \left(a \cdot \left(-x\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if j < -4.4e-69

    1. Initial program 76.6%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-76.6%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative76.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg76.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg76.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative76.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified76.6%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in i around inf 50.9%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j\right) - -1 \cdot \left(t \cdot b\right)\right)} \]
    5. Step-by-step derivation
      1. cancel-sign-sub-inv50.9%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right) + \left(--1\right) \cdot \left(t \cdot b\right)\right)} \]
      2. metadata-eval50.9%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{1} \cdot \left(t \cdot b\right)\right) \]
      3. *-lft-identity50.9%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{t \cdot b}\right) \]
      4. +-commutative50.9%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b + -1 \cdot \left(y \cdot j\right)\right)} \]
      5. mul-1-neg50.9%

        \[\leadsto i \cdot \left(t \cdot b + \color{blue}{\left(-y \cdot j\right)}\right) \]
      6. unsub-neg50.9%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b - y \cdot j\right)} \]
    6. Simplified50.9%

      \[\leadsto \color{blue}{i \cdot \left(t \cdot b - y \cdot j\right)} \]
    7. Taylor expanded in t around 0 37.3%

      \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right)\right)} \]
    8. Step-by-step derivation
      1. neg-mul-137.3%

        \[\leadsto i \cdot \color{blue}{\left(-y \cdot j\right)} \]
      2. distribute-rgt-neg-in37.3%

        \[\leadsto i \cdot \color{blue}{\left(y \cdot \left(-j\right)\right)} \]
    9. Simplified37.3%

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

    if -4.4e-69 < j < 7.5000000000000006e-301

    1. Initial program 81.6%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-81.6%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative81.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg81.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg81.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative81.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified81.6%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in t around inf 54.3%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right) \cdot t} \]
    5. Step-by-step derivation
      1. *-commutative54.3%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right)} \]
      2. cancel-sign-sub-inv54.3%

        \[\leadsto t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right) + \left(--1\right) \cdot \left(i \cdot b\right)\right)} \]
      3. metadata-eval54.3%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{1} \cdot \left(i \cdot b\right)\right) \]
      4. *-lft-identity54.3%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{i \cdot b}\right) \]
      5. +-commutative54.3%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b + -1 \cdot \left(a \cdot x\right)\right)} \]
      6. mul-1-neg54.3%

        \[\leadsto t \cdot \left(i \cdot b + \color{blue}{\left(-a \cdot x\right)}\right) \]
      7. unsub-neg54.3%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b - a \cdot x\right)} \]
    6. Simplified54.3%

      \[\leadsto \color{blue}{t \cdot \left(i \cdot b - a \cdot x\right)} \]
    7. Taylor expanded in i around inf 41.0%

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

    if 7.5000000000000006e-301 < j < 3.8499999999999999e-87

    1. Initial program 78.0%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-78.0%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative78.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg78.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg78.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative78.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified78.0%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in j around 0 79.9%

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

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(b \cdot z\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg40.1%

        \[\leadsto \color{blue}{-c \cdot \left(b \cdot z\right)} \]
      2. *-commutative40.1%

        \[\leadsto -c \cdot \color{blue}{\left(z \cdot b\right)} \]
      3. associate-*r*38.2%

        \[\leadsto -\color{blue}{\left(c \cdot z\right) \cdot b} \]
      4. distribute-rgt-neg-in38.2%

        \[\leadsto \color{blue}{\left(c \cdot z\right) \cdot \left(-b\right)} \]
      5. *-commutative38.2%

        \[\leadsto \color{blue}{\left(z \cdot c\right)} \cdot \left(-b\right) \]
    7. Simplified38.2%

      \[\leadsto \color{blue}{\left(z \cdot c\right) \cdot \left(-b\right)} \]
    8. Taylor expanded in z around 0 40.1%

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(b \cdot z\right)\right)} \]
    9. Step-by-step derivation
      1. mul-1-neg40.1%

        \[\leadsto \color{blue}{-c \cdot \left(b \cdot z\right)} \]
      2. associate-*r*36.4%

        \[\leadsto -\color{blue}{\left(c \cdot b\right) \cdot z} \]
      3. *-commutative36.4%

        \[\leadsto -\color{blue}{z \cdot \left(c \cdot b\right)} \]
      4. distribute-lft-neg-in36.4%

        \[\leadsto \color{blue}{\left(-z\right) \cdot \left(c \cdot b\right)} \]
    10. Simplified36.4%

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

    if 3.8499999999999999e-87 < j < 1.8499999999999999e-24

    1. Initial program 91.5%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative91.5%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def91.5%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative91.5%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative91.5%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified91.5%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in x around 0 76.0%

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

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

    if 1.8499999999999999e-24 < j < 2.99999999999999987e44

    1. Initial program 99.0%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-99.0%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative99.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg99.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg99.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative99.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified99.0%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in a around inf 51.7%

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
    5. Step-by-step derivation
      1. +-commutative51.7%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(t \cdot x\right)\right)} \]
      2. mul-1-neg51.7%

        \[\leadsto a \cdot \left(c \cdot j + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg51.7%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j - t \cdot x\right)} \]
    6. Simplified51.7%

      \[\leadsto \color{blue}{a \cdot \left(c \cdot j - t \cdot x\right)} \]
    7. Taylor expanded in c around inf 51.7%

      \[\leadsto a \cdot \color{blue}{\left(c \cdot j\right)} \]

    if 2.99999999999999987e44 < j < 3.74999999999999973e92 or 6.4000000000000001e117 < j

    1. Initial program 69.5%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-69.5%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative69.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg69.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg69.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative69.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified69.5%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in i around inf 55.6%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j\right) - -1 \cdot \left(t \cdot b\right)\right)} \]
    5. Step-by-step derivation
      1. cancel-sign-sub-inv55.6%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right) + \left(--1\right) \cdot \left(t \cdot b\right)\right)} \]
      2. metadata-eval55.6%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{1} \cdot \left(t \cdot b\right)\right) \]
      3. *-lft-identity55.6%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{t \cdot b}\right) \]
      4. +-commutative55.6%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b + -1 \cdot \left(y \cdot j\right)\right)} \]
      5. mul-1-neg55.6%

        \[\leadsto i \cdot \left(t \cdot b + \color{blue}{\left(-y \cdot j\right)}\right) \]
      6. unsub-neg55.6%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b - y \cdot j\right)} \]
    6. Simplified55.6%

      \[\leadsto \color{blue}{i \cdot \left(t \cdot b - y \cdot j\right)} \]
    7. Taylor expanded in t around 0 61.2%

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(i \cdot j\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*61.2%

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

        \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(i \cdot j\right) \]
    9. Simplified61.2%

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

    if 3.74999999999999973e92 < j < 6.4000000000000001e117

    1. Initial program 70.0%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-70.0%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative70.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg70.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg70.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative70.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified70.0%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in t around inf 70.4%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right) \cdot t} \]
    5. Step-by-step derivation
      1. *-commutative70.4%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right)} \]
      2. cancel-sign-sub-inv70.4%

        \[\leadsto t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right) + \left(--1\right) \cdot \left(i \cdot b\right)\right)} \]
      3. metadata-eval70.4%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{1} \cdot \left(i \cdot b\right)\right) \]
      4. *-lft-identity70.4%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{i \cdot b}\right) \]
      5. +-commutative70.4%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b + -1 \cdot \left(a \cdot x\right)\right)} \]
      6. mul-1-neg70.4%

        \[\leadsto t \cdot \left(i \cdot b + \color{blue}{\left(-a \cdot x\right)}\right) \]
      7. unsub-neg70.4%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b - a \cdot x\right)} \]
    6. Simplified70.4%

      \[\leadsto \color{blue}{t \cdot \left(i \cdot b - a \cdot x\right)} \]
    7. Taylor expanded in i around 0 60.6%

      \[\leadsto t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right)} \]
    8. Step-by-step derivation
      1. neg-mul-160.6%

        \[\leadsto t \cdot \color{blue}{\left(-a \cdot x\right)} \]
      2. distribute-rgt-neg-in60.6%

        \[\leadsto t \cdot \color{blue}{\left(a \cdot \left(-x\right)\right)} \]
    9. Simplified60.6%

      \[\leadsto t \cdot \color{blue}{\left(a \cdot \left(-x\right)\right)} \]
  3. Recombined 7 regimes into one program.
  4. Final simplification45.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -4.4 \cdot 10^{-69}:\\ \;\;\;\;i \cdot \left(-y \cdot j\right)\\ \mathbf{elif}\;j \leq 7.5 \cdot 10^{-301}:\\ \;\;\;\;t \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;j \leq 3.85 \cdot 10^{-87}:\\ \;\;\;\;z \cdot \left(b \cdot \left(-c\right)\right)\\ \mathbf{elif}\;j \leq 1.85 \cdot 10^{-24}:\\ \;\;\;\;i \cdot \left(t \cdot b\right)\\ \mathbf{elif}\;j \leq 3 \cdot 10^{+44}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;j \leq 3.75 \cdot 10^{+92} \lor \neg \left(j \leq 6.4 \cdot 10^{+117}\right):\\ \;\;\;\;y \cdot \left(j \cdot \left(-i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(a \cdot \left(-x\right)\right)\\ \end{array} \]

Alternative 16: 29.9% accurate, 1.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;j \leq -8.5 \cdot 10^{-70}:\\ \;\;\;\;i \cdot \left(-y \cdot j\right)\\ \mathbf{elif}\;j \leq 6 \cdot 10^{-303}:\\ \;\;\;\;t \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;j \leq 2.8 \cdot 10^{-81}:\\ \;\;\;\;c \cdot \left(z \cdot \left(-b\right)\right)\\ \mathbf{elif}\;j \leq 5.8 \cdot 10^{-25}:\\ \;\;\;\;i \cdot \left(t \cdot b\right)\\ \mathbf{elif}\;j \leq 4 \cdot 10^{+38}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;j \leq 5.5 \cdot 10^{+93} \lor \neg \left(j \leq 4.3 \cdot 10^{+117}\right):\\ \;\;\;\;y \cdot \left(j \cdot \left(-i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(a \cdot \left(-x\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (<= j -8.5e-70)
   (* i (- (* y j)))
   (if (<= j 6e-303)
     (* t (* b i))
     (if (<= j 2.8e-81)
       (* c (* z (- b)))
       (if (<= j 5.8e-25)
         (* i (* t b))
         (if (<= j 4e+38)
           (* a (* c j))
           (if (or (<= j 5.5e+93) (not (<= j 4.3e+117)))
             (* y (* j (- i)))
             (* t (* a (- x))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (j <= -8.5e-70) {
		tmp = i * -(y * j);
	} else if (j <= 6e-303) {
		tmp = t * (b * i);
	} else if (j <= 2.8e-81) {
		tmp = c * (z * -b);
	} else if (j <= 5.8e-25) {
		tmp = i * (t * b);
	} else if (j <= 4e+38) {
		tmp = a * (c * j);
	} else if ((j <= 5.5e+93) || !(j <= 4.3e+117)) {
		tmp = y * (j * -i);
	} else {
		tmp = t * (a * -x);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: tmp
    if (j <= (-8.5d-70)) then
        tmp = i * -(y * j)
    else if (j <= 6d-303) then
        tmp = t * (b * i)
    else if (j <= 2.8d-81) then
        tmp = c * (z * -b)
    else if (j <= 5.8d-25) then
        tmp = i * (t * b)
    else if (j <= 4d+38) then
        tmp = a * (c * j)
    else if ((j <= 5.5d+93) .or. (.not. (j <= 4.3d+117))) then
        tmp = y * (j * -i)
    else
        tmp = t * (a * -x)
    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 tmp;
	if (j <= -8.5e-70) {
		tmp = i * -(y * j);
	} else if (j <= 6e-303) {
		tmp = t * (b * i);
	} else if (j <= 2.8e-81) {
		tmp = c * (z * -b);
	} else if (j <= 5.8e-25) {
		tmp = i * (t * b);
	} else if (j <= 4e+38) {
		tmp = a * (c * j);
	} else if ((j <= 5.5e+93) || !(j <= 4.3e+117)) {
		tmp = y * (j * -i);
	} else {
		tmp = t * (a * -x);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if j <= -8.5e-70:
		tmp = i * -(y * j)
	elif j <= 6e-303:
		tmp = t * (b * i)
	elif j <= 2.8e-81:
		tmp = c * (z * -b)
	elif j <= 5.8e-25:
		tmp = i * (t * b)
	elif j <= 4e+38:
		tmp = a * (c * j)
	elif (j <= 5.5e+93) or not (j <= 4.3e+117):
		tmp = y * (j * -i)
	else:
		tmp = t * (a * -x)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if (j <= -8.5e-70)
		tmp = Float64(i * Float64(-Float64(y * j)));
	elseif (j <= 6e-303)
		tmp = Float64(t * Float64(b * i));
	elseif (j <= 2.8e-81)
		tmp = Float64(c * Float64(z * Float64(-b)));
	elseif (j <= 5.8e-25)
		tmp = Float64(i * Float64(t * b));
	elseif (j <= 4e+38)
		tmp = Float64(a * Float64(c * j));
	elseif ((j <= 5.5e+93) || !(j <= 4.3e+117))
		tmp = Float64(y * Float64(j * Float64(-i)));
	else
		tmp = Float64(t * Float64(a * Float64(-x)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if (j <= -8.5e-70)
		tmp = i * -(y * j);
	elseif (j <= 6e-303)
		tmp = t * (b * i);
	elseif (j <= 2.8e-81)
		tmp = c * (z * -b);
	elseif (j <= 5.8e-25)
		tmp = i * (t * b);
	elseif (j <= 4e+38)
		tmp = a * (c * j);
	elseif ((j <= 5.5e+93) || ~((j <= 4.3e+117)))
		tmp = y * (j * -i);
	else
		tmp = t * (a * -x);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[j, -8.5e-70], N[(i * (-N[(y * j), $MachinePrecision])), $MachinePrecision], If[LessEqual[j, 6e-303], N[(t * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.8e-81], N[(c * N[(z * (-b)), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 5.8e-25], N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 4e+38], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[j, 5.5e+93], N[Not[LessEqual[j, 4.3e+117]], $MachinePrecision]], N[(y * N[(j * (-i)), $MachinePrecision]), $MachinePrecision], N[(t * N[(a * (-x)), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;j \leq -8.5 \cdot 10^{-70}:\\
\;\;\;\;i \cdot \left(-y \cdot j\right)\\

\mathbf{elif}\;j \leq 6 \cdot 10^{-303}:\\
\;\;\;\;t \cdot \left(b \cdot i\right)\\

\mathbf{elif}\;j \leq 2.8 \cdot 10^{-81}:\\
\;\;\;\;c \cdot \left(z \cdot \left(-b\right)\right)\\

\mathbf{elif}\;j \leq 5.8 \cdot 10^{-25}:\\
\;\;\;\;i \cdot \left(t \cdot b\right)\\

\mathbf{elif}\;j \leq 4 \cdot 10^{+38}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\

\mathbf{elif}\;j \leq 5.5 \cdot 10^{+93} \lor \neg \left(j \leq 4.3 \cdot 10^{+117}\right):\\
\;\;\;\;y \cdot \left(j \cdot \left(-i\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t \cdot \left(a \cdot \left(-x\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if j < -8.5000000000000002e-70

    1. Initial program 76.6%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-76.6%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative76.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg76.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg76.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative76.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified76.6%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in i around inf 50.9%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j\right) - -1 \cdot \left(t \cdot b\right)\right)} \]
    5. Step-by-step derivation
      1. cancel-sign-sub-inv50.9%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right) + \left(--1\right) \cdot \left(t \cdot b\right)\right)} \]
      2. metadata-eval50.9%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{1} \cdot \left(t \cdot b\right)\right) \]
      3. *-lft-identity50.9%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{t \cdot b}\right) \]
      4. +-commutative50.9%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b + -1 \cdot \left(y \cdot j\right)\right)} \]
      5. mul-1-neg50.9%

        \[\leadsto i \cdot \left(t \cdot b + \color{blue}{\left(-y \cdot j\right)}\right) \]
      6. unsub-neg50.9%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b - y \cdot j\right)} \]
    6. Simplified50.9%

      \[\leadsto \color{blue}{i \cdot \left(t \cdot b - y \cdot j\right)} \]
    7. Taylor expanded in t around 0 37.3%

      \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right)\right)} \]
    8. Step-by-step derivation
      1. neg-mul-137.3%

        \[\leadsto i \cdot \color{blue}{\left(-y \cdot j\right)} \]
      2. distribute-rgt-neg-in37.3%

        \[\leadsto i \cdot \color{blue}{\left(y \cdot \left(-j\right)\right)} \]
    9. Simplified37.3%

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

    if -8.5000000000000002e-70 < j < 6.00000000000000055e-303

    1. Initial program 81.6%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-81.6%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative81.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg81.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg81.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative81.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified81.6%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in t around inf 54.3%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right) \cdot t} \]
    5. Step-by-step derivation
      1. *-commutative54.3%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right)} \]
      2. cancel-sign-sub-inv54.3%

        \[\leadsto t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right) + \left(--1\right) \cdot \left(i \cdot b\right)\right)} \]
      3. metadata-eval54.3%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{1} \cdot \left(i \cdot b\right)\right) \]
      4. *-lft-identity54.3%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{i \cdot b}\right) \]
      5. +-commutative54.3%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b + -1 \cdot \left(a \cdot x\right)\right)} \]
      6. mul-1-neg54.3%

        \[\leadsto t \cdot \left(i \cdot b + \color{blue}{\left(-a \cdot x\right)}\right) \]
      7. unsub-neg54.3%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b - a \cdot x\right)} \]
    6. Simplified54.3%

      \[\leadsto \color{blue}{t \cdot \left(i \cdot b - a \cdot x\right)} \]
    7. Taylor expanded in i around inf 41.0%

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

    if 6.00000000000000055e-303 < j < 2.7999999999999999e-81

    1. Initial program 78.0%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative78.0%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def78.0%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative78.0%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative78.0%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified78.0%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in x around 0 52.3%

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

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(b \cdot z\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg40.1%

        \[\leadsto \color{blue}{-c \cdot \left(b \cdot z\right)} \]
      2. *-commutative40.1%

        \[\leadsto -c \cdot \color{blue}{\left(z \cdot b\right)} \]
      3. *-commutative40.1%

        \[\leadsto -\color{blue}{\left(z \cdot b\right) \cdot c} \]
      4. distribute-rgt-neg-in40.1%

        \[\leadsto \color{blue}{\left(z \cdot b\right) \cdot \left(-c\right)} \]
      5. *-commutative40.1%

        \[\leadsto \color{blue}{\left(b \cdot z\right)} \cdot \left(-c\right) \]
    7. Simplified40.1%

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

    if 2.7999999999999999e-81 < j < 5.8000000000000001e-25

    1. Initial program 91.5%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative91.5%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def91.5%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative91.5%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative91.5%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified91.5%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in x around 0 76.0%

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

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

    if 5.8000000000000001e-25 < j < 3.99999999999999991e38

    1. Initial program 99.0%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-99.0%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative99.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg99.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg99.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative99.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified99.0%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in a around inf 51.7%

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
    5. Step-by-step derivation
      1. +-commutative51.7%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(t \cdot x\right)\right)} \]
      2. mul-1-neg51.7%

        \[\leadsto a \cdot \left(c \cdot j + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg51.7%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j - t \cdot x\right)} \]
    6. Simplified51.7%

      \[\leadsto \color{blue}{a \cdot \left(c \cdot j - t \cdot x\right)} \]
    7. Taylor expanded in c around inf 51.7%

      \[\leadsto a \cdot \color{blue}{\left(c \cdot j\right)} \]

    if 3.99999999999999991e38 < j < 5.5000000000000003e93 or 4.29999999999999998e117 < j

    1. Initial program 69.5%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-69.5%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative69.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg69.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg69.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative69.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified69.5%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in i around inf 55.6%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j\right) - -1 \cdot \left(t \cdot b\right)\right)} \]
    5. Step-by-step derivation
      1. cancel-sign-sub-inv55.6%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right) + \left(--1\right) \cdot \left(t \cdot b\right)\right)} \]
      2. metadata-eval55.6%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{1} \cdot \left(t \cdot b\right)\right) \]
      3. *-lft-identity55.6%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{t \cdot b}\right) \]
      4. +-commutative55.6%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b + -1 \cdot \left(y \cdot j\right)\right)} \]
      5. mul-1-neg55.6%

        \[\leadsto i \cdot \left(t \cdot b + \color{blue}{\left(-y \cdot j\right)}\right) \]
      6. unsub-neg55.6%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b - y \cdot j\right)} \]
    6. Simplified55.6%

      \[\leadsto \color{blue}{i \cdot \left(t \cdot b - y \cdot j\right)} \]
    7. Taylor expanded in t around 0 61.2%

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(i \cdot j\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*61.2%

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

        \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(i \cdot j\right) \]
    9. Simplified61.2%

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

    if 5.5000000000000003e93 < j < 4.29999999999999998e117

    1. Initial program 70.0%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-70.0%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative70.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg70.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg70.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative70.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified70.0%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in t around inf 70.4%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right) \cdot t} \]
    5. Step-by-step derivation
      1. *-commutative70.4%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right)} \]
      2. cancel-sign-sub-inv70.4%

        \[\leadsto t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right) + \left(--1\right) \cdot \left(i \cdot b\right)\right)} \]
      3. metadata-eval70.4%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{1} \cdot \left(i \cdot b\right)\right) \]
      4. *-lft-identity70.4%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{i \cdot b}\right) \]
      5. +-commutative70.4%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b + -1 \cdot \left(a \cdot x\right)\right)} \]
      6. mul-1-neg70.4%

        \[\leadsto t \cdot \left(i \cdot b + \color{blue}{\left(-a \cdot x\right)}\right) \]
      7. unsub-neg70.4%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b - a \cdot x\right)} \]
    6. Simplified70.4%

      \[\leadsto \color{blue}{t \cdot \left(i \cdot b - a \cdot x\right)} \]
    7. Taylor expanded in i around 0 60.6%

      \[\leadsto t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right)} \]
    8. Step-by-step derivation
      1. neg-mul-160.6%

        \[\leadsto t \cdot \color{blue}{\left(-a \cdot x\right)} \]
      2. distribute-rgt-neg-in60.6%

        \[\leadsto t \cdot \color{blue}{\left(a \cdot \left(-x\right)\right)} \]
    9. Simplified60.6%

      \[\leadsto t \cdot \color{blue}{\left(a \cdot \left(-x\right)\right)} \]
  3. Recombined 7 regimes into one program.
  4. Final simplification45.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -8.5 \cdot 10^{-70}:\\ \;\;\;\;i \cdot \left(-y \cdot j\right)\\ \mathbf{elif}\;j \leq 6 \cdot 10^{-303}:\\ \;\;\;\;t \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;j \leq 2.8 \cdot 10^{-81}:\\ \;\;\;\;c \cdot \left(z \cdot \left(-b\right)\right)\\ \mathbf{elif}\;j \leq 5.8 \cdot 10^{-25}:\\ \;\;\;\;i \cdot \left(t \cdot b\right)\\ \mathbf{elif}\;j \leq 4 \cdot 10^{+38}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;j \leq 5.5 \cdot 10^{+93} \lor \neg \left(j \leq 4.3 \cdot 10^{+117}\right):\\ \;\;\;\;y \cdot \left(j \cdot \left(-i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(a \cdot \left(-x\right)\right)\\ \end{array} \]

Alternative 17: 30.5% accurate, 1.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := i \cdot \left(-y \cdot j\right)\\ \mathbf{if}\;t \leq -5.5 \cdot 10^{+277}:\\ \;\;\;\;t \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;t \leq -1.1 \cdot 10^{+224}:\\ \;\;\;\;t \cdot \left(a \cdot \left(-x\right)\right)\\ \mathbf{elif}\;t \leq -1 \cdot 10^{+86}:\\ \;\;\;\;i \cdot \left(t \cdot b\right)\\ \mathbf{elif}\;t \leq -3.1 \cdot 10^{-263}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 4.5 \cdot 10^{-291}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;t \leq 9.6 \cdot 10^{-111}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 65000:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(t \cdot i\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* i (- (* y j)))))
   (if (<= t -5.5e+277)
     (* t (* b i))
     (if (<= t -1.1e+224)
       (* t (* a (- x)))
       (if (<= t -1e+86)
         (* i (* t b))
         (if (<= t -3.1e-263)
           t_1
           (if (<= t 4.5e-291)
             (* a (* c j))
             (if (<= t 9.6e-111)
               t_1
               (if (<= t 65000.0) (* x (* y z)) (* b (* t i)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = i * -(y * j);
	double tmp;
	if (t <= -5.5e+277) {
		tmp = t * (b * i);
	} else if (t <= -1.1e+224) {
		tmp = t * (a * -x);
	} else if (t <= -1e+86) {
		tmp = i * (t * b);
	} else if (t <= -3.1e-263) {
		tmp = t_1;
	} else if (t <= 4.5e-291) {
		tmp = a * (c * j);
	} else if (t <= 9.6e-111) {
		tmp = t_1;
	} else if (t <= 65000.0) {
		tmp = x * (y * z);
	} else {
		tmp = b * (t * i);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: tmp
    t_1 = i * -(y * j)
    if (t <= (-5.5d+277)) then
        tmp = t * (b * i)
    else if (t <= (-1.1d+224)) then
        tmp = t * (a * -x)
    else if (t <= (-1d+86)) then
        tmp = i * (t * b)
    else if (t <= (-3.1d-263)) then
        tmp = t_1
    else if (t <= 4.5d-291) then
        tmp = a * (c * j)
    else if (t <= 9.6d-111) then
        tmp = t_1
    else if (t <= 65000.0d0) then
        tmp = x * (y * z)
    else
        tmp = b * (t * 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 t_1 = i * -(y * j);
	double tmp;
	if (t <= -5.5e+277) {
		tmp = t * (b * i);
	} else if (t <= -1.1e+224) {
		tmp = t * (a * -x);
	} else if (t <= -1e+86) {
		tmp = i * (t * b);
	} else if (t <= -3.1e-263) {
		tmp = t_1;
	} else if (t <= 4.5e-291) {
		tmp = a * (c * j);
	} else if (t <= 9.6e-111) {
		tmp = t_1;
	} else if (t <= 65000.0) {
		tmp = x * (y * z);
	} else {
		tmp = b * (t * i);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = i * -(y * j)
	tmp = 0
	if t <= -5.5e+277:
		tmp = t * (b * i)
	elif t <= -1.1e+224:
		tmp = t * (a * -x)
	elif t <= -1e+86:
		tmp = i * (t * b)
	elif t <= -3.1e-263:
		tmp = t_1
	elif t <= 4.5e-291:
		tmp = a * (c * j)
	elif t <= 9.6e-111:
		tmp = t_1
	elif t <= 65000.0:
		tmp = x * (y * z)
	else:
		tmp = b * (t * i)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(i * Float64(-Float64(y * j)))
	tmp = 0.0
	if (t <= -5.5e+277)
		tmp = Float64(t * Float64(b * i));
	elseif (t <= -1.1e+224)
		tmp = Float64(t * Float64(a * Float64(-x)));
	elseif (t <= -1e+86)
		tmp = Float64(i * Float64(t * b));
	elseif (t <= -3.1e-263)
		tmp = t_1;
	elseif (t <= 4.5e-291)
		tmp = Float64(a * Float64(c * j));
	elseif (t <= 9.6e-111)
		tmp = t_1;
	elseif (t <= 65000.0)
		tmp = Float64(x * Float64(y * z));
	else
		tmp = Float64(b * Float64(t * i));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = i * -(y * j);
	tmp = 0.0;
	if (t <= -5.5e+277)
		tmp = t * (b * i);
	elseif (t <= -1.1e+224)
		tmp = t * (a * -x);
	elseif (t <= -1e+86)
		tmp = i * (t * b);
	elseif (t <= -3.1e-263)
		tmp = t_1;
	elseif (t <= 4.5e-291)
		tmp = a * (c * j);
	elseif (t <= 9.6e-111)
		tmp = t_1;
	elseif (t <= 65000.0)
		tmp = x * (y * z);
	else
		tmp = b * (t * i);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(i * (-N[(y * j), $MachinePrecision])), $MachinePrecision]}, If[LessEqual[t, -5.5e+277], N[(t * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.1e+224], N[(t * N[(a * (-x)), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1e+86], N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -3.1e-263], t$95$1, If[LessEqual[t, 4.5e-291], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 9.6e-111], t$95$1, If[LessEqual[t, 65000.0], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := i \cdot \left(-y \cdot j\right)\\
\mathbf{if}\;t \leq -5.5 \cdot 10^{+277}:\\
\;\;\;\;t \cdot \left(b \cdot i\right)\\

\mathbf{elif}\;t \leq -1.1 \cdot 10^{+224}:\\
\;\;\;\;t \cdot \left(a \cdot \left(-x\right)\right)\\

\mathbf{elif}\;t \leq -1 \cdot 10^{+86}:\\
\;\;\;\;i \cdot \left(t \cdot b\right)\\

\mathbf{elif}\;t \leq -3.1 \cdot 10^{-263}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;t \leq 4.5 \cdot 10^{-291}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\

\mathbf{elif}\;t \leq 9.6 \cdot 10^{-111}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;t \leq 65000:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\

\mathbf{else}:\\
\;\;\;\;b \cdot \left(t \cdot i\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if t < -5.49999999999999972e277

    1. Initial program 79.7%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-79.7%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative79.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg79.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg79.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative79.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified79.7%

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

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right) \cdot t} \]
    5. Step-by-step derivation
      1. *-commutative100.0%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right)} \]
      2. cancel-sign-sub-inv100.0%

        \[\leadsto t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right) + \left(--1\right) \cdot \left(i \cdot b\right)\right)} \]
      3. metadata-eval100.0%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{1} \cdot \left(i \cdot b\right)\right) \]
      4. *-lft-identity100.0%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{i \cdot b}\right) \]
      5. +-commutative100.0%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b + -1 \cdot \left(a \cdot x\right)\right)} \]
      6. mul-1-neg100.0%

        \[\leadsto t \cdot \left(i \cdot b + \color{blue}{\left(-a \cdot x\right)}\right) \]
      7. unsub-neg100.0%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b - a \cdot x\right)} \]
    6. Simplified100.0%

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

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

    if -5.49999999999999972e277 < t < -1.1e224

    1. Initial program 63.5%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-63.5%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative63.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg63.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg63.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative63.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified63.5%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in t around inf 82.4%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right) \cdot t} \]
    5. Step-by-step derivation
      1. *-commutative82.4%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right)} \]
      2. cancel-sign-sub-inv82.4%

        \[\leadsto t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right) + \left(--1\right) \cdot \left(i \cdot b\right)\right)} \]
      3. metadata-eval82.4%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{1} \cdot \left(i \cdot b\right)\right) \]
      4. *-lft-identity82.4%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{i \cdot b}\right) \]
      5. +-commutative82.4%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b + -1 \cdot \left(a \cdot x\right)\right)} \]
      6. mul-1-neg82.4%

        \[\leadsto t \cdot \left(i \cdot b + \color{blue}{\left(-a \cdot x\right)}\right) \]
      7. unsub-neg82.4%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b - a \cdot x\right)} \]
    6. Simplified82.4%

      \[\leadsto \color{blue}{t \cdot \left(i \cdot b - a \cdot x\right)} \]
    7. Taylor expanded in i around 0 73.3%

      \[\leadsto t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right)} \]
    8. Step-by-step derivation
      1. neg-mul-173.3%

        \[\leadsto t \cdot \color{blue}{\left(-a \cdot x\right)} \]
      2. distribute-rgt-neg-in73.3%

        \[\leadsto t \cdot \color{blue}{\left(a \cdot \left(-x\right)\right)} \]
    9. Simplified73.3%

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

    if -1.1e224 < t < -1e86

    1. Initial program 80.9%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative80.9%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def80.9%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative80.9%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative80.9%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified80.9%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in x around 0 55.4%

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

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

    if -1e86 < t < -3.10000000000000004e-263 or 4.49999999999999974e-291 < t < 9.6000000000000003e-111

    1. Initial program 80.0%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-80.0%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative80.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg80.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg80.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative80.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified80.0%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in i around inf 44.6%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j\right) - -1 \cdot \left(t \cdot b\right)\right)} \]
    5. Step-by-step derivation
      1. cancel-sign-sub-inv44.6%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right) + \left(--1\right) \cdot \left(t \cdot b\right)\right)} \]
      2. metadata-eval44.6%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{1} \cdot \left(t \cdot b\right)\right) \]
      3. *-lft-identity44.6%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{t \cdot b}\right) \]
      4. +-commutative44.6%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b + -1 \cdot \left(y \cdot j\right)\right)} \]
      5. mul-1-neg44.6%

        \[\leadsto i \cdot \left(t \cdot b + \color{blue}{\left(-y \cdot j\right)}\right) \]
      6. unsub-neg44.6%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b - y \cdot j\right)} \]
    6. Simplified44.6%

      \[\leadsto \color{blue}{i \cdot \left(t \cdot b - y \cdot j\right)} \]
    7. Taylor expanded in t around 0 38.5%

      \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right)\right)} \]
    8. Step-by-step derivation
      1. neg-mul-138.5%

        \[\leadsto i \cdot \color{blue}{\left(-y \cdot j\right)} \]
      2. distribute-rgt-neg-in38.5%

        \[\leadsto i \cdot \color{blue}{\left(y \cdot \left(-j\right)\right)} \]
    9. Simplified38.5%

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

    if -3.10000000000000004e-263 < t < 4.49999999999999974e-291

    1. Initial program 78.9%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-78.9%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative78.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg78.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg78.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative78.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified78.9%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in a around inf 51.2%

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
    5. Step-by-step derivation
      1. +-commutative51.2%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(t \cdot x\right)\right)} \]
      2. mul-1-neg51.2%

        \[\leadsto a \cdot \left(c \cdot j + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg51.2%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j - t \cdot x\right)} \]
    6. Simplified51.2%

      \[\leadsto \color{blue}{a \cdot \left(c \cdot j - t \cdot x\right)} \]
    7. Taylor expanded in c around inf 51.3%

      \[\leadsto a \cdot \color{blue}{\left(c \cdot j\right)} \]

    if 9.6000000000000003e-111 < t < 65000

    1. Initial program 72.7%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-72.7%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative72.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg72.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg72.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative72.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified72.7%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in j around 0 59.4%

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

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

      \[\leadsto \color{blue}{\left(y \cdot z\right)} \cdot x \]
    7. Step-by-step derivation
      1. *-commutative49.4%

        \[\leadsto \color{blue}{\left(z \cdot y\right)} \cdot x \]
    8. Simplified49.4%

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

    if 65000 < t

    1. Initial program 79.2%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-79.2%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative79.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg79.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg79.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative79.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified79.2%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in b around inf 47.2%

      \[\leadsto \color{blue}{\left(i \cdot t - c \cdot z\right) \cdot b} \]
    5. Taylor expanded in i around inf 40.9%

      \[\leadsto \color{blue}{\left(i \cdot t\right)} \cdot b \]
  3. Recombined 7 regimes into one program.
  4. Final simplification44.7%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -5.5 \cdot 10^{+277}:\\ \;\;\;\;t \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;t \leq -1.1 \cdot 10^{+224}:\\ \;\;\;\;t \cdot \left(a \cdot \left(-x\right)\right)\\ \mathbf{elif}\;t \leq -1 \cdot 10^{+86}:\\ \;\;\;\;i \cdot \left(t \cdot b\right)\\ \mathbf{elif}\;t \leq -3.1 \cdot 10^{-263}:\\ \;\;\;\;i \cdot \left(-y \cdot j\right)\\ \mathbf{elif}\;t \leq 4.5 \cdot 10^{-291}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;t \leq 9.6 \cdot 10^{-111}:\\ \;\;\;\;i \cdot \left(-y \cdot j\right)\\ \mathbf{elif}\;t \leq 65000:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(t \cdot i\right)\\ \end{array} \]

Alternative 18: 51.8% accurate, 1.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := i \cdot \left(t \cdot b - y \cdot j\right)\\ t_2 := c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{if}\;c \leq -6 \cdot 10^{+99}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 2.7 \cdot 10^{-279}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 1.5 \cdot 10^{-196}:\\ \;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\ \mathbf{elif}\;c \leq 5.8 \cdot 10^{-130}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 2.2 \cdot 10^{+119}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* i (- (* t b) (* y j)))) (t_2 (* c (- (* a j) (* z b)))))
   (if (<= c -6e+99)
     t_2
     (if (<= c 2.7e-279)
       t_1
       (if (<= c 1.5e-196)
         (* t (- (* b i) (* x a)))
         (if (<= c 5.8e-130)
           t_1
           (if (<= c 2.2e+119) (* y (- (* x z) (* i j))) t_2)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = i * ((t * b) - (y * j));
	double t_2 = c * ((a * j) - (z * b));
	double tmp;
	if (c <= -6e+99) {
		tmp = t_2;
	} else if (c <= 2.7e-279) {
		tmp = t_1;
	} else if (c <= 1.5e-196) {
		tmp = t * ((b * i) - (x * a));
	} else if (c <= 5.8e-130) {
		tmp = t_1;
	} else if (c <= 2.2e+119) {
		tmp = y * ((x * z) - (i * j));
	} else {
		tmp = t_2;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = i * ((t * b) - (y * j))
    t_2 = c * ((a * j) - (z * b))
    if (c <= (-6d+99)) then
        tmp = t_2
    else if (c <= 2.7d-279) then
        tmp = t_1
    else if (c <= 1.5d-196) then
        tmp = t * ((b * i) - (x * a))
    else if (c <= 5.8d-130) then
        tmp = t_1
    else if (c <= 2.2d+119) then
        tmp = y * ((x * z) - (i * j))
    else
        tmp = t_2
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = i * ((t * b) - (y * j));
	double t_2 = c * ((a * j) - (z * b));
	double tmp;
	if (c <= -6e+99) {
		tmp = t_2;
	} else if (c <= 2.7e-279) {
		tmp = t_1;
	} else if (c <= 1.5e-196) {
		tmp = t * ((b * i) - (x * a));
	} else if (c <= 5.8e-130) {
		tmp = t_1;
	} else if (c <= 2.2e+119) {
		tmp = y * ((x * z) - (i * j));
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = i * ((t * b) - (y * j))
	t_2 = c * ((a * j) - (z * b))
	tmp = 0
	if c <= -6e+99:
		tmp = t_2
	elif c <= 2.7e-279:
		tmp = t_1
	elif c <= 1.5e-196:
		tmp = t * ((b * i) - (x * a))
	elif c <= 5.8e-130:
		tmp = t_1
	elif c <= 2.2e+119:
		tmp = y * ((x * z) - (i * j))
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(i * Float64(Float64(t * b) - Float64(y * j)))
	t_2 = Float64(c * Float64(Float64(a * j) - Float64(z * b)))
	tmp = 0.0
	if (c <= -6e+99)
		tmp = t_2;
	elseif (c <= 2.7e-279)
		tmp = t_1;
	elseif (c <= 1.5e-196)
		tmp = Float64(t * Float64(Float64(b * i) - Float64(x * a)));
	elseif (c <= 5.8e-130)
		tmp = t_1;
	elseif (c <= 2.2e+119)
		tmp = Float64(y * Float64(Float64(x * z) - Float64(i * j)));
	else
		tmp = t_2;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = i * ((t * b) - (y * j));
	t_2 = c * ((a * j) - (z * b));
	tmp = 0.0;
	if (c <= -6e+99)
		tmp = t_2;
	elseif (c <= 2.7e-279)
		tmp = t_1;
	elseif (c <= 1.5e-196)
		tmp = t * ((b * i) - (x * a));
	elseif (c <= 5.8e-130)
		tmp = t_1;
	elseif (c <= 2.2e+119)
		tmp = y * ((x * z) - (i * j));
	else
		tmp = t_2;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(i * N[(N[(t * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(N[(a * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -6e+99], t$95$2, If[LessEqual[c, 2.7e-279], t$95$1, If[LessEqual[c, 1.5e-196], N[(t * N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5.8e-130], t$95$1, If[LessEqual[c, 2.2e+119], N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := i \cdot \left(t \cdot b - y \cdot j\right)\\
t_2 := c \cdot \left(a \cdot j - z \cdot b\right)\\
\mathbf{if}\;c \leq -6 \cdot 10^{+99}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;c \leq 2.7 \cdot 10^{-279}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;c \leq 1.5 \cdot 10^{-196}:\\
\;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\

\mathbf{elif}\;c \leq 5.8 \cdot 10^{-130}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;c \leq 2.2 \cdot 10^{+119}:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\

\mathbf{else}:\\
\;\;\;\;t_2\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if c < -6.00000000000000029e99 or 2.2000000000000001e119 < c

    1. Initial program 70.3%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-70.3%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative70.3%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg70.3%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg70.3%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative70.3%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified70.3%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in c around inf 72.8%

      \[\leadsto \color{blue}{c \cdot \left(a \cdot j - z \cdot b\right)} \]

    if -6.00000000000000029e99 < c < 2.7000000000000001e-279 or 1.5e-196 < c < 5.8e-130

    1. Initial program 80.0%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-80.0%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative80.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg80.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg80.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative80.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified80.0%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in i around inf 59.1%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j\right) - -1 \cdot \left(t \cdot b\right)\right)} \]
    5. Step-by-step derivation
      1. cancel-sign-sub-inv59.1%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right) + \left(--1\right) \cdot \left(t \cdot b\right)\right)} \]
      2. metadata-eval59.1%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{1} \cdot \left(t \cdot b\right)\right) \]
      3. *-lft-identity59.1%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{t \cdot b}\right) \]
      4. +-commutative59.1%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b + -1 \cdot \left(y \cdot j\right)\right)} \]
      5. mul-1-neg59.1%

        \[\leadsto i \cdot \left(t \cdot b + \color{blue}{\left(-y \cdot j\right)}\right) \]
      6. unsub-neg59.1%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b - y \cdot j\right)} \]
    6. Simplified59.1%

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

    if 2.7000000000000001e-279 < c < 1.5e-196

    1. Initial program 99.9%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-99.9%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative99.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg99.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg99.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative99.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified99.9%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in t around inf 72.4%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right) \cdot t} \]
    5. Step-by-step derivation
      1. *-commutative72.4%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right)} \]
      2. cancel-sign-sub-inv72.4%

        \[\leadsto t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right) + \left(--1\right) \cdot \left(i \cdot b\right)\right)} \]
      3. metadata-eval72.4%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{1} \cdot \left(i \cdot b\right)\right) \]
      4. *-lft-identity72.4%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{i \cdot b}\right) \]
      5. +-commutative72.4%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b + -1 \cdot \left(a \cdot x\right)\right)} \]
      6. mul-1-neg72.4%

        \[\leadsto t \cdot \left(i \cdot b + \color{blue}{\left(-a \cdot x\right)}\right) \]
      7. unsub-neg72.4%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b - a \cdot x\right)} \]
    6. Simplified72.4%

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

    if 5.8e-130 < c < 2.2000000000000001e119

    1. Initial program 82.7%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-82.7%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative82.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg82.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg82.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative82.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified82.7%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in y around inf 60.5%

      \[\leadsto \color{blue}{\left(z \cdot x + -1 \cdot \left(i \cdot j\right)\right) \cdot y} \]
    5. Step-by-step derivation
      1. *-commutative60.5%

        \[\leadsto \color{blue}{y \cdot \left(z \cdot x + -1 \cdot \left(i \cdot j\right)\right)} \]
      2. mul-1-neg60.5%

        \[\leadsto y \cdot \left(z \cdot x + \color{blue}{\left(-i \cdot j\right)}\right) \]
      3. unsub-neg60.5%

        \[\leadsto y \cdot \color{blue}{\left(z \cdot x - i \cdot j\right)} \]
    6. Simplified60.5%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification64.7%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -6 \cdot 10^{+99}:\\ \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{elif}\;c \leq 2.7 \cdot 10^{-279}:\\ \;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\ \mathbf{elif}\;c \leq 1.5 \cdot 10^{-196}:\\ \;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\ \mathbf{elif}\;c \leq 5.8 \cdot 10^{-130}:\\ \;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\ \mathbf{elif}\;c \leq 2.2 \cdot 10^{+119}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\ \end{array} \]

Alternative 19: 29.8% accurate, 1.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(c \cdot j\right)\\ \mathbf{if}\;i \leq -9 \cdot 10^{+33}:\\ \;\;\;\;i \cdot \left(-y \cdot j\right)\\ \mathbf{elif}\;i \leq 1.1 \cdot 10^{-272}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;i \leq 3.4 \cdot 10^{-179}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;i \leq 2.5 \cdot 10^{-116}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;i \leq 1.05 \cdot 10^{-13}:\\ \;\;\;\;t \cdot \left(a \cdot \left(-x\right)\right)\\ \mathbf{elif}\;i \leq 1.02 \cdot 10^{+247}:\\ \;\;\;\;y \cdot \left(j \cdot \left(-i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(t \cdot i\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* a (* c j))))
   (if (<= i -9e+33)
     (* i (- (* y j)))
     (if (<= i 1.1e-272)
       t_1
       (if (<= i 3.4e-179)
         (* y (* x z))
         (if (<= i 2.5e-116)
           t_1
           (if (<= i 1.05e-13)
             (* t (* a (- x)))
             (if (<= i 1.02e+247) (* y (* j (- i))) (* b (* t i))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = a * (c * j);
	double tmp;
	if (i <= -9e+33) {
		tmp = i * -(y * j);
	} else if (i <= 1.1e-272) {
		tmp = t_1;
	} else if (i <= 3.4e-179) {
		tmp = y * (x * z);
	} else if (i <= 2.5e-116) {
		tmp = t_1;
	} else if (i <= 1.05e-13) {
		tmp = t * (a * -x);
	} else if (i <= 1.02e+247) {
		tmp = y * (j * -i);
	} else {
		tmp = b * (t * i);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: tmp
    t_1 = a * (c * j)
    if (i <= (-9d+33)) then
        tmp = i * -(y * j)
    else if (i <= 1.1d-272) then
        tmp = t_1
    else if (i <= 3.4d-179) then
        tmp = y * (x * z)
    else if (i <= 2.5d-116) then
        tmp = t_1
    else if (i <= 1.05d-13) then
        tmp = t * (a * -x)
    else if (i <= 1.02d+247) then
        tmp = y * (j * -i)
    else
        tmp = b * (t * 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 t_1 = a * (c * j);
	double tmp;
	if (i <= -9e+33) {
		tmp = i * -(y * j);
	} else if (i <= 1.1e-272) {
		tmp = t_1;
	} else if (i <= 3.4e-179) {
		tmp = y * (x * z);
	} else if (i <= 2.5e-116) {
		tmp = t_1;
	} else if (i <= 1.05e-13) {
		tmp = t * (a * -x);
	} else if (i <= 1.02e+247) {
		tmp = y * (j * -i);
	} else {
		tmp = b * (t * i);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = a * (c * j)
	tmp = 0
	if i <= -9e+33:
		tmp = i * -(y * j)
	elif i <= 1.1e-272:
		tmp = t_1
	elif i <= 3.4e-179:
		tmp = y * (x * z)
	elif i <= 2.5e-116:
		tmp = t_1
	elif i <= 1.05e-13:
		tmp = t * (a * -x)
	elif i <= 1.02e+247:
		tmp = y * (j * -i)
	else:
		tmp = b * (t * i)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(a * Float64(c * j))
	tmp = 0.0
	if (i <= -9e+33)
		tmp = Float64(i * Float64(-Float64(y * j)));
	elseif (i <= 1.1e-272)
		tmp = t_1;
	elseif (i <= 3.4e-179)
		tmp = Float64(y * Float64(x * z));
	elseif (i <= 2.5e-116)
		tmp = t_1;
	elseif (i <= 1.05e-13)
		tmp = Float64(t * Float64(a * Float64(-x)));
	elseif (i <= 1.02e+247)
		tmp = Float64(y * Float64(j * Float64(-i)));
	else
		tmp = Float64(b * Float64(t * i));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = a * (c * j);
	tmp = 0.0;
	if (i <= -9e+33)
		tmp = i * -(y * j);
	elseif (i <= 1.1e-272)
		tmp = t_1;
	elseif (i <= 3.4e-179)
		tmp = y * (x * z);
	elseif (i <= 2.5e-116)
		tmp = t_1;
	elseif (i <= 1.05e-13)
		tmp = t * (a * -x);
	elseif (i <= 1.02e+247)
		tmp = y * (j * -i);
	else
		tmp = b * (t * i);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -9e+33], N[(i * (-N[(y * j), $MachinePrecision])), $MachinePrecision], If[LessEqual[i, 1.1e-272], t$95$1, If[LessEqual[i, 3.4e-179], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.5e-116], t$95$1, If[LessEqual[i, 1.05e-13], N[(t * N[(a * (-x)), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.02e+247], N[(y * N[(j * (-i)), $MachinePrecision]), $MachinePrecision], N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(c \cdot j\right)\\
\mathbf{if}\;i \leq -9 \cdot 10^{+33}:\\
\;\;\;\;i \cdot \left(-y \cdot j\right)\\

\mathbf{elif}\;i \leq 1.1 \cdot 10^{-272}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;i \leq 3.4 \cdot 10^{-179}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\

\mathbf{elif}\;i \leq 2.5 \cdot 10^{-116}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;i \leq 1.05 \cdot 10^{-13}:\\
\;\;\;\;t \cdot \left(a \cdot \left(-x\right)\right)\\

\mathbf{elif}\;i \leq 1.02 \cdot 10^{+247}:\\
\;\;\;\;y \cdot \left(j \cdot \left(-i\right)\right)\\

\mathbf{else}:\\
\;\;\;\;b \cdot \left(t \cdot i\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if i < -9.0000000000000001e33

    1. Initial program 65.2%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-65.2%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative65.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg65.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg65.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative65.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified65.2%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in i around inf 69.9%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j\right) - -1 \cdot \left(t \cdot b\right)\right)} \]
    5. Step-by-step derivation
      1. cancel-sign-sub-inv69.9%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right) + \left(--1\right) \cdot \left(t \cdot b\right)\right)} \]
      2. metadata-eval69.9%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{1} \cdot \left(t \cdot b\right)\right) \]
      3. *-lft-identity69.9%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{t \cdot b}\right) \]
      4. +-commutative69.9%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b + -1 \cdot \left(y \cdot j\right)\right)} \]
      5. mul-1-neg69.9%

        \[\leadsto i \cdot \left(t \cdot b + \color{blue}{\left(-y \cdot j\right)}\right) \]
      6. unsub-neg69.9%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b - y \cdot j\right)} \]
    6. Simplified69.9%

      \[\leadsto \color{blue}{i \cdot \left(t \cdot b - y \cdot j\right)} \]
    7. Taylor expanded in t around 0 44.9%

      \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right)\right)} \]
    8. Step-by-step derivation
      1. neg-mul-144.9%

        \[\leadsto i \cdot \color{blue}{\left(-y \cdot j\right)} \]
      2. distribute-rgt-neg-in44.9%

        \[\leadsto i \cdot \color{blue}{\left(y \cdot \left(-j\right)\right)} \]
    9. Simplified44.9%

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

    if -9.0000000000000001e33 < i < 1.09999999999999994e-272 or 3.3999999999999997e-179 < i < 2.5000000000000001e-116

    1. Initial program 86.8%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-86.8%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative86.8%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg86.8%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg86.8%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative86.8%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified86.8%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in a around inf 44.6%

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
    5. Step-by-step derivation
      1. +-commutative44.6%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(t \cdot x\right)\right)} \]
      2. mul-1-neg44.6%

        \[\leadsto a \cdot \left(c \cdot j + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg44.6%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j - t \cdot x\right)} \]
    6. Simplified44.6%

      \[\leadsto \color{blue}{a \cdot \left(c \cdot j - t \cdot x\right)} \]
    7. Taylor expanded in c around inf 32.1%

      \[\leadsto a \cdot \color{blue}{\left(c \cdot j\right)} \]

    if 1.09999999999999994e-272 < i < 3.3999999999999997e-179

    1. Initial program 85.0%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative85.0%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def85.0%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative85.0%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative85.0%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified85.0%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in b around 0 56.7%

      \[\leadsto \color{blue}{\left(y \cdot z - a \cdot t\right) \cdot x + \left(c \cdot a - i \cdot y\right) \cdot j} \]
    5. Taylor expanded in z around inf 44.4%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x\right)} \]
    6. Step-by-step derivation
      1. *-commutative44.4%

        \[\leadsto \color{blue}{\left(z \cdot x\right) \cdot y} \]
      2. *-commutative44.4%

        \[\leadsto \color{blue}{\left(x \cdot z\right)} \cdot y \]
    7. Simplified44.4%

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

    if 2.5000000000000001e-116 < i < 1.04999999999999994e-13

    1. Initial program 93.4%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-93.4%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative93.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg93.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg93.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative93.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified93.4%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in t around inf 65.1%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right) \cdot t} \]
    5. Step-by-step derivation
      1. *-commutative65.1%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right)} \]
      2. cancel-sign-sub-inv65.1%

        \[\leadsto t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right) + \left(--1\right) \cdot \left(i \cdot b\right)\right)} \]
      3. metadata-eval65.1%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{1} \cdot \left(i \cdot b\right)\right) \]
      4. *-lft-identity65.1%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{i \cdot b}\right) \]
      5. +-commutative65.1%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b + -1 \cdot \left(a \cdot x\right)\right)} \]
      6. mul-1-neg65.1%

        \[\leadsto t \cdot \left(i \cdot b + \color{blue}{\left(-a \cdot x\right)}\right) \]
      7. unsub-neg65.1%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b - a \cdot x\right)} \]
    6. Simplified65.1%

      \[\leadsto \color{blue}{t \cdot \left(i \cdot b - a \cdot x\right)} \]
    7. Taylor expanded in i around 0 43.2%

      \[\leadsto t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right)} \]
    8. Step-by-step derivation
      1. neg-mul-143.2%

        \[\leadsto t \cdot \color{blue}{\left(-a \cdot x\right)} \]
      2. distribute-rgt-neg-in43.2%

        \[\leadsto t \cdot \color{blue}{\left(a \cdot \left(-x\right)\right)} \]
    9. Simplified43.2%

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

    if 1.04999999999999994e-13 < i < 1.02e247

    1. Initial program 71.1%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-71.1%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative71.1%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg71.1%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg71.1%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative71.1%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified71.1%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in i around inf 65.8%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j\right) - -1 \cdot \left(t \cdot b\right)\right)} \]
    5. Step-by-step derivation
      1. cancel-sign-sub-inv65.8%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right) + \left(--1\right) \cdot \left(t \cdot b\right)\right)} \]
      2. metadata-eval65.8%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{1} \cdot \left(t \cdot b\right)\right) \]
      3. *-lft-identity65.8%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{t \cdot b}\right) \]
      4. +-commutative65.8%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b + -1 \cdot \left(y \cdot j\right)\right)} \]
      5. mul-1-neg65.8%

        \[\leadsto i \cdot \left(t \cdot b + \color{blue}{\left(-y \cdot j\right)}\right) \]
      6. unsub-neg65.8%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b - y \cdot j\right)} \]
    6. Simplified65.8%

      \[\leadsto \color{blue}{i \cdot \left(t \cdot b - y \cdot j\right)} \]
    7. Taylor expanded in t around 0 50.3%

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(i \cdot j\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*50.3%

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

        \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(i \cdot j\right) \]
    9. Simplified50.3%

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

    if 1.02e247 < i

    1. Initial program 64.4%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-64.4%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative64.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg64.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg64.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative64.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified64.4%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in b around inf 58.6%

      \[\leadsto \color{blue}{\left(i \cdot t - c \cdot z\right) \cdot b} \]
    5. Taylor expanded in i around inf 65.7%

      \[\leadsto \color{blue}{\left(i \cdot t\right)} \cdot b \]
  3. Recombined 6 regimes into one program.
  4. Final simplification42.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -9 \cdot 10^{+33}:\\ \;\;\;\;i \cdot \left(-y \cdot j\right)\\ \mathbf{elif}\;i \leq 1.1 \cdot 10^{-272}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;i \leq 3.4 \cdot 10^{-179}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;i \leq 2.5 \cdot 10^{-116}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;i \leq 1.05 \cdot 10^{-13}:\\ \;\;\;\;t \cdot \left(a \cdot \left(-x\right)\right)\\ \mathbf{elif}\;i \leq 1.02 \cdot 10^{+247}:\\ \;\;\;\;y \cdot \left(j \cdot \left(-i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(t \cdot i\right)\\ \end{array} \]

Alternative 20: 38.7% accurate, 1.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(c \cdot j - x \cdot t\right)\\ \mathbf{if}\;i \leq -1.7 \cdot 10^{+35}:\\ \;\;\;\;i \cdot \left(-y \cdot j\right)\\ \mathbf{elif}\;i \leq 4.6 \cdot 10^{-280}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;i \leq 7.2 \cdot 10^{-181}:\\ \;\;\;\;z \cdot \left(b \cdot \left(-c\right)\right)\\ \mathbf{elif}\;i \leq 3.6 \cdot 10^{-12}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;i \leq 9.2 \cdot 10^{+246}:\\ \;\;\;\;y \cdot \left(j \cdot \left(-i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(t \cdot i\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* a (- (* c j) (* x t)))))
   (if (<= i -1.7e+35)
     (* i (- (* y j)))
     (if (<= i 4.6e-280)
       t_1
       (if (<= i 7.2e-181)
         (* z (* b (- c)))
         (if (<= i 3.6e-12)
           t_1
           (if (<= i 9.2e+246) (* y (* j (- i))) (* b (* t i)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = a * ((c * j) - (x * t));
	double tmp;
	if (i <= -1.7e+35) {
		tmp = i * -(y * j);
	} else if (i <= 4.6e-280) {
		tmp = t_1;
	} else if (i <= 7.2e-181) {
		tmp = z * (b * -c);
	} else if (i <= 3.6e-12) {
		tmp = t_1;
	} else if (i <= 9.2e+246) {
		tmp = y * (j * -i);
	} else {
		tmp = b * (t * i);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: tmp
    t_1 = a * ((c * j) - (x * t))
    if (i <= (-1.7d+35)) then
        tmp = i * -(y * j)
    else if (i <= 4.6d-280) then
        tmp = t_1
    else if (i <= 7.2d-181) then
        tmp = z * (b * -c)
    else if (i <= 3.6d-12) then
        tmp = t_1
    else if (i <= 9.2d+246) then
        tmp = y * (j * -i)
    else
        tmp = b * (t * 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 t_1 = a * ((c * j) - (x * t));
	double tmp;
	if (i <= -1.7e+35) {
		tmp = i * -(y * j);
	} else if (i <= 4.6e-280) {
		tmp = t_1;
	} else if (i <= 7.2e-181) {
		tmp = z * (b * -c);
	} else if (i <= 3.6e-12) {
		tmp = t_1;
	} else if (i <= 9.2e+246) {
		tmp = y * (j * -i);
	} else {
		tmp = b * (t * i);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = a * ((c * j) - (x * t))
	tmp = 0
	if i <= -1.7e+35:
		tmp = i * -(y * j)
	elif i <= 4.6e-280:
		tmp = t_1
	elif i <= 7.2e-181:
		tmp = z * (b * -c)
	elif i <= 3.6e-12:
		tmp = t_1
	elif i <= 9.2e+246:
		tmp = y * (j * -i)
	else:
		tmp = b * (t * i)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(a * Float64(Float64(c * j) - Float64(x * t)))
	tmp = 0.0
	if (i <= -1.7e+35)
		tmp = Float64(i * Float64(-Float64(y * j)));
	elseif (i <= 4.6e-280)
		tmp = t_1;
	elseif (i <= 7.2e-181)
		tmp = Float64(z * Float64(b * Float64(-c)));
	elseif (i <= 3.6e-12)
		tmp = t_1;
	elseif (i <= 9.2e+246)
		tmp = Float64(y * Float64(j * Float64(-i)));
	else
		tmp = Float64(b * Float64(t * i));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = a * ((c * j) - (x * t));
	tmp = 0.0;
	if (i <= -1.7e+35)
		tmp = i * -(y * j);
	elseif (i <= 4.6e-280)
		tmp = t_1;
	elseif (i <= 7.2e-181)
		tmp = z * (b * -c);
	elseif (i <= 3.6e-12)
		tmp = t_1;
	elseif (i <= 9.2e+246)
		tmp = y * (j * -i);
	else
		tmp = b * (t * i);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(a * N[(N[(c * j), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -1.7e+35], N[(i * (-N[(y * j), $MachinePrecision])), $MachinePrecision], If[LessEqual[i, 4.6e-280], t$95$1, If[LessEqual[i, 7.2e-181], N[(z * N[(b * (-c)), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 3.6e-12], t$95$1, If[LessEqual[i, 9.2e+246], N[(y * N[(j * (-i)), $MachinePrecision]), $MachinePrecision], N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(c \cdot j - x \cdot t\right)\\
\mathbf{if}\;i \leq -1.7 \cdot 10^{+35}:\\
\;\;\;\;i \cdot \left(-y \cdot j\right)\\

\mathbf{elif}\;i \leq 4.6 \cdot 10^{-280}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;i \leq 7.2 \cdot 10^{-181}:\\
\;\;\;\;z \cdot \left(b \cdot \left(-c\right)\right)\\

\mathbf{elif}\;i \leq 3.6 \cdot 10^{-12}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;i \leq 9.2 \cdot 10^{+246}:\\
\;\;\;\;y \cdot \left(j \cdot \left(-i\right)\right)\\

\mathbf{else}:\\
\;\;\;\;b \cdot \left(t \cdot i\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if i < -1.7000000000000001e35

    1. Initial program 65.2%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-65.2%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative65.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg65.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg65.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative65.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified65.2%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in i around inf 69.9%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j\right) - -1 \cdot \left(t \cdot b\right)\right)} \]
    5. Step-by-step derivation
      1. cancel-sign-sub-inv69.9%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right) + \left(--1\right) \cdot \left(t \cdot b\right)\right)} \]
      2. metadata-eval69.9%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{1} \cdot \left(t \cdot b\right)\right) \]
      3. *-lft-identity69.9%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{t \cdot b}\right) \]
      4. +-commutative69.9%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b + -1 \cdot \left(y \cdot j\right)\right)} \]
      5. mul-1-neg69.9%

        \[\leadsto i \cdot \left(t \cdot b + \color{blue}{\left(-y \cdot j\right)}\right) \]
      6. unsub-neg69.9%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b - y \cdot j\right)} \]
    6. Simplified69.9%

      \[\leadsto \color{blue}{i \cdot \left(t \cdot b - y \cdot j\right)} \]
    7. Taylor expanded in t around 0 44.9%

      \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right)\right)} \]
    8. Step-by-step derivation
      1. neg-mul-144.9%

        \[\leadsto i \cdot \color{blue}{\left(-y \cdot j\right)} \]
      2. distribute-rgt-neg-in44.9%

        \[\leadsto i \cdot \color{blue}{\left(y \cdot \left(-j\right)\right)} \]
    9. Simplified44.9%

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

    if -1.7000000000000001e35 < i < 4.5999999999999999e-280 or 7.1999999999999998e-181 < i < 3.6e-12

    1. Initial program 87.5%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-87.5%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative87.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg87.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg87.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative87.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified87.5%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in a around inf 45.9%

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
    5. Step-by-step derivation
      1. +-commutative45.9%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(t \cdot x\right)\right)} \]
      2. mul-1-neg45.9%

        \[\leadsto a \cdot \left(c \cdot j + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg45.9%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j - t \cdot x\right)} \]
    6. Simplified45.9%

      \[\leadsto \color{blue}{a \cdot \left(c \cdot j - t \cdot x\right)} \]

    if 4.5999999999999999e-280 < i < 7.1999999999999998e-181

    1. Initial program 90.7%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-90.7%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative90.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg90.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg90.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative90.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified90.7%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in j around 0 86.6%

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

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(b \cdot z\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg41.1%

        \[\leadsto \color{blue}{-c \cdot \left(b \cdot z\right)} \]
      2. *-commutative41.1%

        \[\leadsto -c \cdot \color{blue}{\left(z \cdot b\right)} \]
      3. associate-*r*40.4%

        \[\leadsto -\color{blue}{\left(c \cdot z\right) \cdot b} \]
      4. distribute-rgt-neg-in40.4%

        \[\leadsto \color{blue}{\left(c \cdot z\right) \cdot \left(-b\right)} \]
      5. *-commutative40.4%

        \[\leadsto \color{blue}{\left(z \cdot c\right)} \cdot \left(-b\right) \]
    7. Simplified40.4%

      \[\leadsto \color{blue}{\left(z \cdot c\right) \cdot \left(-b\right)} \]
    8. Taylor expanded in z around 0 41.1%

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(b \cdot z\right)\right)} \]
    9. Step-by-step derivation
      1. mul-1-neg41.1%

        \[\leadsto \color{blue}{-c \cdot \left(b \cdot z\right)} \]
      2. associate-*r*41.2%

        \[\leadsto -\color{blue}{\left(c \cdot b\right) \cdot z} \]
      3. *-commutative41.2%

        \[\leadsto -\color{blue}{z \cdot \left(c \cdot b\right)} \]
      4. distribute-lft-neg-in41.2%

        \[\leadsto \color{blue}{\left(-z\right) \cdot \left(c \cdot b\right)} \]
    10. Simplified41.2%

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

    if 3.6e-12 < i < 9.20000000000000055e246

    1. Initial program 71.1%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-71.1%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative71.1%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg71.1%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg71.1%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative71.1%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified71.1%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in i around inf 65.8%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j\right) - -1 \cdot \left(t \cdot b\right)\right)} \]
    5. Step-by-step derivation
      1. cancel-sign-sub-inv65.8%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right) + \left(--1\right) \cdot \left(t \cdot b\right)\right)} \]
      2. metadata-eval65.8%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{1} \cdot \left(t \cdot b\right)\right) \]
      3. *-lft-identity65.8%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{t \cdot b}\right) \]
      4. +-commutative65.8%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b + -1 \cdot \left(y \cdot j\right)\right)} \]
      5. mul-1-neg65.8%

        \[\leadsto i \cdot \left(t \cdot b + \color{blue}{\left(-y \cdot j\right)}\right) \]
      6. unsub-neg65.8%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b - y \cdot j\right)} \]
    6. Simplified65.8%

      \[\leadsto \color{blue}{i \cdot \left(t \cdot b - y \cdot j\right)} \]
    7. Taylor expanded in t around 0 50.3%

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(i \cdot j\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*50.3%

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

        \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(i \cdot j\right) \]
    9. Simplified50.3%

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

    if 9.20000000000000055e246 < i

    1. Initial program 64.4%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-64.4%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative64.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg64.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg64.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative64.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified64.4%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in b around inf 58.6%

      \[\leadsto \color{blue}{\left(i \cdot t - c \cdot z\right) \cdot b} \]
    5. Taylor expanded in i around inf 65.7%

      \[\leadsto \color{blue}{\left(i \cdot t\right)} \cdot b \]
  3. Recombined 5 regimes into one program.
  4. Final simplification47.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -1.7 \cdot 10^{+35}:\\ \;\;\;\;i \cdot \left(-y \cdot j\right)\\ \mathbf{elif}\;i \leq 4.6 \cdot 10^{-280}:\\ \;\;\;\;a \cdot \left(c \cdot j - x \cdot t\right)\\ \mathbf{elif}\;i \leq 7.2 \cdot 10^{-181}:\\ \;\;\;\;z \cdot \left(b \cdot \left(-c\right)\right)\\ \mathbf{elif}\;i \leq 3.6 \cdot 10^{-12}:\\ \;\;\;\;a \cdot \left(c \cdot j - x \cdot t\right)\\ \mathbf{elif}\;i \leq 9.2 \cdot 10^{+246}:\\ \;\;\;\;y \cdot \left(j \cdot \left(-i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(t \cdot i\right)\\ \end{array} \]

Alternative 21: 49.5% accurate, 1.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := i \cdot \left(t \cdot b - y \cdot j\right)\\ t_2 := c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{if}\;c \leq -6 \cdot 10^{+99}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 2 \cdot 10^{-129}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 1.1 \cdot 10^{+50}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;c \leq 4.7 \cdot 10^{+120}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* i (- (* t b) (* y j)))) (t_2 (* c (- (* a j) (* z b)))))
   (if (<= c -6e+99)
     t_2
     (if (<= c 2e-129)
       t_1
       (if (<= c 1.1e+50) (* x (* y z)) (if (<= c 4.7e+120) t_1 t_2))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = i * ((t * b) - (y * j));
	double t_2 = c * ((a * j) - (z * b));
	double tmp;
	if (c <= -6e+99) {
		tmp = t_2;
	} else if (c <= 2e-129) {
		tmp = t_1;
	} else if (c <= 1.1e+50) {
		tmp = x * (y * z);
	} else if (c <= 4.7e+120) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = i * ((t * b) - (y * j))
    t_2 = c * ((a * j) - (z * b))
    if (c <= (-6d+99)) then
        tmp = t_2
    else if (c <= 2d-129) then
        tmp = t_1
    else if (c <= 1.1d+50) then
        tmp = x * (y * z)
    else if (c <= 4.7d+120) then
        tmp = t_1
    else
        tmp = t_2
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = i * ((t * b) - (y * j));
	double t_2 = c * ((a * j) - (z * b));
	double tmp;
	if (c <= -6e+99) {
		tmp = t_2;
	} else if (c <= 2e-129) {
		tmp = t_1;
	} else if (c <= 1.1e+50) {
		tmp = x * (y * z);
	} else if (c <= 4.7e+120) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = i * ((t * b) - (y * j))
	t_2 = c * ((a * j) - (z * b))
	tmp = 0
	if c <= -6e+99:
		tmp = t_2
	elif c <= 2e-129:
		tmp = t_1
	elif c <= 1.1e+50:
		tmp = x * (y * z)
	elif c <= 4.7e+120:
		tmp = t_1
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(i * Float64(Float64(t * b) - Float64(y * j)))
	t_2 = Float64(c * Float64(Float64(a * j) - Float64(z * b)))
	tmp = 0.0
	if (c <= -6e+99)
		tmp = t_2;
	elseif (c <= 2e-129)
		tmp = t_1;
	elseif (c <= 1.1e+50)
		tmp = Float64(x * Float64(y * z));
	elseif (c <= 4.7e+120)
		tmp = t_1;
	else
		tmp = t_2;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = i * ((t * b) - (y * j));
	t_2 = c * ((a * j) - (z * b));
	tmp = 0.0;
	if (c <= -6e+99)
		tmp = t_2;
	elseif (c <= 2e-129)
		tmp = t_1;
	elseif (c <= 1.1e+50)
		tmp = x * (y * z);
	elseif (c <= 4.7e+120)
		tmp = t_1;
	else
		tmp = t_2;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(i * N[(N[(t * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(N[(a * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -6e+99], t$95$2, If[LessEqual[c, 2e-129], t$95$1, If[LessEqual[c, 1.1e+50], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.7e+120], t$95$1, t$95$2]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := i \cdot \left(t \cdot b - y \cdot j\right)\\
t_2 := c \cdot \left(a \cdot j - z \cdot b\right)\\
\mathbf{if}\;c \leq -6 \cdot 10^{+99}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;c \leq 2 \cdot 10^{-129}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;c \leq 1.1 \cdot 10^{+50}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\

\mathbf{elif}\;c \leq 4.7 \cdot 10^{+120}:\\
\;\;\;\;t_1\\

\mathbf{else}:\\
\;\;\;\;t_2\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if c < -6.00000000000000029e99 or 4.69999999999999993e120 < c

    1. Initial program 70.3%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-70.3%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative70.3%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg70.3%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg70.3%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative70.3%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified70.3%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in c around inf 72.8%

      \[\leadsto \color{blue}{c \cdot \left(a \cdot j - z \cdot b\right)} \]

    if -6.00000000000000029e99 < c < 1.9999999999999999e-129 or 1.10000000000000008e50 < c < 4.69999999999999993e120

    1. Initial program 81.6%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-81.6%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative81.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg81.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg81.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative81.6%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified81.6%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in i around inf 56.3%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j\right) - -1 \cdot \left(t \cdot b\right)\right)} \]
    5. Step-by-step derivation
      1. cancel-sign-sub-inv56.3%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right) + \left(--1\right) \cdot \left(t \cdot b\right)\right)} \]
      2. metadata-eval56.3%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{1} \cdot \left(t \cdot b\right)\right) \]
      3. *-lft-identity56.3%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{t \cdot b}\right) \]
      4. +-commutative56.3%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b + -1 \cdot \left(y \cdot j\right)\right)} \]
      5. mul-1-neg56.3%

        \[\leadsto i \cdot \left(t \cdot b + \color{blue}{\left(-y \cdot j\right)}\right) \]
      6. unsub-neg56.3%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b - y \cdot j\right)} \]
    6. Simplified56.3%

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

    if 1.9999999999999999e-129 < c < 1.10000000000000008e50

    1. Initial program 85.4%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-85.4%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative85.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg85.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg85.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative85.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified85.4%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in j around 0 71.3%

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

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

      \[\leadsto \color{blue}{\left(y \cdot z\right)} \cdot x \]
    7. Step-by-step derivation
      1. *-commutative45.8%

        \[\leadsto \color{blue}{\left(z \cdot y\right)} \cdot x \]
    8. Simplified45.8%

      \[\leadsto \color{blue}{\left(z \cdot y\right)} \cdot x \]
  3. Recombined 3 regimes into one program.
  4. Final simplification60.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -6 \cdot 10^{+99}:\\ \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{elif}\;c \leq 2 \cdot 10^{-129}:\\ \;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\ \mathbf{elif}\;c \leq 1.1 \cdot 10^{+50}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;c \leq 4.7 \cdot 10^{+120}:\\ \;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\ \end{array} \]

Alternative 22: 30.5% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := i \cdot \left(-y \cdot j\right)\\ \mathbf{if}\;t \leq -1.9 \cdot 10^{+86}:\\ \;\;\;\;i \cdot \left(t \cdot b\right)\\ \mathbf{elif}\;t \leq -1.55 \cdot 10^{-263}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 2.8 \cdot 10^{-289}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;t \leq 8.5 \cdot 10^{-111}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 380:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(t \cdot i\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* i (- (* y j)))))
   (if (<= t -1.9e+86)
     (* i (* t b))
     (if (<= t -1.55e-263)
       t_1
       (if (<= t 2.8e-289)
         (* a (* c j))
         (if (<= t 8.5e-111)
           t_1
           (if (<= t 380.0) (* x (* y z)) (* b (* t i)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = i * -(y * j);
	double tmp;
	if (t <= -1.9e+86) {
		tmp = i * (t * b);
	} else if (t <= -1.55e-263) {
		tmp = t_1;
	} else if (t <= 2.8e-289) {
		tmp = a * (c * j);
	} else if (t <= 8.5e-111) {
		tmp = t_1;
	} else if (t <= 380.0) {
		tmp = x * (y * z);
	} else {
		tmp = b * (t * i);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: tmp
    t_1 = i * -(y * j)
    if (t <= (-1.9d+86)) then
        tmp = i * (t * b)
    else if (t <= (-1.55d-263)) then
        tmp = t_1
    else if (t <= 2.8d-289) then
        tmp = a * (c * j)
    else if (t <= 8.5d-111) then
        tmp = t_1
    else if (t <= 380.0d0) then
        tmp = x * (y * z)
    else
        tmp = b * (t * 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 t_1 = i * -(y * j);
	double tmp;
	if (t <= -1.9e+86) {
		tmp = i * (t * b);
	} else if (t <= -1.55e-263) {
		tmp = t_1;
	} else if (t <= 2.8e-289) {
		tmp = a * (c * j);
	} else if (t <= 8.5e-111) {
		tmp = t_1;
	} else if (t <= 380.0) {
		tmp = x * (y * z);
	} else {
		tmp = b * (t * i);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = i * -(y * j)
	tmp = 0
	if t <= -1.9e+86:
		tmp = i * (t * b)
	elif t <= -1.55e-263:
		tmp = t_1
	elif t <= 2.8e-289:
		tmp = a * (c * j)
	elif t <= 8.5e-111:
		tmp = t_1
	elif t <= 380.0:
		tmp = x * (y * z)
	else:
		tmp = b * (t * i)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(i * Float64(-Float64(y * j)))
	tmp = 0.0
	if (t <= -1.9e+86)
		tmp = Float64(i * Float64(t * b));
	elseif (t <= -1.55e-263)
		tmp = t_1;
	elseif (t <= 2.8e-289)
		tmp = Float64(a * Float64(c * j));
	elseif (t <= 8.5e-111)
		tmp = t_1;
	elseif (t <= 380.0)
		tmp = Float64(x * Float64(y * z));
	else
		tmp = Float64(b * Float64(t * i));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = i * -(y * j);
	tmp = 0.0;
	if (t <= -1.9e+86)
		tmp = i * (t * b);
	elseif (t <= -1.55e-263)
		tmp = t_1;
	elseif (t <= 2.8e-289)
		tmp = a * (c * j);
	elseif (t <= 8.5e-111)
		tmp = t_1;
	elseif (t <= 380.0)
		tmp = x * (y * z);
	else
		tmp = b * (t * i);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(i * (-N[(y * j), $MachinePrecision])), $MachinePrecision]}, If[LessEqual[t, -1.9e+86], N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.55e-263], t$95$1, If[LessEqual[t, 2.8e-289], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 8.5e-111], t$95$1, If[LessEqual[t, 380.0], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := i \cdot \left(-y \cdot j\right)\\
\mathbf{if}\;t \leq -1.9 \cdot 10^{+86}:\\
\;\;\;\;i \cdot \left(t \cdot b\right)\\

\mathbf{elif}\;t \leq -1.55 \cdot 10^{-263}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;t \leq 2.8 \cdot 10^{-289}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\

\mathbf{elif}\;t \leq 8.5 \cdot 10^{-111}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;t \leq 380:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\

\mathbf{else}:\\
\;\;\;\;b \cdot \left(t \cdot i\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if t < -1.89999999999999989e86

    1. Initial program 76.2%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative76.2%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def76.2%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative76.2%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative76.2%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified76.2%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in x around 0 53.6%

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

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

    if -1.89999999999999989e86 < t < -1.55000000000000002e-263 or 2.79999999999999985e-289 < t < 8.5000000000000003e-111

    1. Initial program 80.0%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-80.0%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative80.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg80.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg80.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative80.0%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified80.0%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in i around inf 44.6%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j\right) - -1 \cdot \left(t \cdot b\right)\right)} \]
    5. Step-by-step derivation
      1. cancel-sign-sub-inv44.6%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right) + \left(--1\right) \cdot \left(t \cdot b\right)\right)} \]
      2. metadata-eval44.6%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{1} \cdot \left(t \cdot b\right)\right) \]
      3. *-lft-identity44.6%

        \[\leadsto i \cdot \left(-1 \cdot \left(y \cdot j\right) + \color{blue}{t \cdot b}\right) \]
      4. +-commutative44.6%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b + -1 \cdot \left(y \cdot j\right)\right)} \]
      5. mul-1-neg44.6%

        \[\leadsto i \cdot \left(t \cdot b + \color{blue}{\left(-y \cdot j\right)}\right) \]
      6. unsub-neg44.6%

        \[\leadsto i \cdot \color{blue}{\left(t \cdot b - y \cdot j\right)} \]
    6. Simplified44.6%

      \[\leadsto \color{blue}{i \cdot \left(t \cdot b - y \cdot j\right)} \]
    7. Taylor expanded in t around 0 38.5%

      \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(y \cdot j\right)\right)} \]
    8. Step-by-step derivation
      1. neg-mul-138.5%

        \[\leadsto i \cdot \color{blue}{\left(-y \cdot j\right)} \]
      2. distribute-rgt-neg-in38.5%

        \[\leadsto i \cdot \color{blue}{\left(y \cdot \left(-j\right)\right)} \]
    9. Simplified38.5%

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

    if -1.55000000000000002e-263 < t < 2.79999999999999985e-289

    1. Initial program 78.9%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-78.9%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative78.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg78.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg78.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative78.9%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified78.9%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in a around inf 51.2%

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
    5. Step-by-step derivation
      1. +-commutative51.2%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(t \cdot x\right)\right)} \]
      2. mul-1-neg51.2%

        \[\leadsto a \cdot \left(c \cdot j + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg51.2%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j - t \cdot x\right)} \]
    6. Simplified51.2%

      \[\leadsto \color{blue}{a \cdot \left(c \cdot j - t \cdot x\right)} \]
    7. Taylor expanded in c around inf 51.3%

      \[\leadsto a \cdot \color{blue}{\left(c \cdot j\right)} \]

    if 8.5000000000000003e-111 < t < 380

    1. Initial program 72.7%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-72.7%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative72.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg72.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg72.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative72.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified72.7%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in j around 0 59.4%

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

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

      \[\leadsto \color{blue}{\left(y \cdot z\right)} \cdot x \]
    7. Step-by-step derivation
      1. *-commutative49.4%

        \[\leadsto \color{blue}{\left(z \cdot y\right)} \cdot x \]
    8. Simplified49.4%

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

    if 380 < t

    1. Initial program 79.2%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-79.2%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative79.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg79.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg79.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative79.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified79.2%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in b around inf 47.2%

      \[\leadsto \color{blue}{\left(i \cdot t - c \cdot z\right) \cdot b} \]
    5. Taylor expanded in i around inf 40.9%

      \[\leadsto \color{blue}{\left(i \cdot t\right)} \cdot b \]
  3. Recombined 5 regimes into one program.
  4. Final simplification42.7%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.9 \cdot 10^{+86}:\\ \;\;\;\;i \cdot \left(t \cdot b\right)\\ \mathbf{elif}\;t \leq -1.55 \cdot 10^{-263}:\\ \;\;\;\;i \cdot \left(-y \cdot j\right)\\ \mathbf{elif}\;t \leq 2.8 \cdot 10^{-289}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;t \leq 8.5 \cdot 10^{-111}:\\ \;\;\;\;i \cdot \left(-y \cdot j\right)\\ \mathbf{elif}\;t \leq 380:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(t \cdot i\right)\\ \end{array} \]

Alternative 23: 29.4% accurate, 2.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(x \cdot z\right)\\ \mathbf{if}\;t \leq -1.4 \cdot 10^{-63}:\\ \;\;\;\;i \cdot \left(t \cdot b\right)\\ \mathbf{elif}\;t \leq -1.92 \cdot 10^{-292}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 6.2 \cdot 10^{-111}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;t \leq 29500:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(t \cdot i\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* y (* x z))))
   (if (<= t -1.4e-63)
     (* i (* t b))
     (if (<= t -1.92e-292)
       t_1
       (if (<= t 6.2e-111)
         (* a (* c j))
         (if (<= t 29500.0) t_1 (* b (* t i))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = y * (x * z);
	double tmp;
	if (t <= -1.4e-63) {
		tmp = i * (t * b);
	} else if (t <= -1.92e-292) {
		tmp = t_1;
	} else if (t <= 6.2e-111) {
		tmp = a * (c * j);
	} else if (t <= 29500.0) {
		tmp = t_1;
	} else {
		tmp = b * (t * i);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: tmp
    t_1 = y * (x * z)
    if (t <= (-1.4d-63)) then
        tmp = i * (t * b)
    else if (t <= (-1.92d-292)) then
        tmp = t_1
    else if (t <= 6.2d-111) then
        tmp = a * (c * j)
    else if (t <= 29500.0d0) then
        tmp = t_1
    else
        tmp = b * (t * 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 t_1 = y * (x * z);
	double tmp;
	if (t <= -1.4e-63) {
		tmp = i * (t * b);
	} else if (t <= -1.92e-292) {
		tmp = t_1;
	} else if (t <= 6.2e-111) {
		tmp = a * (c * j);
	} else if (t <= 29500.0) {
		tmp = t_1;
	} else {
		tmp = b * (t * i);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = y * (x * z)
	tmp = 0
	if t <= -1.4e-63:
		tmp = i * (t * b)
	elif t <= -1.92e-292:
		tmp = t_1
	elif t <= 6.2e-111:
		tmp = a * (c * j)
	elif t <= 29500.0:
		tmp = t_1
	else:
		tmp = b * (t * i)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(y * Float64(x * z))
	tmp = 0.0
	if (t <= -1.4e-63)
		tmp = Float64(i * Float64(t * b));
	elseif (t <= -1.92e-292)
		tmp = t_1;
	elseif (t <= 6.2e-111)
		tmp = Float64(a * Float64(c * j));
	elseif (t <= 29500.0)
		tmp = t_1;
	else
		tmp = Float64(b * Float64(t * i));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = y * (x * z);
	tmp = 0.0;
	if (t <= -1.4e-63)
		tmp = i * (t * b);
	elseif (t <= -1.92e-292)
		tmp = t_1;
	elseif (t <= 6.2e-111)
		tmp = a * (c * j);
	elseif (t <= 29500.0)
		tmp = t_1;
	else
		tmp = b * (t * i);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.4e-63], N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.92e-292], t$95$1, If[LessEqual[t, 6.2e-111], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 29500.0], t$95$1, N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y \cdot \left(x \cdot z\right)\\
\mathbf{if}\;t \leq -1.4 \cdot 10^{-63}:\\
\;\;\;\;i \cdot \left(t \cdot b\right)\\

\mathbf{elif}\;t \leq -1.92 \cdot 10^{-292}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;t \leq 6.2 \cdot 10^{-111}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\

\mathbf{elif}\;t \leq 29500:\\
\;\;\;\;t_1\\

\mathbf{else}:\\
\;\;\;\;b \cdot \left(t \cdot i\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if t < -1.4000000000000001e-63

    1. Initial program 80.3%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative80.3%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def81.7%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative81.7%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative81.7%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified81.7%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in x around 0 60.1%

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

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

    if -1.4000000000000001e-63 < t < -1.9199999999999999e-292 or 6.20000000000000029e-111 < t < 29500

    1. Initial program 78.1%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative78.1%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def80.8%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative80.8%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative80.8%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified80.8%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in b around 0 60.5%

      \[\leadsto \color{blue}{\left(y \cdot z - a \cdot t\right) \cdot x + \left(c \cdot a - i \cdot y\right) \cdot j} \]
    5. Taylor expanded in z around inf 34.3%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x\right)} \]
    6. Step-by-step derivation
      1. *-commutative34.3%

        \[\leadsto \color{blue}{\left(z \cdot x\right) \cdot y} \]
      2. *-commutative34.3%

        \[\leadsto \color{blue}{\left(x \cdot z\right)} \cdot y \]
    7. Simplified34.3%

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

    if -1.9199999999999999e-292 < t < 6.20000000000000029e-111

    1. Initial program 74.2%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-74.2%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative74.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg74.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg74.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative74.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified74.2%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in a around inf 36.4%

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
    5. Step-by-step derivation
      1. +-commutative36.4%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(t \cdot x\right)\right)} \]
      2. mul-1-neg36.4%

        \[\leadsto a \cdot \left(c \cdot j + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg36.4%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j - t \cdot x\right)} \]
    6. Simplified36.4%

      \[\leadsto \color{blue}{a \cdot \left(c \cdot j - t \cdot x\right)} \]
    7. Taylor expanded in c around inf 36.3%

      \[\leadsto a \cdot \color{blue}{\left(c \cdot j\right)} \]

    if 29500 < t

    1. Initial program 79.2%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-79.2%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative79.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg79.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg79.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative79.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified79.2%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in b around inf 47.2%

      \[\leadsto \color{blue}{\left(i \cdot t - c \cdot z\right) \cdot b} \]
    5. Taylor expanded in i around inf 40.9%

      \[\leadsto \color{blue}{\left(i \cdot t\right)} \cdot b \]
  3. Recombined 4 regimes into one program.
  4. Final simplification36.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.4 \cdot 10^{-63}:\\ \;\;\;\;i \cdot \left(t \cdot b\right)\\ \mathbf{elif}\;t \leq -1.92 \cdot 10^{-292}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;t \leq 6.2 \cdot 10^{-111}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;t \leq 29500:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(t \cdot i\right)\\ \end{array} \]

Alternative 24: 30.1% accurate, 2.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot \left(y \cdot z\right)\\ \mathbf{if}\;z \leq -1.35 \cdot 10^{+25}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -2.3 \cdot 10^{-152}:\\ \;\;\;\;c \cdot \left(a \cdot j\right)\\ \mathbf{elif}\;z \leq 2.5 \cdot 10^{+32}:\\ \;\;\;\;b \cdot \left(t \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* x (* y z))))
   (if (<= z -1.35e+25)
     t_1
     (if (<= z -2.3e-152)
       (* c (* a j))
       (if (<= z 2.5e+32) (* b (* t i)) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = x * (y * z);
	double tmp;
	if (z <= -1.35e+25) {
		tmp = t_1;
	} else if (z <= -2.3e-152) {
		tmp = c * (a * j);
	} else if (z <= 2.5e+32) {
		tmp = b * (t * i);
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: tmp
    t_1 = x * (y * z)
    if (z <= (-1.35d+25)) then
        tmp = t_1
    else if (z <= (-2.3d-152)) then
        tmp = c * (a * j)
    else if (z <= 2.5d+32) then
        tmp = b * (t * i)
    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 t_1 = x * (y * z);
	double tmp;
	if (z <= -1.35e+25) {
		tmp = t_1;
	} else if (z <= -2.3e-152) {
		tmp = c * (a * j);
	} else if (z <= 2.5e+32) {
		tmp = b * (t * i);
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = x * (y * z)
	tmp = 0
	if z <= -1.35e+25:
		tmp = t_1
	elif z <= -2.3e-152:
		tmp = c * (a * j)
	elif z <= 2.5e+32:
		tmp = b * (t * i)
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(x * Float64(y * z))
	tmp = 0.0
	if (z <= -1.35e+25)
		tmp = t_1;
	elseif (z <= -2.3e-152)
		tmp = Float64(c * Float64(a * j));
	elseif (z <= 2.5e+32)
		tmp = Float64(b * Float64(t * i));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = x * (y * z);
	tmp = 0.0;
	if (z <= -1.35e+25)
		tmp = t_1;
	elseif (z <= -2.3e-152)
		tmp = c * (a * j);
	elseif (z <= 2.5e+32)
		tmp = b * (t * i);
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.35e+25], t$95$1, If[LessEqual[z, -2.3e-152], N[(c * N[(a * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.5e+32], N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := x \cdot \left(y \cdot z\right)\\
\mathbf{if}\;z \leq -1.35 \cdot 10^{+25}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;z \leq -2.3 \cdot 10^{-152}:\\
\;\;\;\;c \cdot \left(a \cdot j\right)\\

\mathbf{elif}\;z \leq 2.5 \cdot 10^{+32}:\\
\;\;\;\;b \cdot \left(t \cdot i\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if z < -1.35e25 or 2.4999999999999999e32 < z

    1. Initial program 67.2%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-67.2%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative67.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg67.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg67.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative67.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified67.2%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in j around 0 67.1%

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

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

      \[\leadsto \color{blue}{\left(y \cdot z\right)} \cdot x \]
    7. Step-by-step derivation
      1. *-commutative38.3%

        \[\leadsto \color{blue}{\left(z \cdot y\right)} \cdot x \]
    8. Simplified38.3%

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

    if -1.35e25 < z < -2.3000000000000001e-152

    1. Initial program 81.3%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-81.3%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative81.3%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg81.3%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg81.3%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative81.3%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified81.3%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in a around inf 45.9%

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
    5. Step-by-step derivation
      1. +-commutative45.9%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(t \cdot x\right)\right)} \]
      2. mul-1-neg45.9%

        \[\leadsto a \cdot \left(c \cdot j + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg45.9%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j - t \cdot x\right)} \]
    6. Simplified45.9%

      \[\leadsto \color{blue}{a \cdot \left(c \cdot j - t \cdot x\right)} \]
    7. Taylor expanded in c around inf 37.0%

      \[\leadsto a \cdot \color{blue}{\left(c \cdot j\right)} \]
    8. Taylor expanded in a around 0 38.9%

      \[\leadsto \color{blue}{c \cdot \left(a \cdot j\right)} \]

    if -2.3000000000000001e-152 < z < 2.4999999999999999e32

    1. Initial program 88.5%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-88.5%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative88.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg88.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg88.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative88.5%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified88.5%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in b around inf 40.1%

      \[\leadsto \color{blue}{\left(i \cdot t - c \cdot z\right) \cdot b} \]
    5. Taylor expanded in i around inf 33.5%

      \[\leadsto \color{blue}{\left(i \cdot t\right)} \cdot b \]
  3. Recombined 3 regimes into one program.
  4. Final simplification36.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -1.35 \cdot 10^{+25}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;z \leq -2.3 \cdot 10^{-152}:\\ \;\;\;\;c \cdot \left(a \cdot j\right)\\ \mathbf{elif}\;z \leq 2.5 \cdot 10^{+32}:\\ \;\;\;\;b \cdot \left(t \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \end{array} \]

Alternative 25: 28.7% accurate, 3.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;i \leq -2.05 \cdot 10^{+76} \lor \neg \left(i \leq 1.5 \cdot 10^{-112}\right):\\ \;\;\;\;i \cdot \left(t \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (or (<= i -2.05e+76) (not (<= i 1.5e-112))) (* i (* t b)) (* a (* c j))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if ((i <= -2.05e+76) || !(i <= 1.5e-112)) {
		tmp = i * (t * b);
	} else {
		tmp = a * (c * j);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: tmp
    if ((i <= (-2.05d+76)) .or. (.not. (i <= 1.5d-112))) then
        tmp = i * (t * b)
    else
        tmp = a * (c * j)
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if ((i <= -2.05e+76) || !(i <= 1.5e-112)) {
		tmp = i * (t * b);
	} else {
		tmp = a * (c * j);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if (i <= -2.05e+76) or not (i <= 1.5e-112):
		tmp = i * (t * b)
	else:
		tmp = a * (c * j)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if ((i <= -2.05e+76) || !(i <= 1.5e-112))
		tmp = Float64(i * Float64(t * b));
	else
		tmp = Float64(a * Float64(c * j));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if ((i <= -2.05e+76) || ~((i <= 1.5e-112)))
		tmp = i * (t * b);
	else
		tmp = a * (c * j);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[i, -2.05e+76], N[Not[LessEqual[i, 1.5e-112]], $MachinePrecision]], N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;i \leq -2.05 \cdot 10^{+76} \lor \neg \left(i \leq 1.5 \cdot 10^{-112}\right):\\
\;\;\;\;i \cdot \left(t \cdot b\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if i < -2.0499999999999999e76 or 1.5e-112 < i

    1. Initial program 72.2%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative72.2%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def74.3%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative74.3%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative74.3%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified74.3%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in x around 0 63.9%

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

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

    if -2.0499999999999999e76 < i < 1.5e-112

    1. Initial program 86.4%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-86.4%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative86.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg86.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg86.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative86.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified86.4%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in a around inf 40.8%

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
    5. Step-by-step derivation
      1. +-commutative40.8%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(t \cdot x\right)\right)} \]
      2. mul-1-neg40.8%

        \[\leadsto a \cdot \left(c \cdot j + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg40.8%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j - t \cdot x\right)} \]
    6. Simplified40.8%

      \[\leadsto \color{blue}{a \cdot \left(c \cdot j - t \cdot x\right)} \]
    7. Taylor expanded in c around inf 28.2%

      \[\leadsto a \cdot \color{blue}{\left(c \cdot j\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification31.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -2.05 \cdot 10^{+76} \lor \neg \left(i \leq 1.5 \cdot 10^{-112}\right):\\ \;\;\;\;i \cdot \left(t \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \end{array} \]

Alternative 26: 29.1% accurate, 3.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;i \leq -2.5 \cdot 10^{+76} \lor \neg \left(i \leq 6.5 \cdot 10^{-115}\right):\\ \;\;\;\;b \cdot \left(t \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (or (<= i -2.5e+76) (not (<= i 6.5e-115))) (* b (* t i)) (* a (* c j))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if ((i <= -2.5e+76) || !(i <= 6.5e-115)) {
		tmp = b * (t * i);
	} else {
		tmp = a * (c * j);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: tmp
    if ((i <= (-2.5d+76)) .or. (.not. (i <= 6.5d-115))) then
        tmp = b * (t * i)
    else
        tmp = a * (c * j)
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if ((i <= -2.5e+76) || !(i <= 6.5e-115)) {
		tmp = b * (t * i);
	} else {
		tmp = a * (c * j);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if (i <= -2.5e+76) or not (i <= 6.5e-115):
		tmp = b * (t * i)
	else:
		tmp = a * (c * j)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if ((i <= -2.5e+76) || !(i <= 6.5e-115))
		tmp = Float64(b * Float64(t * i));
	else
		tmp = Float64(a * Float64(c * j));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if ((i <= -2.5e+76) || ~((i <= 6.5e-115)))
		tmp = b * (t * i);
	else
		tmp = a * (c * j);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[i, -2.5e+76], N[Not[LessEqual[i, 6.5e-115]], $MachinePrecision]], N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;i \leq -2.5 \cdot 10^{+76} \lor \neg \left(i \leq 6.5 \cdot 10^{-115}\right):\\
\;\;\;\;b \cdot \left(t \cdot i\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if i < -2.49999999999999996e76 or 6.50000000000000033e-115 < i

    1. Initial program 72.2%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-72.2%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative72.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg72.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg72.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative72.2%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified72.2%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in b around inf 43.0%

      \[\leadsto \color{blue}{\left(i \cdot t - c \cdot z\right) \cdot b} \]
    5. Taylor expanded in i around inf 36.1%

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

    if -2.49999999999999996e76 < i < 6.50000000000000033e-115

    1. Initial program 86.4%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-86.4%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative86.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg86.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg86.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative86.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified86.4%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in a around inf 40.8%

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
    5. Step-by-step derivation
      1. +-commutative40.8%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(t \cdot x\right)\right)} \]
      2. mul-1-neg40.8%

        \[\leadsto a \cdot \left(c \cdot j + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg40.8%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j - t \cdot x\right)} \]
    6. Simplified40.8%

      \[\leadsto \color{blue}{a \cdot \left(c \cdot j - t \cdot x\right)} \]
    7. Taylor expanded in c around inf 28.2%

      \[\leadsto a \cdot \color{blue}{\left(c \cdot j\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification32.7%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -2.5 \cdot 10^{+76} \lor \neg \left(i \leq 6.5 \cdot 10^{-115}\right):\\ \;\;\;\;b \cdot \left(t \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \end{array} \]

Alternative 27: 28.7% accurate, 3.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;i \leq -1 \cdot 10^{+77}:\\ \;\;\;\;i \cdot \left(t \cdot b\right)\\ \mathbf{elif}\;i \leq 9 \cdot 10^{-114}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(b \cdot i\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (<= i -1e+77)
   (* i (* t b))
   (if (<= i 9e-114) (* a (* c j)) (* t (* b i)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (i <= -1e+77) {
		tmp = i * (t * b);
	} else if (i <= 9e-114) {
		tmp = a * (c * j);
	} else {
		tmp = t * (b * i);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: tmp
    if (i <= (-1d+77)) then
        tmp = i * (t * b)
    else if (i <= 9d-114) then
        tmp = a * (c * j)
    else
        tmp = t * (b * 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 tmp;
	if (i <= -1e+77) {
		tmp = i * (t * b);
	} else if (i <= 9e-114) {
		tmp = a * (c * j);
	} else {
		tmp = t * (b * i);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if i <= -1e+77:
		tmp = i * (t * b)
	elif i <= 9e-114:
		tmp = a * (c * j)
	else:
		tmp = t * (b * i)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if (i <= -1e+77)
		tmp = Float64(i * Float64(t * b));
	elseif (i <= 9e-114)
		tmp = Float64(a * Float64(c * j));
	else
		tmp = Float64(t * Float64(b * i));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if (i <= -1e+77)
		tmp = i * (t * b);
	elseif (i <= 9e-114)
		tmp = a * (c * j);
	else
		tmp = t * (b * i);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[i, -1e+77], N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 9e-114], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision], N[(t * N[(b * i), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;i \leq -1 \cdot 10^{+77}:\\
\;\;\;\;i \cdot \left(t \cdot b\right)\\

\mathbf{elif}\;i \leq 9 \cdot 10^{-114}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\

\mathbf{else}:\\
\;\;\;\;t \cdot \left(b \cdot i\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if i < -9.99999999999999983e76

    1. Initial program 62.4%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. +-commutative62.4%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot a - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      2. fma-def68.4%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot a - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right)} \]
      3. *-commutative68.4%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{a \cdot c} - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) \]
      4. *-commutative68.4%

        \[\leadsto \mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right)\right) \]
    3. Simplified68.4%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, a \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right)} \]
    4. Taylor expanded in x around 0 66.5%

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

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

    if -9.99999999999999983e76 < i < 8.99999999999999937e-114

    1. Initial program 86.4%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-86.4%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative86.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg86.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg86.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative86.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified86.4%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in a around inf 40.8%

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
    5. Step-by-step derivation
      1. +-commutative40.8%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(t \cdot x\right)\right)} \]
      2. mul-1-neg40.8%

        \[\leadsto a \cdot \left(c \cdot j + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg40.8%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j - t \cdot x\right)} \]
    6. Simplified40.8%

      \[\leadsto \color{blue}{a \cdot \left(c \cdot j - t \cdot x\right)} \]
    7. Taylor expanded in c around inf 28.2%

      \[\leadsto a \cdot \color{blue}{\left(c \cdot j\right)} \]

    if 8.99999999999999937e-114 < i

    1. Initial program 77.3%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-77.3%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative77.3%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg77.3%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg77.3%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative77.3%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified77.3%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in t around inf 52.9%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right) \cdot t} \]
    5. Step-by-step derivation
      1. *-commutative52.9%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(i \cdot b\right)\right)} \]
      2. cancel-sign-sub-inv52.9%

        \[\leadsto t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right) + \left(--1\right) \cdot \left(i \cdot b\right)\right)} \]
      3. metadata-eval52.9%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{1} \cdot \left(i \cdot b\right)\right) \]
      4. *-lft-identity52.9%

        \[\leadsto t \cdot \left(-1 \cdot \left(a \cdot x\right) + \color{blue}{i \cdot b}\right) \]
      5. +-commutative52.9%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b + -1 \cdot \left(a \cdot x\right)\right)} \]
      6. mul-1-neg52.9%

        \[\leadsto t \cdot \left(i \cdot b + \color{blue}{\left(-a \cdot x\right)}\right) \]
      7. unsub-neg52.9%

        \[\leadsto t \cdot \color{blue}{\left(i \cdot b - a \cdot x\right)} \]
    6. Simplified52.9%

      \[\leadsto \color{blue}{t \cdot \left(i \cdot b - a \cdot x\right)} \]
    7. Taylor expanded in i around inf 36.7%

      \[\leadsto t \cdot \color{blue}{\left(i \cdot b\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification32.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -1 \cdot 10^{+77}:\\ \;\;\;\;i \cdot \left(t \cdot b\right)\\ \mathbf{elif}\;i \leq 9 \cdot 10^{-114}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(b \cdot i\right)\\ \end{array} \]

Alternative 28: 22.5% accurate, 4.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -6.2 \cdot 10^{+182}:\\ \;\;\;\;c \cdot \left(z \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(a \cdot j\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (<= z -6.2e+182) (* c (* z b)) (* c (* a j))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (z <= -6.2e+182) {
		tmp = c * (z * b);
	} else {
		tmp = c * (a * j);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: tmp
    if (z <= (-6.2d+182)) then
        tmp = c * (z * b)
    else
        tmp = c * (a * j)
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (z <= -6.2e+182) {
		tmp = c * (z * b);
	} else {
		tmp = c * (a * j);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if z <= -6.2e+182:
		tmp = c * (z * b)
	else:
		tmp = c * (a * j)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if (z <= -6.2e+182)
		tmp = Float64(c * Float64(z * b));
	else
		tmp = Float64(c * Float64(a * j));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if (z <= -6.2e+182)
		tmp = c * (z * b);
	else
		tmp = c * (a * j);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[z, -6.2e+182], N[(c * N[(z * b), $MachinePrecision]), $MachinePrecision], N[(c * N[(a * j), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;z \leq -6.2 \cdot 10^{+182}:\\
\;\;\;\;c \cdot \left(z \cdot b\right)\\

\mathbf{else}:\\
\;\;\;\;c \cdot \left(a \cdot j\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if z < -6.19999999999999993e182

    1. Initial program 43.4%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-43.4%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative43.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg43.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg43.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative43.4%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified43.4%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in j around 0 52.1%

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

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(b \cdot z\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg32.1%

        \[\leadsto \color{blue}{-c \cdot \left(b \cdot z\right)} \]
      2. *-commutative32.1%

        \[\leadsto -c \cdot \color{blue}{\left(z \cdot b\right)} \]
      3. associate-*r*40.0%

        \[\leadsto -\color{blue}{\left(c \cdot z\right) \cdot b} \]
      4. distribute-rgt-neg-in40.0%

        \[\leadsto \color{blue}{\left(c \cdot z\right) \cdot \left(-b\right)} \]
      5. *-commutative40.0%

        \[\leadsto \color{blue}{\left(z \cdot c\right)} \cdot \left(-b\right) \]
    7. Simplified40.0%

      \[\leadsto \color{blue}{\left(z \cdot c\right) \cdot \left(-b\right)} \]
    8. Step-by-step derivation
      1. expm1-log1p-u13.7%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(\left(z \cdot c\right) \cdot \left(-b\right)\right)\right)} \]
      2. expm1-udef13.7%

        \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(\left(z \cdot c\right) \cdot \left(-b\right)\right)} - 1} \]
      3. associate-*l*5.6%

        \[\leadsto e^{\mathsf{log1p}\left(\color{blue}{z \cdot \left(c \cdot \left(-b\right)\right)}\right)} - 1 \]
      4. add-sqr-sqrt5.5%

        \[\leadsto e^{\mathsf{log1p}\left(z \cdot \left(c \cdot \color{blue}{\left(\sqrt{-b} \cdot \sqrt{-b}\right)}\right)\right)} - 1 \]
      5. sqrt-unprod18.2%

        \[\leadsto e^{\mathsf{log1p}\left(z \cdot \left(c \cdot \color{blue}{\sqrt{\left(-b\right) \cdot \left(-b\right)}}\right)\right)} - 1 \]
      6. sqr-neg18.2%

        \[\leadsto e^{\mathsf{log1p}\left(z \cdot \left(c \cdot \sqrt{\color{blue}{b \cdot b}}\right)\right)} - 1 \]
      7. sqrt-unprod9.1%

        \[\leadsto e^{\mathsf{log1p}\left(z \cdot \left(c \cdot \color{blue}{\left(\sqrt{b} \cdot \sqrt{b}\right)}\right)\right)} - 1 \]
      8. add-sqr-sqrt9.8%

        \[\leadsto e^{\mathsf{log1p}\left(z \cdot \left(c \cdot \color{blue}{b}\right)\right)} - 1 \]
    9. Applied egg-rr9.8%

      \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(z \cdot \left(c \cdot b\right)\right)} - 1} \]
    10. Step-by-step derivation
      1. expm1-def9.8%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(z \cdot \left(c \cdot b\right)\right)\right)} \]
      2. expm1-log1p14.6%

        \[\leadsto \color{blue}{z \cdot \left(c \cdot b\right)} \]
      3. *-commutative14.6%

        \[\leadsto \color{blue}{\left(c \cdot b\right) \cdot z} \]
      4. associate-*r*31.0%

        \[\leadsto \color{blue}{c \cdot \left(b \cdot z\right)} \]
      5. *-commutative31.0%

        \[\leadsto c \cdot \color{blue}{\left(z \cdot b\right)} \]
    11. Simplified31.0%

      \[\leadsto \color{blue}{c \cdot \left(z \cdot b\right)} \]

    if -6.19999999999999993e182 < z

    1. Initial program 81.7%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
    2. Step-by-step derivation
      1. associate-+l-81.7%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
      2. *-commutative81.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
      3. sub-neg81.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
      4. sub-neg81.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
      5. *-commutative81.7%

        \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
    3. Simplified81.7%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
    4. Taylor expanded in a around inf 32.1%

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
    5. Step-by-step derivation
      1. +-commutative32.1%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(t \cdot x\right)\right)} \]
      2. mul-1-neg32.1%

        \[\leadsto a \cdot \left(c \cdot j + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg32.1%

        \[\leadsto a \cdot \color{blue}{\left(c \cdot j - t \cdot x\right)} \]
    6. Simplified32.1%

      \[\leadsto \color{blue}{a \cdot \left(c \cdot j - t \cdot x\right)} \]
    7. Taylor expanded in c around inf 18.6%

      \[\leadsto a \cdot \color{blue}{\left(c \cdot j\right)} \]
    8. Taylor expanded in a around 0 19.3%

      \[\leadsto \color{blue}{c \cdot \left(a \cdot j\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification20.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -6.2 \cdot 10^{+182}:\\ \;\;\;\;c \cdot \left(z \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(a \cdot j\right)\\ \end{array} \]

Alternative 29: 22.6% accurate, 5.8× speedup?

\[\begin{array}{l} \\ a \cdot \left(c \cdot j\right) \end{array} \]
(FPCore (x y z t a b c i j) :precision binary64 (* a (* c j)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	return a * (c * j);
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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
    code = a * (c * j)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	return a * (c * j);
}
def code(x, y, z, t, a, b, c, i, j):
	return a * (c * j)
function code(x, y, z, t, a, b, c, i, j)
	return Float64(a * Float64(c * j))
end
function tmp = code(x, y, z, t, a, b, c, i, j)
	tmp = a * (c * j);
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
a \cdot \left(c \cdot j\right)
\end{array}
Derivation
  1. Initial program 78.3%

    \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
  2. Step-by-step derivation
    1. associate-+l-78.3%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
    2. *-commutative78.3%

      \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
    3. sub-neg78.3%

      \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
    4. sub-neg78.3%

      \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
    5. *-commutative78.3%

      \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
  3. Simplified78.3%

    \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
  4. Taylor expanded in a around inf 30.9%

    \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
  5. Step-by-step derivation
    1. +-commutative30.9%

      \[\leadsto a \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(t \cdot x\right)\right)} \]
    2. mul-1-neg30.9%

      \[\leadsto a \cdot \left(c \cdot j + \color{blue}{\left(-t \cdot x\right)}\right) \]
    3. unsub-neg30.9%

      \[\leadsto a \cdot \color{blue}{\left(c \cdot j - t \cdot x\right)} \]
  6. Simplified30.9%

    \[\leadsto \color{blue}{a \cdot \left(c \cdot j - t \cdot x\right)} \]
  7. Taylor expanded in c around inf 17.8%

    \[\leadsto a \cdot \color{blue}{\left(c \cdot j\right)} \]
  8. Final simplification17.8%

    \[\leadsto a \cdot \left(c \cdot j\right) \]

Alternative 30: 22.9% accurate, 5.8× speedup?

\[\begin{array}{l} \\ c \cdot \left(a \cdot j\right) \end{array} \]
(FPCore (x y z t a b c i j) :precision binary64 (* c (* a j)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	return c * (a * j);
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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
    code = c * (a * j)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	return c * (a * j);
}
def code(x, y, z, t, a, b, c, i, j):
	return c * (a * j)
function code(x, y, z, t, a, b, c, i, j)
	return Float64(c * Float64(a * j))
end
function tmp = code(x, y, z, t, a, b, c, i, j)
	tmp = c * (a * j);
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(c * N[(a * j), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
c \cdot \left(a \cdot j\right)
\end{array}
Derivation
  1. Initial program 78.3%

    \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
  2. Step-by-step derivation
    1. associate-+l-78.3%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right)} \]
    2. *-commutative78.3%

      \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(\color{blue}{z \cdot c} - t \cdot i\right) - j \cdot \left(c \cdot a - y \cdot i\right)\right) \]
    3. sub-neg78.3%

      \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\right) \]
    4. sub-neg78.3%

      \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \color{blue}{\left(c \cdot a - y \cdot i\right)}\right) \]
    5. *-commutative78.3%

      \[\leadsto x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(\color{blue}{a \cdot c} - y \cdot i\right)\right) \]
  3. Simplified78.3%

    \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - t \cdot i\right) - j \cdot \left(a \cdot c - y \cdot i\right)\right)} \]
  4. Taylor expanded in a around inf 30.9%

    \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
  5. Step-by-step derivation
    1. +-commutative30.9%

      \[\leadsto a \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(t \cdot x\right)\right)} \]
    2. mul-1-neg30.9%

      \[\leadsto a \cdot \left(c \cdot j + \color{blue}{\left(-t \cdot x\right)}\right) \]
    3. unsub-neg30.9%

      \[\leadsto a \cdot \color{blue}{\left(c \cdot j - t \cdot x\right)} \]
  6. Simplified30.9%

    \[\leadsto \color{blue}{a \cdot \left(c \cdot j - t \cdot x\right)} \]
  7. Taylor expanded in c around inf 17.8%

    \[\leadsto a \cdot \color{blue}{\left(c \cdot j\right)} \]
  8. Taylor expanded in a around 0 18.2%

    \[\leadsto \color{blue}{c \cdot \left(a \cdot j\right)} \]
  9. Final simplification18.2%

    \[\leadsto c \cdot \left(a \cdot j\right) \]

Developer target: 59.5% accurate, 0.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(c \cdot a - y \cdot i\right)\\ t_2 := \left(x \cdot \left(y \cdot z - t \cdot a\right) - \frac{b \cdot \left({\left(c \cdot z\right)}^{2} - {\left(t \cdot i\right)}^{2}\right)}{c \cdot z + t \cdot i}\right) + t_1\\ \mathbf{if}\;x < -1.469694296777705 \cdot 10^{-64}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x < 3.2113527362226803 \cdot 10^{-147}:\\ \;\;\;\;\left(b \cdot i - x \cdot a\right) \cdot t - \left(z \cdot \left(c \cdot b\right) - t_1\right)\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* j (- (* c a) (* y i))))
        (t_2
         (+
          (-
           (* x (- (* y z) (* t a)))
           (/
            (* b (- (pow (* c z) 2.0) (pow (* t i) 2.0)))
            (+ (* c z) (* t i))))
          t_1)))
   (if (< x -1.469694296777705e-64)
     t_2
     (if (< x 3.2113527362226803e-147)
       (- (* (- (* b i) (* x a)) t) (- (* z (* c b)) t_1))
       t_2))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = j * ((c * a) - (y * i));
	double t_2 = ((x * ((y * z) - (t * a))) - ((b * (pow((c * z), 2.0) - pow((t * i), 2.0))) / ((c * z) + (t * i)))) + t_1;
	double tmp;
	if (x < -1.469694296777705e-64) {
		tmp = t_2;
	} else if (x < 3.2113527362226803e-147) {
		tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1);
	} else {
		tmp = t_2;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = j * ((c * a) - (y * i))
    t_2 = ((x * ((y * z) - (t * a))) - ((b * (((c * z) ** 2.0d0) - ((t * i) ** 2.0d0))) / ((c * z) + (t * i)))) + t_1
    if (x < (-1.469694296777705d-64)) then
        tmp = t_2
    else if (x < 3.2113527362226803d-147) then
        tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1)
    else
        tmp = t_2
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = j * ((c * a) - (y * i));
	double t_2 = ((x * ((y * z) - (t * a))) - ((b * (Math.pow((c * z), 2.0) - Math.pow((t * i), 2.0))) / ((c * z) + (t * i)))) + t_1;
	double tmp;
	if (x < -1.469694296777705e-64) {
		tmp = t_2;
	} else if (x < 3.2113527362226803e-147) {
		tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1);
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = j * ((c * a) - (y * i))
	t_2 = ((x * ((y * z) - (t * a))) - ((b * (math.pow((c * z), 2.0) - math.pow((t * i), 2.0))) / ((c * z) + (t * i)))) + t_1
	tmp = 0
	if x < -1.469694296777705e-64:
		tmp = t_2
	elif x < 3.2113527362226803e-147:
		tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1)
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(j * Float64(Float64(c * a) - Float64(y * i)))
	t_2 = Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(Float64(b * Float64((Float64(c * z) ^ 2.0) - (Float64(t * i) ^ 2.0))) / Float64(Float64(c * z) + Float64(t * i)))) + t_1)
	tmp = 0.0
	if (x < -1.469694296777705e-64)
		tmp = t_2;
	elseif (x < 3.2113527362226803e-147)
		tmp = Float64(Float64(Float64(Float64(b * i) - Float64(x * a)) * t) - Float64(Float64(z * Float64(c * b)) - t_1));
	else
		tmp = t_2;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = j * ((c * a) - (y * i));
	t_2 = ((x * ((y * z) - (t * a))) - ((b * (((c * z) ^ 2.0) - ((t * i) ^ 2.0))) / ((c * z) + (t * i)))) + t_1;
	tmp = 0.0;
	if (x < -1.469694296777705e-64)
		tmp = t_2;
	elseif (x < 3.2113527362226803e-147)
		tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1);
	else
		tmp = t_2;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(j * N[(N[(c * a), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(b * N[(N[Power[N[(c * z), $MachinePrecision], 2.0], $MachinePrecision] - N[Power[N[(t * i), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(N[(c * z), $MachinePrecision] + N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision]}, If[Less[x, -1.469694296777705e-64], t$95$2, If[Less[x, 3.2113527362226803e-147], N[(N[(N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] - N[(N[(z * N[(c * b), $MachinePrecision]), $MachinePrecision] - t$95$1), $MachinePrecision]), $MachinePrecision], t$95$2]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := j \cdot \left(c \cdot a - y \cdot i\right)\\
t_2 := \left(x \cdot \left(y \cdot z - t \cdot a\right) - \frac{b \cdot \left({\left(c \cdot z\right)}^{2} - {\left(t \cdot i\right)}^{2}\right)}{c \cdot z + t \cdot i}\right) + t_1\\
\mathbf{if}\;x < -1.469694296777705 \cdot 10^{-64}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;x < 3.2113527362226803 \cdot 10^{-147}:\\
\;\;\;\;\left(b \cdot i - x \cdot a\right) \cdot t - \left(z \cdot \left(c \cdot b\right) - t_1\right)\\

\mathbf{else}:\\
\;\;\;\;t_2\\


\end{array}
\end{array}

Reproduce

?
herbie shell --seed 2023274 
(FPCore (x y z t a b c i j)
  :name "Data.Colour.Matrix:determinant from colour-2.3.3, A"
  :precision binary64

  :herbie-target
  (if (< x -1.469694296777705e-64) (+ (- (* x (- (* y z) (* t a))) (/ (* b (- (pow (* c z) 2.0) (pow (* t i) 2.0))) (+ (* c z) (* t i)))) (* j (- (* c a) (* y i)))) (if (< x 3.2113527362226803e-147) (- (* (- (* b i) (* x a)) t) (- (* z (* c b)) (* j (- (* c a) (* y i))))) (+ (- (* x (- (* y z) (* t a))) (/ (* b (- (pow (* c z) 2.0) (pow (* t i) 2.0))) (+ (* c z) (* t i)))) (* j (- (* c a) (* y i))))))

  (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))) (* j (- (* c a) (* y i)))))