?

Average Accuracy: 81.1% → 93.2%
Time: 1.0min
Precision: binary64
Cost: 18249

?

\[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
\[\begin{array}{l} t_1 := a \cdot i - z \cdot c\\ t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_3 := t_2 - \left(x \cdot \left(t \cdot a - y \cdot z\right) - b \cdot t_1\right)\\ \mathbf{if}\;t_3 \leq -\infty \lor \neg \left(t_3 \leq 10^{+300}\right):\\ \;\;\;\;i \cdot \left(a \cdot b\right) - \left(\left(t \cdot \mathsf{fma}\left(-j, c, c \cdot j\right) + t \cdot \left(x \cdot a - c \cdot j\right)\right) + y \cdot \left(i \cdot j - x \cdot z\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, t_1, t_2\right)\right)\\ \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (+
  (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a))))
  (* j (- (* c t) (* i y)))))
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (- (* a i) (* z c)))
        (t_2 (* j (- (* t c) (* y i))))
        (t_3 (- t_2 (- (* x (- (* t a) (* y z))) (* b t_1)))))
   (if (or (<= t_3 (- INFINITY)) (not (<= t_3 1e+300)))
     (-
      (* i (* a b))
      (+
       (+ (* t (fma (- j) c (* c j))) (* t (- (* x a) (* c j))))
       (* y (- (* i j) (* x z)))))
     (fma x (- (* y z) (* t a)) (fma 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) {
	return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)));
}
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = (a * i) - (z * c);
	double t_2 = j * ((t * c) - (y * i));
	double t_3 = t_2 - ((x * ((t * a) - (y * z))) - (b * t_1));
	double tmp;
	if ((t_3 <= -((double) INFINITY)) || !(t_3 <= 1e+300)) {
		tmp = (i * (a * b)) - (((t * fma(-j, c, (c * j))) + (t * ((x * a) - (c * j)))) + (y * ((i * j) - (x * z))));
	} else {
		tmp = fma(x, ((y * z) - (t * a)), fma(b, t_1, t_2));
	}
	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(i * a)))) + Float64(j * Float64(Float64(c * t) - Float64(i * y))))
