?

Average Accuracy: 80.2% → 90.2%
Time: 51.1s
Precision: binary64
Cost: 18953

?

\[\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 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_3 := t_2 + \left(t_1 + b \cdot \left(a \cdot i - z \cdot c\right)\right)\\ \mathbf{if}\;t_3 \leq -\infty \lor \neg \left(t_3 \leq 4 \cdot 10^{+300}\right):\\ \;\;\;\;\left(z \cdot \left(x \cdot y\right) + \left(a \cdot \left(b \cdot i\right) - c \cdot \left(z \cdot b\right)\right)\right) + t \cdot \left(c \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;\left(t_1 - \mathsf{fma}\left(z \cdot c - a \cdot i, b, b \cdot \mathsf{fma}\left(a, -i, a \cdot i\right)\right)\right) + t_2\\ \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 (* x (- (* y z) (* t a))))
        (t_2 (* j (- (* t c) (* y i))))
        (t_3 (+ t_2 (+ t_1 (* b (- (* a i) (* z c)))))))
   (if (or (<= t_3 (- INFINITY)) (not (<= t_3 4e+300)))
     (+ (+ (* z (* x y)) (- (* a (* b i)) (* c (* z b)))) (* t (* c j)))
     (+ (- t_1 (fma (- (* z c) (* a i)) b (* b (fma a (- i) (* a i))))) 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 = x * ((y * z) - (t * a));
	double t_2 = j * ((t * c) - (y * i));
	double t_3 = t_2 + (t_1 + (b * ((a * i) - (z * c))));
	double tmp;
	if ((t_3 <= -((double) INFINITY)) || !(t_3 <= 4e+300)) {
		tmp = ((z * (x * y)) + ((a * (b * i)) - (c * (z * b)))) + (t * (c * j));
	} else {
		tmp = (t_1 - fma(((z * c) - (a * i)), b, (b * fma(a, -i, (a * i))))) + 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(x * Float64(Float64(y * z) - Float64(t * a)))
	t_2 = Float64(j * Float64(Float64(t * c) - Float64(y * i)))
	t_3 = Float64(t_2 + Float64(t_1 + Float64(b * Float64(Float64(a * i) - Float64(z * c)))))
	tmp = 0.0
	if ((t_3 <= Float64(-Inf)) || !(t_3 <= 4e+300))
		tmp = Float64(Float64(Float64(z * Float64(x * y)) + Float64(Float64(a * Float64(b * i)) - Float64(c * Float64(z * b)))) + Float64(t * Float64(c * j)));
	else
		tmp = Float64(Float64(t_1 - fma(Float64(Float64(z * c) - Float64(a * i)), b, Float64(b * fma(a, Float64(-i), Float64(a * i))))) + 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[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $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[(t$95$1 + N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Or[LessEqual[t$95$3, (-Infinity)], N[Not[LessEqual[t$95$3, 4e+300]], $MachinePrecision]], N[(N[(N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision] + N[(N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision] - N[(c * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(t$95$1 - N[(N[(N[(z * c), $MachinePrecision] - N[(a * i), $MachinePrecision]), $MachinePrecision] * b + N[(b * N[(a * (-i) + N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$2), $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 := x \cdot \left(y \cdot z - t \cdot a\right)\\
t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\
t_3 := t_2 + \left(t_1 + b \cdot \left(a \cdot i - z \cdot c\right)\right)\\
\mathbf{if}\;t_3 \leq -\infty \lor \neg \left(t_3 \leq 4 \cdot 10^{+300}\right):\\
\;\;\;\;\left(z \cdot \left(x \cdot y\right) + \left(a \cdot \left(b \cdot i\right) - c \cdot \left(z \cdot b\right)\right)\right) + t \cdot \left(c \cdot j\right)\\

\mathbf{else}:\\
\;\;\;\;\left(t_1 - \mathsf{fma}\left(z \cdot c - a \cdot i, b, b \cdot \mathsf{fma}\left(a, -i, a \cdot i\right)\right)\right) + t_2\\


\end{array}

Error?

Target

Original80.2%
Target74.5%
Herbie90.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 4.0000000000000002e300 < (+.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 5.2%

      \[\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. Simplified5.2%

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

      [Start]5.2

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

      cancel-sign-sub [<=]5.2

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

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

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

      *-commutative [=>]5.2

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

      *-commutative [=>]5.2

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

      remove-double-neg [=>]5.2

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

      *-commutative [=>]5.2

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

      *-commutative [=>]5.2

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

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

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

      [Start]24.4

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

      associate-*r* [=>]9.2

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

      *-commutative [=>]9.2

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

      associate-*l* [=>]24.3

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

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

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

      [Start]36.5

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

      associate-*r* [=>]25.6

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

      *-commutative [=>]25.6

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

      associate-*l* [=>]35.4

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

      \[\leadsto \left(z \cdot \left(y \cdot x\right) - \color{blue}{\left(-1 \cdot \left(a \cdot \left(i \cdot b\right)\right) + c \cdot \left(z \cdot b\right)\right)}\right) + t \cdot \left(c \cdot j\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)))) < 4.0000000000000002e300

    1. Initial program 98.5%

      \[\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.5%

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

      [Start]98.5

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

      cancel-sign-sub [<=]98.5

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

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

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

      *-commutative [=>]98.5

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

      *-commutative [=>]98.5

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

      remove-double-neg [=>]98.5

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

      *-commutative [=>]98.5

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

      *-commutative [=>]98.5

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

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

      [Start]98.5

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

      add-cbrt-cube [=>]68.3

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

      pow3 [=>]68.3

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

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

      [Start]68.3

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

      rem-cbrt-cube [=>]98.5

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

      prod-diff [=>]98.5

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

      *-commutative [<=]98.5

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

      fma-neg [<=]98.5

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

      distribute-rgt-in [=>]98.5

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

      fma-def [=>]98.6

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

      *-commutative [<=]98.6

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

      fma-udef [=>]98.5

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

      distribute-lft-neg-in [<=]98.5

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

      *-commutative [<=]98.5

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

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

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

      fma-def [=>]98.6

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

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

Alternatives

Alternative 1
Accuracy90.2%
Cost12681
\[\begin{array}{l} t_1 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_3 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_4 := t_2 + \left(t_1 + t_3\right)\\ \mathbf{if}\;t_4 \leq -\infty \lor \neg \left(t_4 \leq 4 \cdot 10^{+300}\right):\\ \;\;\;\;\left(z \cdot \left(x \cdot y\right) + \left(a \cdot \left(b \cdot i\right) - c \cdot \left(z \cdot b\right)\right)\right) + t \cdot \left(c \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;t_2 + \left(t_1 + \left(t_3 - b \cdot \mathsf{fma}\left(-i, a, a \cdot i\right)\right)\right)\\ \end{array} \]
Alternative 2
Accuracy90.2%
Cost12041
\[\begin{array}{l} t_1 := x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := j \cdot \left(t \cdot c - y \cdot i\right) + t_1\\ \mathbf{if}\;t_2 \leq -\infty \lor \neg \left(t_2 \leq 4 \cdot 10^{+300}\right):\\ \;\;\;\;\left(z \cdot \left(x \cdot y\right) + \left(a \cdot \left(b \cdot i\right) - c \cdot \left(z \cdot b\right)\right)\right) + t \cdot \left(c \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;t_1 + j \cdot \mathsf{fma}\left(t, c, y \cdot \left(-i\right)\right)\\ \end{array} \]
Alternative 3
Accuracy90.2%
Cost5705
\[\begin{array}{l} t_1 := j \cdot \left(t \cdot c - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\right)\\ \mathbf{if}\;t_1 \leq -\infty \lor \neg \left(t_1 \leq 4 \cdot 10^{+300}\right):\\ \;\;\;\;\left(z \cdot \left(x \cdot y\right) + \left(a \cdot \left(b \cdot i\right) - c \cdot \left(z \cdot b\right)\right)\right) + t \cdot \left(c \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 4
Accuracy68.0%
Cost2789
\[\begin{array}{l} t_1 := i \cdot \left(y \cdot j\right)\\ t_2 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_3 := t_2 - c \cdot \left(z \cdot b\right)\\ t_4 := j \cdot \left(t \cdot c - y \cdot i\right) + t_3\\ t_5 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_6 := z \cdot \left(x \cdot y\right) + t_5\\ t_7 := t_6 - t_1\\ t_8 := t \cdot \left(c \cdot j\right)\\ \mathbf{if}\;x \leq -5.6 \cdot 10^{-92}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq -3.3 \cdot 10^{-150}:\\ \;\;\;\;t_7\\ \mathbf{elif}\;x \leq -6 \cdot 10^{-261}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 1.2 \cdot 10^{-281}:\\ \;\;\;\;t_7\\ \mathbf{elif}\;x \leq 8 \cdot 10^{-271}:\\ \;\;\;\;t_8 + t_3\\ \mathbf{elif}\;x \leq 5.9 \cdot 10^{-210}:\\ \;\;\;\;t_8 + t_6\\ \mathbf{elif}\;x \leq 1.65 \cdot 10^{-201}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) - t_1\\ \mathbf{elif}\;x \leq 7.5 \cdot 10^{-93} \lor \neg \left(x \leq 0.000135\right):\\ \;\;\;\;t_8 + \left(t_2 + t_5\right)\\ \mathbf{else}:\\ \;\;\;\;t_4\\ \end{array} \]
Alternative 5
Accuracy46.9%
Cost2408
\[\begin{array}{l} t_1 := j \cdot \left(t \cdot c - y \cdot i\right) + y \cdot \left(x \cdot z\right)\\ t_2 := t \cdot \left(c \cdot j\right) + \left(z \cdot \left(x \cdot y\right) - b \cdot \left(z \cdot c\right)\right)\\ t_3 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_4 := t_3 + a \cdot \left(b \cdot i\right)\\ \mathbf{if}\;c \leq -1.5 \cdot 10^{-5}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq -1.46 \cdot 10^{-92}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq -1.65 \cdot 10^{-215}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -8.8 \cdot 10^{-228}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;c \leq -1.26 \cdot 10^{-256}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;c \leq 1.35 \cdot 10^{-290}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 6 \cdot 10^{-30}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq 102000:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 9.5 \cdot 10^{+74}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq 9.5 \cdot 10^{+185}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_3 + c \cdot \left(t \cdot j\right)\\ \end{array} \]
Alternative 6
Accuracy61.8%
Cost2401
\[\begin{array}{l} t_1 := t \cdot \left(c \cdot j\right) + \left(z \cdot \left(x \cdot y\right) + b \cdot \left(a \cdot i - z \cdot c\right)\right)\\ t_2 := j \cdot \left(t \cdot c - y \cdot i\right) - x \cdot \left(t \cdot a - y \cdot z\right)\\ t_3 := x \cdot \left(y \cdot z - t \cdot a\right) + a \cdot \left(b \cdot i\right)\\ \mathbf{if}\;j \leq -1.5 \cdot 10^{+43}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq -1.42 \cdot 10^{-252}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq 1.16 \cdot 10^{-231}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq 5.2 \cdot 10^{-156}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq 6 \cdot 10^{-109}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq 50000000000000 \lor \neg \left(j \leq 1.46 \cdot 10^{+134}\right) \land j \leq 7 \cdot 10^{+184}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 7
Accuracy61.8%
Cost2401
\[\begin{array}{l} t_1 := z \cdot \left(x \cdot y\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := t \cdot \left(c \cdot j\right) + t_1\\ t_3 := j \cdot \left(t \cdot c - y \cdot i\right) - x \cdot \left(t \cdot a - y \cdot z\right)\\ t_4 := x \cdot \left(y \cdot z - t \cdot a\right) + a \cdot \left(b \cdot i\right)\\ \mathbf{if}\;j \leq -5.8 \cdot 10^{-30}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq -3.9 \cdot 10^{-254}:\\ \;\;\;\;t_1 - i \cdot \left(y \cdot j\right)\\ \mathbf{elif}\;j \leq 4 \cdot 10^{-230}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq 2.3 \cdot 10^{-156}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq 6.2 \cdot 10^{-109}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq 18000000000000 \lor \neg \left(j \leq 4.9 \cdot 10^{+126}\right) \land j \leq 7 \cdot 10^{+184}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 8
Accuracy56.1%
Cost2272
\[\begin{array}{l} t_1 := t \cdot \left(c \cdot j\right)\\ t_2 := z \cdot \left(x \cdot y\right)\\ t_3 := t_1 + \left(t_2 - c \cdot \left(z \cdot b\right)\right)\\ t_4 := x \cdot \left(y \cdot z - t \cdot a\right) + a \cdot \left(b \cdot i\right)\\ t_5 := j \cdot \left(t \cdot c - y \cdot i\right) - x \cdot \left(t \cdot a - y \cdot z\right)\\ \mathbf{if}\;j \leq -8.2 \cdot 10^{+34}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;j \leq -4.4 \cdot 10^{-64}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq -2.6 \cdot 10^{-87}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;j \leq -9.8 \cdot 10^{-225}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq 6 \cdot 10^{-230}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq 8.6 \cdot 10^{-160}:\\ \;\;\;\;t_1 + \left(t_2 - b \cdot \left(z \cdot c\right)\right)\\ \mathbf{elif}\;j \leq 6.6 \cdot 10^{-109}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq 22000000000000:\\ \;\;\;\;t_1 + \left(t_2 + b \cdot \left(a \cdot i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_5\\ \end{array} \]
Alternative 9
Accuracy74.8%
Cost2260
\[\begin{array}{l} t_1 := t \cdot \left(c \cdot j\right)\\ t_2 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_3 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_4 := z \cdot \left(x \cdot y\right)\\ t_5 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_6 := c \cdot \left(z \cdot b\right)\\ t_7 := t_2 - t_6\\ \mathbf{if}\;j \leq -1 \cdot 10^{-30}:\\ \;\;\;\;t_5 + t_7\\ \mathbf{elif}\;j \leq -1.45 \cdot 10^{-165}:\\ \;\;\;\;t_5 + \left(t_4 + t_3\right)\\ \mathbf{elif}\;j \leq -8.5 \cdot 10^{-196}:\\ \;\;\;\;t_1 + t_7\\ \mathbf{elif}\;j \leq -5.2 \cdot 10^{-223}:\\ \;\;\;\;\left(t_4 + \left(a \cdot \left(b \cdot i\right) - t_6\right)\right) + t_1\\ \mathbf{elif}\;j \leq 1.85 \cdot 10^{-5}:\\ \;\;\;\;t_1 + \left(t_2 + t_3\right)\\ \mathbf{else}:\\ \;\;\;\;t_5 + \left(y \cdot \left(x \cdot z\right) + t_3\right)\\ \end{array} \]
Alternative 10
Accuracy75.6%
Cost2260
\[\begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := z \cdot \left(x \cdot y\right) + t_1\\ t_3 := j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{if}\;b \leq -1.25 \cdot 10^{-30}:\\ \;\;\;\;t_3 + \left(t_1 - t \cdot \left(x \cdot a\right)\right)\\ \mathbf{elif}\;b \leq 3.2 \cdot 10^{-193}:\\ \;\;\;\;t_3 - \left(x \cdot \left(t \cdot a - y \cdot z\right) - a \cdot \left(b \cdot i\right)\right)\\ \mathbf{elif}\;b \leq 8.6 \cdot 10^{-41}:\\ \;\;\;\;t_3 + \left(x \cdot \left(y \cdot z - t \cdot a\right) - c \cdot \left(z \cdot b\right)\right)\\ \mathbf{elif}\;b \leq 0.175:\\ \;\;\;\;t \cdot \left(c \cdot j\right) + t_2\\ \mathbf{elif}\;b \leq 3.8 \cdot 10^{+34}:\\ \;\;\;\;t_2 - i \cdot \left(y \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;t_3 + t_2\\ \end{array} \]
Alternative 11
Accuracy29.7%
Cost2161
\[\begin{array}{l} t_1 := a \cdot \left(b \cdot i - x \cdot t\right)\\ t_2 := z \cdot \left(x \cdot y\right)\\ t_3 := c \cdot \left(t \cdot j\right)\\ \mathbf{if}\;z \leq -1.2 \cdot 10^{+91}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -1.65 \cdot 10^{-210}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -3.5 \cdot 10^{-240}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 1.02 \cdot 10^{-190}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 1.6 \cdot 10^{-148}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;z \leq 9.2 \cdot 10^{-66}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 2.5 \cdot 10^{-36}:\\ \;\;\;\;\left(y \cdot i\right) \cdot \left(-j\right)\\ \mathbf{elif}\;z \leq 3.8 \cdot 10^{-17}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 1.5 \cdot 10^{+35}:\\ \;\;\;\;i \cdot \left(y \cdot \left(-j\right)\right)\\ \mathbf{elif}\;z \leq 1.65 \cdot 10^{+40}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;z \leq 6.5 \cdot 10^{+117} \lor \neg \left(z \leq 9.5 \cdot 10^{+206}\right):\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 12
Accuracy42.6%
Cost2149
\[\begin{array}{l} t_1 := x \cdot \left(y \cdot z - t \cdot a\right) + c \cdot \left(t \cdot j\right)\\ t_2 := i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{if}\;b \leq -7.2 \cdot 10^{+181}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq -6.6 \cdot 10^{+40}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq -3.3 \cdot 10^{+25}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;b \leq -5 \cdot 10^{-188}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq -9 \cdot 10^{-224}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;b \leq 2.25 \cdot 10^{-123}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 1.9 \cdot 10^{-55}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;b \leq 2.55 \cdot 10^{+67} \lor \neg \left(b \leq 2.45 \cdot 10^{+235}\right):\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 13
Accuracy53.0%
Cost2144
\[\begin{array}{l} t_1 := z \cdot \left(x \cdot y\right)\\ t_2 := x \cdot \left(y \cdot z - t \cdot a\right) + a \cdot \left(b \cdot i\right)\\ t_3 := t \cdot \left(c \cdot j\right)\\ t_4 := j \cdot \left(t \cdot c - y \cdot i\right) + y \cdot \left(x \cdot z\right)\\ t_5 := t_3 + \left(t_1 - c \cdot \left(z \cdot b\right)\right)\\ \mathbf{if}\;j \leq -3 \cdot 10^{+55}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq -1.25 \cdot 10^{-63}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;j \leq -2.3 \cdot 10^{-87}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;j \leq -9 \cdot 10^{-225}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;j \leq 1.65 \cdot 10^{-230}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq 9.2 \cdot 10^{-157}:\\ \;\;\;\;t_3 + \left(t_1 - b \cdot \left(z \cdot c\right)\right)\\ \mathbf{elif}\;j \leq 6 \cdot 10^{-109}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq 10^{+15}:\\ \;\;\;\;t_3 + \left(t_1 + b \cdot \left(a \cdot i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_4\\ \end{array} \]
Alternative 14
Accuracy62.1%
Cost2140
\[\begin{array}{l} t_1 := t \cdot \left(c \cdot j\right)\\ t_2 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_3 := t_1 + \left(t_2 - c \cdot \left(z \cdot b\right)\right)\\ t_4 := j \cdot \left(t \cdot c - y \cdot i\right) - x \cdot \left(t \cdot a - y \cdot z\right)\\ \mathbf{if}\;j \leq -1.75 \cdot 10^{+62}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq -4.4 \cdot 10^{-62}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq -2.6 \cdot 10^{-87}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;j \leq 3.2 \cdot 10^{-160}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq 9 \cdot 10^{-128}:\\ \;\;\;\;t_2 + a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;j \leq 3.05 \cdot 10^{-72}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq 17500000000000:\\ \;\;\;\;t_1 + \left(z \cdot \left(x \cdot y\right) + b \cdot \left(a \cdot i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_4\\ \end{array} \]
Alternative 15
Accuracy73.1%
Cost2130
\[\begin{array}{l} \mathbf{if}\;j \leq -2.6 \cdot 10^{+39} \lor \neg \left(j \leq 820000000 \lor \neg \left(j \leq 2.1 \cdot 10^{+128}\right) \land j \leq 8 \cdot 10^{+187}\right):\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) - x \cdot \left(t \cdot a - y \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(c \cdot j\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\right)\\ \end{array} \]
Alternative 16
Accuracy46.3%
Cost1884
\[\begin{array}{l} t_1 := x \cdot \left(y \cdot z - t \cdot a\right) + c \cdot \left(t \cdot j\right)\\ t_2 := j \cdot \left(t \cdot c - y \cdot i\right) + y \cdot \left(x \cdot z\right)\\ \mathbf{if}\;t \leq -2.3 \cdot 10^{-26}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq -1.65 \cdot 10^{-136}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -2.3 \cdot 10^{-166}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq -5.5 \cdot 10^{-210}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;t \leq 6.2 \cdot 10^{-162}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 3.6 \cdot 10^{-145}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;t \leq 6.6 \cdot 10^{-90}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 17
Accuracy53.3%
Cost1884
\[\begin{array}{l} t_1 := z \cdot \left(x \cdot y\right)\\ t_2 := x \cdot \left(y \cdot z - t \cdot a\right) + a \cdot \left(b \cdot i\right)\\ t_3 := t \cdot \left(c \cdot j\right)\\ t_4 := j \cdot \left(t \cdot c - y \cdot i\right) + y \cdot \left(x \cdot z\right)\\ t_5 := t_3 + \left(t_1 - c \cdot \left(z \cdot b\right)\right)\\ \mathbf{if}\;j \leq -3 \cdot 10^{+55}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq -4 \cdot 10^{-64}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;j \leq -2.1 \cdot 10^{-87}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;j \leq -4.4 \cdot 10^{-225}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;j \leq 4.4 \cdot 10^{-231}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq 7.2 \cdot 10^{-157}:\\ \;\;\;\;t_3 + \left(t_1 - b \cdot \left(z \cdot c\right)\right)\\ \mathbf{elif}\;j \leq 5.5 \cdot 10^{-15}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_4\\ \end{array} \]
Alternative 18
Accuracy75.7%
Cost1864
\[\begin{array}{l} t_1 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_3 := b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{if}\;b \leq -4.8 \cdot 10^{-165}:\\ \;\;\;\;t \cdot \left(c \cdot j\right) + \left(t_1 + t_3\right)\\ \mathbf{elif}\;b \leq 1.9 \cdot 10^{-72}:\\ \;\;\;\;t_2 + \left(t_1 - c \cdot \left(z \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_2 + \left(y \cdot \left(x \cdot z\right) + t_3\right)\\ \end{array} \]
Alternative 19
Accuracy75.4%
Cost1864
\[\begin{array}{l} t_1 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_3 := b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{if}\;b \leq -1.06 \cdot 10^{-165}:\\ \;\;\;\;t \cdot \left(c \cdot j\right) + \left(t_1 + t_3\right)\\ \mathbf{elif}\;b \leq 1.5 \cdot 10^{-71}:\\ \;\;\;\;t_2 + \left(t_1 - c \cdot \left(z \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_2 + \left(z \cdot \left(x \cdot y\right) + t_3\right)\\ \end{array} \]
Alternative 20
Accuracy29.3%
Cost1632
\[\begin{array}{l} t_1 := a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{if}\;c \leq -2.4 \cdot 10^{+112}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;c \leq -5.5 \cdot 10^{-93}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -1.75 \cdot 10^{-166}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;c \leq -8.6 \cdot 10^{-232}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -1.15 \cdot 10^{-269}:\\ \;\;\;\;y \cdot \left(i \cdot \left(-j\right)\right)\\ \mathbf{elif}\;c \leq 2 \cdot 10^{-267}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 1.4 \cdot 10^{-191}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{elif}\;c \leq 2.7 \cdot 10^{+117}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \end{array} \]
Alternative 21
Accuracy31.8%
Cost1632
\[\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 := a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{if}\;j \leq -7.5 \cdot 10^{-64}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq -6.2 \cdot 10^{-89}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq -1.35 \cdot 10^{-140}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{elif}\;j \leq 1.3 \cdot 10^{-269}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq 5.2 \cdot 10^{-207}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;j \leq 3 \cdot 10^{-148}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq 5.2 \cdot 10^{-119}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq 3.9 \cdot 10^{+175}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 22
Accuracy41.2%
Cost1632
\[\begin{array}{l} t_1 := t \cdot \left(c \cdot j - x \cdot a\right)\\ t_2 := a \cdot \left(b \cdot i - x \cdot t\right)\\ t_3 := y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{if}\;y \leq -5.5 \cdot 10^{+61}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq -1.25:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq -6.4 \cdot 10^{-103}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;y \leq -1.8 \cdot 10^{-236}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 5.2 \cdot 10^{-269}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq 8.4 \cdot 10^{-204}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 2.4 \cdot 10^{-147}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;y \leq 3 \cdot 10^{-46}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 23
Accuracy40.4%
Cost1632
\[\begin{array}{l} t_1 := a \cdot \left(b \cdot i - x \cdot t\right)\\ t_2 := t \cdot \left(c \cdot j - x \cdot a\right)\\ t_3 := y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{if}\;y \leq -4.1 \cdot 10^{+120}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq -28:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{elif}\;y \leq -7.6 \cdot 10^{-101}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;y \leq -3 \cdot 10^{-234}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq 3.1 \cdot 10^{-269}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 1.8 \cdot 10^{-203}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq 5.5 \cdot 10^{-147}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;y \leq 6 \cdot 10^{-49}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 24
Accuracy21.2%
Cost1572
\[\begin{array}{l} t_1 := j \cdot \left(t \cdot c\right)\\ t_2 := a \cdot \left(b \cdot i\right)\\ \mathbf{if}\;x \leq -2.1 \cdot 10^{+54}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;x \leq -5.7 \cdot 10^{-95}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq -1.15 \cdot 10^{-182}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 2.1 \cdot 10^{-300}:\\ \;\;\;\;i \cdot \left(y \cdot \left(-j\right)\right)\\ \mathbf{elif}\;x \leq 3.1 \cdot 10^{-226}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 1.5 \cdot 10^{-185}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;x \leq 6 \cdot 10^{-165}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 3.5 \cdot 10^{-89}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 6.5 \cdot 10^{-5}:\\ \;\;\;\;y \cdot \left(i \cdot \left(-j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \end{array} \]
Alternative 25
Accuracy53.7%
Cost1488
\[\begin{array}{l} t_1 := j \cdot \left(t \cdot c - y \cdot i\right) + y \cdot \left(x \cdot z\right)\\ t_2 := x \cdot \left(y \cdot z - t \cdot a\right) + a \cdot \left(b \cdot i\right)\\ \mathbf{if}\;j \leq -1.38 \cdot 10^{-70}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq 3 \cdot 10^{-206}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq 5.2 \cdot 10^{-157}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;j \leq 3.5 \cdot 10^{-12}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 26
Accuracy41.8%
Cost1368
\[\begin{array}{l} t_1 := a \cdot \left(b \cdot i - x \cdot t\right)\\ t_2 := t \cdot \left(c \cdot j - x \cdot a\right)\\ t_3 := y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{if}\;y \leq -4.8 \cdot 10^{+61}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq -1.52 \cdot 10^{-234}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq 7 \cdot 10^{-269}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 1.8 \cdot 10^{-203}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq 2.45 \cdot 10^{-147}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;y \leq 3.2 \cdot 10^{-52}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 27
Accuracy21.5%
Cost980
\[\begin{array}{l} t_1 := c \cdot \left(t \cdot j\right)\\ t_2 := y \cdot \left(x \cdot z\right)\\ \mathbf{if}\;y \leq -4.4 \cdot 10^{+229}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq -1.3 \cdot 10^{+143}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq -1.55 \cdot 10^{-88}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq 10^{-308}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 5 \cdot 10^{-79}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 28
Accuracy22.3%
Cost980
\[\begin{array}{l} t_1 := j \cdot \left(t \cdot c\right)\\ t_2 := i \cdot \left(a \cdot b\right)\\ t_3 := y \cdot \left(x \cdot z\right)\\ \mathbf{if}\;y \leq -2.6 \cdot 10^{-88}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq 6.5 \cdot 10^{-307}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 2.8 \cdot 10^{-268}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq 1.85 \cdot 10^{-194}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 2.25 \cdot 10^{-79}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 29
Accuracy20.4%
Cost850
\[\begin{array}{l} \mathbf{if}\;b \leq -2.5 \cdot 10^{+142} \lor \neg \left(b \leq -2.6 \cdot 10^{+43} \lor \neg \left(b \leq -3.4 \cdot 10^{+18}\right) \land b \leq 1.9 \cdot 10^{-40}\right):\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \end{array} \]
Alternative 30
Accuracy19.8%
Cost848
\[\begin{array}{l} t_1 := c \cdot \left(t \cdot j\right)\\ t_2 := i \cdot \left(a \cdot b\right)\\ \mathbf{if}\;b \leq -2.5 \cdot 10^{+189}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq -6.2 \cdot 10^{+38}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq -1.35 \cdot 10^{+17}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;b \leq 9.5 \cdot 10^{-40}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 31
Accuracy16.4%
Cost320
\[a \cdot \left(b \cdot i\right) \]

Error

Reproduce?

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