| Alternative 1 | |
|---|---|
| Accuracy | 36.4% |
| Cost | 12680 |
(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 (- (* z c) (* a i))))
(t_2 (* j (- (* t c) (* y i))))
(t_3 (- t_2 (+ t_1 (* x (- (* t a) (* y z)))))))
(if (or (<= t_3 (- INFINITY)) (not (<= t_3 1e+301)))
(fma (- (* c j) (* x a)) t (- (* i (fma (- y) j (* a b))) (* z (* b c))))
(+
(- (* x (- (* y z) (* t a))) (+ (* b (fma (- i) a (* a i))) 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 = b * ((z * c) - (a * i));
double t_2 = j * ((t * c) - (y * i));
double t_3 = t_2 - (t_1 + (x * ((t * a) - (y * z))));
double tmp;
if ((t_3 <= -((double) INFINITY)) || !(t_3 <= 1e+301)) {
tmp = fma(((c * j) - (x * a)), t, ((i * fma(-y, j, (a * b))) - (z * (b * c))));
} else {
tmp = ((x * ((y * z) - (t * a))) - ((b * fma(-i, a, (a * i))) + 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(b * Float64(Float64(z * c) - Float64(a * i))) t_2 = Float64(j * Float64(Float64(t * c) - Float64(y * i))) t_3 = Float64(t_2 - Float64(t_1 + Float64(x * Float64(Float64(t * a) - Float64(y * z))))) tmp = 0.0 if ((t_3 <= Float64(-Inf)) || !(t_3 <= 1e+301)) tmp = fma(Float64(Float64(c * j) - Float64(x * a)), t, Float64(Float64(i * fma(Float64(-y), j, Float64(a * b))) - Float64(z * Float64(b * c)))); else tmp = Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(Float64(b * fma(Float64(-i), a, Float64(a * i))) + 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[(b * N[(N[(z * c), $MachinePrecision] - N[(a * i), $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[(x * N[(N[(t * a), $MachinePrecision] - N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Or[LessEqual[t$95$3, (-Infinity)], N[Not[LessEqual[t$95$3, 1e+301]], $MachinePrecision]], N[(N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision] * t + N[(N[(i * N[((-y) * j + N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(z * N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(b * N[((-i) * a + N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$1), $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 := b \cdot \left(z \cdot c - a \cdot i\right)\\
t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\
t_3 := t_2 - \left(t_1 + x \cdot \left(t \cdot a - y \cdot z\right)\right)\\
\mathbf{if}\;t_3 \leq -\infty \lor \neg \left(t_3 \leq 10^{+301}\right):\\
\;\;\;\;\mathsf{fma}\left(c \cdot j - x \cdot a, t, i \cdot \mathsf{fma}\left(-y, j, a \cdot b\right) - z \cdot \left(b \cdot c\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \mathsf{fma}\left(-i, a, a \cdot i\right) + t_1\right)\right) + t_2\\
\end{array}
| Original | 34.4% |
|---|---|
| Target | 31.7% |
| Herbie | 39.5% |
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.00000000000000005e301 < (+.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)))) Initial program 0.0%
Simplified0.0%
[Start]0.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)
\] |
|---|---|
cancel-sign-sub [<=]0.0 | \[ \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 [=>]0.0 | \[ \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 [=>]0.0 | \[ \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 [=>]0.0 | \[ \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 [=>]0.0 | \[ \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 [=>]0.0 | \[ \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 [=>]0.0 | \[ \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)
\] |
Taylor expanded in t around -inf 6.2%
Simplified6.2%
[Start]6.2 | \[ \left(-1 \cdot \left(\left(a \cdot x + -1 \cdot \left(c \cdot j\right)\right) \cdot t\right) + \left(y \cdot \left(z \cdot x\right) + -1 \cdot \left(y \cdot \left(i \cdot j\right)\right)\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)
\] |
|---|---|
associate--l+ [=>]6.2 | \[ \color{blue}{-1 \cdot \left(\left(a \cdot x + -1 \cdot \left(c \cdot j\right)\right) \cdot t\right) + \left(\left(y \cdot \left(z \cdot x\right) + -1 \cdot \left(y \cdot \left(i \cdot j\right)\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)\right)}
\] |
associate-*r* [=>]6.2 | \[ \color{blue}{\left(-1 \cdot \left(a \cdot x + -1 \cdot \left(c \cdot j\right)\right)\right) \cdot t} + \left(\left(y \cdot \left(z \cdot x\right) + -1 \cdot \left(y \cdot \left(i \cdot j\right)\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)\right)
\] |
+-commutative [=>]6.2 | \[ \left(-1 \cdot \left(a \cdot x + -1 \cdot \left(c \cdot j\right)\right)\right) \cdot t + \left(\color{blue}{\left(-1 \cdot \left(y \cdot \left(i \cdot j\right)\right) + y \cdot \left(z \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right)\right)
\] |
fma-def [=>]6.2 | \[ \color{blue}{\mathsf{fma}\left(-1 \cdot \left(a \cdot x + -1 \cdot \left(c \cdot j\right)\right), t, \left(-1 \cdot \left(y \cdot \left(i \cdot j\right)\right) + y \cdot \left(z \cdot x\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)\right)}
\] |
mul-1-neg [=>]6.2 | \[ \mathsf{fma}\left(\color{blue}{-\left(a \cdot x + -1 \cdot \left(c \cdot j\right)\right)}, t, \left(-1 \cdot \left(y \cdot \left(i \cdot j\right)\right) + y \cdot \left(z \cdot x\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)\right)
\] |
mul-1-neg [=>]6.2 | \[ \mathsf{fma}\left(-\left(a \cdot x + \color{blue}{\left(-c \cdot j\right)}\right), t, \left(-1 \cdot \left(y \cdot \left(i \cdot j\right)\right) + y \cdot \left(z \cdot x\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)\right)
\] |
unsub-neg [=>]6.2 | \[ \mathsf{fma}\left(-\color{blue}{\left(a \cdot x - c \cdot j\right)}, t, \left(-1 \cdot \left(y \cdot \left(i \cdot j\right)\right) + y \cdot \left(z \cdot x\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)\right)
\] |
+-commutative [<=]6.2 | \[ \mathsf{fma}\left(-\left(a \cdot x - c \cdot j\right), t, \color{blue}{\left(y \cdot \left(z \cdot x\right) + -1 \cdot \left(y \cdot \left(i \cdot j\right)\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right)\right)
\] |
sub-neg [=>]6.2 | \[ \mathsf{fma}\left(-\left(a \cdot x - c \cdot j\right), t, \color{blue}{\left(y \cdot \left(z \cdot x\right) + -1 \cdot \left(y \cdot \left(i \cdot j\right)\right)\right) + \left(-b \cdot \left(c \cdot z - a \cdot i\right)\right)}\right)
\] |
Taylor expanded in x around 0 6.1%
Simplified11.7%
[Start]6.1 | \[ \mathsf{fma}\left(-\left(a \cdot x - c \cdot j\right), t, -1 \cdot \left(i \cdot \left(y \cdot j\right)\right) + \left(a \cdot i - c \cdot z\right) \cdot b\right)
\] |
|---|---|
*-commutative [=>]6.1 | \[ \mathsf{fma}\left(-\left(a \cdot x - c \cdot j\right), t, -1 \cdot \left(i \cdot \left(y \cdot j\right)\right) + \color{blue}{b \cdot \left(a \cdot i - c \cdot z\right)}\right)
\] |
cancel-sign-sub-inv [=>]6.1 | \[ \mathsf{fma}\left(-\left(a \cdot x - c \cdot j\right), t, -1 \cdot \left(i \cdot \left(y \cdot j\right)\right) + b \cdot \color{blue}{\left(a \cdot i + \left(-c\right) \cdot z\right)}\right)
\] |
*-commutative [=>]6.1 | \[ \mathsf{fma}\left(-\left(a \cdot x - c \cdot j\right), t, -1 \cdot \left(i \cdot \left(y \cdot j\right)\right) + b \cdot \left(\color{blue}{i \cdot a} + \left(-c\right) \cdot z\right)\right)
\] |
*-commutative [<=]6.1 | \[ \mathsf{fma}\left(-\left(a \cdot x - c \cdot j\right), t, -1 \cdot \left(i \cdot \left(y \cdot j\right)\right) + b \cdot \left(i \cdot a + \color{blue}{z \cdot \left(-c\right)}\right)\right)
\] |
distribute-lft-out [<=]6.1 | \[ \mathsf{fma}\left(-\left(a \cdot x - c \cdot j\right), t, -1 \cdot \left(i \cdot \left(y \cdot j\right)\right) + \color{blue}{\left(b \cdot \left(i \cdot a\right) + b \cdot \left(z \cdot \left(-c\right)\right)\right)}\right)
\] |
associate-*r* [=>]9.4 | \[ \mathsf{fma}\left(-\left(a \cdot x - c \cdot j\right), t, -1 \cdot \left(i \cdot \left(y \cdot j\right)\right) + \left(\color{blue}{\left(b \cdot i\right) \cdot a} + b \cdot \left(z \cdot \left(-c\right)\right)\right)\right)
\] |
*-commutative [<=]9.4 | \[ \mathsf{fma}\left(-\left(a \cdot x - c \cdot j\right), t, -1 \cdot \left(i \cdot \left(y \cdot j\right)\right) + \left(\color{blue}{\left(i \cdot b\right)} \cdot a + b \cdot \left(z \cdot \left(-c\right)\right)\right)\right)
\] |
*-commutative [<=]9.4 | \[ \mathsf{fma}\left(-\left(a \cdot x - c \cdot j\right), t, -1 \cdot \left(i \cdot \left(y \cdot j\right)\right) + \left(\left(i \cdot b\right) \cdot a + \color{blue}{\left(z \cdot \left(-c\right)\right) \cdot b}\right)\right)
\] |
*-commutative [<=]9.4 | \[ \mathsf{fma}\left(-\left(a \cdot x - c \cdot j\right), t, -1 \cdot \left(i \cdot \left(y \cdot j\right)\right) + \left(\color{blue}{a \cdot \left(i \cdot b\right)} + \left(z \cdot \left(-c\right)\right) \cdot b\right)\right)
\] |
*-commutative [=>]9.4 | \[ \mathsf{fma}\left(-\left(a \cdot x - c \cdot j\right), t, -1 \cdot \left(i \cdot \left(y \cdot j\right)\right) + \left(a \cdot \left(i \cdot b\right) + \color{blue}{\left(\left(-c\right) \cdot z\right)} \cdot b\right)\right)
\] |
associate-*r* [<=]11.6 | \[ \mathsf{fma}\left(-\left(a \cdot x - c \cdot j\right), t, -1 \cdot \left(i \cdot \left(y \cdot j\right)\right) + \left(a \cdot \left(i \cdot b\right) + \color{blue}{\left(-c\right) \cdot \left(z \cdot b\right)}\right)\right)
\] |
distribute-lft-neg-in [<=]11.6 | \[ \mathsf{fma}\left(-\left(a \cdot x - c \cdot j\right), t, -1 \cdot \left(i \cdot \left(y \cdot j\right)\right) + \left(a \cdot \left(i \cdot b\right) + \color{blue}{\left(-c \cdot \left(z \cdot b\right)\right)}\right)\right)
\] |
mul-1-neg [<=]11.6 | \[ \mathsf{fma}\left(-\left(a \cdot x - c \cdot j\right), t, -1 \cdot \left(i \cdot \left(y \cdot j\right)\right) + \left(a \cdot \left(i \cdot b\right) + \color{blue}{-1 \cdot \left(c \cdot \left(z \cdot b\right)\right)}\right)\right)
\] |
associate-+r+ [=>]11.6 | \[ \mathsf{fma}\left(-\left(a \cdot x - c \cdot j\right), t, \color{blue}{\left(-1 \cdot \left(i \cdot \left(y \cdot j\right)\right) + a \cdot \left(i \cdot b\right)\right) + -1 \cdot \left(c \cdot \left(z \cdot b\right)\right)}\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.00000000000000005e301Initial program 99.6%
Simplified99.6%
[Start]99.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)
\] |
|---|---|
cancel-sign-sub [<=]99.6 | \[ \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 [=>]99.6 | \[ \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 [=>]99.6 | \[ \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 [=>]99.6 | \[ \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 [=>]99.6 | \[ \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 [=>]99.6 | \[ \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 [=>]99.6 | \[ \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)
\] |
Applied egg-rr99.6%
[Start]99.6 | \[ \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)
\] |
|---|---|
prod-diff [=>]99.6 | \[ \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 [<=]99.6 | \[ \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 [<=]99.6 | \[ \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 [=>]99.6 | \[ \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)
\] |
*-commutative [<=]99.6 | \[ \left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(\color{blue}{b \cdot \left(z \cdot c - a \cdot i\right)} + \mathsf{fma}\left(-i, a, i \cdot a\right) \cdot b\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)
\] |
*-commutative [<=]99.6 | \[ \left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(z \cdot c - a \cdot i\right) + \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)
\] |
Final simplification38.8%
| Alternative 1 | |
|---|---|
| Accuracy | 36.4% |
| Cost | 12680 |
| Alternative 2 | |
|---|---|
| Accuracy | 36.4% |
| Cost | 9796 |
| Alternative 3 | |
|---|---|
| Accuracy | 36.8% |
| Cost | 5704 |
| Alternative 4 | |
|---|---|
| Accuracy | 37.7% |
| Cost | 5704 |
| Alternative 5 | |
|---|---|
| Accuracy | 27.4% |
| Cost | 2260 |
| Alternative 6 | |
|---|---|
| Accuracy | 26.1% |
| Cost | 2136 |
| Alternative 7 | |
|---|---|
| Accuracy | 20.9% |
| Cost | 2017 |
| Alternative 8 | |
|---|---|
| Accuracy | 20.5% |
| Cost | 2016 |
| Alternative 9 | |
|---|---|
| Accuracy | 25.5% |
| Cost | 2008 |
| Alternative 10 | |
|---|---|
| Accuracy | 19.3% |
| Cost | 1884 |
| Alternative 11 | |
|---|---|
| Accuracy | 23.9% |
| Cost | 1884 |
| Alternative 12 | |
|---|---|
| Accuracy | 25.2% |
| Cost | 1876 |
| Alternative 13 | |
|---|---|
| Accuracy | 26.4% |
| Cost | 1744 |
| Alternative 14 | |
|---|---|
| Accuracy | 21.5% |
| Cost | 1488 |
| Alternative 15 | |
|---|---|
| Accuracy | 21.6% |
| Cost | 1356 |
| Alternative 16 | |
|---|---|
| Accuracy | 21.8% |
| Cost | 1356 |
| Alternative 17 | |
|---|---|
| Accuracy | 17.8% |
| Cost | 1236 |
| Alternative 18 | |
|---|---|
| Accuracy | 10.2% |
| Cost | 1176 |
| Alternative 19 | |
|---|---|
| Accuracy | 10.2% |
| Cost | 1176 |
| Alternative 20 | |
|---|---|
| Accuracy | 14.8% |
| Cost | 1104 |
| Alternative 21 | |
|---|---|
| Accuracy | 16.8% |
| Cost | 1104 |
| Alternative 22 | |
|---|---|
| Accuracy | 10.1% |
| Cost | 848 |
| Alternative 23 | |
|---|---|
| Accuracy | 10.1% |
| Cost | 780 |
| Alternative 24 | |
|---|---|
| Accuracy | 9.5% |
| Cost | 585 |
| Alternative 25 | |
|---|---|
| Accuracy | 9.8% |
| Cost | 585 |
| Alternative 26 | |
|---|---|
| Accuracy | 7.6% |
| Cost | 320 |
herbie shell --seed 2023157
(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)))))