?

Average Error: 11.8 → 7.6
Time: 54.7s
Precision: binary64
Cost: 12681

?

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

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


\end{array}

Error?

Target

Original11.8
Target15.7
Herbie7.6
\[\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 +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. Initial program 64.0

      \[\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. Simplified64.0

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

      \[ \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 [=>]64.0

      \[ \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 [=>]64.0

      \[ \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 [=>]64.0

      \[ \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 [=>]64.0

      \[ \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 [=>]64.0

      \[ \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 [=>]64.0

      \[ \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 28.2

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

      \[\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 - z \cdot c\right)} \]
      Proof

      [Start]28.2

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

      *-commutative [<=]28.2

      \[ \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) - \color{blue}{b \cdot \left(c \cdot z - i \cdot a\right)} \]

      sub-neg [=>]28.2

      \[ \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(-b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]

      distribute-lft-neg-in [=>]28.2

      \[ \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) + \color{blue}{\left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)} \]

      sub-neg [=>]28.2

      \[ \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(-b\right) \cdot \color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)} \]

      distribute-rgt-neg-out [<=]28.2

      \[ \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(-b\right) \cdot \left(c \cdot z + \color{blue}{i \cdot \left(-a\right)}\right) \]

      distribute-lft-in [=>]28.2

      \[ \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) + \color{blue}{\left(\left(-b\right) \cdot \left(c \cdot z\right) + \left(-b\right) \cdot \left(i \cdot \left(-a\right)\right)\right)} \]

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

      \[ \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(\color{blue}{\left(-b \cdot \left(c \cdot z\right)\right)} + \left(-b\right) \cdot \left(i \cdot \left(-a\right)\right)\right) \]

      associate-*r* [=>]18.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(\left(-\color{blue}{\left(b \cdot c\right) \cdot z}\right) + \left(-b\right) \cdot \left(i \cdot \left(-a\right)\right)\right) \]

      *-commutative [<=]18.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(\left(-\color{blue}{\left(c \cdot b\right)} \cdot z\right) + \left(-b\right) \cdot \left(i \cdot \left(-a\right)\right)\right) \]

      associate-*r* [<=]18.6

      \[ \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(-\color{blue}{c \cdot \left(b \cdot z\right)}\right) + \left(-b\right) \cdot \left(i \cdot \left(-a\right)\right)\right) \]

      distribute-lft-neg-in [=>]18.6

      \[ \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(\color{blue}{\left(-c\right) \cdot \left(b \cdot z\right)} + \left(-b\right) \cdot \left(i \cdot \left(-a\right)\right)\right) \]
    5. Taylor expanded in a around inf 18.0

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

    1. Initial program 6.6

      \[\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. Applied egg-rr6.6

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;\left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right) \leq -\infty \lor \neg \left(\left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right) \leq \infty\right):\\ \;\;\;\;\left(y \cdot \left(x \cdot z - i \cdot j\right) - t \cdot \left(x \cdot a - c \cdot j\right)\right) + i \cdot \left(a \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(b \cdot \left(a \cdot i - z \cdot c\right) - 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
Error7.6
Cost11977
\[\begin{array}{l} t_1 := t \cdot c - y \cdot i\\ t_2 := x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ t_3 := t_2 + j \cdot t_1\\ \mathbf{if}\;t_3 \leq -\infty \lor \neg \left(t_3 \leq \infty\right):\\ \;\;\;\;\left(y \cdot \left(x \cdot z - i \cdot j\right) - t \cdot \left(x \cdot a - c \cdot j\right)\right) + i \cdot \left(a \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(j, t_1, t_2\right)\\ \end{array} \]
Alternative 2
Error7.6
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)\\ t_3 := \left(x \cdot \left(y \cdot z - t \cdot a\right) + t_1\right) + t_2\\ \mathbf{if}\;t_3 \leq -\infty \lor \neg \left(t_3 \leq \infty\right):\\ \;\;\;\;\left(y \cdot \left(x \cdot z - i \cdot j\right) - t \cdot \left(x \cdot a - c \cdot j\right)\right) + i \cdot \left(a \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(x \cdot \left(y \cdot z\right) - x \cdot \left(t \cdot a\right)\right) + t_1\right) + t_2\\ \end{array} \]
Alternative 3
Error7.6
Cost5705
\[\begin{array}{l} t_1 := \left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{if}\;t_1 \leq -\infty \lor \neg \left(t_1 \leq \infty\right):\\ \;\;\;\;\left(y \cdot \left(x \cdot z - i \cdot j\right) - t \cdot \left(x \cdot a - c \cdot j\right)\right) + i \cdot \left(a \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 4
Error18.6
Cost3184
\[\begin{array}{l} t_1 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_2 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_3 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_4 := \left(t_1 - z \cdot \left(b \cdot c\right)\right) + t_3\\ t_5 := t_3 + \left(a \cdot \left(b \cdot i\right) - a \cdot \left(x \cdot t\right)\right)\\ t_6 := y \cdot \left(x \cdot z - i \cdot j\right)\\ t_7 := \left(t_6 - t \cdot \left(x \cdot a - c \cdot j\right)\right) + i \cdot \left(a \cdot b\right)\\ t_8 := t_6 + t_2\\ \mathbf{if}\;t \leq -110000000000:\\ \;\;\;\;t_7\\ \mathbf{elif}\;t \leq -3.8 \cdot 10^{-112}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;t \leq -7 \cdot 10^{-135}:\\ \;\;\;\;t_7\\ \mathbf{elif}\;t \leq -8.8 \cdot 10^{-160}:\\ \;\;\;\;t_1 + t_2\\ \mathbf{elif}\;t \leq 2.7 \cdot 10^{-281}:\\ \;\;\;\;t_8\\ \mathbf{elif}\;t \leq 4.9 \cdot 10^{-248}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;t \leq 9.8 \cdot 10^{-233}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;t \leq 1.05 \cdot 10^{-211}:\\ \;\;\;\;t_7\\ \mathbf{elif}\;t \leq 10^{-121}:\\ \;\;\;\;t_8\\ \mathbf{elif}\;t \leq 3.5 \cdot 10^{-89}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;t \leq 1400:\\ \;\;\;\;t_8\\ \mathbf{elif}\;t \leq 2.2 \cdot 10^{+162}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_7\\ \end{array} \]
Alternative 5
Error37.2
Cost2808
\[\begin{array}{l} t_1 := i \cdot \left(a \cdot b - y \cdot j\right) - c \cdot \left(z \cdot b\right)\\ t_2 := c \cdot \left(t \cdot j\right) - a \cdot \left(x \cdot t\right)\\ t_3 := y \cdot \left(x \cdot z - i \cdot j\right)\\ t_4 := a \cdot \left(b \cdot i - x \cdot t\right)\\ t_5 := b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{if}\;y \leq -1.25 \cdot 10^{+195}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq -2.2 \cdot 10^{+120}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y \leq -1.3 \cdot 10^{-62}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq -1.6 \cdot 10^{-132}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq -3 \cdot 10^{-160}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq -7.8 \cdot 10^{-211}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq -4.05 \cdot 10^{-230}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq -1 \cdot 10^{-239}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{elif}\;y \leq 6.5 \cdot 10^{-298}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y \leq 2 \cdot 10^{-162}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq 7.5 \cdot 10^{-140}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;y \leq 2.9 \cdot 10^{-94}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq 3.4 \cdot 10^{-55}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;y \leq 8.5 \cdot 10^{+35}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 6
Error38.7
Cost2684
\[\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 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_4 := y \cdot \left(x \cdot z - i \cdot j\right)\\ t_5 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_6 := c \cdot \left(t \cdot j\right) - a \cdot \left(x \cdot t\right)\\ \mathbf{if}\;x \leq -1.5 \cdot 10^{-36}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;x \leq -1.02 \cdot 10^{-114}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -3.3 \cdot 10^{-212}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -7 \cdot 10^{-240}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 1.6 \cdot 10^{-138}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 1.55 \cdot 10^{-106}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 1.8 \cdot 10^{-80}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 3.1 \cdot 10^{-34}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 2.5 \cdot 10^{-20}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;x \leq 2.9 \cdot 10^{-9}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 7.8 \cdot 10^{+20}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq 1.1 \cdot 10^{+59}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;x \leq 9.2 \cdot 10^{+76}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 1.55 \cdot 10^{+122}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;x \leq 2.9 \cdot 10^{+159}:\\ \;\;\;\;\frac{i}{\frac{1}{a \cdot b - y \cdot j}}\\ \mathbf{else}:\\ \;\;\;\;t_5\\ \end{array} \]
Alternative 7
Error41.1
Cost2556
\[\begin{array}{l} t_1 := a \cdot \left(x \cdot t\right)\\ t_2 := a \cdot \left(b \cdot i - x \cdot t\right)\\ t_3 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_4 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_5 := z \cdot \left(x \cdot y - b \cdot c\right)\\ t_6 := y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{if}\;c \leq -2.8 \cdot 10^{-12}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) - t_1\\ \mathbf{elif}\;c \leq -1.65 \cdot 10^{-80}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;c \leq -1.62 \cdot 10^{-96}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq -4.9 \cdot 10^{-104}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq -4.5 \cdot 10^{-137}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;c \leq -1.3 \cdot 10^{-255}:\\ \;\;\;\;a \cdot \left(b \cdot i\right) - t_1\\ \mathbf{elif}\;c \leq 7.4 \cdot 10^{-261}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;c \leq 1.45 \cdot 10^{-175}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 4 \cdot 10^{-38}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;c \leq 7000:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq 1.22 \cdot 10^{+20}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;c \leq 3 \cdot 10^{+62}:\\ \;\;\;\;i \cdot \left(a \cdot b\right) - y \cdot \left(i \cdot j\right)\\ \mathbf{elif}\;c \leq 2.2 \cdot 10^{+88}:\\ \;\;\;\;\frac{x}{\frac{1}{y \cdot z - t \cdot a}}\\ \mathbf{elif}\;c \leq 5.8 \cdot 10^{+101}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq 1.65 \cdot 10^{+202}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \end{array} \]
Alternative 8
Error22.4
Cost2536
\[\begin{array}{l} t_1 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_2 := \left(x \cdot \left(y \cdot z - t \cdot a\right) - z \cdot \left(b \cdot c\right)\right) + t_1\\ t_3 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_4 := y \cdot \left(x \cdot z - i \cdot j\right) + t_3\\ t_5 := t_1 + \left(a \cdot \left(b \cdot i\right) - a \cdot \left(x \cdot t\right)\right)\\ \mathbf{if}\;i \leq -1.3 \cdot 10^{+131}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;i \leq -4.4:\\ \;\;\;\;t_4\\ \mathbf{elif}\;i \leq -1.16 \cdot 10^{-63}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;i \leq -7 \cdot 10^{-100}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;i \leq -1.45 \cdot 10^{-147}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;i \leq -5 \cdot 10^{-181}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;i \leq 2.7 \cdot 10^{-202}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;i \leq 6.4 \cdot 10^{-173}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;i \leq 1.44 \cdot 10^{-117}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;i \leq 1.6 \cdot 10^{+141}:\\ \;\;\;\;t_1 + t_3\\ \mathbf{else}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right) - c \cdot \left(z \cdot b\right)\\ \end{array} \]
Alternative 9
Error42.1
Cost2425
\[\begin{array}{l} t_1 := c \cdot \left(t \cdot j - z \cdot b\right)\\ t_2 := i \cdot \left(a \cdot b - y \cdot j\right)\\ t_3 := z \cdot \left(x \cdot y\right)\\ t_4 := a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{if}\;z \leq -2.8 \cdot 10^{+169}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq -3 \cdot 10^{-74}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 4 \cdot 10^{-247}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq 1.62 \cdot 10^{-220}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 8.7 \cdot 10^{-190}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq 1.75 \cdot 10^{-163}:\\ \;\;\;\;y \cdot \left(i \cdot \left(-j\right)\right)\\ \mathbf{elif}\;z \leq 5.5 \cdot 10^{-95}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq 2 \cdot 10^{-78}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 7.3 \cdot 10^{-37}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 6.2 \cdot 10^{+45}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 1.5 \cdot 10^{+119}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 4.5 \cdot 10^{+120}:\\ \;\;\;\;\left(t \cdot a\right) \cdot \left(-x\right)\\ \mathbf{elif}\;z \leq 2.55 \cdot 10^{+191} \lor \neg \left(z \leq 1.22 \cdot 10^{+273}\right):\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 10
Error42.8
Cost2425
\[\begin{array}{l} t_1 := a \cdot \left(b \cdot i - x \cdot t\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_4 := c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{if}\;x \leq -1.65 \cdot 10^{+137}:\\ \;\;\;\;\left(t \cdot a\right) \cdot \left(-x\right)\\ \mathbf{elif}\;x \leq -1.55 \cdot 10^{+64}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;x \leq -5 \cdot 10^{+46}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq -3.2 \cdot 10^{-30}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -1.7 \cdot 10^{-36}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq -7.8 \cdot 10^{-112}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -6.1 \cdot 10^{-256}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 1.55 \cdot 10^{-139}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 6.6 \cdot 10^{-107}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq 4.4 \cdot 10^{-80}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 3.3 \cdot 10^{-35}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq 4 \cdot 10^{-20}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;x \leq 3.6 \cdot 10^{-9} \lor \neg \left(x \leq 4.3 \cdot 10^{+85}\right):\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 11
Error24.7
Cost2404
\[\begin{array}{l} t_1 := c \cdot \left(t \cdot j - z \cdot b\right) - x \cdot \left(t \cdot a - y \cdot z\right)\\ t_2 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_3 := y \cdot \left(x \cdot z - i \cdot j\right) + t_2\\ t_4 := j \cdot \left(t \cdot c - y \cdot i\right) + t_2\\ \mathbf{if}\;y \leq -2.05 \cdot 10^{-140}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq -1.4 \cdot 10^{-193}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq -2.05 \cdot 10^{-229}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y \leq -1.6 \cdot 10^{-243}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq -4.7 \cdot 10^{-276}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;y \leq 2.5 \cdot 10^{-170}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 2.4 \cdot 10^{+30}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y \leq 1.7 \cdot 10^{+106}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 6 \cdot 10^{+137}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 12
Error37.6
Cost2292
\[\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)\\ t_3 := a \cdot \left(b \cdot i - x \cdot t\right)\\ t_4 := c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{if}\;c \leq -6.2 \cdot 10^{-59}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq -9 \cdot 10^{-146}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq -1.95 \cdot 10^{-201}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -1.9 \cdot 10^{-273}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq 4.2 \cdot 10^{-288}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 1.55 \cdot 10^{-173}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq 2.3 \cdot 10^{-105}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{elif}\;c \leq 4.6 \cdot 10^{-91}:\\ \;\;\;\;y \cdot \left(i \cdot \left(-j\right)\right)\\ \mathbf{elif}\;c \leq 2.2 \cdot 10^{-76}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 2.4 \cdot 10^{-54}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq 28.5:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;c \leq 5.9 \cdot 10^{+19}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 1.1 \cdot 10^{+41}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_4\\ \end{array} \]
Alternative 13
Error29.3
Cost2272
\[\begin{array}{l} t_1 := i \cdot \left(a \cdot b\right) - y \cdot \left(i \cdot j\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) - x \cdot \left(t \cdot a - y \cdot z\right)\\ t_4 := i \cdot \left(a \cdot b - y \cdot j\right) - c \cdot \left(z \cdot b\right)\\ \mathbf{if}\;j \leq -8.5 \cdot 10^{+37}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq -4 \cdot 10^{-269}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq 1.22 \cdot 10^{-231}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq 6.2 \cdot 10^{-192}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq 5.6 \cdot 10^{-127}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq 1.4 \cdot 10^{+44}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq 5.3 \cdot 10^{+107}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq 3 \cdot 10^{+129}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq 1.05 \cdot 10^{+153}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 14
Error37.8
Cost2028
\[\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 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_4 := y \cdot \left(x \cdot z - i \cdot j\right)\\ t_5 := x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{if}\;x \leq -1.18 \cdot 10^{-36}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;x \leq -1.3 \cdot 10^{-111}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -9 \cdot 10^{-212}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -4.6 \cdot 10^{-240}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 1.76 \cdot 10^{-138}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 1.9 \cdot 10^{-106}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 3.2 \cdot 10^{-80}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 1.05 \cdot 10^{-38}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 1.6 \cdot 10^{-21}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;x \leq 3.4 \cdot 10^{-9}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 3.9 \cdot 10^{+83}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t_5\\ \end{array} \]
Alternative 15
Error24.8
Cost2009
\[\begin{array}{l} t_1 := c \cdot \left(t \cdot j - z \cdot b\right) - x \cdot \left(t \cdot a - y \cdot z\right)\\ t_2 := y \cdot \left(x \cdot z - i \cdot j\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{if}\;y \leq -3.3 \cdot 10^{-140}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq -1.1 \cdot 10^{-243}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq -8 \cdot 10^{-277}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;y \leq 2.4 \cdot 10^{-160} \lor \neg \left(y \leq 7000000\right) \land y \leq 2.5 \cdot 10^{+65}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 16
Error23.2
Cost2004
\[\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 := t_2 + \left(a \cdot \left(b \cdot i\right) - a \cdot \left(x \cdot t\right)\right)\\ \mathbf{if}\;a \leq -6.1 \cdot 10^{-27}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;a \leq -2.9 \cdot 10^{-206}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) + t_1\\ \mathbf{elif}\;a \leq 4.5 \cdot 10^{-262}:\\ \;\;\;\;t_2 + t_1\\ \mathbf{elif}\;a \leq 1.22 \cdot 10^{-76}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right) - x \cdot \left(t \cdot a - y \cdot z\right)\\ \mathbf{elif}\;a \leq 3.1 \cdot 10^{-67}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 17
Error38.7
Cost1764
\[\begin{array}{l} t_1 := t \cdot \left(c \cdot j - x \cdot a\right)\\ t_2 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_3 := y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{if}\;y \leq -1.15 \cdot 10^{+195}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq -7.2 \cdot 10^{+98}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;y \leq -2.7 \cdot 10^{+42}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq -1.6 \cdot 10^{-62}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq -3.3 \cdot 10^{-135}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq 1.75 \cdot 10^{-249}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 1.7 \cdot 10^{-142}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{elif}\;y \leq 5.5 \cdot 10^{-95}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 2.9 \cdot 10^{+30}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 18
Error37.7
Cost1764
\[\begin{array}{l} t_1 := y \cdot \left(x \cdot z - i \cdot j\right)\\ t_2 := a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{if}\;a \leq -6.2 \cdot 10^{-7}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq -1.1 \cdot 10^{-73}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{elif}\;a \leq -5.8 \cdot 10^{-84}:\\ \;\;\;\;\left(t \cdot a\right) \cdot \left(-x\right)\\ \mathbf{elif}\;a \leq -7.5 \cdot 10^{-189}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;a \leq -6.7 \cdot 10^{-307}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;a \leq 1.55 \cdot 10^{-235}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 5.5 \cdot 10^{-188}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;a \leq 2.5 \cdot 10^{-62}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 6.6 \cdot 10^{+34}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 19
Error20.6
Cost1740
\[\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)\\ \mathbf{if}\;j \leq -6.5 \cdot 10^{-11}:\\ \;\;\;\;t_2 + t_1\\ \mathbf{elif}\;j \leq -3.5 \cdot 10^{-157}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right) - x \cdot \left(t \cdot a - y \cdot z\right)\\ \mathbf{elif}\;j \leq 1.4 \cdot 10^{-16}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) + t_1\\ \mathbf{else}:\\ \;\;\;\;\left(t_2 + y \cdot \left(x \cdot z\right)\right) - c \cdot \left(z \cdot b\right)\\ \end{array} \]
Alternative 20
Error49.9
Cost1704
\[\begin{array}{l} t_1 := a \cdot \left(b \cdot i\right)\\ t_2 := a \cdot \left(x \cdot \left(-t\right)\right)\\ t_3 := \left(t \cdot a\right) \cdot \left(-x\right)\\ \mathbf{if}\;a \leq -5.8 \cdot 10^{+105}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq -8.2 \cdot 10^{-7}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq -7.3 \cdot 10^{-118}:\\ \;\;\;\;z \cdot \left(b \cdot \left(-c\right)\right)\\ \mathbf{elif}\;a \leq -6.6 \cdot 10^{-196}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;a \leq 2.9 \cdot 10^{-275}:\\ \;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\ \mathbf{elif}\;a \leq 9.5 \cdot 10^{-225}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;a \leq 3.9 \cdot 10^{-220}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;a \leq 10^{-63}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;a \leq 1.15 \cdot 10^{+44}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;a \leq 1.3 \cdot 10^{+199}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 21
Error20.8
Cost1612
\[\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_1\\ \mathbf{if}\;j \leq -6.5 \cdot 10^{-11}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq -4.6 \cdot 10^{-157}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right) - x \cdot \left(t \cdot a - y \cdot z\right)\\ \mathbf{elif}\;j \leq 1.55 \cdot 10^{-18}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) + t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 22
Error50.3
Cost1308
\[\begin{array}{l} t_1 := c \cdot \left(z \cdot \left(-b\right)\right)\\ \mathbf{if}\;c \leq -6.6 \cdot 10^{+80}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -3.1 \cdot 10^{-22}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;c \leq -1.55 \cdot 10^{-132}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 2 \cdot 10^{-258}:\\ \;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\ \mathbf{elif}\;c \leq 1.2 \cdot 10^{-173}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;c \leq 7.2 \cdot 10^{-61}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{elif}\;c \leq 1.26 \cdot 10^{+94}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 23
Error50.3
Cost1308
\[\begin{array}{l} t_1 := c \cdot \left(z \cdot \left(-b\right)\right)\\ \mathbf{if}\;c \leq -6.4 \cdot 10^{+81}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -9.2 \cdot 10^{-20}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;c \leq -7 \cdot 10^{-137}:\\ \;\;\;\;z \cdot \left(b \cdot \left(-c\right)\right)\\ \mathbf{elif}\;c \leq 7.2 \cdot 10^{-256}:\\ \;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\ \mathbf{elif}\;c \leq 2.7 \cdot 10^{-174}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;c \leq 1.05 \cdot 10^{-61}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{elif}\;c \leq 1.35 \cdot 10^{+94}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 24
Error50.2
Cost1308
\[\begin{array}{l} t_1 := z \cdot \left(x \cdot y\right)\\ t_2 := a \cdot \left(b \cdot i\right)\\ \mathbf{if}\;x \leq -6 \cdot 10^{+132}:\\ \;\;\;\;\left(t \cdot a\right) \cdot \left(-x\right)\\ \mathbf{elif}\;x \leq -2.3 \cdot 10^{-32}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq -8.1 \cdot 10^{-280}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 7.6 \cdot 10^{-201}:\\ \;\;\;\;z \cdot \left(b \cdot \left(-c\right)\right)\\ \mathbf{elif}\;x \leq 1.75 \cdot 10^{-107}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 10^{-42}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 9.5 \cdot 10^{+164}:\\ \;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \end{array} \]
Alternative 25
Error50.3
Cost1308
\[\begin{array}{l} t_1 := z \cdot \left(x \cdot y\right)\\ t_2 := a \cdot \left(b \cdot i\right)\\ \mathbf{if}\;x \leq -1.38 \cdot 10^{+141}:\\ \;\;\;\;\left(t \cdot a\right) \cdot \left(-x\right)\\ \mathbf{elif}\;x \leq -2.5 \cdot 10^{-32}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq -7.2 \cdot 10^{-280}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 9.5 \cdot 10^{-204}:\\ \;\;\;\;z \cdot \left(b \cdot \left(-c\right)\right)\\ \mathbf{elif}\;x \leq 5.8 \cdot 10^{-107}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 9.5 \cdot 10^{-43}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 9.5 \cdot 10^{+164}:\\ \;\;\;\;y \cdot \left(i \cdot \left(-j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \end{array} \]
Alternative 26
Error37.0
Cost1236
\[\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)\\ \mathbf{if}\;a \leq -6.5 \cdot 10^{-7}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq -1.1 \cdot 10^{-73}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq -4.6 \cdot 10^{-82}:\\ \;\;\;\;\left(t \cdot a\right) \cdot \left(-x\right)\\ \mathbf{elif}\;a \leq -4.2 \cdot 10^{-169}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;a \leq 2.1 \cdot 10^{-82}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 27
Error50.9
Cost1176
\[\begin{array}{l} t_1 := c \cdot \left(z \cdot \left(-b\right)\right)\\ \mathbf{if}\;c \leq -4.2 \cdot 10^{+81}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -2.3 \cdot 10^{-17}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;c \leq -1.2 \cdot 10^{-128}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 9 \cdot 10^{-175}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;c \leq 5.8 \cdot 10^{-59}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{elif}\;c \leq 5 \cdot 10^{+94}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 28
Error50.2
Cost1176
\[\begin{array}{l} t_1 := a \cdot \left(b \cdot i\right)\\ t_2 := x \cdot \left(y \cdot z\right)\\ \mathbf{if}\;x \leq -2.9 \cdot 10^{-32}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -4.8 \cdot 10^{-273}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 5.8 \cdot 10^{-203}:\\ \;\;\;\;c \cdot \left(z \cdot \left(-b\right)\right)\\ \mathbf{elif}\;x \leq 4.3 \cdot 10^{-107}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 3.6 \cdot 10^{-42}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{elif}\;x \leq 3.2 \cdot 10^{+149}:\\ \;\;\;\;i \cdot \left(y \cdot \left(-j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 29
Error40.3
Cost1104
\[\begin{array}{l} t_1 := a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{if}\;a \leq -1.95 \cdot 10^{-23}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 8.5 \cdot 10^{-276}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;a \leq 3.1 \cdot 10^{-125}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{elif}\;a \leq 1.05 \cdot 10^{-65}:\\ \;\;\;\;i \cdot \left(y \cdot \left(-j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 30
Error42.2
Cost972
\[\begin{array}{l} t_1 := a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{if}\;a \leq -5.5 \cdot 10^{-196}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 3.65 \cdot 10^{-270}:\\ \;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\ \mathbf{elif}\;a \leq 1.25 \cdot 10^{-65}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 31
Error50.7
Cost584
\[\begin{array}{l} \mathbf{if}\;a \leq -7 \cdot 10^{-174}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;a \leq 6.1 \cdot 10^{-65}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \end{array} \]
Alternative 32
Error50.6
Cost584
\[\begin{array}{l} \mathbf{if}\;a \leq -8.5 \cdot 10^{-169}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;a \leq 1.4 \cdot 10^{-67}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \end{array} \]
Alternative 33
Error53.7
Cost320
\[a \cdot \left(b \cdot i\right) \]
Alternative 34
Error53.9
Cost320
\[i \cdot \left(a \cdot b\right) \]

Error

Reproduce?

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