end
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(Float64(a * i) - Float64(z * c))
	t_2 = Float64(j * Float64(Float64(t * c) - Float64(y * i)))
	t_3 = Float64(t_2 - Float64(Float64(x * Float64(Float64(t * a) - Float64(y * z))) - Float64(b * t_1)))
	tmp = 0.0
	if ((t_3 <= Float64(-Inf)) || !(t_3 <= 1e+300))
		tmp = Float64(Float64(i * Float64(a * b)) - Float64(Float64(Float64(t * fma(Float64(-j), c, Float64(c * j))) + Float64(t * Float64(Float64(x * a) - Float64(c * j)))) + Float64(y * Float64(Float64(i * j) - Float64(x * z)))));
	else
		tmp = fma(x, Float64(Float64(y * z) - Float64(t * a)), fma(b, t_1, t_2));
	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[(i * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(c * t), $MachinePrecision] - N[(i * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(t$95$2 - N[(N[(x * N[(N[(t * a), $MachinePrecision] - N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Or[LessEqual[t$95$3, (-Infinity)], N[Not[LessEqual[t$95$3, 1e+300]], $MachinePrecision]], N[(N[(i * N[(a * b), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * N[((-j) * c + N[(c * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(x * a), $MachinePrecision] - N[(c * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y * N[(N[(i * j), $MachinePrecision] - N[(x * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision] + N[(b * t$95$1 + t$95$2), $MachinePrecision]), $MachinePrecision]]]]]
\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)
\begin{array}{l}
t_1 := a \cdot i - z \cdot c\\
t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\
t_3 := t_2 - \left(x \cdot \left(t \cdot a - y \cdot z\right) - b \cdot t_1\right)\\
\mathbf{if}\;t_3 \leq -\infty \lor \neg \left(t_3 \leq 10^{+300}\right):\\
\;\;\;\;i \cdot \left(a \cdot b\right) - \left(\left(t \cdot \mathsf{fma}\left(-j, c, c \cdot j\right) + t \cdot \left(x \cdot a - c \cdot j\right)\right) + y \cdot \left(i \cdot j - x \cdot z\right)\right)\\

\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, t_1, t_2\right)\right)\\


\end{array}

Error?

Target

Original81.1%
Target75.5%
Herbie93.2%
\[\begin{array}{l} \mathbf{if}\;t < -8.120978919195912 \cdot 10^{-33}:\\ \;\;\;\;x \cdot \left(z \cdot y - a \cdot t\right) - \left(b \cdot \left(z \cdot c - a \cdot i\right) - \left(c \cdot t - y \cdot i\right) \cdot j\right)\\ \mathbf{elif}\;t < -4.712553818218485 \cdot 10^{-169}:\\ \;\;\;\;\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \frac{j \cdot \left({\left(c \cdot t\right)}^{2} - {\left(i \cdot y\right)}^{2}\right)}{c \cdot t + i \cdot y}\\ \mathbf{elif}\;t < -7.633533346031584 \cdot 10^{-308}:\\ \;\;\;\;x \cdot \left(z \cdot y - a \cdot t\right) - \left(b \cdot \left(z \cdot c - a \cdot i\right) - \left(c \cdot t - y \cdot i\right) \cdot j\right)\\ \mathbf{elif}\;t < 1.0535888557455487 \cdot 10^{-139}:\\ \;\;\;\;\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \frac{j \cdot \left({\left(c \cdot t\right)}^{2} - {\left(i \cdot y\right)}^{2}\right)}{c \cdot t + i \cdot y}\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(z \cdot y - a \cdot t\right) - \left(b \cdot \left(z \cdot c - a \cdot i\right) - \left(c \cdot t - y \cdot i\right) \cdot j\right)\\ \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 i a)))) (*.f64 j (-.f64 (*.f64 c t) (*.f64 i y)))) < -inf.0 or 1.0000000000000001e300 < (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 i a)))) (*.f64 j (-.f64 (*.f64 c t) (*.f64 i y))))

    1. Initial program 6.4%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Simplified6.4%

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

      [Start]6.4

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

      +-commutative [=>]6.4

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

      fma-def [=>]6.4

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

      *-commutative [=>]6.4

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

      *-commutative [=>]6.4

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

      *-commutative [=>]6.4

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

      *-commutative [=>]6.4

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

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

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

      [Start]59.8

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

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

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

      +-commutative [=>]59.8

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

      mul-1-neg [=>]59.8

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

      unsub-neg [=>]59.8

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

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

      [Start]59.8

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

      prod-diff [=>]59.9

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

      *-commutative [<=]59.9

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

      fma-neg [<=]59.9

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

      distribute-rgt-in [=>]59.8

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

      *-commutative [<=]59.8

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

      +-commutative [=>]59.8

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

      *-commutative [<=]59.8

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

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

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

      [Start]69.6

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

      *-commutative [=>]69.6

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

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

    1. Initial program 98.7%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Simplified98.7%

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

      [Start]98.7

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

      associate-+l- [=>]98.7

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

      fma-neg [=>]98.7

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

      neg-sub0 [=>]98.7

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

      associate-+l- [<=]98.7

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

      neg-sub0 [<=]98.7

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

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

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

      fma-def [=>]98.7

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

      sub-neg [=>]98.7

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

      distribute-neg-in [=>]98.7

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

      +-commutative [=>]98.7

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

      remove-double-neg [=>]98.7

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

      sub-neg [<=]98.7

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

      *-commutative [=>]98.7

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

      *-commutative [=>]98.7

      \[ \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, a \cdot i - \color{blue}{z \cdot c}, j \cdot \left(c \cdot t - i \cdot y\right)\right)\right) \]
  3. Recombined 2 regimes into one program.
  4. Final simplification93.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;j \cdot \left(t \cdot c - y \cdot i\right) - \left(x \cdot \left(t \cdot a - y \cdot z\right) - b \cdot \left(a \cdot i - z \cdot c\right)\right) \leq -\infty \lor \neg \left(j \cdot \left(t \cdot c - y \cdot i\right) - \left(x \cdot \left(t \cdot a - y \cdot z\right) - b \cdot \left(a \cdot i - z \cdot c\right)\right) \leq 10^{+300}\right):\\ \;\;\;\;i \cdot \left(a \cdot b\right) - \left(\left(t \cdot \mathsf{fma}\left(-j, c, c \cdot j\right) + t \cdot \left(x \cdot a - c \cdot j\right)\right) + y \cdot \left(i \cdot j - x \cdot z\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(b, a \cdot i - z \cdot c, j \cdot \left(t \cdot c - y \cdot i\right)\right)\right)\\ \end{array} \]

Alternatives

Alternative 1
Accuracy93.1%
Cost12425
\[\begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := t \cdot c - y \cdot i\\ t_3 := j \cdot t_2 - \left(x \cdot \left(t \cdot a - y \cdot z\right) - t_1\right)\\ \mathbf{if}\;t_3 \leq -\infty \lor \neg \left(t_3 \leq 10^{+300}\right):\\ \;\;\;\;i \cdot \left(a \cdot b\right) - \left(\left(t \cdot \mathsf{fma}\left(-j, c, c \cdot j\right) + t \cdot \left(x \cdot a - c \cdot j\right)\right) + y \cdot \left(i \cdot j - x \cdot z\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(j, t_2, x \cdot \left(y \cdot z - t \cdot a\right) + t_1\right)\\ \end{array} \]
Alternative 2
Accuracy90.3%
Cost11977
\[\begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := t \cdot c - y \cdot i\\ t_3 := j \cdot t_2\\ t_4 := t_3 - \left(x \cdot \left(t \cdot a - y \cdot z\right) - t_1\right)\\ \mathbf{if}\;t_4 \leq -\infty \lor \neg \left(t_4 \leq 10^{+300}\right):\\ \;\;\;\;\left(\left(y \cdot \left(x \cdot z\right) + a \cdot \left(b \cdot i - x \cdot t\right)\right) + t_3\right) - c \cdot \left(z \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(j, t_2, x \cdot \left(y \cdot z - t \cdot a\right) + t_1\right)\\ \end{array} \]
Alternative 3
Accuracy91.2%
Cost5833
\[\begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := j \cdot \left(t \cdot c - y \cdot i\right) - \left(x \cdot \left(t \cdot a - y \cdot z\right) - t_1\right)\\ \mathbf{if}\;t_2 \leq -\infty \lor \neg \left(t_2 \leq 10^{+300}\right):\\ \;\;\;\;\left(y \cdot \left(x \cdot z - i \cdot j\right) + t \cdot \left(c \cdot j - x \cdot a\right)\right) + b \cdot \left(a \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;\left(x \cdot \left(y \cdot z - t \cdot a\right) + t_1\right) + \left(j \cdot \left(t \cdot c\right) - j \cdot \left(y \cdot i\right)\right)\\ \end{array} \]
Alternative 4
Accuracy90.3%
Cost5833
\[\begin{array}{l} t_1 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_2 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_3 := t_1 - \left(x \cdot \left(t \cdot a - y \cdot z\right) - t_2\right)\\ \mathbf{if}\;t_3 \leq -\infty \lor \neg \left(t_3 \leq 10^{+300}\right):\\ \;\;\;\;\left(\left(y \cdot \left(x \cdot z\right) + a \cdot \left(b \cdot i - x \cdot t\right)\right) + t_1\right) - c \cdot \left(z \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;\left(x \cdot \left(y \cdot z - t \cdot a\right) + t_2\right) + \left(j \cdot \left(t \cdot c\right) - j \cdot \left(y \cdot i\right)\right)\\ \end{array} \]
Alternative 5
Accuracy91.2%
Cost5705
\[\begin{array}{l} t_1 := j \cdot \left(t \cdot c - y \cdot i\right) - \left(x \cdot \left(t \cdot a - y \cdot z\right) - b \cdot \left(a \cdot i - z \cdot c\right)\right)\\ \mathbf{if}\;t_1 \leq -\infty \lor \neg \left(t_1 \leq 10^{+300}\right):\\ \;\;\;\;\left(y \cdot \left(x \cdot z - i \cdot j\right) + t \cdot \left(c \cdot j - x \cdot a\right)\right) + b \cdot \left(a \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 6
Accuracy59.3%
Cost3324
\[\begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := t \cdot \left(c \cdot j - x \cdot a\right) + t_1\\ t_3 := c \cdot \left(t \cdot j - z \cdot b\right)\\ t_4 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_5 := y \cdot \left(x \cdot z - i \cdot j\right) + t_1\\ t_6 := a \cdot \left(b \cdot i\right)\\ t_7 := \left(t_6 - y \cdot \left(i \cdot j\right)\right) + t_4\\ t_8 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_9 := t_8 + t_4\\ t_10 := t_8 + \left(t_6 - t \cdot \left(x \cdot a\right)\right)\\ \mathbf{if}\;c \leq -2.15 \cdot 10^{+173}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -2.15 \cdot 10^{+134}:\\ \;\;\;\;t_7\\ \mathbf{elif}\;c \leq -2.2 \cdot 10^{+77}:\\ \;\;\;\;t_9\\ \mathbf{elif}\;c \leq -1.2 \cdot 10^{-9}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;c \leq -5.5 \cdot 10^{-222}:\\ \;\;\;\;t_9\\ \mathbf{elif}\;c \leq -3.6 \cdot 10^{-278}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;c \leq 2.8 \cdot 10^{-282}:\\ \;\;\;\;t_7\\ \mathbf{elif}\;c \leq 1.4 \cdot 10^{-277}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;c \leq 3 \cdot 10^{-241}:\\ \;\;\;\;t_10\\ \mathbf{elif}\;c \leq 1.75 \cdot 10^{-171}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;c \leq 1.32 \cdot 10^{-93}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 1.06 \cdot 10^{-59}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;c \leq 3.1 \cdot 10^{+24}:\\ \;\;\;\;t_8 - a \cdot \left(x \cdot t\right)\\ \mathbf{elif}\;c \leq 2.15 \cdot 10^{+102}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 1.85 \cdot 10^{+145}:\\ \;\;\;\;t_10\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 7
Accuracy59.2%
Cost3324
\[\begin{array}{l} t_1 := c \cdot \left(t \cdot j - z \cdot b\right)\\ t_2 := y \cdot \left(i \cdot j\right)\\ t_3 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_4 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_5 := y \cdot \left(x \cdot z - i \cdot j\right) + t_4\\ t_6 := t \cdot \left(c \cdot j - x \cdot a\right) + t_4\\ t_7 := a \cdot \left(b \cdot i\right)\\ t_8 := \left(t_7 - t_2\right) + t_3\\ t_9 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_10 := t_9 + t_3\\ t_11 := t_9 + \left(t_7 - t \cdot \left(x \cdot a\right)\right)\\ \mathbf{if}\;c \leq -9 \cdot 10^{+172}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -5.2 \cdot 10^{+135}:\\ \;\;\;\;t_8\\ \mathbf{elif}\;c \leq -1.1 \cdot 10^{+78}:\\ \;\;\;\;t_10\\ \mathbf{elif}\;c \leq -3 \cdot 10^{-9}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;c \leq -9.2 \cdot 10^{-232}:\\ \;\;\;\;t_10\\ \mathbf{elif}\;c \leq -1.1 \cdot 10^{-278}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;c \leq 6 \cdot 10^{-281}:\\ \;\;\;\;t_8\\ \mathbf{elif}\;c \leq 1.72 \cdot 10^{-276}:\\ \;\;\;\;\left(y \cdot \left(x \cdot z\right) - t_2\right) + t_4\\ \mathbf{elif}\;c \leq 2.2 \cdot 10^{-241}:\\ \;\;\;\;t_11\\ \mathbf{elif}\;c \leq 3.2 \cdot 10^{-171}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;c \leq 4.1 \cdot 10^{-94}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;c \leq 5.4 \cdot 10^{-60}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;c \leq 1.72 \cdot 10^{+25}:\\ \;\;\;\;t_9 - a \cdot \left(x \cdot t\right)\\ \mathbf{elif}\;c \leq 5.5 \cdot 10^{+99}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;c \leq 8.6 \cdot 10^{+143}:\\ \;\;\;\;t_11\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 8
Accuracy59.1%
Cost2796
\[\begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := a \cdot \left(x \cdot t\right)\\ t_3 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_4 := y \cdot \left(x \cdot z - i \cdot j\right) + t_1\\ t_5 := t_3 + x \cdot \left(y \cdot z - t \cdot a\right)\\ t_6 := c \cdot \left(t \cdot j - z \cdot b\right)\\ t_7 := t_3 + \left(a \cdot \left(b \cdot i\right) - t_2\right)\\ \mathbf{if}\;c \leq -1.5 \cdot 10^{+168}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;c \leq -7.2 \cdot 10^{-10}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq -1.3 \cdot 10^{-231}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;c \leq -9.8 \cdot 10^{-281}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq 1.02 \cdot 10^{-243}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;c \leq 2.95 \cdot 10^{-173}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq 1.2 \cdot 10^{-113}:\\ \;\;\;\;t_7\\ \mathbf{elif}\;c \leq 1.66 \cdot 10^{-59}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq 1.28 \cdot 10^{+26}:\\ \;\;\;\;t_3 - t_2\\ \mathbf{elif}\;c \leq 1.45 \cdot 10^{+109}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) + t_1\\ \mathbf{elif}\;c \leq 4.6 \cdot 10^{+147}:\\ \;\;\;\;t_7\\ \mathbf{else}:\\ \;\;\;\;t_6\\ \end{array} \]
Alternative 9
Accuracy58.9%
Cost2796
\[\begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := a \cdot \left(x \cdot t\right)\\ t_3 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_4 := c \cdot \left(t \cdot j - z \cdot b\right)\\ t_5 := a \cdot \left(b \cdot i\right)\\ t_6 := y \cdot \left(x \cdot z - i \cdot j\right) + t_1\\ t_7 := t_3 + x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{if}\;c \leq -6 \cdot 10^{+168}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq -2.2 \cdot 10^{-9}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;c \leq -1.2 \cdot 10^{-227}:\\ \;\;\;\;t_7\\ \mathbf{elif}\;c \leq -1.3 \cdot 10^{-281}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;c \leq 4.1 \cdot 10^{-241}:\\ \;\;\;\;t_7\\ \mathbf{elif}\;c \leq 4.6 \cdot 10^{-173}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;c \leq 1.25 \cdot 10^{-116}:\\ \;\;\;\;t_3 + \left(t_5 - t_2\right)\\ \mathbf{elif}\;c \leq 8.5 \cdot 10^{-60}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;c \leq 7.8 \cdot 10^{+27}:\\ \;\;\;\;t_3 - t_2\\ \mathbf{elif}\;c \leq 3.3 \cdot 10^{+98}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) + t_1\\ \mathbf{elif}\;c \leq 8 \cdot 10^{+143}:\\ \;\;\;\;t_3 + \left(t_5 - t \cdot \left(x \cdot a\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_4\\ \end{array} \]
Alternative 10
Accuracy71.0%
Cost2788
\[\begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := y \cdot \left(x \cdot z - i \cdot j\right)\\ t_3 := t \cdot \left(c \cdot j - x \cdot a\right)\\ t_4 := \left(t_2 + t_3\right) + b \cdot \left(a \cdot i\right)\\ t_5 := \left(t_3 - i \cdot \left(y \cdot j\right)\right) + t_1\\ t_6 := c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{if}\;c \leq -1 \cdot 10^{+173}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;c \leq -8.5 \cdot 10^{+135}:\\ \;\;\;\;\left(a \cdot \left(b \cdot i\right) - y \cdot \left(i \cdot j\right)\right) + x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{elif}\;c \leq -3.9 \cdot 10^{-50}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;c \leq 4 \cdot 10^{-278}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq 3 \cdot 10^{-221}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;c \leq 2.2 \cdot 10^{-172}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq 5.5 \cdot 10^{-93}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;c \leq 3 \cdot 10^{-60}:\\ \;\;\;\;t_2 + t_1\\ \mathbf{elif}\;c \leq 1.9 \cdot 10^{+231}:\\ \;\;\;\;t_5\\ \mathbf{else}:\\ \;\;\;\;t_6\\ \end{array} \]
Alternative 11
Accuracy54.1%
Cost2544
\[\begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_3 := c \cdot \left(t \cdot j - z \cdot b\right)\\ t_4 := y \cdot \left(x \cdot z - i \cdot j\right) + t_1\\ t_5 := t_2 - a \cdot \left(x \cdot t\right)\\ \mathbf{if}\;c \leq -2.4 \cdot 10^{+169}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -2.6 \cdot 10^{-8}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq -1.15 \cdot 10^{-105}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;c \leq 3.55 \cdot 10^{-276}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq 1.5 \cdot 10^{-243}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;c \leq 3.9 \cdot 10^{-174}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq 8.6 \cdot 10^{-117}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;c \leq 1.06 \cdot 10^{-59}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq 3.05 \cdot 10^{+29}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;c \leq 1.75 \cdot 10^{+109}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 4.2 \cdot 10^{+123}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;c \leq 1.3 \cdot 10^{+144}:\\ \;\;\;\;a \cdot \left(b \cdot i\right) + t_2\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 12
Accuracy56.0%
Cost2544
\[\begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_3 := y \cdot \left(x \cdot z - i \cdot j\right) + t_1\\ t_4 := t_2 + x \cdot \left(y \cdot z - t \cdot a\right)\\ t_5 := c \cdot \left(t \cdot j - z \cdot b\right)\\ t_6 := t_2 - a \cdot \left(x \cdot t\right)\\ \mathbf{if}\;c \leq -1.8 \cdot 10^{+168}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;c \leq -7.3 \cdot 10^{-10}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -2.9 \cdot 10^{-231}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq -4.3 \cdot 10^{-284}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq 1.02 \cdot 10^{-243}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq 1.45 \cdot 10^{-172}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq 3.2 \cdot 10^{-115}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;c \leq 1.7 \cdot 10^{-59}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq 2.45 \cdot 10^{+28}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;c \leq 3 \cdot 10^{+109}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 5.2 \cdot 10^{+123}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;c \leq 7.8 \cdot 10^{+145}:\\ \;\;\;\;a \cdot \left(b \cdot i\right) + t_2\\ \mathbf{else}:\\ \;\;\;\;t_5\\ \end{array} \]
Alternative 13
Accuracy71.7%
Cost2524
\[\begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := t \cdot \left(c \cdot j - x \cdot a\right)\\ t_3 := \left(y \cdot \left(x \cdot z - i \cdot j\right) + t_2\right) + b \cdot \left(a \cdot i\right)\\ t_4 := \left(t_2 - i \cdot \left(y \cdot j\right)\right) + t_1\\ t_5 := c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{if}\;c \leq -1.02 \cdot 10^{+173}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;c \leq -6.6 \cdot 10^{+135}:\\ \;\;\;\;\left(a \cdot \left(b \cdot i\right) - y \cdot \left(i \cdot j\right)\right) + x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{elif}\;c \leq -8.2 \cdot 10^{-50}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq 4 \cdot 10^{-278}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq 4.9 \cdot 10^{-222}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq 2.4 \cdot 10^{-172}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq 4.6 \cdot 10^{+174}:\\ \;\;\;\;\left(t_1 - t \cdot \left(x \cdot a\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;t_5\\ \end{array} \]
Alternative 14
Accuracy39.9%
Cost2425
\[\begin{array}{l} t_1 := t \cdot \left(c \cdot j - x \cdot a\right)\\ t_2 := i \cdot \left(a \cdot b - y \cdot j\right)\\ t_3 := y \cdot \left(x \cdot z - i \cdot j\right)\\ t_4 := c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{if}\;c \leq -4.2 \cdot 10^{+33}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq -8.2 \cdot 10^{-10}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq -6.2 \cdot 10^{-109}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -3 \cdot 10^{-149}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -1.25 \cdot 10^{-220}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 1.2 \cdot 10^{-258}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq 9 \cdot 10^{-242}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 2.25 \cdot 10^{-167}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 8.5 \cdot 10^{-117}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 7.8 \cdot 10^{-58}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq 1.02 \cdot 10^{+29}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 1.3 \cdot 10^{+62}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;c \leq 7.2 \cdot 10^{+108} \lor \neg \left(c \leq 1.08 \cdot 10^{+130}\right):\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \end{array} \]
Alternative 15
Accuracy68.7%
Cost2404
\[\begin{array}{l} t_1 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_2 := y \cdot \left(x \cdot z - i \cdot j\right)\\ t_3 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_4 := c \cdot \left(t \cdot j - z \cdot b\right)\\ t_5 := t \cdot \left(c \cdot j - x \cdot a\right)\\ t_6 := t_5 + t_3\\ t_7 := a \cdot \left(b \cdot i\right)\\ t_8 := j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{if}\;c \leq -2.16 \cdot 10^{+173}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq -1.12 \cdot 10^{+134}:\\ \;\;\;\;\left(t_7 - y \cdot \left(i \cdot j\right)\right) + t_1\\ \mathbf{elif}\;c \leq -7 \cdot 10^{+69}:\\ \;\;\;\;t_8 + t_1\\ \mathbf{elif}\;c \leq -4.9 \cdot 10^{-8}:\\ \;\;\;\;t_2 + t_3\\ \mathbf{elif}\;c \leq 6200000:\\ \;\;\;\;\left(t_2 + t_5\right) + b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;c \leq 3.4 \cdot 10^{+105}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;c \leq 4.6 \cdot 10^{+145}:\\ \;\;\;\;t_8 + \left(t_7 - t \cdot \left(x \cdot a\right)\right)\\ \mathbf{elif}\;c \leq 1.45 \cdot 10^{+152}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;c \leq 1.5 \cdot 10^{+231}:\\ \;\;\;\;t_6\\ \mathbf{else}:\\ \;\;\;\;t_4\\ \end{array} \]
Alternative 16
Accuracy48.2%
Cost2016
\[\begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_3 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_4 := a \cdot \left(b \cdot i\right) + t_2\\ \mathbf{if}\;x \leq -5.1 \cdot 10^{+104}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -3.05 \cdot 10^{-232}:\\ \;\;\;\;t_2 - a \cdot \left(x \cdot t\right)\\ \mathbf{elif}\;x \leq -3.5 \cdot 10^{-280}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq -5.6 \cdot 10^{-287}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 4.1 \cdot 10^{-308}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;x \leq 4 \cdot 10^{-268}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 1.5 \cdot 10^{-252}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 1.9 \cdot 10^{-95}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 2.6 \cdot 10^{-44}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 17
Accuracy37.6%
Cost1897
\[\begin{array}{l} t_1 := c \cdot \left(t \cdot j - z \cdot b\right)\\ t_2 := a \cdot \left(b \cdot i - x \cdot t\right)\\ t_3 := i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{if}\;i \leq -2.3 \cdot 10^{+96}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;i \leq -53000000000000:\\ \;\;\;\;t \cdot \left(x \cdot \left(-a\right)\right)\\ \mathbf{elif}\;i \leq -2.7 \cdot 10^{-173}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;i \leq 2.2 \cdot 10^{-256}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;i \leq 6.6 \cdot 10^{-188}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;i \leq 1.25 \cdot 10^{-68}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;i \leq 1.4 \cdot 10^{-25}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;i \leq 25 \lor \neg \left(i \leq 1000000000\right) \land i \leq 3.8 \cdot 10^{+55}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 18
Accuracy40.6%
Cost1896
\[\begin{array}{l} t_1 := z \cdot \left(x \cdot y - b \cdot c\right)\\ t_2 := i \cdot \left(a \cdot b - y \cdot j\right)\\ t_3 := t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{if}\;t \leq -3.5 \cdot 10^{-16}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq 1.35 \cdot 10^{-287}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 1.2 \cdot 10^{-259}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 3.9 \cdot 10^{-166}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 5.7 \cdot 10^{-74}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 6.4 \cdot 10^{-47}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 270000000000:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 5.4 \cdot 10^{+49}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{elif}\;t \leq 3.9 \cdot 10^{+70}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 8.5 \cdot 10^{+108}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 19
Accuracy49.4%
Cost1884
\[\begin{array}{l} t_1 := a \cdot \left(b \cdot i\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ t_2 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_3 := x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{if}\;x \leq -4.8 \cdot 10^{+75}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -1.15 \cdot 10^{-10}:\\ \;\;\;\;\frac{i}{\frac{1}{a \cdot b - y \cdot j}}\\ \mathbf{elif}\;x \leq -6.2 \cdot 10^{-50}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;x \leq -3.2 \cdot 10^{-61}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{elif}\;x \leq 3.8 \cdot 10^{-268}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 2.6 \cdot 10^{-253}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 1.15 \cdot 10^{-96}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 7.5 \cdot 10^{-45}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 20
Accuracy65.7%
Cost1876
\[\begin{array}{l} t_1 := j \cdot \left(t \cdot c - y \cdot i\right) + x \cdot \left(y \cdot z - t \cdot a\right)\\ t_2 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_3 := t \cdot \left(c \cdot j - x \cdot a\right) + t_2\\ \mathbf{if}\;t \leq -2.6 \cdot 10^{+40}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq -1.15 \cdot 10^{-54}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 5.5 \cdot 10^{-25}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right) + t_2\\ \mathbf{elif}\;t \leq 1.7 \cdot 10^{+95}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq 3.9 \cdot 10^{+108}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 21
Accuracy37.8%
Cost1764
\[\begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := c \cdot \left(t \cdot j - z \cdot b\right)\\ t_3 := a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{if}\;a \leq -0.042:\\ \;\;\;\;t_3\\ \mathbf{elif}\;a \leq -8.6 \cdot 10^{-80}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq -2.7 \cdot 10^{-122}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq -4.6 \cdot 10^{-166}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq -3.35 \cdot 10^{-286}:\\ \;\;\;\;y \cdot \left(i \cdot \left(-j\right)\right)\\ \mathbf{elif}\;a \leq 6.8 \cdot 10^{-239}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq 4.8 \cdot 10^{-83}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 2.3 \cdot 10^{-43}:\\ \;\;\;\;i \cdot \left(y \cdot \left(-j\right)\right)\\ \mathbf{elif}\;a \leq 0.0031:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 22
Accuracy36.7%
Cost1368
\[\begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{if}\;a \leq -1500000000000:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq -2.1 \cdot 10^{-167}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq -2.6 \cdot 10^{-304}:\\ \;\;\;\;y \cdot \left(i \cdot \left(-j\right)\right)\\ \mathbf{elif}\;a \leq 3.2 \cdot 10^{-82}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 4.8 \cdot 10^{-32}:\\ \;\;\;\;i \cdot \left(y \cdot \left(-j\right)\right)\\ \mathbf{elif}\;a \leq 0.0225:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 23
Accuracy21.7%
Cost1308
\[\begin{array}{l} t_1 := y \cdot \left(i \cdot \left(-j\right)\right)\\ t_2 := a \cdot \left(x \cdot \left(-t\right)\right)\\ \mathbf{if}\;x \leq -3.4 \cdot 10^{+36}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -1.1 \cdot 10^{-10}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq -2.4 \cdot 10^{-52}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -1.32 \cdot 10^{-133}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{elif}\;x \leq 2.8 \cdot 10^{-290}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 3.25 \cdot 10^{-226}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;x \leq 1.25 \cdot 10^{-72}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \end{array} \]
Alternative 24
Accuracy21.3%
Cost1308
\[\begin{array}{l} t_1 := y \cdot \left(i \cdot \left(-j\right)\right)\\ t_2 := a \cdot \left(x \cdot \left(-t\right)\right)\\ \mathbf{if}\;i \leq -4.3 \cdot 10^{+97}:\\ \;\;\;\;i \cdot \left(y \cdot \left(-j\right)\right)\\ \mathbf{elif}\;i \leq -31000000000:\\ \;\;\;\;t_2\\ \mathbf{elif}\;i \leq -3 \cdot 10^{-24}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;i \leq -4.5 \cdot 10^{-159}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;i \leq 3.1 \cdot 10^{-246}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;i \leq 4.8 \cdot 10^{-192}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;i \leq 2.5 \cdot 10^{+135}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \end{array} \]
Alternative 25
Accuracy22.6%
Cost1308
\[\begin{array}{l} t_1 := t \cdot \left(x \cdot \left(-a\right)\right)\\ t_2 := y \cdot \left(i \cdot \left(-j\right)\right)\\ t_3 := i \cdot \left(a \cdot b\right)\\ \mathbf{if}\;y \leq -1.25 \cdot 10^{+38}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq -5.5 \cdot 10^{-131}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq -2.6 \cdot 10^{-238}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq 2.1 \cdot 10^{-305}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 4.6 \cdot 10^{-242}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq 3.5 \cdot 10^{-6}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 1.35 \cdot 10^{+59}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 26
Accuracy41.7%
Cost1236
\[\begin{array}{l} t_1 := i \cdot \left(a \cdot b - y \cdot j\right)\\ t_2 := t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{if}\;t \leq -3.6 \cdot 10^{-16}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 3.75 \cdot 10^{-286}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 2.15 \cdot 10^{-273}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{elif}\;t \leq 3.7 \cdot 10^{-167}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 1.35 \cdot 10^{+17}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 27
Accuracy32.4%
Cost1104
\[\begin{array}{l} t_1 := a \cdot \left(b \cdot i - x \cdot t\right)\\ t_2 := y \cdot \left(i \cdot \left(-j\right)\right)\\ \mathbf{if}\;y \leq -1.02 \cdot 10^{+40}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq 10^{-36}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 2.5 \cdot 10^{+30}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{elif}\;y \leq 3.3 \cdot 10^{+58}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 28
Accuracy21.6%
Cost1044
\[\begin{array}{l} t_1 := i \cdot \left(a \cdot b\right)\\ t_2 := y \cdot \left(i \cdot \left(-j\right)\right)\\ \mathbf{if}\;x \leq -9.8 \cdot 10^{+144}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{elif}\;x \leq -4.6 \cdot 10^{+54}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 2.4 \cdot 10^{-299}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 3.6 \cdot 10^{-226}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 1.45 \cdot 10^{-72}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \end{array} \]
Alternative 29
Accuracy21.1%
Cost848
\[\begin{array}{l} t_1 := i \cdot \left(a \cdot b\right)\\ t_2 := x \cdot \left(y \cdot z\right)\\ \mathbf{if}\;x \leq -6.2 \cdot 10^{+144}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -5.6 \cdot 10^{-33}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq -6 \cdot 10^{-219}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;x \leq 4.2 \cdot 10^{+20}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 30
Accuracy20.4%
Cost848
\[\begin{array}{l} t_1 := i \cdot \left(a \cdot b\right)\\ t_2 := z \cdot \left(x \cdot y\right)\\ \mathbf{if}\;x \leq -1.75 \cdot 10^{+146}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -1.3 \cdot 10^{-32}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq -6.2 \cdot 10^{-219}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 3.6 \cdot 10^{+20}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \end{array} \]
Alternative 31
Accuracy22.1%
Cost585
\[\begin{array}{l} \mathbf{if}\;x \leq -1.45 \cdot 10^{+145} \lor \neg \left(x \leq 3.5 \cdot 10^{+21}\right):\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \end{array} \]
Alternative 32
Accuracy16.5%
Cost320
\[a \cdot \left(b \cdot i\right) \]
Alternative 33
Accuracy16.9%
Cost320
\[i \cdot \left(a \cdot b\right) \]

Error

Reproduce?

herbie shell --seed 2023138 
(FPCore (x y z t a b c i j)
  :name "Linear.Matrix:det33 from linear-1.19.1.3"
  :precision binary64

  :herbie-target
  (if (< t -8.120978919195912e-33) (- (* x (- (* z y) (* a t))) (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j))) (if (< t -4.712553818218485e-169) (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (/ (* j (- (pow (* c t) 2.0) (pow (* i y) 2.0))) (+ (* c t) (* i y)))) (if (< t -7.633533346031584e-308) (- (* x (- (* z y) (* a t))) (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j))) (if (< t 1.0535888557455487e-139) (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (/ (* j (- (pow (* c t) 2.0) (pow (* i y) 2.0))) (+ (* c t) (* i y)))) (- (* x (- (* z y) (* a t))) (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j)))))))

  (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (* j (- (* c t) (* i y)))))