Average Error: 12.0 → 10.3
Time: 1.3min
Precision: binary64
Cost: 15504
\[\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) \]
\[\begin{array}{l} t_1 := y \cdot \left(x \cdot z\right)\\ t_2 := b \cdot \left(t \cdot i - z \cdot c\right)\\ t_3 := c \cdot \left(j \cdot a\right)\\ t_4 := \left(\left(t_1 - y \cdot \left(j \cdot i\right)\right) - a \cdot \left(x \cdot t - j \cdot c\right)\right) + t_2\\ t_5 := t_3 + t_1\\ t_6 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_7 := \left(t_6 + t_2\right) + j \cdot \left(a \cdot c - y \cdot i\right)\\ t_8 := c \cdot \left(z \cdot b\right)\\ t_9 := \left(\left(t_3 + t_6\right) + i \cdot \left(t \cdot b - j \cdot y\right)\right) - t_8\\ \mathbf{if}\;j \leq -1 \cdot 10^{+55}:\\ \;\;\;\;t_7\\ \mathbf{elif}\;j \leq -2.6279803340645422 \cdot 10^{-36}:\\ \;\;\;\;t_9\\ \mathbf{elif}\;j \leq -1.101870954746464 \cdot 10^{-77}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq -7.159722862350514 \cdot 10^{-214}:\\ \;\;\;\;\left(t_5 - \mathsf{fma}\left(x \cdot a - b \cdot i, t, t \cdot \mathsf{fma}\left(b, -i, b \cdot i\right)\right)\right) - t_8\\ \mathbf{elif}\;j \leq -5.4762220906782254 \cdot 10^{-245}:\\ \;\;\;\;t_7\\ \mathbf{elif}\;j \leq 2.6364117820735222 \cdot 10^{-294}:\\ \;\;\;\;\left(t_5 + t \cdot \left(b \cdot i - x \cdot a\right)\right) - t_8\\ \mathbf{elif}\;j \leq 2.1942984161161427 \cdot 10^{-240}:\\ \;\;\;\;t_9\\ \mathbf{elif}\;j \leq 10^{+19}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_7\\ \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)))))
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* y (* x z)))
        (t_2 (* b (- (* t i) (* z c))))
        (t_3 (* c (* j a)))
        (t_4 (+ (- (- t_1 (* y (* j i))) (* a (- (* x t) (* j c)))) t_2))
        (t_5 (+ t_3 t_1))
        (t_6 (* x (- (* y z) (* t a))))
        (t_7 (+ (+ t_6 t_2) (* j (- (* a c) (* y i)))))
        (t_8 (* c (* z b)))
        (t_9 (- (+ (+ t_3 t_6) (* i (- (* t b) (* j y)))) t_8)))
   (if (<= j -1e+55)
     t_7
     (if (<= j -2.6279803340645422e-36)
       t_9
       (if (<= j -1.101870954746464e-77)
         t_4
         (if (<= j -7.159722862350514e-214)
           (-
            (- t_5 (fma (- (* x a) (* b i)) t (* t (fma b (- i) (* b i)))))
            t_8)
           (if (<= j -5.4762220906782254e-245)
             t_7
             (if (<= j 2.6364117820735222e-294)
               (- (+ t_5 (* t (- (* b i) (* x a)))) t_8)
               (if (<= j 2.1942984161161427e-240)
                 t_9
                 (if (<= j 1e+19) t_4 t_7))))))))))
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)));
}
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 t_2 = b * ((t * i) - (z * c));
	double t_3 = c * (j * a);
	double t_4 = ((t_1 - (y * (j * i))) - (a * ((x * t) - (j * c)))) + t_2;
	double t_5 = t_3 + t_1;
	double t_6 = x * ((y * z) - (t * a));
	double t_7 = (t_6 + t_2) + (j * ((a * c) - (y * i)));
	double t_8 = c * (z * b);
	double t_9 = ((t_3 + t_6) + (i * ((t * b) - (j * y)))) - t_8;
	double tmp;
	if (j <= -1e+55) {
		tmp = t_7;
	} else if (j <= -2.6279803340645422e-36) {
		tmp = t_9;
	} else if (j <= -1.101870954746464e-77) {
		tmp = t_4;
	} else if (j <= -7.159722862350514e-214) {
		tmp = (t_5 - fma(((x * a) - (b * i)), t, (t * fma(b, -i, (b * i))))) - t_8;
	} else if (j <= -5.4762220906782254e-245) {
		tmp = t_7;
	} else if (j <= 2.6364117820735222e-294) {
		tmp = (t_5 + (t * ((b * i) - (x * a)))) - t_8;
	} else if (j <= 2.1942984161161427e-240) {
		tmp = t_9;
	} else if (j <= 1e+19) {
		tmp = t_4;
	} else {
		tmp = t_7;
	}
	return tmp;
}
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 code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(y * Float64(x * z))
	t_2 = Float64(b * Float64(Float64(t * i) - Float64(z * c)))
	t_3 = Float64(c * Float64(j * a))
	t_4 = Float64(Float64(Float64(t_1 - Float64(y * Float64(j * i))) - Float64(a * Float64(Float64(x * t) - Float64(j * c)))) + t_2)
	t_5 = Float64(t_3 + t_1)
	t_6 = Float64(x * Float64(Float64(y * z) - Float64(t * a)))
	t_7 = Float64(Float64(t_6 + t_2) + Float64(j * Float64(Float64(a * c) - Float64(y * i))))
	t_8 = Float64(c * Float64(z * b))
	t_9 = Float64(Float64(Float64(t_3 + t_6) + Float64(i * Float64(Float64(t * b) - Float64(j * y)))) - t_8)
	tmp = 0.0
	if (j <= -1e+55)
		tmp = t_7;
	elseif (j <= -2.6279803340645422e-36)
		tmp = t_9;
	elseif (j <= -1.101870954746464e-77)
		tmp = t_4;
	elseif (j <= -7.159722862350514e-214)
		tmp = Float64(Float64(t_5 - fma(Float64(Float64(x * a) - Float64(b * i)), t, Float64(t * fma(b, Float64(-i), Float64(b * i))))) - t_8);
	elseif (j <= -5.4762220906782254e-245)
		tmp = t_7;
	elseif (j <= 2.6364117820735222e-294)
		tmp = Float64(Float64(t_5 + Float64(t * Float64(Float64(b * i) - Float64(x * a)))) - t_8);
	elseif (j <= 2.1942984161161427e-240)
		tmp = t_9;
	elseif (j <= 1e+19)
		tmp = t_4;
	else
		tmp = t_7;
	end
	return tmp
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]
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(c * N[(j * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(N[(t$95$1 - N[(y * N[(j * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(N[(x * t), $MachinePrecision] - N[(j * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$2), $MachinePrecision]}, Block[{t$95$5 = N[(t$95$3 + t$95$1), $MachinePrecision]}, Block[{t$95$6 = N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(t$95$6 + t$95$2), $MachinePrecision] + N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(c * N[(z * b), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(N[(t$95$3 + t$95$6), $MachinePrecision] + N[(i * N[(N[(t * b), $MachinePrecision] - N[(j * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t$95$8), $MachinePrecision]}, If[LessEqual[j, -1e+55], t$95$7, If[LessEqual[j, -2.6279803340645422e-36], t$95$9, If[LessEqual[j, -1.101870954746464e-77], t$95$4, If[LessEqual[j, -7.159722862350514e-214], N[(N[(t$95$5 - N[(N[(N[(x * a), $MachinePrecision] - N[(b * i), $MachinePrecision]), $MachinePrecision] * t + N[(t * N[(b * (-i) + N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t$95$8), $MachinePrecision], If[LessEqual[j, -5.4762220906782254e-245], t$95$7, If[LessEqual[j, 2.6364117820735222e-294], N[(N[(t$95$5 + N[(t * N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t$95$8), $MachinePrecision], If[LessEqual[j, 2.1942984161161427e-240], t$95$9, If[LessEqual[j, 1e+19], t$95$4, t$95$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)
\begin{array}{l}
t_1 := y \cdot \left(x \cdot z\right)\\
t_2 := b \cdot \left(t \cdot i - z \cdot c\right)\\
t_3 := c \cdot \left(j \cdot a\right)\\
t_4 := \left(\left(t_1 - y \cdot \left(j \cdot i\right)\right) - a \cdot \left(x \cdot t - j \cdot c\right)\right) + t_2\\
t_5 := t_3 + t_1\\
t_6 := x \cdot \left(y \cdot z - t \cdot a\right)\\
t_7 := \left(t_6 + t_2\right) + j \cdot \left(a \cdot c - y \cdot i\right)\\
t_8 := c \cdot \left(z \cdot b\right)\\
t_9 := \left(\left(t_3 + t_6\right) + i \cdot \left(t \cdot b - j \cdot y\right)\right) - t_8\\
\mathbf{if}\;j \leq -1 \cdot 10^{+55}:\\
\;\;\;\;t_7\\

\mathbf{elif}\;j \leq -2.6279803340645422 \cdot 10^{-36}:\\
\;\;\;\;t_9\\

\mathbf{elif}\;j \leq -1.101870954746464 \cdot 10^{-77}:\\
\;\;\;\;t_4\\

\mathbf{elif}\;j \leq -7.159722862350514 \cdot 10^{-214}:\\
\;\;\;\;\left(t_5 - \mathsf{fma}\left(x \cdot a - b \cdot i, t, t \cdot \mathsf{fma}\left(b, -i, b \cdot i\right)\right)\right) - t_8\\

\mathbf{elif}\;j \leq -5.4762220906782254 \cdot 10^{-245}:\\
\;\;\;\;t_7\\

\mathbf{elif}\;j \leq 2.6364117820735222 \cdot 10^{-294}:\\
\;\;\;\;\left(t_5 + t \cdot \left(b \cdot i - x \cdot a\right)\right) - t_8\\

\mathbf{elif}\;j \leq 2.1942984161161427 \cdot 10^{-240}:\\
\;\;\;\;t_9\\

\mathbf{elif}\;j \leq 10^{+19}:\\
\;\;\;\;t_4\\

\mathbf{else}:\\
\;\;\;\;t_7\\


\end{array}

Error

Target

Original12.0
Target20.1
Herbie10.3
\[\begin{array}{l} \mathbf{if}\;x < -1.469694296777705 \cdot 10^{-64}:\\ \;\;\;\;\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) + j \cdot \left(c \cdot a - y \cdot i\right)\\ \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) - j \cdot \left(c \cdot a - y \cdot i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\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) + j \cdot \left(c \cdot a - y \cdot i\right)\\ \end{array} \]

Derivation

  1. Split input into 5 regimes
  2. if j < -1.00000000000000001e55 or -7.1597228623505141e-214 < j < -5.47622209067822545e-245 or 1e19 < j

    1. Initial program 8.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) \]

    if -1.00000000000000001e55 < j < -2.62798033406454223e-36 or 2.6364117820735222e-294 < j < 2.1942984161161427e-240

    1. Initial program 13.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. Taylor expanded in i around -inf 11.7

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

    if -2.62798033406454223e-36 < j < -1.1018709547464641e-77 or 2.1942984161161427e-240 < j < 1e19

    1. Initial program 12.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. Taylor expanded in a around 0 8.6

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

    if -1.1018709547464641e-77 < j < -7.1597228623505141e-214

    1. Initial program 15.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. Taylor expanded in t around -inf 15.8

      \[\leadsto \color{blue}{\left(-1 \cdot \left(\left(a \cdot x - i \cdot b\right) \cdot t\right) + \left(y \cdot \left(z \cdot x\right) + j \cdot \left(c \cdot a - y \cdot i\right)\right)\right) - c \cdot \left(b \cdot z\right)} \]
    3. Applied egg-rr15.8

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

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

    if -5.47622209067822545e-245 < j < 2.6364117820735222e-294

    1. Initial program 17.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. Taylor expanded in t around -inf 18.3

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -1 \cdot 10^{+55}:\\ \;\;\;\;\left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(t \cdot i - z \cdot c\right)\right) + j \cdot \left(a \cdot c - y \cdot i\right)\\ \mathbf{elif}\;j \leq -2.6279803340645422 \cdot 10^{-36}:\\ \;\;\;\;\left(\left(c \cdot \left(j \cdot a\right) + x \cdot \left(y \cdot z - t \cdot a\right)\right) + i \cdot \left(t \cdot b - j \cdot y\right)\right) - c \cdot \left(z \cdot b\right)\\ \mathbf{elif}\;j \leq -1.101870954746464 \cdot 10^{-77}:\\ \;\;\;\;\left(\left(y \cdot \left(x \cdot z\right) - y \cdot \left(j \cdot i\right)\right) - a \cdot \left(x \cdot t - j \cdot c\right)\right) + b \cdot \left(t \cdot i - z \cdot c\right)\\ \mathbf{elif}\;j \leq -7.159722862350514 \cdot 10^{-214}:\\ \;\;\;\;\left(\left(c \cdot \left(j \cdot a\right) + y \cdot \left(x \cdot z\right)\right) - \mathsf{fma}\left(x \cdot a - b \cdot i, t, t \cdot \mathsf{fma}\left(b, -i, b \cdot i\right)\right)\right) - c \cdot \left(z \cdot b\right)\\ \mathbf{elif}\;j \leq -5.4762220906782254 \cdot 10^{-245}:\\ \;\;\;\;\left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(t \cdot i - z \cdot c\right)\right) + j \cdot \left(a \cdot c - y \cdot i\right)\\ \mathbf{elif}\;j \leq 2.6364117820735222 \cdot 10^{-294}:\\ \;\;\;\;\left(\left(c \cdot \left(j \cdot a\right) + y \cdot \left(x \cdot z\right)\right) + t \cdot \left(b \cdot i - x \cdot a\right)\right) - c \cdot \left(z \cdot b\right)\\ \mathbf{elif}\;j \leq 2.1942984161161427 \cdot 10^{-240}:\\ \;\;\;\;\left(\left(c \cdot \left(j \cdot a\right) + x \cdot \left(y \cdot z - t \cdot a\right)\right) + i \cdot \left(t \cdot b - j \cdot y\right)\right) - c \cdot \left(z \cdot b\right)\\ \mathbf{elif}\;j \leq 10^{+19}:\\ \;\;\;\;\left(\left(y \cdot \left(x \cdot z\right) - y \cdot \left(j \cdot i\right)\right) - a \cdot \left(x \cdot t - j \cdot c\right)\right) + b \cdot \left(t \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;\left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(t \cdot i - z \cdot c\right)\right) + j \cdot \left(a \cdot c - y \cdot i\right)\\ \end{array} \]

Alternatives

Alternative 1
Error8.3
Cost5832
\[\begin{array}{l} t_1 := c \cdot \left(j \cdot a\right)\\ t_2 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_3 := \left(t_2 + b \cdot \left(t \cdot i - z \cdot c\right)\right) + j \cdot \left(a \cdot c - y \cdot i\right)\\ t_4 := c \cdot \left(z \cdot b\right)\\ \mathbf{if}\;t_3 \leq -\infty:\\ \;\;\;\;\left(\left(t_1 + y \cdot \left(x \cdot z\right)\right) + t \cdot \left(b \cdot i - x \cdot a\right)\right) - t_4\\ \mathbf{elif}\;t_3 \leq \infty:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;\left(\left(t_1 + t_2\right) + i \cdot \left(t \cdot b - j \cdot y\right)\right) - t_4\\ \end{array} \]
Alternative 2
Error7.9
Cost5704
\[\begin{array}{l} t_1 := \left(\left(c \cdot \left(j \cdot a\right) + y \cdot \left(x \cdot z\right)\right) + t \cdot \left(b \cdot i - x \cdot a\right)\right) - c \cdot \left(z \cdot b\right)\\ t_2 := \left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(t \cdot i - z \cdot c\right)\right) + j \cdot \left(a \cdot c - y \cdot i\right)\\ \mathbf{if}\;t_2 \leq -\infty:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t_2 \leq \infty:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 3
Error19.7
Cost3444
\[\begin{array}{l} t_1 := j \cdot \left(a \cdot c - y \cdot i\right)\\ t_2 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_3 := \left(t_2 + b \cdot \left(t \cdot i - z \cdot c\right)\right) - i \cdot \left(j \cdot y\right)\\ t_4 := \left(\left(c \cdot \left(j \cdot a\right) + y \cdot \left(x \cdot z\right)\right) + t \cdot \left(b \cdot i - x \cdot a\right)\right) - c \cdot \left(z \cdot b\right)\\ t_5 := z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{if}\;z \leq -1 \cdot 10^{+91}:\\ \;\;\;\;t_5 - j \cdot \left(y \cdot i\right)\\ \mathbf{elif}\;z \leq -3.471462608573939 \cdot 10^{-24}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq -5.250236605303053 \cdot 10^{-74}:\\ \;\;\;\;t_1 + t_2\\ \mathbf{elif}\;z \leq -4.123553071175891 \cdot 10^{-80}:\\ \;\;\;\;a \cdot \left(j \cdot c - x \cdot t\right)\\ \mathbf{elif}\;z \leq -5.2142906253110754 \cdot 10^{-139}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq -2.1630822097176513 \cdot 10^{-165}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq -4.223699455101431 \cdot 10^{-186}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq -1.2848287690632739 \cdot 10^{-254}:\\ \;\;\;\;i \cdot \left(t \cdot b\right) + \left(t_1 - a \cdot \left(x \cdot t\right)\right)\\ \mathbf{elif}\;z \leq -2.1376442691665905 \cdot 10^{-287}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 2.078215975149452 \cdot 10^{-252}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq 7.872613259363536 \cdot 10^{-127}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 10^{+40}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq 5 \cdot 10^{+293}:\\ \;\;\;\;t_1 + t_5\\ \mathbf{else}:\\ \;\;\;\;t_4\\ \end{array} \]
Alternative 4
Error22.6
Cost3052
\[\begin{array}{l} t_1 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_2 := b \cdot \left(t \cdot i - z \cdot c\right)\\ t_3 := \left(t_1 + t_2\right) - i \cdot \left(j \cdot y\right)\\ t_4 := j \cdot \left(a \cdot c - y \cdot i\right)\\ \mathbf{if}\;a \leq -530149433810221600:\\ \;\;\;\;t_4 + t_1\\ \mathbf{elif}\;a \leq -2.7691884386320385 \cdot 10^{-37}:\\ \;\;\;\;t_4 - c \cdot \left(z \cdot b\right)\\ \mathbf{elif}\;a \leq -9.07278325047984 \cdot 10^{-80}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;a \leq -3.5876572583337306 \cdot 10^{-81}:\\ \;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\ \mathbf{elif}\;a \leq -1.7710547637526223 \cdot 10^{-190}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;a \leq 7.617757423597962 \cdot 10^{-266}:\\ \;\;\;\;\left(y \cdot \left(x \cdot z\right) - y \cdot \left(j \cdot i\right)\right) + t_2\\ \mathbf{elif}\;a \leq 8.535530001357363 \cdot 10^{-136}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;a \leq 9.251943698940955 \cdot 10^{-56}:\\ \;\;\;\;i \cdot \left(t \cdot b - j \cdot y\right) - z \cdot \left(b \cdot c\right)\\ \mathbf{elif}\;a \leq 848.088317667985:\\ \;\;\;\;t_3\\ \mathbf{elif}\;a \leq 1.35 \cdot 10^{+75}:\\ \;\;\;\;t_4 + z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;a \leq 3.1 \cdot 10^{+162}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;i \cdot \left(t \cdot b\right) + \left(t_4 - a \cdot \left(x \cdot t\right)\right)\\ \end{array} \]
Alternative 5
Error22.6
Cost3052
\[\begin{array}{l} t_1 := j \cdot \left(a \cdot c - y \cdot i\right)\\ t_2 := b \cdot \left(t \cdot i - z \cdot c\right)\\ t_3 := y \cdot \left(x \cdot z\right)\\ t_4 := \left(t_3 - y \cdot \left(j \cdot i\right)\right) + t_2\\ t_5 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_6 := t_1 + t_5\\ t_7 := \left(t_5 + t_2\right) - i \cdot \left(j \cdot y\right)\\ t_8 := c \cdot \left(z \cdot b\right)\\ t_9 := \left(\left(c \cdot \left(j \cdot a\right) + t_3\right) + i \cdot \left(t \cdot b\right)\right) - t_8\\ \mathbf{if}\;b \leq -1.0450757465457567 \cdot 10^{-106}:\\ \;\;\;\;t_7\\ \mathbf{elif}\;b \leq -3.209659128241728 \cdot 10^{-213}:\\ \;\;\;\;t_9\\ \mathbf{elif}\;b \leq -5.8590272652490185 \cdot 10^{-288}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;b \leq -3.111819319465314 \cdot 10^{-294}:\\ \;\;\;\;t_9\\ \mathbf{elif}\;b \leq 3.0676165983922425 \cdot 10^{-229}:\\ \;\;\;\;t_7\\ \mathbf{elif}\;b \leq 1.6101652341956984 \cdot 10^{-221}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;b \leq 4.031809902415921 \cdot 10^{-165}:\\ \;\;\;\;i \cdot \left(t \cdot b - j \cdot y\right) - z \cdot \left(b \cdot c\right)\\ \mathbf{elif}\;b \leq 1.3166965286670254 \cdot 10^{-115}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;b \leq 1.8237037649084998 \cdot 10^{-50}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;b \leq 10^{+50}:\\ \;\;\;\;t_1 + t_2\\ \mathbf{elif}\;b \leq 4.1 \cdot 10^{+136}:\\ \;\;\;\;t_7\\ \mathbf{elif}\;b \leq 3.8 \cdot 10^{+196}:\\ \;\;\;\;\left(t_3 + t_1\right) - t_8\\ \mathbf{else}:\\ \;\;\;\;t_4\\ \end{array} \]
Alternative 6
Error10.3
Cost3040
\[\begin{array}{l} t_1 := y \cdot \left(x \cdot z\right)\\ t_2 := b \cdot \left(t \cdot i - z \cdot c\right)\\ t_3 := \left(\left(t_1 - y \cdot \left(j \cdot i\right)\right) - a \cdot \left(x \cdot t - j \cdot c\right)\right) + t_2\\ t_4 := c \cdot \left(j \cdot a\right)\\ t_5 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_6 := \left(t_5 + t_2\right) + j \cdot \left(a \cdot c - y \cdot i\right)\\ t_7 := c \cdot \left(z \cdot b\right)\\ t_8 := \left(\left(t_4 + t_1\right) + t \cdot \left(b \cdot i - x \cdot a\right)\right) - t_7\\ t_9 := \left(\left(t_4 + t_5\right) + i \cdot \left(t \cdot b - j \cdot y\right)\right) - t_7\\ \mathbf{if}\;j \leq -1 \cdot 10^{+55}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;j \leq -2.6279803340645422 \cdot 10^{-36}:\\ \;\;\;\;t_9\\ \mathbf{elif}\;j \leq -1.101870954746464 \cdot 10^{-77}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq -7.159722862350514 \cdot 10^{-214}:\\ \;\;\;\;t_8\\ \mathbf{elif}\;j \leq -5.4762220906782254 \cdot 10^{-245}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;j \leq 2.6364117820735222 \cdot 10^{-294}:\\ \;\;\;\;t_8\\ \mathbf{elif}\;j \leq 2.0118533533997115 \cdot 10^{-240}:\\ \;\;\;\;t_9\\ \mathbf{elif}\;j \leq 10^{+19}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t_6\\ \end{array} \]
Alternative 7
Error29.1
Cost2800
\[\begin{array}{l} t_1 := j \cdot \left(a \cdot c - y \cdot i\right)\\ t_2 := b \cdot \left(t \cdot i - z \cdot c\right)\\ t_3 := t_1 + t_2\\ t_4 := x \cdot \left(y \cdot z - t \cdot a\right) + t_2\\ \mathbf{if}\;y \leq -1.46 \cdot 10^{+90}:\\ \;\;\;\;y \cdot \left(x \cdot z\right) + t_1\\ \mathbf{elif}\;y \leq -6.3 \cdot 10^{+44}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y \leq -9.664724310934968 \cdot 10^{-103}:\\ \;\;\;\;i \cdot \left(t \cdot b - j \cdot y\right) - z \cdot \left(b \cdot c\right)\\ \mathbf{elif}\;y \leq -1.1135709823438817 \cdot 10^{-176}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y \leq -1.0474687904438062 \cdot 10^{-239}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq 1.4536781517224654 \cdot 10^{-226}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y \leq 3.283969862237744 \cdot 10^{-81}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq 4.4541561043438616 \cdot 10^{-45}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y \leq 6.280548585779185 \cdot 10^{-17}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq 5 \cdot 10^{+63}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y \leq 1.4 \cdot 10^{+85}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right) - j \cdot \left(y \cdot i\right)\\ \mathbf{elif}\;y \leq 3.3 \cdot 10^{+146}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 8
Error31.8
Cost2676
\[\begin{array}{l} t_1 := j \cdot \left(a \cdot c - y \cdot i\right)\\ t_2 := y \cdot \left(x \cdot z\right) + t_1\\ t_3 := i \cdot \left(t \cdot b - j \cdot y\right) - z \cdot \left(b \cdot c\right)\\ t_4 := z \cdot \left(x \cdot y - b \cdot c\right) - j \cdot \left(y \cdot i\right)\\ t_5 := b \cdot \left(t \cdot i - z \cdot c\right) - a \cdot \left(x \cdot t\right)\\ \mathbf{if}\;z \leq -5.250236605303053 \cdot 10^{-74}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq -1.4004698982673535 \cdot 10^{-208}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;z \leq -1.2848287690632739 \cdot 10^{-254}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq -1.9617709197542626 \cdot 10^{-284}:\\ \;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\ \mathbf{elif}\;z \leq -5.765213192652071 \cdot 10^{-291}:\\ \;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\ \mathbf{elif}\;z \leq 1.311811082741485 \cdot 10^{-303}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 1.7950157354953925 \cdot 10^{-206}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 1.5662075047872075 \cdot 10^{-166}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;z \leq 4.85987106854522 \cdot 10^{-95}:\\ \;\;\;\;t_1 - b \cdot \left(z \cdot c\right)\\ \mathbf{elif}\;z \leq 6.4022828088715945 \cdot 10^{-68}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;z \leq 9.876859768235698 \cdot 10^{-44}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 4.3193648931939176 \cdot 10^{-40}:\\ \;\;\;\;t_1 - c \cdot \left(z \cdot b\right)\\ \mathbf{elif}\;z \leq 6.2 \cdot 10^{+16}:\\ \;\;\;\;t_5\\ \mathbf{else}:\\ \;\;\;\;t_4\\ \end{array} \]
Alternative 9
Error35.4
Cost2544
\[\begin{array}{l} t_1 := j \cdot \left(a \cdot c - y \cdot i\right)\\ t_2 := t_1 - b \cdot \left(z \cdot c\right)\\ t_3 := i \cdot \left(t \cdot b - j \cdot y\right) - z \cdot \left(b \cdot c\right)\\ t_4 := t \cdot \left(b \cdot i - x \cdot a\right)\\ t_5 := a \cdot \left(j \cdot c - x \cdot t\right)\\ \mathbf{if}\;x \leq -6.2 \cdot 10^{+181}:\\ \;\;\;\;y \cdot \left(x \cdot z\right) + t_1\\ \mathbf{elif}\;x \leq -2.25 \cdot 10^{+41}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -1.15 \cdot 10^{-9}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;x \leq -2.1671530555056606 \cdot 10^{-51}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq -2.1130813183446583 \cdot 10^{-121}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -5.582743803677365 \cdot 10^{-166}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -5.379200208391627 \cdot 10^{-174}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;x \leq -1.5094671388086054 \cdot 10^{-202}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -2.5666493765181156 \cdot 10^{-271}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 1.5680410236260727 \cdot 10^{-249}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 6.404816905873422 \cdot 10^{-222}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;x \leq 5.4 \cdot 10^{+42}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\ \end{array} \]
Alternative 10
Error38.4
Cost2424
\[\begin{array}{l} t_1 := c \cdot \left(j \cdot a - z \cdot b\right)\\ t_2 := z \cdot \left(x \cdot y - b \cdot c\right)\\ t_3 := j \cdot \left(a \cdot c - y \cdot i\right)\\ t_4 := t \cdot \left(b \cdot i - x \cdot a\right)\\ \mathbf{if}\;j \leq -1.8 \cdot 10^{+101}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq -1.45 \cdot 10^{+63}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{elif}\;j \leq -1.2181233014140831 \cdot 10^{-54}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq -8.074564633523239 \cdot 10^{-171}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq -5.142272895663331 \cdot 10^{-202}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq -1.0719339029236037 \cdot 10^{-283}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq -6.0122023737289055 \cdot 10^{-301}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq 6.381816247317395 \cdot 10^{-232}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq 3.112331624216486 \cdot 10^{-182}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq 3.271835463979663 \cdot 10^{-118}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq 5.3285711089570085 \cdot 10^{-115}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq 3.198324173551439 \cdot 10^{-96}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq 5.0206686950178045 \cdot 10^{-33}:\\ \;\;\;\;y \cdot \left(x \cdot z - j \cdot i\right)\\ \mathbf{elif}\;j \leq 4.2 \cdot 10^{+60}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 11
Error34.4
Cost2288
\[\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) - b \cdot \left(z \cdot c\right)\\ t_3 := a \cdot \left(j \cdot c - x \cdot t\right)\\ t_4 := i \cdot \left(t \cdot b - j \cdot y\right) - z \cdot \left(b \cdot c\right)\\ \mathbf{if}\;y \leq -1.32 \cdot 10^{+45}:\\ \;\;\;\;y \cdot \left(x \cdot z - j \cdot i\right)\\ \mathbf{elif}\;y \leq -1.1850775846885219 \cdot 10^{-183}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y \leq -3.189294611656719 \cdot 10^{-200}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq -8.467519253282699 \cdot 10^{-214}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq -2.2999644510014487 \cdot 10^{-266}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq 4.3499722371613766 \cdot 10^{-299}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 1.2811666056337939 \cdot 10^{-219}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y \leq 4.571022913906095 \cdot 10^{-196}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq 2.696641568662506 \cdot 10^{-132}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y \leq 6.280548585779185 \cdot 10^{-17}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq 2000000000:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{elif}\;y \leq 8 \cdot 10^{+36}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(x \cdot z\right) - y \cdot \left(j \cdot i\right)\\ \end{array} \]
Alternative 12
Error23.6
Cost2272
\[\begin{array}{l} t_1 := \left(y \cdot \left(x \cdot z\right) - i \cdot \left(j \cdot y\right)\right) - c \cdot \left(z \cdot b\right)\\ t_2 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_3 := b \cdot \left(t \cdot i - z \cdot c\right)\\ t_4 := t_2 + t_3\\ t_5 := j \cdot \left(a \cdot c - y \cdot i\right)\\ \mathbf{if}\;j \leq -1.056460194353876 \cdot 10^{-12}:\\ \;\;\;\;t_5 + t_2\\ \mathbf{elif}\;j \leq -1.1785041245871378 \cdot 10^{-53}:\\ \;\;\;\;i \cdot \left(t \cdot b - j \cdot y\right) - z \cdot \left(b \cdot c\right)\\ \mathbf{elif}\;j \leq -2.8925360294530366 \cdot 10^{-117}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq -4.473043775878915 \cdot 10^{-162}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq -3.349611020197541 \cdot 10^{-295}:\\ \;\;\;\;t_3 - a \cdot \left(x \cdot t\right)\\ \mathbf{elif}\;j \leq 3.509812303117599 \cdot 10^{-118}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq 4.633165420433221 \cdot 10^{-81}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq 5.0206686950178045 \cdot 10^{-33}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_5 + t_3\\ \end{array} \]
Alternative 13
Error34.9
Cost2148
\[\begin{array}{l} t_1 := j \cdot \left(a \cdot c - y \cdot i\right)\\ t_2 := t \cdot \left(b \cdot i - x \cdot a\right)\\ t_3 := c \cdot \left(j \cdot a - z \cdot b\right)\\ t_4 := z \cdot \left(x \cdot y - b \cdot c\right) - j \cdot \left(y \cdot i\right)\\ \mathbf{if}\;c \leq -8 \cdot 10^{+58}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -1.3460420282686868 \cdot 10^{-99}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq -9.67317934314523 \cdot 10^{-158}:\\ \;\;\;\;y \cdot \left(x \cdot z\right) + t_1\\ \mathbf{elif}\;c \leq 2.8040915718149457 \cdot 10^{-306}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq 7.879456149664964 \cdot 10^{-249}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 5.323120793543446 \cdot 10^{-171}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq 2.0019389585599682 \cdot 10^{-122}:\\ \;\;\;\;a \cdot \left(j \cdot c - x \cdot t\right)\\ \mathbf{elif}\;c \leq 2.4427475152235057 \cdot 10^{-85}:\\ \;\;\;\;i \cdot \left(t \cdot b - j \cdot y\right)\\ \mathbf{elif}\;c \leq 10^{+100}:\\ \;\;\;\;t_1 - b \cdot \left(z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 14
Error34.7
Cost2016
\[\begin{array}{l} t_1 := j \cdot \left(a \cdot c - y \cdot i\right)\\ t_2 := t \cdot \left(b \cdot i - x \cdot a\right)\\ t_3 := z \cdot \left(x \cdot y - b \cdot c\right) - j \cdot \left(y \cdot i\right)\\ \mathbf{if}\;c \leq -8 \cdot 10^{+58}:\\ \;\;\;\;c \cdot \left(j \cdot a - z \cdot b\right)\\ \mathbf{elif}\;c \leq -1.3460420282686868 \cdot 10^{-99}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq -9.67317934314523 \cdot 10^{-158}:\\ \;\;\;\;y \cdot \left(x \cdot z\right) + t_1\\ \mathbf{elif}\;c \leq 2.8040915718149457 \cdot 10^{-306}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq 7.879456149664964 \cdot 10^{-249}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 5.323120793543446 \cdot 10^{-171}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq 2.0019389585599682 \cdot 10^{-122}:\\ \;\;\;\;a \cdot \left(j \cdot c - x \cdot t\right)\\ \mathbf{elif}\;c \leq 1.0869850302820784 \cdot 10^{-32}:\\ \;\;\;\;i \cdot \left(t \cdot b - j \cdot y\right) - z \cdot \left(b \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;t_1 - c \cdot \left(z \cdot b\right)\\ \end{array} \]
Alternative 15
Error23.8
Cost2008
\[\begin{array}{l} t_1 := j \cdot \left(a \cdot c - y \cdot i\right) - b \cdot \left(z \cdot c\right)\\ t_2 := x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(t \cdot i - z \cdot c\right)\\ \mathbf{if}\;j \leq -1.8 \cdot 10^{+101}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq -1.45 \cdot 10^{+63}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq -1.1785041245871378 \cdot 10^{-53}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq 3.509812303117599 \cdot 10^{-118}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq 4.633165420433221 \cdot 10^{-81}:\\ \;\;\;\;\left(y \cdot \left(x \cdot z\right) - i \cdot \left(j \cdot y\right)\right) - c \cdot \left(z \cdot b\right)\\ \mathbf{elif}\;j \leq 2.1 \cdot 10^{+86}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 16
Error21.0
Cost1872
\[\begin{array}{l} t_1 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_2 := b \cdot \left(t \cdot i - z \cdot c\right)\\ t_3 := j \cdot \left(a \cdot c - y \cdot i\right)\\ \mathbf{if}\;j \leq -1.056460194353876 \cdot 10^{-12}:\\ \;\;\;\;t_3 + t_1\\ \mathbf{elif}\;j \leq -1.1785041245871378 \cdot 10^{-53}:\\ \;\;\;\;i \cdot \left(t \cdot b - j \cdot y\right) - z \cdot \left(b \cdot c\right)\\ \mathbf{elif}\;j \leq 3.509812303117599 \cdot 10^{-118}:\\ \;\;\;\;t_1 + t_2\\ \mathbf{elif}\;j \leq 5.0206686950178045 \cdot 10^{-33}:\\ \;\;\;\;\left(y \cdot \left(x \cdot z\right) + t_2\right) - i \cdot \left(j \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;t_3 + t_2\\ \end{array} \]
Alternative 17
Error37.7
Cost1764
\[\begin{array}{l} t_1 := t \cdot \left(b \cdot i - x \cdot a\right)\\ t_2 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_3 := c \cdot \left(j \cdot a - z \cdot b\right)\\ \mathbf{if}\;c \leq -8 \cdot 10^{+58}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -1.3460420282686868 \cdot 10^{-99}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -3.1481464495515244 \cdot 10^{-131}:\\ \;\;\;\;y \cdot \left(x \cdot z - j \cdot i\right)\\ \mathbf{elif}\;c \leq -8.400081948783594 \cdot 10^{-282}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 2.8040915718149457 \cdot 10^{-306}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right)\\ \mathbf{elif}\;c \leq 1.2770760666386116 \cdot 10^{-206}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 3.781176787551356 \cdot 10^{-125}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 3.732737550287556 \cdot 10^{-116}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 3.8065007678464435 \cdot 10^{-27}:\\ \;\;\;\;i \cdot \left(t \cdot b - j \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 18
Error50.5
Cost1572
\[\begin{array}{l} t_1 := a \cdot \left(x \cdot \left(-t\right)\right)\\ t_2 := z \cdot \left(x \cdot y\right)\\ t_3 := z \cdot \left(b \cdot \left(-c\right)\right)\\ \mathbf{if}\;z \leq -4.5 \cdot 10^{+41}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq -4500000000000:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -5.146931476036361 \cdot 10^{-79}:\\ \;\;\;\;y \cdot \left(j \cdot \left(-i\right)\right)\\ \mathbf{elif}\;z \leq -4.953093317439622 \cdot 10^{-146}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -2.3674898564013506 \cdot 10^{-293}:\\ \;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\ \mathbf{elif}\;z \leq 2.29916442983935 \cdot 10^{-256}:\\ \;\;\;\;c \cdot \left(j \cdot a\right)\\ \mathbf{elif}\;z \leq 4.856322364815129 \cdot 10^{-198}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 1.5 \cdot 10^{+52}:\\ \;\;\;\;\left(z \cdot c\right) \cdot \left(-b\right)\\ \mathbf{elif}\;z \leq 1.7 \cdot 10^{+102}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 19
Error50.5
Cost1572
\[\begin{array}{l} t_1 := z \cdot \left(x \cdot y\right)\\ t_2 := z \cdot \left(b \cdot \left(-c\right)\right)\\ \mathbf{if}\;z \leq -4.5 \cdot 10^{+41}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -4500000000000:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -5.146931476036361 \cdot 10^{-79}:\\ \;\;\;\;y \cdot \left(j \cdot \left(-i\right)\right)\\ \mathbf{elif}\;z \leq -4.953093317439622 \cdot 10^{-146}:\\ \;\;\;\;a \cdot \left(x \cdot \left(-t\right)\right)\\ \mathbf{elif}\;z \leq -2.3674898564013506 \cdot 10^{-293}:\\ \;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\ \mathbf{elif}\;z \leq 2.29916442983935 \cdot 10^{-256}:\\ \;\;\;\;c \cdot \left(j \cdot a\right)\\ \mathbf{elif}\;z \leq 4.856322364815129 \cdot 10^{-198}:\\ \;\;\;\;t \cdot \left(x \cdot \left(-a\right)\right)\\ \mathbf{elif}\;z \leq 1.5 \cdot 10^{+52}:\\ \;\;\;\;\left(z \cdot c\right) \cdot \left(-b\right)\\ \mathbf{elif}\;z \leq 1.7 \cdot 10^{+102}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 20
Error43.9
Cost1500
\[\begin{array}{l} t_1 := j \cdot \left(a \cdot c - y \cdot i\right)\\ t_2 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_3 := c \cdot \left(z \cdot \left(-b\right)\right)\\ \mathbf{if}\;c \leq -8 \cdot 10^{+58}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -8.400081948783594 \cdot 10^{-282}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 2.8040915718149457 \cdot 10^{-306}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 1.2511141866482944 \cdot 10^{-140}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 2.0623993006425201 \cdot 10^{-13}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 1.55 \cdot 10^{+58}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 1.7 \cdot 10^{+99}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 21
Error38.3
Cost1500
\[\begin{array}{l} t_1 := j \cdot \left(a \cdot c - y \cdot i\right)\\ t_2 := c \cdot \left(j \cdot a - z \cdot b\right)\\ \mathbf{if}\;j \leq -1.8 \cdot 10^{+101}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq -1.45 \cdot 10^{+63}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{elif}\;j \leq -1.2181233014140831 \cdot 10^{-54}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq 1.662226144065565 \cdot 10^{-197}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;j \leq 3.509812303117599 \cdot 10^{-118}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq 5.0206686950178045 \cdot 10^{-33}:\\ \;\;\;\;y \cdot \left(x \cdot z - j \cdot i\right)\\ \mathbf{elif}\;j \leq 4.2 \cdot 10^{+60}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 22
Error38.3
Cost1500
\[\begin{array}{l} t_1 := j \cdot \left(a \cdot c - y \cdot i\right)\\ t_2 := z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{if}\;z \leq -18000000:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -1.7383822811616761 \cdot 10^{-74}:\\ \;\;\;\;y \cdot \left(x \cdot z - j \cdot i\right)\\ \mathbf{elif}\;z \leq -1.9617709197542626 \cdot 10^{-284}:\\ \;\;\;\;a \cdot \left(j \cdot c - x \cdot t\right)\\ \mathbf{elif}\;z \leq 1.7950157354953925 \cdot 10^{-206}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 4.384146051219068 \cdot 10^{-145}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{elif}\;z \leq 7.872613259363536 \cdot 10^{-127}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 5 \cdot 10^{+42}:\\ \;\;\;\;c \cdot \left(j \cdot a - z \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 23
Error38.1
Cost1500
\[\begin{array}{l} t_1 := a \cdot \left(j \cdot c - x \cdot t\right)\\ t_2 := z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{if}\;z \leq -4500000000000:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -1.7383822811616761 \cdot 10^{-74}:\\ \;\;\;\;y \cdot \left(j \cdot \left(-i\right)\right) - c \cdot \left(z \cdot b\right)\\ \mathbf{elif}\;z \leq -6.283780180259139 \cdot 10^{-208}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -3.2919152540186853 \cdot 10^{-306}:\\ \;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\ \mathbf{elif}\;z \leq 4.856322364815129 \cdot 10^{-198}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 3.210241604783542 \cdot 10^{-173}:\\ \;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\ \mathbf{elif}\;z \leq 5 \cdot 10^{+42}:\\ \;\;\;\;c \cdot \left(j \cdot a - z \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 24
Error33.0
Cost1500
\[\begin{array}{l} t_1 := a \cdot \left(j \cdot c - x \cdot t\right)\\ \mathbf{if}\;a \leq -2.444279192561328 \cdot 10^{-13}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 9.251943698940955 \cdot 10^{-56}:\\ \;\;\;\;i \cdot \left(t \cdot b - j \cdot y\right) - z \cdot \left(b \cdot c\right)\\ \mathbf{elif}\;a \leq 1.9421003637317006 \cdot 10^{-38}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{elif}\;a \leq 7.0730485848810415 \cdot 10^{-37}:\\ \;\;\;\;i \cdot \left(j \cdot \left(-y\right)\right)\\ \mathbf{elif}\;a \leq 2.4 \cdot 10^{+27}:\\ \;\;\;\;y \cdot \left(x \cdot z - j \cdot i\right)\\ \mathbf{elif}\;a \leq 9.6 \cdot 10^{+88}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 3.1 \cdot 10^{+162}:\\ \;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 25
Error44.5
Cost1368
\[\begin{array}{l} t_1 := j \cdot \left(y \cdot \left(-i\right)\right)\\ t_2 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_3 := c \cdot \left(z \cdot \left(-b\right)\right)\\ \mathbf{if}\;c \leq -8 \cdot 10^{+58}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -8.400081948783594 \cdot 10^{-282}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 2.8040915718149457 \cdot 10^{-306}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 3.732737550287556 \cdot 10^{-116}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 2.0623993006425201 \cdot 10^{-13}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 6.6 \cdot 10^{+43}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 26
Error50.1
Cost1308
\[\begin{array}{l} t_1 := z \cdot \left(x \cdot y\right)\\ t_2 := z \cdot \left(b \cdot \left(-c\right)\right)\\ \mathbf{if}\;z \leq -4.5 \cdot 10^{+41}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -4500000000000:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -1.7383822811616761 \cdot 10^{-74}:\\ \;\;\;\;y \cdot \left(j \cdot \left(-i\right)\right)\\ \mathbf{elif}\;z \leq 2.29916442983935 \cdot 10^{-256}:\\ \;\;\;\;c \cdot \left(j \cdot a\right)\\ \mathbf{elif}\;z \leq 4.856322364815129 \cdot 10^{-198}:\\ \;\;\;\;a \cdot \left(x \cdot \left(-t\right)\right)\\ \mathbf{elif}\;z \leq 1.5 \cdot 10^{+52}:\\ \;\;\;\;\left(z \cdot c\right) \cdot \left(-b\right)\\ \mathbf{elif}\;z \leq 1.7 \cdot 10^{+102}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 27
Error38.1
Cost1236
\[\begin{array}{l} t_1 := j \cdot \left(a \cdot c - y \cdot i\right)\\ t_2 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_3 := c \cdot \left(j \cdot a - z \cdot b\right)\\ \mathbf{if}\;c \leq -8 \cdot 10^{+58}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -8.400081948783594 \cdot 10^{-282}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 2.8040915718149457 \cdot 10^{-306}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 1.2511141866482944 \cdot 10^{-140}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 3.8065007678464435 \cdot 10^{-27}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 28
Error50.6
Cost1176
\[\begin{array}{l} t_1 := z \cdot \left(x \cdot y\right)\\ t_2 := \left(z \cdot c\right) \cdot \left(-b\right)\\ \mathbf{if}\;z \leq -8.4 \cdot 10^{+46}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -4500000000000:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -1.7383822811616761 \cdot 10^{-74}:\\ \;\;\;\;y \cdot \left(j \cdot \left(-i\right)\right)\\ \mathbf{elif}\;z \leq 2.29916442983935 \cdot 10^{-256}:\\ \;\;\;\;c \cdot \left(j \cdot a\right)\\ \mathbf{elif}\;z \leq 4.856322364815129 \cdot 10^{-198}:\\ \;\;\;\;a \cdot \left(x \cdot \left(-t\right)\right)\\ \mathbf{elif}\;z \leq 1.5 \cdot 10^{+52}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 29
Error50.2
Cost980
\[\begin{array}{l} t_1 := z \cdot \left(x \cdot y\right)\\ \mathbf{if}\;z \leq -4500000000000:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -1.7383822811616761 \cdot 10^{-74}:\\ \;\;\;\;y \cdot \left(j \cdot \left(-i\right)\right)\\ \mathbf{elif}\;z \leq 2.29916442983935 \cdot 10^{-256}:\\ \;\;\;\;c \cdot \left(j \cdot a\right)\\ \mathbf{elif}\;z \leq 4.856322364815129 \cdot 10^{-198}:\\ \;\;\;\;a \cdot \left(x \cdot \left(-t\right)\right)\\ \mathbf{elif}\;z \leq 1.5 \cdot 10^{+52}:\\ \;\;\;\;a \cdot \left(j \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 30
Error49.9
Cost848
\[\begin{array}{l} t_1 := z \cdot \left(x \cdot y\right)\\ \mathbf{if}\;z \leq -4500000000000:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 2.29916442983935 \cdot 10^{-256}:\\ \;\;\;\;c \cdot \left(j \cdot a\right)\\ \mathbf{elif}\;z \leq 4.856322364815129 \cdot 10^{-198}:\\ \;\;\;\;\left(x \cdot t\right) \cdot \left(-a\right)\\ \mathbf{elif}\;z \leq 1.5 \cdot 10^{+52}:\\ \;\;\;\;a \cdot \left(j \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 31
Error49.9
Cost584
\[\begin{array}{l} t_1 := z \cdot \left(x \cdot y\right)\\ \mathbf{if}\;z \leq -4500000000000:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 1.5 \cdot 10^{+52}:\\ \;\;\;\;a \cdot \left(j \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 32
Error62.3
Cost320
\[c \cdot \left(z \cdot b\right) \]
Alternative 33
Error53.3
Cost320
\[a \cdot \left(j \cdot c\right) \]

Error

Reproduce

herbie shell --seed 2022308 
(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)))))