?

Average Accuracy: 100.0% → 100.0%
Time: 35.5s
Precision: binary64
Cost: 13888

?

\[\left(\left(x - \left(y - 1\right) \cdot z\right) - \left(t - 1\right) \cdot a\right) + \left(\left(y + t\right) - 2\right) \cdot b \]
\[\mathsf{fma}\left(y + \left(t + -2\right), b, x - \mathsf{fma}\left(y + -1, z, a \cdot \left(t + -1\right)\right)\right) \]
(FPCore (x y z t a b)
 :precision binary64
 (+ (- (- x (* (- y 1.0) z)) (* (- t 1.0) a)) (* (- (+ y t) 2.0) b)))
(FPCore (x y z t a b)
 :precision binary64
 (fma (+ y (+ t -2.0)) b (- x (fma (+ y -1.0) z (* a (+ t -1.0))))))
double code(double x, double y, double z, double t, double a, double b) {
	return ((x - ((y - 1.0) * z)) - ((t - 1.0) * a)) + (((y + t) - 2.0) * b);
}
double code(double x, double y, double z, double t, double a, double b) {
	return fma((y + (t + -2.0)), b, (x - fma((y + -1.0), z, (a * (t + -1.0)))));
}
function code(x, y, z, t, a, b)
	return Float64(Float64(Float64(x - Float64(Float64(y - 1.0) * z)) - Float64(Float64(t - 1.0) * a)) + Float64(Float64(Float64(y + t) - 2.0) * b))
end
function code(x, y, z, t, a, b)
	return fma(Float64(y + Float64(t + -2.0)), b, Float64(x - fma(Float64(y + -1.0), z, Float64(a * Float64(t + -1.0)))))
