?

Average Accuracy: 80.7% → 88.1%
Time: 1.0min
Precision: binary64
Cost: 5832

?

\[\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 := b \cdot \left(t \cdot i - z \cdot c\right)\\ t_2 := x \cdot \left(y \cdot z - t \cdot a\right) + t_1\\ t_3 := t_2 + j \cdot \left(a \cdot c - y \cdot i\right)\\ \mathbf{if}\;t_3 \leq -\infty:\\ \;\;\;\;i \cdot \left(t \cdot b\right) + y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;t_3 \leq 5 \cdot 10^{+294}:\\ \;\;\;\;t_2 + \left(j \cdot \left(a \cdot c\right) - j \cdot \left(y \cdot i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(c \cdot \left(a \cdot j\right) - y \cdot \left(i \cdot j\right)\right) + \left(y \cdot \left(x \cdot z\right) + t_1\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)))))
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* b (- (* t i) (* z c))))
        (t_2 (+ (* x (- (* y z) (* t a))) t_1))
        (t_3 (+ t_2 (* j (- (* a c) (* y i))))))
   (if (<= t_3 (- INFINITY))
     (+ (* i (* t b)) (* y (- (* x z) (* i j))))
     (if (<= t_3 5e+294)
       (+ t_2 (- (* j (* a c)) (* j (* y i))))
       (+ (- (* c (* a j)) (* y (* i j))) (+ (* y (* x z)) t_1))))))
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 = b * ((t * i) - (z * c));
	double t_2 = (x * ((y * z) - (t * a))) + t_1;
	double t_3 = t_2 + (j * ((a * c) - (y * i)));
	double tmp;
	if (t_3 <= -((double) INFINITY)) {
		tmp = (i * (t * b)) + (y * ((x * z) - (i * j)));
	} else if (t_3 <= 5e+294) {
		tmp = t_2 + ((j * (a * c)) - (j * (y * i)));
	} else {
		tmp = ((c * (a * j)) - (y * (i * j))) + ((y * (x * z)) + t_1);
	}
	return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)));
}
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 = (x * ((y * z) - (t * a))) + t_1;
	double t_3 = t_2 + (j * ((a * c) - (y * i)));
	double tmp;
	if (t_3 <= -Double.POSITIVE_INFINITY) {
		tmp = (i * (t * b)) + (y * ((x * z) - (i * j)));
	} else if (t_3 <= 5e+294) {
		tmp = t_2 + ((j * (a * c)) - (j * (y * i)));
	} else {
		tmp = ((c * (a * j)) - (y * (i * j))) + ((y * (x * z)) + t_1);
	}
	return tmp;
}
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)))
def code(x, y, z, t, a, b, c, i, j):
	t_1 = b * ((t * i) - (z * c))
	t_2 = (x * ((y * z) - (t * a))) + t_1
	t_3 = t_2 + (j * ((a * c) - (y * i)))
	tmp = 0
	if t_3 <= -math.inf:
		tmp = (i * (t * b)) + (y * ((x * z) - (i * j)))
	elif t_3 <= 5e+294:
		tmp = t_2 + ((j * (a * c)) - (j * (y * i)))
	else:
		tmp = ((c * (a * j)) - (y * (i * j))) + ((y * (x * z)) + t_1)
	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(b * Float64(Float64(t * i) - Float64(z * c)))
	t_2 = Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) + t_1)
	t_3 = Float64(t_2 + Float64(j * Float64(Float64(a * c) - Float64(y * i))))
	tmp = 0.0
	if (t_3 <= Float64(-Inf))
		tmp = Float64(Float64(i * Float64(t * b)) + Float64(y * Float64(Float64(x * z) - Float64(i * j))));
	elseif (t_3 <= 5e+294)
		tmp = Float64(t_2 + Float64(Float64(j * Float64(a * c)) - Float64(j * Float64(y * i))));
	else
		tmp = Float64(Float64(Float64(c * Float64(a * j)) - Float64(y * Float64(i * j))) + Float64(Float64(y * Float64(x * z)) + t_1));
	end
	return tmp
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
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = b * ((t * i) - (z * c));
	t_2 = (x * ((y * z) - (t * a))) + t_1;
	t_3 = t_2 + (j * ((a * c) - (y * i)));
	tmp = 0.0;
	if (t_3 <= -Inf)
		tmp = (i * (t * b)) + (y * ((x * z) - (i * j)));
	elseif (t_3 <= 5e+294)
		tmp = t_2 + ((j * (a * c)) - (j * (y * i)));
	else
		tmp = ((c * (a * j)) - (y * (i * j))) + ((y * (x * z)) + t_1);
	end
	tmp_2 = 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[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision]}, Block[{t$95$3 = N[(t$95$2 + N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$3, (-Infinity)], N[(N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision] + N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$3, 5e+294], N[(t$95$2 + N[(N[(j * N[(a * c), $MachinePrecision]), $MachinePrecision] - N[(j * N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(N[(c * N[(a * j), $MachinePrecision]), $MachinePrecision] - N[(y * N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision]), $MachinePrecision]]]]]]
\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 := b \cdot \left(t \cdot i - z \cdot c\right)\\
t_2 := x \cdot \left(y \cdot z - t \cdot a\right) + t_1\\
t_3 := t_2 + j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{if}\;t_3 \leq -\infty:\\
\;\;\;\;i \cdot \left(t \cdot b\right) + y \cdot \left(x \cdot z - i \cdot j\right)\\

\mathbf{elif}\;t_3 \leq 5 \cdot 10^{+294}:\\
\;\;\;\;t_2 + \left(j \cdot \left(a \cdot c\right) - j \cdot \left(y \cdot i\right)\right)\\

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


\end{array}

Error?

Try it out?

Your Program's Arguments

Results

Enter valid numbers for all inputs

Target

Original80.7%
Target68.9%
Herbie88.1%
\[\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 3 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 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. Simplified0.0%

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

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

      sub-neg [=>]0.0

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

      +-commutative [=>]0.0

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

      associate-+l+ [=>]0.0

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

      distribute-rgt-neg-in [=>]0.0

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

      +-commutative [<=]0.0

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

      fma-def [=>]0.0

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

      sub-neg [=>]0.0

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

      +-commutative [=>]0.0

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

      distribute-neg-in [=>]0.0

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

      unsub-neg [=>]0.0

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

      remove-double-neg [=>]0.0

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

      *-commutative [=>]0.0

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

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

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

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

      [Start]44.1

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

      neg-mul-1 [<=]44.1

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

      unsub-neg [=>]44.1

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

      *-commutative [=>]44.1

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

    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)))) < 4.9999999999999999e294

    1. Initial program 98.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. Simplified98.6%

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

      [Start]98.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) \]

      cancel-sign-sub [<=]98.6

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

      cancel-sign-sub-inv [=>]98.6

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

      *-commutative [=>]98.6

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

      remove-double-neg [=>]98.6

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

      *-commutative [=>]98.6

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

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

      [Start]98.6

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

      sub-neg [=>]98.6

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

      distribute-rgt-in [=>]98.6

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

      distribute-rgt-neg-in [=>]98.6

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

    if 4.9999999999999999e294 < (+.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 14.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. Simplified14.7%

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

      [Start]14.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) \]

      cancel-sign-sub [<=]14.7

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

      cancel-sign-sub-inv [=>]14.7

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

      *-commutative [=>]14.7

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

      remove-double-neg [=>]14.7

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

      *-commutative [=>]14.7

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;\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) \leq -\infty:\\ \;\;\;\;i \cdot \left(t \cdot b\right) + y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;\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) \leq 5 \cdot 10^{+294}:\\ \;\;\;\;\left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(t \cdot i - z \cdot c\right)\right) + \left(j \cdot \left(a \cdot c\right) - j \cdot \left(y \cdot i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(c \cdot \left(a \cdot j\right) - y \cdot \left(i \cdot j\right)\right) + \left(y \cdot \left(x \cdot z\right) + b \cdot \left(t \cdot i - z \cdot c\right)\right)\\ \end{array} \]

Alternatives

Alternative 1
Accuracy90.0%
Cost5704
\[\begin{array}{l} t_1 := \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_1 \leq -\infty:\\ \;\;\;\;i \cdot \left(t \cdot b\right) + y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;t_1 \leq 2 \cdot 10^{+307}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;\left(c \cdot \left(a \cdot j\right) - y \cdot \left(i \cdot j\right)\right) + z \cdot \left(x \cdot y - b \cdot c\right)\\ \end{array} \]
Alternative 2
Accuracy88.1%
Cost5704
\[\begin{array}{l} t_1 := b \cdot \left(t \cdot i - z \cdot c\right)\\ t_2 := \left(x \cdot \left(y \cdot z - t \cdot a\right) + t_1\right) + j \cdot \left(a \cdot c - y \cdot i\right)\\ \mathbf{if}\;t_2 \leq -\infty:\\ \;\;\;\;i \cdot \left(t \cdot b\right) + y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;t_2 \leq 5 \cdot 10^{+294}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;\left(c \cdot \left(a \cdot j\right) - y \cdot \left(i \cdot j\right)\right) + \left(y \cdot \left(x \cdot z\right) + t_1\right)\\ \end{array} \]
Alternative 3
Accuracy40.0%
Cost3348
\[\begin{array}{l} t_1 := i \cdot \left(t \cdot b - y \cdot j\right)\\ t_2 := y \cdot \left(x \cdot z - i \cdot j\right)\\ t_3 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_4 := c \cdot \left(a \cdot j - z \cdot b\right)\\ t_5 := t \cdot \left(b \cdot i - x \cdot a\right)\\ \mathbf{if}\;x \leq -4 \cdot 10^{+56}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -500:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq -1 \cdot 10^{-39}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -1.52 \cdot 10^{-56}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq -4.1 \cdot 10^{-78}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;x \leq -1.55 \cdot 10^{-119}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq -2 \cdot 10^{-175}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq -2.1 \cdot 10^{-245}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq -6.2 \cdot 10^{-270}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 6 \cdot 10^{-306}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 10^{-292}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 4.2 \cdot 10^{-279}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 2.35 \cdot 10^{-262}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 2.6 \cdot 10^{-213}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;x \leq 8.8 \cdot 10^{-182}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 5.5 \cdot 10^{-144}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 6.8 \cdot 10^{-102}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 3.2 \cdot 10^{-54}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 4800000000:\\ \;\;\;\;t_5\\ \mathbf{elif}\;x \leq 1.55 \cdot 10^{+92}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 6 \cdot 10^{+125}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 4
Accuracy39.9%
Cost3348
\[\begin{array}{l} t_1 := i \cdot \left(t \cdot b - y \cdot j\right)\\ t_2 := y \cdot \left(x \cdot z - i \cdot j\right)\\ t_3 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_4 := c \cdot \left(a \cdot j - z \cdot b\right)\\ t_5 := t \cdot \left(b \cdot i - x \cdot a\right)\\ \mathbf{if}\;x \leq -5.4 \cdot 10^{+56}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -1050:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq -2.4 \cdot 10^{-47}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -1.7 \cdot 10^{-64}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq -4.1 \cdot 10^{-78}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;x \leq -5.5 \cdot 10^{-120}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq -2.45 \cdot 10^{-175}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq -3.3 \cdot 10^{-247}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq -6.1 \cdot 10^{-270}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 5.4 \cdot 10^{-306}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 10^{-292}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 2.5 \cdot 10^{-281}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 3.5 \cdot 10^{-263}:\\ \;\;\;\;c \cdot \left(a \cdot j\right) - c \cdot \left(z \cdot b\right)\\ \mathbf{elif}\;x \leq 4.8 \cdot 10^{-211}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;x \leq 4.2 \cdot 10^{-182}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 1.32 \cdot 10^{-138}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 8 \cdot 10^{-106}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 3.45 \cdot 10^{-50}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 1600000000000:\\ \;\;\;\;t_5\\ \mathbf{elif}\;x \leq 9.5 \cdot 10^{+95}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 6 \cdot 10^{+125}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 5
Accuracy52.3%
Cost2932
\[\begin{array}{l} t_1 := i \cdot \left(t \cdot b\right) + y \cdot \left(x \cdot z - i \cdot j\right)\\ t_2 := a \cdot \left(c \cdot j - x \cdot t\right) + b \cdot \left(t \cdot i - z \cdot c\right)\\ t_3 := j \cdot \left(a \cdot c - y \cdot i\right)\\ t_4 := t_3 + t \cdot \left(b \cdot i - x \cdot a\right)\\ \mathbf{if}\;x \leq -4.8 \cdot 10^{+25}:\\ \;\;\;\;t_3 + x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;x \leq -1.08 \cdot 10^{-7}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -7.2 \cdot 10^{-48}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right) - j \cdot \left(y \cdot i\right)\\ \mathbf{elif}\;x \leq -2.25 \cdot 10^{-151}:\\ \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right) - i \cdot \left(y \cdot j\right)\\ \mathbf{elif}\;x \leq -6.4 \cdot 10^{-234}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 10^{-264}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 3.8 \cdot 10^{-196}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 7.5 \cdot 10^{-183}:\\ \;\;\;\;y \cdot \left(x \cdot z\right) - b \cdot \left(z \cdot c - t \cdot i\right)\\ \mathbf{elif}\;x \leq 2.6 \cdot 10^{-112}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 2.8 \cdot 10^{-48}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 1250000000000:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 1.2 \cdot 10^{+91}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 4.6 \cdot 10^{+121}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 6
Accuracy58.4%
Cost2537
\[\begin{array}{l} t_1 := i \cdot \left(t \cdot b\right) + y \cdot \left(x \cdot z - i \cdot j\right)\\ t_2 := j \cdot \left(a \cdot c - y \cdot i\right) + x \cdot \left(y \cdot z\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}\;j \leq -6 \cdot 10^{+93}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq -3.4 \cdot 10^{-97}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq -8.8 \cdot 10^{-106}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq 3.15 \cdot 10^{-279}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq 2.75 \cdot 10^{-241}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq 4.8 \cdot 10^{-192}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq 2.75 \cdot 10^{-129}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq 1.12 \cdot 10^{-73} \lor \neg \left(j \leq 6.2 \cdot 10^{+27}\right) \land j \leq 7.5 \cdot 10^{+143}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 7
Accuracy51.8%
Cost2281
\[\begin{array}{l} t_1 := i \cdot \left(t \cdot b\right) + y \cdot \left(x \cdot z - i \cdot j\right)\\ t_2 := c \cdot \left(a \cdot j - z \cdot b\right) - i \cdot \left(y \cdot j\right)\\ t_3 := y \cdot \left(x \cdot z\right) - b \cdot \left(z \cdot c - t \cdot i\right)\\ t_4 := z \cdot \left(x \cdot y - b \cdot c\right) + j \cdot \left(a \cdot c\right)\\ \mathbf{if}\;b \leq -1.55 \cdot 10^{+68}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;b \leq -1.6 \cdot 10^{-20}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;b \leq -2.2 \cdot 10^{-60}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 5.1 \cdot 10^{-279}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;b \leq 2 \cdot 10^{-215}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 6.1 \cdot 10^{-171}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 2.1 \cdot 10^{-43}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 0.00028:\\ \;\;\;\;t_4\\ \mathbf{elif}\;b \leq 5.5 \cdot 10^{+87} \lor \neg \left(b \leq 1.15 \cdot 10^{+126}\right):\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 8
Accuracy47.6%
Cost2280
\[\begin{array}{l} t_1 := i \cdot \left(t \cdot b\right) + y \cdot \left(x \cdot z - i \cdot j\right)\\ t_2 := c \cdot \left(a \cdot j - z \cdot b\right)\\ t_3 := j \cdot \left(a \cdot c - y \cdot i\right) + x \cdot \left(y \cdot z\right)\\ t_4 := t \cdot \left(b \cdot i - x \cdot a\right)\\ \mathbf{if}\;j \leq -2.3 \cdot 10^{-110}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq -4.1 \cdot 10^{-199}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq -3.5 \cdot 10^{-259}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq 2.8 \cdot 10^{-287}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq 1.4 \cdot 10^{-239}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq 2.8 \cdot 10^{-211}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq 6.6 \cdot 10^{-85}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq 2.3 \cdot 10^{+53}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq 1.3 \cdot 10^{+88}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq 1.52 \cdot 10^{+172}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right) + j \cdot \left(a \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 9
Accuracy61.5%
Cost2273
\[\begin{array}{l} t_1 := a \cdot \left(c \cdot j - x \cdot t\right) + b \cdot \left(t \cdot i - z \cdot c\right)\\ t_2 := j \cdot \left(a \cdot c - y \cdot i\right)\\ t_3 := t_2 + t \cdot \left(b \cdot i - x \cdot a\right)\\ t_4 := t_2 - z \cdot \left(b \cdot c - x \cdot y\right)\\ \mathbf{if}\;j \leq -7 \cdot 10^{+144}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq -7.1 \cdot 10^{+16}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq -7 \cdot 10^{-107}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq 2.9 \cdot 10^{-279}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq 1.6 \cdot 10^{-240}:\\ \;\;\;\;i \cdot \left(t \cdot b\right) + y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;j \leq 1.65 \cdot 10^{-181}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq 1.15 \cdot 10^{-54} \lor \neg \left(j \leq 2.55 \cdot 10^{+84}\right):\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 10
Accuracy63.9%
Cost2272
\[\begin{array}{l} t_1 := b \cdot \left(t \cdot i - z \cdot c\right)\\ t_2 := a \cdot \left(c \cdot j - x \cdot t\right) + t_1\\ t_3 := j \cdot \left(a \cdot c - y \cdot i\right)\\ t_4 := t_3 + t \cdot \left(b \cdot i - x \cdot a\right)\\ t_5 := t_3 - z \cdot \left(b \cdot c - x \cdot y\right)\\ \mathbf{if}\;j \leq -1.95 \cdot 10^{+144}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;j \leq -1.85 \cdot 10^{+18}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq -3.25 \cdot 10^{-105}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;j \leq 1.4 \cdot 10^{-278}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq 1.8 \cdot 10^{-241}:\\ \;\;\;\;i \cdot \left(t \cdot b\right) + y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;j \leq 2.25 \cdot 10^{-200}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq 5.8 \cdot 10^{-55}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) + t_1\\ \mathbf{elif}\;j \leq 1.25 \cdot 10^{+80}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_5\\ \end{array} \]
Alternative 11
Accuracy63.3%
Cost2272
\[\begin{array}{l} t_1 := b \cdot \left(t \cdot i - z \cdot c\right)\\ t_2 := a \cdot \left(c \cdot j - x \cdot t\right) + t_1\\ t_3 := j \cdot \left(a \cdot c - y \cdot i\right)\\ t_4 := t_3 + t \cdot \left(b \cdot i - x \cdot a\right)\\ t_5 := t_3 - z \cdot \left(b \cdot c - x \cdot y\right)\\ \mathbf{if}\;j \leq -6.8 \cdot 10^{+144}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;j \leq -3.8 \cdot 10^{+17}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq -1.65 \cdot 10^{-107}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;j \leq 1.35 \cdot 10^{-278}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq 3.2 \cdot 10^{-240}:\\ \;\;\;\;i \cdot \left(t \cdot b\right) + y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;j \leq 8.4 \cdot 10^{-212}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq 5.1 \cdot 10^{-55}:\\ \;\;\;\;y \cdot \left(x \cdot z\right) + \left(t_1 - y \cdot \left(i \cdot j\right)\right)\\ \mathbf{elif}\;j \leq 1.2 \cdot 10^{+85}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_5\\ \end{array} \]
Alternative 12
Accuracy63.7%
Cost2272
\[\begin{array}{l} t_1 := b \cdot \left(t \cdot i - z \cdot c\right)\\ t_2 := a \cdot \left(c \cdot j - x \cdot t\right) + t_1\\ t_3 := j \cdot \left(a \cdot c - y \cdot i\right)\\ t_4 := t_3 + t \cdot \left(b \cdot i - x \cdot a\right)\\ t_5 := t_3 - z \cdot \left(b \cdot c - x \cdot y\right)\\ t_6 := y \cdot \left(i \cdot j\right)\\ \mathbf{if}\;j \leq -2.45 \cdot 10^{+143}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;j \leq -6.2 \cdot 10^{+14}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq -2.7 \cdot 10^{-108}:\\ \;\;\;\;\left(c \cdot \left(a \cdot j\right) - t_6\right) + z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;j \leq 1.65 \cdot 10^{-278}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq 1.7 \cdot 10^{-241}:\\ \;\;\;\;i \cdot \left(t \cdot b\right) + y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;j \leq 1.4 \cdot 10^{-212}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq 5.3 \cdot 10^{-55}:\\ \;\;\;\;y \cdot \left(x \cdot z\right) + \left(t_1 - t_6\right)\\ \mathbf{elif}\;j \leq 1.22 \cdot 10^{+86}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_5\\ \end{array} \]
Alternative 13
Accuracy49.5%
Cost2149
\[\begin{array}{l} t_1 := y \cdot \left(x \cdot z\right) - b \cdot \left(z \cdot c - t \cdot i\right)\\ t_2 := j \cdot \left(a \cdot c - y \cdot i\right) + x \cdot \left(y \cdot z\right)\\ t_3 := t \cdot \left(b \cdot i - x \cdot a\right)\\ \mathbf{if}\;j \leq -1.55 \cdot 10^{-105}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq -8.8 \cdot 10^{-201}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq -2.8 \cdot 10^{-264}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq 7.2 \cdot 10^{-284}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq 1.12 \cdot 10^{-240}:\\ \;\;\;\;i \cdot \left(t \cdot b\right) + y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;j \leq 2.8 \cdot 10^{-209}:\\ \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{elif}\;j \leq 5.7 \cdot 10^{-71}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq 2.5 \cdot 10^{+78} \lor \neg \left(j \leq 5.8 \cdot 10^{+171}\right):\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right) + j \cdot \left(a \cdot c\right)\\ \end{array} \]
Alternative 14
Accuracy42.1%
Cost1764
\[\begin{array}{l} t_1 := i \cdot \left(t \cdot b\right) - j \cdot \left(y \cdot i\right)\\ t_2 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_3 := c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{if}\;c \leq -1.1 \cdot 10^{+40}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -4.5 \cdot 10^{-27}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -5.6 \cdot 10^{-81}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;c \leq -2.2 \cdot 10^{-236}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq -4.3 \cdot 10^{-308}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 2.9 \cdot 10^{-250}:\\ \;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\ \mathbf{elif}\;c \leq 7.2 \cdot 10^{-143}:\\ \;\;\;\;y \cdot \left(x \cdot z\right) - i \cdot \left(y \cdot j\right)\\ \mathbf{elif}\;c \leq 2.2 \cdot 10^{-117}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 3.1 \cdot 10^{-67}:\\ \;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 15
Accuracy48.2%
Cost1752
\[\begin{array}{l} t_1 := i \cdot \left(t \cdot b\right)\\ t_2 := t_1 + y \cdot \left(x \cdot z - i \cdot j\right)\\ t_3 := c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{if}\;c \leq -7.2 \cdot 10^{+39}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -3 \cdot 10^{-27}:\\ \;\;\;\;t_1 - j \cdot \left(y \cdot i\right)\\ \mathbf{elif}\;c \leq -2 \cdot 10^{-85}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;c \leq -1.3 \cdot 10^{-292}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 2.8 \cdot 10^{-250}:\\ \;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\ \mathbf{elif}\;c \leq 4.4 \cdot 10^{-67}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 16
Accuracy41.9%
Cost1632
\[\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 := t \cdot \left(b \cdot i - x \cdot a\right)\\ t_4 := c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{if}\;c \leq -8.8 \cdot 10^{+39}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq -3.7 \cdot 10^{-26}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq -1.66 \cdot 10^{-108}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;c \leq -5.2 \cdot 10^{-150}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -7.5 \cdot 10^{-285}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 5.5 \cdot 10^{-250}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq 2.9 \cdot 10^{-157}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 4.6 \cdot 10^{-67}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_4\\ \end{array} \]
Alternative 17
Accuracy42.1%
Cost1500
\[\begin{array}{l} t_1 := i \cdot \left(t \cdot b\right) - j \cdot \left(y \cdot i\right)\\ t_2 := c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{if}\;c \leq -7.2 \cdot 10^{+39}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq -9.5 \cdot 10^{-27}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -8 \cdot 10^{-81}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;c \leq -1.32 \cdot 10^{-233}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{elif}\;c \leq 3.5 \cdot 10^{-306}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 3.2 \cdot 10^{-242}:\\ \;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\ \mathbf{elif}\;c \leq 4.6 \cdot 10^{-67}:\\ \;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 18
Accuracy51.8%
Cost1488
\[\begin{array}{l} t_1 := z \cdot \left(x \cdot y - b \cdot c\right) + j \cdot \left(a \cdot c\right)\\ t_2 := i \cdot \left(t \cdot b - y \cdot j\right)\\ \mathbf{if}\;i \leq -3.1 \cdot 10^{+153}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;i \leq -3.7 \cdot 10^{+80}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;i \leq -7 \cdot 10^{-83}:\\ \;\;\;\;i \cdot \left(t \cdot b\right) + y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;i \leq 1.5 \cdot 10^{-14}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 19
Accuracy42.1%
Cost1368
\[\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 -7.5 \cdot 10^{+39}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -7 \cdot 10^{-36}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq -6.4 \cdot 10^{-285}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 4.8 \cdot 10^{-250}:\\ \;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\ \mathbf{elif}\;c \leq 5 \cdot 10^{-157}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 1.7 \cdot 10^{-69}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 20
Accuracy22.9%
Cost1112
\[\begin{array}{l} t_1 := t \cdot \left(b \cdot i\right)\\ t_2 := a \cdot \left(-x \cdot t\right)\\ t_3 := c \cdot \left(a \cdot j\right)\\ \mathbf{if}\;c \leq -1.85 \cdot 10^{+42}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -4.5 \cdot 10^{-112}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -7.2 \cdot 10^{-187}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 1.65 \cdot 10^{-286}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 2.5 \cdot 10^{-99}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 5.8 \cdot 10^{-68}:\\ \;\;\;\;i \cdot \left(t \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 21
Accuracy22.9%
Cost1112
\[\begin{array}{l} t_1 := c \cdot \left(a \cdot j\right)\\ t_2 := c \cdot \left(-z \cdot b\right)\\ t_3 := t \cdot \left(b \cdot i\right)\\ \mathbf{if}\;t \leq -4.6 \cdot 10^{-61}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq -1.16 \cdot 10^{-119}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq -5.8 \cdot 10^{-284}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 5.8 \cdot 10^{-295}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 1.9 \cdot 10^{-218}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 7.2 \cdot 10^{-17}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 22
Accuracy32.6%
Cost1104
\[\begin{array}{l} t_1 := c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{if}\;c \leq -9 \cdot 10^{+39}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 3.4 \cdot 10^{-287}:\\ \;\;\;\;t \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;c \leq 6.2 \cdot 10^{-101}:\\ \;\;\;\;a \cdot \left(-x \cdot t\right)\\ \mathbf{elif}\;c \leq 1.95 \cdot 10^{-70}:\\ \;\;\;\;i \cdot \left(t \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 23
Accuracy41.2%
Cost1104
\[\begin{array}{l} t_1 := c \cdot \left(a \cdot j - z \cdot b\right)\\ t_2 := i \cdot \left(t \cdot b - y \cdot j\right)\\ \mathbf{if}\;i \leq -5.5 \cdot 10^{-88}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;i \leq 1.55 \cdot 10^{-211}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;i \leq 5.1 \cdot 10^{-176}:\\ \;\;\;\;a \cdot \left(-x \cdot t\right)\\ \mathbf{elif}\;i \leq 2.7 \cdot 10^{-21}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 24
Accuracy41.2%
Cost1104
\[\begin{array}{l} t_1 := c \cdot \left(a \cdot j - z \cdot b\right)\\ t_2 := i \cdot \left(t \cdot b - y \cdot j\right)\\ \mathbf{if}\;i \leq -8.8 \cdot 10^{-88}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;i \leq 1.22 \cdot 10^{-217}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;i \leq 1.15 \cdot 10^{-132}:\\ \;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\ \mathbf{elif}\;i \leq 3.8 \cdot 10^{-5}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 25
Accuracy21.2%
Cost980
\[\begin{array}{l} t_1 := c \cdot \left(a \cdot j\right)\\ t_2 := i \cdot \left(t \cdot b\right)\\ \mathbf{if}\;t \leq -1.7 \cdot 10^{-64}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -5 \cdot 10^{-150}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq -7.2 \cdot 10^{-179}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -9.5 \cdot 10^{-306}:\\ \;\;\;\;j \cdot \left(a \cdot c\right)\\ \mathbf{elif}\;t \leq 4.3 \cdot 10^{-17}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 26
Accuracy21.7%
Cost980
\[\begin{array}{l} \mathbf{if}\;i \leq -9 \cdot 10^{-84}:\\ \;\;\;\;t \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;i \leq -3.1 \cdot 10^{-234}:\\ \;\;\;\;\left(b \cdot c\right) \cdot \left(-z\right)\\ \mathbf{elif}\;i \leq 2.2 \cdot 10^{-259}:\\ \;\;\;\;c \cdot \left(a \cdot j\right)\\ \mathbf{elif}\;i \leq 2.2 \cdot 10^{-173}:\\ \;\;\;\;x \cdot \left(-t \cdot a\right)\\ \mathbf{elif}\;i \leq 10^{-49}:\\ \;\;\;\;j \cdot \left(a \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;i \cdot \left(t \cdot b\right)\\ \end{array} \]
Alternative 27
Accuracy22.0%
Cost980
\[\begin{array}{l} \mathbf{if}\;i \leq -3 \cdot 10^{-83}:\\ \;\;\;\;t \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;i \leq -8 \cdot 10^{-234}:\\ \;\;\;\;b \cdot \left(z \cdot \left(-c\right)\right)\\ \mathbf{elif}\;i \leq 1.05 \cdot 10^{-260}:\\ \;\;\;\;c \cdot \left(a \cdot j\right)\\ \mathbf{elif}\;i \leq 1.2 \cdot 10^{-174}:\\ \;\;\;\;a \cdot \left(-x \cdot t\right)\\ \mathbf{elif}\;i \leq 6 \cdot 10^{-53}:\\ \;\;\;\;j \cdot \left(a \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;i \cdot \left(t \cdot b\right)\\ \end{array} \]
Alternative 28
Accuracy21.8%
Cost848
\[\begin{array}{l} \mathbf{if}\;i \leq -1.3 \cdot 10^{-90}:\\ \;\;\;\;t \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;i \leq 3.5 \cdot 10^{-259}:\\ \;\;\;\;c \cdot \left(a \cdot j\right)\\ \mathbf{elif}\;i \leq 5 \cdot 10^{-175}:\\ \;\;\;\;t \cdot \left(-x \cdot a\right)\\ \mathbf{elif}\;i \leq 2.05 \cdot 10^{-50}:\\ \;\;\;\;j \cdot \left(a \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;i \cdot \left(t \cdot b\right)\\ \end{array} \]
Alternative 29
Accuracy22.4%
Cost848
\[\begin{array}{l} t_1 := t \cdot \left(b \cdot i\right)\\ t_2 := c \cdot \left(a \cdot j\right)\\ \mathbf{if}\;c \leq -6.7 \cdot 10^{+47}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq -4.6 \cdot 10^{-117}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -1.08 \cdot 10^{-178}:\\ \;\;\;\;x \cdot \left(-t \cdot a\right)\\ \mathbf{elif}\;c \leq 3.7 \cdot 10^{-68}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 30
Accuracy22.6%
Cost585
\[\begin{array}{l} \mathbf{if}\;i \leq -1.05 \cdot 10^{-56} \lor \neg \left(i \leq 7.9 \cdot 10^{+28}\right):\\ \;\;\;\;i \cdot \left(t \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(a \cdot j\right)\\ \end{array} \]
Alternative 31
Accuracy22.5%
Cost585
\[\begin{array}{l} \mathbf{if}\;c \leq -3.7 \cdot 10^{+43} \lor \neg \left(c \leq 1.7 \cdot 10^{-68}\right):\\ \;\;\;\;c \cdot \left(a \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(b \cdot i\right)\\ \end{array} \]
Alternative 32
Accuracy2.8%
Cost320
\[a \cdot \left(x \cdot t\right) \]
Alternative 33
Accuracy16.6%
Cost320
\[c \cdot \left(a \cdot j\right) \]

Error

Reproduce?

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