end
code[x_, y_, z_, t_, a_, b_] := N[(N[(N[(x - N[(N[(y - 1.0), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision] - N[(N[(t - 1.0), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y + t), $MachinePrecision] - 2.0), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]
code[x_, y_, z_, t_, a_, b_] := N[(N[(y + N[(t + -2.0), $MachinePrecision]), $MachinePrecision] * b + N[(x - N[(N[(y + -1.0), $MachinePrecision] * z + N[(a * N[(t + -1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\left(\left(x - \left(y - 1\right) \cdot z\right) - \left(t - 1\right) \cdot a\right) + \left(\left(y + t\right) - 2\right) \cdot b
\mathsf{fma}\left(y + \left(t + -2\right), b, x - \mathsf{fma}\left(y + -1, z, a \cdot \left(t + -1\right)\right)\right)

Error?

Derivation?

  1. Initial program 100.0%

    \[\left(\left(x - \left(y - 1\right) \cdot z\right) - \left(t - 1\right) \cdot a\right) + \left(\left(y + t\right) - 2\right) \cdot b \]
  2. Simplified100.0%

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

    [Start]100.0

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

    +-commutative [=>]100.0

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

    fma-def [=>]100.0

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

    sub-neg [=>]100.0

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

    associate-+l+ [=>]100.0

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

    metadata-eval [=>]100.0

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

    sub-neg [=>]100.0

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

    associate-+l- [=>]100.0

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

    fma-neg [=>]100.0

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

    sub-neg [=>]100.0

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

    metadata-eval [=>]100.0

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

    remove-double-neg [=>]100.0

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

    remove-double-neg [<=]100.0

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

    remove-double-neg [=>]100.0

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

    sub-neg [=>]100.0

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

    metadata-eval [=>]100.0

    \[ \mathsf{fma}\left(y + \left(t + -2\right), b, x - \mathsf{fma}\left(y + -1, z, \left(t + \color{blue}{-1}\right) \cdot a\right)\right) \]
  3. Final simplification100.0%

    \[\leadsto \mathsf{fma}\left(y + \left(t + -2\right), b, x - \mathsf{fma}\left(y + -1, z, a \cdot \left(t + -1\right)\right)\right) \]

Alternatives

Alternative 1
Accuracy38.9%
Cost1904
\[\begin{array}{l} t_1 := x + t \cdot b\\ t_2 := a - t \cdot a\\ t_3 := b \cdot \left(t + -2\right)\\ \mathbf{if}\;b \leq -2.3 \cdot 10^{+181}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;b \leq -1.3 \cdot 10^{-57}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 8.2 \cdot 10^{-299}:\\ \;\;\;\;z \cdot \left(1 - y\right)\\ \mathbf{elif}\;b \leq 8.8 \cdot 10^{-256}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 3.1 \cdot 10^{-210}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 4.6 \cdot 10^{-183}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 9.6 \cdot 10^{-148}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 0.00019:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 1.35 \cdot 10^{+82}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 3.6 \cdot 10^{+104}:\\ \;\;\;\;z\\ \mathbf{elif}\;b \leq 3.9 \cdot 10^{+172}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 4.3 \cdot 10^{+218}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(y + -2\right)\\ \end{array} \]
Alternative 2
Accuracy44.4%
Cost1768
\[\begin{array}{l} t_1 := x + t \cdot b\\ t_2 := b \cdot \left(-2 + \left(y + t\right)\right)\\ t_3 := z \cdot \left(1 - y\right)\\ t_4 := a - t \cdot a\\ \mathbf{if}\;a \leq -8.6 \cdot 10^{+58}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;a \leq -2.3 \cdot 10^{-73}:\\ \;\;\;\;x - t \cdot a\\ \mathbf{elif}\;a \leq -3.3 \cdot 10^{-282}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq 1.12 \cdot 10^{-301}:\\ \;\;\;\;x - y \cdot z\\ \mathbf{elif}\;a \leq 3.4 \cdot 10^{-279}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 4.6 \cdot 10^{-234}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;a \leq 8.5 \cdot 10^{-223}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 3.8 \cdot 10^{-198}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;a \leq 2.5 \cdot 10^{-46}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;a \leq 2.8 \cdot 10^{+78}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_4\\ \end{array} \]
Alternative 3
Accuracy66.9%
Cost1628
\[\begin{array}{l} t_1 := x + b \cdot \left(-2 + \left(y + t\right)\right)\\ t_2 := x + a \cdot \left(1 - t\right)\\ \mathbf{if}\;z \leq -90000000000000:\\ \;\;\;\;x + \left(\left(z + a\right) - y \cdot z\right)\\ \mathbf{elif}\;z \leq -1.3 \cdot 10^{-15}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -3.5 \cdot 10^{-38}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -7.5 \cdot 10^{-86}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -1.6 \cdot 10^{-297}:\\ \;\;\;\;a + \left(x - b \cdot \left(2 - y\right)\right)\\ \mathbf{elif}\;z \leq 2.5 \cdot 10^{-196}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 1480:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;\left(x + t \cdot b\right) + z \cdot \left(1 - y\right)\\ \end{array} \]
Alternative 4
Accuracy42.9%
Cost1508
\[\begin{array}{l} t_1 := x + t \cdot b\\ t_2 := a - t \cdot a\\ t_3 := b \cdot \left(t + -2\right)\\ \mathbf{if}\;a \leq -1.5 \cdot 10^{+61}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq -8 \cdot 10^{-72}:\\ \;\;\;\;x - t \cdot a\\ \mathbf{elif}\;a \leq -3.4 \cdot 10^{-211}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq -5.3 \cdot 10^{-284}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;a \leq 2.2 \cdot 10^{-272}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 4.1 \cdot 10^{-235}:\\ \;\;\;\;z \cdot \left(1 - y\right)\\ \mathbf{elif}\;a \leq 3.2 \cdot 10^{-219}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 3.2 \cdot 10^{-47}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;a \leq 1.15 \cdot 10^{+80}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 5
Accuracy50.7%
Cost1504
\[\begin{array}{l} t_1 := x + a \cdot \left(1 - t\right)\\ t_2 := b \cdot \left(-2 + \left(y + t\right)\right)\\ \mathbf{if}\;z \leq -1.7 \cdot 10^{+62}:\\ \;\;\;\;z \cdot \left(1 - y\right)\\ \mathbf{elif}\;z \leq -12000:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -2.25 \cdot 10^{-13}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -2.3 \cdot 10^{-222}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -3 \cdot 10^{-263}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 4 \cdot 10^{-135}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 4.9 \cdot 10^{-12}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 5.8 \cdot 10^{+74}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;z + t \cdot b\\ \end{array} \]
Alternative 6
Accuracy100.0%
Cost1472
\[\left(x + z \cdot \left(1 - y\right)\right) + \left(\left(t \cdot b - b \cdot \left(2 - y\right)\right) + a \cdot \left(1 - t\right)\right) \]
Alternative 7
Accuracy20.8%
Cost1444
\[\begin{array}{l} t_1 := a \cdot \left(-t\right)\\ \mathbf{if}\;t \leq -3.6 \cdot 10^{+76}:\\ \;\;\;\;t \cdot b\\ \mathbf{elif}\;t \leq -1.88:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq -2.5 \cdot 10^{-161}:\\ \;\;\;\;-2 \cdot b\\ \mathbf{elif}\;t \leq -6.6 \cdot 10^{-248}:\\ \;\;\;\;z\\ \mathbf{elif}\;t \leq 1.8 \cdot 10^{-287}:\\ \;\;\;\;-2 \cdot b\\ \mathbf{elif}\;t \leq 1.65 \cdot 10^{-244}:\\ \;\;\;\;x\\ \mathbf{elif}\;t \leq 4.2 \cdot 10^{-36}:\\ \;\;\;\;z\\ \mathbf{elif}\;t \leq 1.18 \cdot 10^{+28}:\\ \;\;\;\;x\\ \mathbf{elif}\;t \leq 1.16 \cdot 10^{+94}:\\ \;\;\;\;t \cdot b\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 8
Accuracy38.9%
Cost1376
\[\begin{array}{l} t_1 := x + t \cdot b\\ \mathbf{if}\;b \leq -1 \cdot 10^{+181}:\\ \;\;\;\;b \cdot \left(t + -2\right)\\ \mathbf{elif}\;b \leq -1.9 \cdot 10^{-57}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 5 \cdot 10^{-300}:\\ \;\;\;\;z \cdot \left(1 - y\right)\\ \mathbf{elif}\;b \leq 2.6 \cdot 10^{-255}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 8.5 \cdot 10^{-211}:\\ \;\;\;\;a \cdot \left(-t\right)\\ \mathbf{elif}\;b \leq 5 \cdot 10^{-5}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 3.1 \cdot 10^{+81}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 5 \cdot 10^{+183}:\\ \;\;\;\;x + z\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(y + -2\right)\\ \end{array} \]
Alternative 9
Accuracy70.2%
Cost1369
\[\begin{array}{l} t_1 := x + \left(\left(z + a\right) - y \cdot z\right)\\ t_2 := x + b \cdot \left(-2 + \left(y + t\right)\right)\\ \mathbf{if}\;b \leq -9 \cdot 10^{-29}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 7 \cdot 10^{-259}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 7.8 \cdot 10^{-215}:\\ \;\;\;\;x + a \cdot \left(1 - t\right)\\ \mathbf{elif}\;b \leq 7.4 \cdot 10^{-6} \lor \neg \left(b \leq 2.6 \cdot 10^{+82}\right) \land b \leq 5 \cdot 10^{+183}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 10
Accuracy70.6%
Cost1368
\[\begin{array}{l} t_1 := x + \left(z + \left(a - t \cdot a\right)\right)\\ t_2 := x + b \cdot \left(-2 + \left(y + t\right)\right)\\ \mathbf{if}\;b \leq -6 \cdot 10^{-29}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 2.3 \cdot 10^{-151}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 2.1 \cdot 10^{-11}:\\ \;\;\;\;x + \left(\left(z + a\right) - y \cdot z\right)\\ \mathbf{elif}\;b \leq 5.1 \cdot 10^{+44}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 3.5 \cdot 10^{+81}:\\ \;\;\;\;\left(x + t \cdot b\right) + z \cdot \left(1 - y\right)\\ \mathbf{elif}\;b \leq 5 \cdot 10^{+183}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 11
Accuracy70.6%
Cost1368
\[\begin{array}{l} t_1 := x + \left(z + \left(a - t \cdot a\right)\right)\\ t_2 := x + b \cdot \left(-2 + \left(y + t\right)\right)\\ \mathbf{if}\;b \leq -1.4 \cdot 10^{-29}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 1.3 \cdot 10^{-149}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 3.5 \cdot 10^{-11}:\\ \;\;\;\;x + \left(\left(z + a\right) - y \cdot z\right)\\ \mathbf{elif}\;b \leq 9 \cdot 10^{+42}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 1.8 \cdot 10^{+82}:\\ \;\;\;\;z + \left(x + b \cdot \left(t + -2\right)\right)\\ \mathbf{elif}\;b \leq 5 \cdot 10^{+183}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 12
Accuracy79.5%
Cost1362
\[\begin{array}{l} \mathbf{if}\;b \leq -9.4 \cdot 10^{-29} \lor \neg \left(b \leq 8 \cdot 10^{-15}\right) \land \left(b \leq 2.4 \cdot 10^{+82} \lor \neg \left(b \leq 5 \cdot 10^{+183}\right)\right):\\ \;\;\;\;x + b \cdot \left(-2 + \left(y + t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x + \left(z \cdot \left(1 - y\right) + a \cdot \left(1 - t\right)\right)\\ \end{array} \]
Alternative 13
Accuracy87.2%
Cost1357
\[\begin{array}{l} t_1 := a \cdot \left(1 - t\right)\\ t_2 := z \cdot \left(1 - y\right)\\ t_3 := x + b \cdot \left(-2 + \left(y + t\right)\right)\\ \mathbf{if}\;a \leq -2.1 \cdot 10^{+106}:\\ \;\;\;\;x + \left(t_2 + t_1\right)\\ \mathbf{elif}\;a \leq -1.35 \cdot 10^{-62} \lor \neg \left(a \leq 1.35 \cdot 10^{-45}\right):\\ \;\;\;\;t_3 + t_1\\ \mathbf{else}:\\ \;\;\;\;t_3 + t_2\\ \end{array} \]
Alternative 14
Accuracy100.0%
Cost1344
\[\left(\left(x + z \cdot \left(1 - y\right)\right) + a \cdot \left(1 - t\right)\right) + b \cdot \left(-2 + \left(y + t\right)\right) \]
Alternative 15
Accuracy70.9%
Cost1237
\[\begin{array}{l} t_1 := x + \left(z + \left(a - t \cdot a\right)\right)\\ t_2 := x + b \cdot \left(-2 + \left(y + t\right)\right)\\ \mathbf{if}\;b \leq -5.5 \cdot 10^{-29}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 1.65 \cdot 10^{-149}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 2.9 \cdot 10^{-15}:\\ \;\;\;\;x + \left(\left(z + a\right) - y \cdot z\right)\\ \mathbf{elif}\;b \leq 2.35 \cdot 10^{+82} \lor \neg \left(b \leq 5 \cdot 10^{+183}\right):\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 16
Accuracy87.1%
Cost1225
\[\begin{array}{l} t_1 := z \cdot \left(1 - y\right)\\ \mathbf{if}\;a \leq -1.4 \cdot 10^{+113} \lor \neg \left(a \leq 1.16 \cdot 10^{+79}\right):\\ \;\;\;\;x + \left(t_1 + a \cdot \left(1 - t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(x + b \cdot \left(-2 + \left(y + t\right)\right)\right) + t_1\\ \end{array} \]
Alternative 17
Accuracy28.4%
Cost1120
\[\begin{array}{l} \mathbf{if}\;x \leq -1.35 \cdot 10^{+157}:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq -1 \cdot 10^{+41}:\\ \;\;\;\;-2 \cdot b\\ \mathbf{elif}\;x \leq -2.45 \cdot 10^{+29}:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq -7 \cdot 10^{-304}:\\ \;\;\;\;z\\ \mathbf{elif}\;x \leq 2.25 \cdot 10^{-163}:\\ \;\;\;\;t \cdot b\\ \mathbf{elif}\;x \leq 4.1 \cdot 10^{-94}:\\ \;\;\;\;y \cdot b\\ \mathbf{elif}\;x \leq 2.6 \cdot 10^{-43}:\\ \;\;\;\;t \cdot b\\ \mathbf{elif}\;x \leq 3.1 \cdot 10^{+34}:\\ \;\;\;\;z\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]
Alternative 18
Accuracy39.5%
Cost1113
\[\begin{array}{l} t_1 := b \cdot \left(t + -2\right)\\ \mathbf{if}\;b \leq -1.4 \cdot 10^{-10}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 2.6 \cdot 10^{-255}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 8.5 \cdot 10^{-211}:\\ \;\;\;\;a \cdot \left(-t\right)\\ \mathbf{elif}\;b \leq 2.05 \cdot 10^{-61} \lor \neg \left(b \leq 8.5 \cdot 10^{+81}\right) \land b \leq 4.5 \cdot 10^{+110}:\\ \;\;\;\;x + z\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 19
Accuracy57.1%
Cost1108
\[\begin{array}{l} t_1 := x + \left(z - y \cdot z\right)\\ t_2 := x + a \cdot \left(1 - t\right)\\ t_3 := b \cdot \left(-2 + \left(y + t\right)\right)\\ \mathbf{if}\;a \leq -2.6 \cdot 10^{-62}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq -1.65 \cdot 10^{-202}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq -6.5 \cdot 10^{-242}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;a \leq 8.6 \cdot 10^{-47}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 2.8 \cdot 10^{+78}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 20
Accuracy57.0%
Cost1108
\[\begin{array}{l} t_1 := x + a \cdot \left(1 - t\right)\\ t_2 := b \cdot \left(-2 + \left(y + t\right)\right)\\ \mathbf{if}\;a \leq -5.5 \cdot 10^{-72}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq -1.6 \cdot 10^{-202}:\\ \;\;\;\;z + \left(x + t \cdot b\right)\\ \mathbf{elif}\;a \leq -1.1 \cdot 10^{-241}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq 7 \cdot 10^{-47}:\\ \;\;\;\;x + \left(z - y \cdot z\right)\\ \mathbf{elif}\;a \leq 8 \cdot 10^{+77}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 21
Accuracy57.0%
Cost1108
\[\begin{array}{l} t_1 := x + a \cdot \left(1 - t\right)\\ \mathbf{if}\;a \leq -8 \cdot 10^{-72}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq -1.7 \cdot 10^{-202}:\\ \;\;\;\;z + \left(x + t \cdot b\right)\\ \mathbf{elif}\;a \leq -1.35 \cdot 10^{-241}:\\ \;\;\;\;b \cdot \left(y + t\right) + -2 \cdot b\\ \mathbf{elif}\;a \leq 1.32 \cdot 10^{-48}:\\ \;\;\;\;x + \left(z - y \cdot z\right)\\ \mathbf{elif}\;a \leq 8 \cdot 10^{+77}:\\ \;\;\;\;b \cdot \left(-2 + \left(y + t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 22
Accuracy61.6%
Cost1104
\[\begin{array}{l} t_1 := x + b \cdot \left(-2 + \left(y + t\right)\right)\\ t_2 := x + a \cdot \left(1 - t\right)\\ \mathbf{if}\;a \leq -9.8 \cdot 10^{+104}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq 6.6 \cdot 10^{-266}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 8.5 \cdot 10^{-47}:\\ \;\;\;\;x + \left(z - y \cdot z\right)\\ \mathbf{elif}\;a \leq 2.15 \cdot 10^{+80}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 23
Accuracy32.7%
Cost1048
\[\begin{array}{l} \mathbf{if}\;t \leq -9 \cdot 10^{+70}:\\ \;\;\;\;t \cdot b\\ \mathbf{elif}\;t \leq -5.6 \cdot 10^{-24}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;t \leq -6.3 \cdot 10^{-77}:\\ \;\;\;\;-2 \cdot b\\ \mathbf{elif}\;t \leq -6.5 \cdot 10^{-252}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;t \leq 6.1 \cdot 10^{-288}:\\ \;\;\;\;-2 \cdot b\\ \mathbf{elif}\;t \leq 9 \cdot 10^{+42}:\\ \;\;\;\;x + z\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(-t\right)\\ \end{array} \]
Alternative 24
Accuracy25.6%
Cost984
\[\begin{array}{l} \mathbf{if}\;b \leq -8 \cdot 10^{+182}:\\ \;\;\;\;-2 \cdot b\\ \mathbf{elif}\;b \leq -6.5 \cdot 10^{-11}:\\ \;\;\;\;t \cdot b\\ \mathbf{elif}\;b \leq -3.8 \cdot 10^{-111}:\\ \;\;\;\;x\\ \mathbf{elif}\;b \leq -3.65 \cdot 10^{-308}:\\ \;\;\;\;z\\ \mathbf{elif}\;b \leq 3.5 \cdot 10^{-52}:\\ \;\;\;\;x\\ \mathbf{elif}\;b \leq 6.5 \cdot 10^{+178}:\\ \;\;\;\;t \cdot b\\ \mathbf{else}:\\ \;\;\;\;-2 \cdot b\\ \end{array} \]
Alternative 25
Accuracy43.4%
Cost980
\[\begin{array}{l} t_1 := y \cdot \left(b - z\right)\\ \mathbf{if}\;y \leq -1.15 \cdot 10^{+67}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq -3.15 \cdot 10^{-21}:\\ \;\;\;\;t \cdot \left(b - a\right)\\ \mathbf{elif}\;y \leq 1.65 \cdot 10^{-236}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;y \leq 7.5 \cdot 10^{-126}:\\ \;\;\;\;b \cdot \left(t + -2\right)\\ \mathbf{elif}\;y \leq 9.6 \cdot 10^{+25}:\\ \;\;\;\;x + z\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 26
Accuracy41.4%
Cost848
\[\begin{array}{l} t_1 := t \cdot \left(b - a\right)\\ \mathbf{if}\;t \leq -1.4 \cdot 10^{+34}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq -1.35 \cdot 10^{-246}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;t \leq 6.1 \cdot 10^{-288}:\\ \;\;\;\;-2 \cdot b\\ \mathbf{elif}\;t \leq 4 \cdot 10^{+35}:\\ \;\;\;\;x + z\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 27
Accuracy29.9%
Cost592
\[\begin{array}{l} \mathbf{if}\;x \leq -2.05 \cdot 10^{+157}:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq -3.05 \cdot 10^{+44}:\\ \;\;\;\;-2 \cdot b\\ \mathbf{elif}\;x \leq -3.5 \cdot 10^{+26}:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq 4.05 \cdot 10^{+33}:\\ \;\;\;\;z\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]
Alternative 28
Accuracy30.6%
Cost328
\[\begin{array}{l} \mathbf{if}\;z \leq -1.58 \cdot 10^{+32}:\\ \;\;\;\;z\\ \mathbf{elif}\;z \leq 5.4 \cdot 10^{+60}:\\ \;\;\;\;x\\ \mathbf{else}:\\ \;\;\;\;z\\ \end{array} \]
Alternative 29
Accuracy23.0%
Cost64
\[x \]

Error

Reproduce?

herbie shell --seed 2023138 
(FPCore (x y z t a b)
  :name "Statistics.Distribution.Beta:$centropy from math-functions-0.1.5.2"
  :precision binary64
  (+ (- (- x (* (- y 1.0) z)) (* (- t 1.0) a)) (* (- (+ y t) 2.0) b)))