?

Average Accuracy: 100.0% → 100.0%
Time: 27.2s
Precision: binary64
Cost: 20160

?

\[\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, \mathsf{fma}\left(a, 1 - t, \mathsf{fma}\left(z, 1 - y, x\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 (fma a (- 1.0 t) (fma z (- 1.0 y) x))))
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, fma(a, (1.0 - t), fma(z, (1.0 - y), x)));
}
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, fma(a, Float64(1.0 - t), fma(z, Float64(1.0 - y), x)))
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[(a * N[(1.0 - t), $MachinePrecision] + N[(z * N[(1.0 - y), $MachinePrecision] + x), $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, \mathsf{fma}\left(a, 1 - t, \mathsf{fma}\left(z, 1 - y, x\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, \mathsf{fma}\left(a, 1 - t, \mathsf{fma}\left(z, 1 - y, x\right)\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) \]

    cancel-sign-sub-inv [=>]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)\right) \cdot a}\right) \]

    +-commutative [=>]100.0

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

    *-commutative [=>]100.0

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

    fma-def [=>]100.0

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

    neg-sub0 [=>]100.0

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

    associate--r- [=>]100.0

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

    neg-sub0 [<=]100.0

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

    +-commutative [=>]100.0

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

    sub-neg [<=]100.0

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

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

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

    +-commutative [=>]100.0

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

    *-commutative [=>]100.0

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

    fma-def [=>]100.0

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

    neg-sub0 [=>]100.0

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

    associate--r- [=>]100.0

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

    neg-sub0 [<=]100.0

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

    +-commutative [=>]100.0

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

    sub-neg [<=]100.0

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

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

Alternatives

Alternative 1
Accuracy100.0%
Cost13888
\[\mathsf{fma}\left(y + \left(t + -2\right), b, x - \mathsf{fma}\left(y + -1, z, a \cdot \left(t + -1\right)\right)\right) \]
Alternative 2
Accuracy45.7%
Cost1905
\[\begin{array}{l} t_1 := x - t \cdot a\\ t_2 := y \cdot \left(b - z\right)\\ t_3 := a \cdot \left(1 - t\right)\\ \mathbf{if}\;y \leq -3950:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq 1.15 \cdot 10^{-212}:\\ \;\;\;\;z + x\\ \mathbf{elif}\;y \leq 4.9 \cdot 10^{-161}:\\ \;\;\;\;a - t \cdot a\\ \mathbf{elif}\;y \leq 1.6 \cdot 10^{-101}:\\ \;\;\;\;z + x\\ \mathbf{elif}\;y \leq 1.15 \cdot 10^{-45}:\\ \;\;\;\;t \cdot \left(b - a\right)\\ \mathbf{elif}\;y \leq 4.5 \cdot 10^{-7}:\\ \;\;\;\;z + x\\ \mathbf{elif}\;y \leq 2.2 \cdot 10^{+25}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 4.8 \cdot 10^{+41}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq 3.1 \cdot 10^{+152}:\\ \;\;\;\;x - y \cdot z\\ \mathbf{elif}\;y \leq 3.45 \cdot 10^{+158}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq 1.05 \cdot 10^{+167} \lor \neg \left(y \leq 1.7 \cdot 10^{+177}\right):\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 3
Accuracy88.0%
Cost1753
\[\begin{array}{l} t_1 := a \cdot \left(1 - t\right)\\ t_2 := x + b \cdot \left(-2 + \left(y + t\right)\right)\\ t_3 := t_2 + t_1\\ t_4 := t_2 + z \cdot \left(1 - y\right)\\ \mathbf{if}\;b \leq -8.8 \cdot 10^{+98}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;b \leq -5 \cdot 10^{+44}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;b \leq -1.02 \cdot 10^{-76}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;b \leq 3.6 \cdot 10^{-21}:\\ \;\;\;\;x + \left(t_1 - z \cdot \left(y + -1\right)\right)\\ \mathbf{elif}\;b \leq 1.85 \cdot 10^{+155} \lor \neg \left(b \leq 9 \cdot 10^{+191}\right):\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 4
Accuracy88.0%
Cost1753
\[\begin{array}{l} t_1 := a \cdot \left(1 - t\right)\\ t_2 := x + b \cdot \left(-2 + \left(y + t\right)\right)\\ t_3 := t_2 + t_1\\ t_4 := t_2 + z \cdot \left(1 - y\right)\\ \mathbf{if}\;b \leq -7.5 \cdot 10^{+98}:\\ \;\;\;\;\left(\left(x - b \cdot \left(2 - t\right)\right) + y \cdot b\right) + t_1\\ \mathbf{elif}\;b \leq -1.45 \cdot 10^{+45}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;b \leq -8.8 \cdot 10^{-76}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;b \leq 8.2 \cdot 10^{-26}:\\ \;\;\;\;x + \left(t_1 - z \cdot \left(y + -1\right)\right)\\ \mathbf{elif}\;b \leq 6.3 \cdot 10^{+153} \lor \neg \left(b \leq 9 \cdot 10^{+191}\right):\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 5
Accuracy44.3%
Cost1640
\[\begin{array}{l} t_1 := x - y \cdot z\\ t_2 := a \cdot \left(1 - t\right)\\ \mathbf{if}\;a \leq -9 \cdot 10^{+111}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq -1.4 \cdot 10^{-51}:\\ \;\;\;\;x - t \cdot a\\ \mathbf{elif}\;a \leq 5.8 \cdot 10^{-240}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 1.5 \cdot 10^{-206}:\\ \;\;\;\;z - y \cdot z\\ \mathbf{elif}\;a \leq 1.05 \cdot 10^{-134}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 1.14 \cdot 10^{-32}:\\ \;\;\;\;x + t \cdot b\\ \mathbf{elif}\;a \leq 4500000000:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 7.2 \cdot 10^{+58}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq 1.22 \cdot 10^{+82}:\\ \;\;\;\;t \cdot \left(b - a\right)\\ \mathbf{elif}\;a \leq 3.8 \cdot 10^{+124}:\\ \;\;\;\;y \cdot \left(b - z\right)\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 6
Accuracy44.5%
Cost1508
\[\begin{array}{l} t_1 := x - y \cdot z\\ t_2 := b \cdot \left(-2 + \left(y + t\right)\right)\\ t_3 := a \cdot \left(1 - t\right)\\ \mathbf{if}\;a \leq -1.35 \cdot 10^{+109}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;a \leq -3.4 \cdot 10^{-101}:\\ \;\;\;\;x - t \cdot a\\ \mathbf{elif}\;a \leq -2.1 \cdot 10^{-147}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq -1.28 \cdot 10^{-169}:\\ \;\;\;\;z + x\\ \mathbf{elif}\;a \leq 1.8 \cdot 10^{-240}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 4.5 \cdot 10^{-207}:\\ \;\;\;\;z - y \cdot z\\ \mathbf{elif}\;a \leq 2.1 \cdot 10^{-147}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 1.8 \cdot 10^{-16}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq 13500000:\\ \;\;\;\;z + x\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 7
Accuracy45.6%
Cost1504
\[\begin{array}{l} t_1 := x + t \cdot \left(b - a\right)\\ t_2 := b \cdot \left(-2 + \left(y + t\right)\right)\\ t_3 := x - y \cdot z\\ \mathbf{if}\;b \leq -3.4 \cdot 10^{+40}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq -2.2 \cdot 10^{-152}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq -2.5 \cdot 10^{-221}:\\ \;\;\;\;a \cdot \left(1 - t\right)\\ \mathbf{elif}\;b \leq -1.2 \cdot 10^{-227}:\\ \;\;\;\;x\\ \mathbf{elif}\;b \leq -4.8 \cdot 10^{-266}:\\ \;\;\;\;z - y \cdot z\\ \mathbf{elif}\;b \leq 8.5 \cdot 10^{-158}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;b \leq 2.6 \cdot 10^{-15}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 5 \cdot 10^{+135}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 8
Accuracy39.7%
Cost1376
\[\begin{array}{l} t_1 := y \cdot \left(-z\right)\\ t_2 := t \cdot \left(b - a\right)\\ \mathbf{if}\;t \leq -7200000000:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -9 \cdot 10^{-156}:\\ \;\;\;\;z + x\\ \mathbf{elif}\;t \leq -4.8 \cdot 10^{-207}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 3.5 \cdot 10^{-256}:\\ \;\;\;\;z + x\\ \mathbf{elif}\;t \leq 4.4 \cdot 10^{-211}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 1.75 \cdot 10^{-178}:\\ \;\;\;\;z + x\\ \mathbf{elif}\;t \leq 9.6 \cdot 10^{-75}:\\ \;\;\;\;a\\ \mathbf{elif}\;t \leq 85000000000:\\ \;\;\;\;z + x\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 9
Accuracy40.8%
Cost1376
\[\begin{array}{l} t_1 := y \cdot \left(b - z\right)\\ t_2 := t \cdot \left(b - a\right)\\ \mathbf{if}\;t \leq -2900000000:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -9.5 \cdot 10^{-156}:\\ \;\;\;\;z + x\\ \mathbf{elif}\;t \leq -1.75 \cdot 10^{-207}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 3.5 \cdot 10^{-256}:\\ \;\;\;\;z + x\\ \mathbf{elif}\;t \leq 4.4 \cdot 10^{-211}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 1.8 \cdot 10^{-178}:\\ \;\;\;\;z + x\\ \mathbf{elif}\;t \leq 3.1 \cdot 10^{-77}:\\ \;\;\;\;a\\ \mathbf{elif}\;t \leq 1900000000:\\ \;\;\;\;z + x\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 10
Accuracy81.0%
Cost1362
\[\begin{array}{l} \mathbf{if}\;b \leq -3.8 \cdot 10^{+195} \lor \neg \left(b \leq -6 \cdot 10^{+93}\right) \land \left(b \leq -8.5 \cdot 10^{+68} \lor \neg \left(b \leq 5 \cdot 10^{+72}\right)\right):\\ \;\;\;\;\left(x - b \cdot \left(2 - t\right)\right) + y \cdot b\\ \mathbf{else}:\\ \;\;\;\;x + \left(a \cdot \left(1 - t\right) - z \cdot \left(y + -1\right)\right)\\ \end{array} \]
Alternative 11
Accuracy86.4%
Cost1361
\[\begin{array}{l} t_1 := b \cdot \left(-2 + \left(y + t\right)\right)\\ t_2 := a \cdot \left(1 - t\right)\\ t_3 := x + \left(t_2 - z \cdot \left(y + -1\right)\right)\\ \mathbf{if}\;a \leq -3.2 \cdot 10^{-22}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;a \leq 2.85 \cdot 10^{-11}:\\ \;\;\;\;\left(x + t_1\right) + z \cdot \left(1 - y\right)\\ \mathbf{elif}\;a \leq 1.35 \cdot 10^{+39} \lor \neg \left(a \leq 4.1 \cdot 10^{+122}\right):\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t_1 + t_2\\ \end{array} \]
Alternative 12
Accuracy81.9%
Cost1360
\[\begin{array}{l} t_1 := a \cdot \left(1 - t\right)\\ t_2 := b \cdot \left(-2 + \left(y + t\right)\right) + t_1\\ t_3 := z \cdot \left(y + -1\right)\\ \mathbf{if}\;b \leq -4 \cdot 10^{+98}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq -3.5 \cdot 10^{+18}:\\ \;\;\;\;\left(x - t_3\right) + y \cdot b\\ \mathbf{elif}\;b \leq -8.5 \cdot 10^{-5}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 5.2 \cdot 10^{+71}:\\ \;\;\;\;x + \left(t_1 - t_3\right)\\ \mathbf{else}:\\ \;\;\;\;\left(x - b \cdot \left(2 - t\right)\right) + y \cdot b\\ \end{array} \]
Alternative 13
Accuracy100.0%
Cost1344
\[\left(\left(x - z \cdot \left(y + -1\right)\right) + a \cdot \left(1 - t\right)\right) + b \cdot \left(-2 + \left(y + t\right)\right) \]
Alternative 14
Accuracy25.4%
Cost1312
\[\begin{array}{l} t_1 := y \cdot \left(-z\right)\\ t_2 := t \cdot \left(-a\right)\\ \mathbf{if}\;t \leq -4 \cdot 10^{+20}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -2.75 \cdot 10^{-154}:\\ \;\;\;\;x\\ \mathbf{elif}\;t \leq -1.25 \cdot 10^{-207}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 1.65 \cdot 10^{-281}:\\ \;\;\;\;x\\ \mathbf{elif}\;t \leq 8.5 \cdot 10^{-211}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 7.5 \cdot 10^{-179}:\\ \;\;\;\;x\\ \mathbf{elif}\;t \leq 1.02 \cdot 10^{-73}:\\ \;\;\;\;a\\ \mathbf{elif}\;t \leq 15500000000:\\ \;\;\;\;x\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 15
Accuracy33.2%
Cost1180
\[\begin{array}{l} t_1 := y \cdot \left(-z\right)\\ \mathbf{if}\;t \leq -8.5 \cdot 10^{-156}:\\ \;\;\;\;z + x\\ \mathbf{elif}\;t \leq -4.8 \cdot 10^{-207}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 3 \cdot 10^{-256}:\\ \;\;\;\;z + x\\ \mathbf{elif}\;t \leq 4.4 \cdot 10^{-211}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 1.85 \cdot 10^{-178}:\\ \;\;\;\;z + x\\ \mathbf{elif}\;t \leq 1.3 \cdot 10^{-77}:\\ \;\;\;\;a\\ \mathbf{elif}\;t \leq 400000000000:\\ \;\;\;\;z + x\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(-a\right)\\ \end{array} \]
Alternative 16
Accuracy53.6%
Cost1108
\[\begin{array}{l} t_1 := x + \left(a - t \cdot a\right)\\ t_2 := x + t \cdot \left(b - a\right)\\ \mathbf{if}\;t \leq -580000000:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -1.58 \cdot 10^{-152}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq -4.6 \cdot 10^{-207}:\\ \;\;\;\;z - y \cdot z\\ \mathbf{elif}\;t \leq 1.55 \cdot 10^{-251}:\\ \;\;\;\;z + x\\ \mathbf{elif}\;t \leq 28000000000000:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 17
Accuracy61.5%
Cost1104
\[\begin{array}{l} t_1 := x + \left(a - t \cdot a\right)\\ t_2 := x + \left(z + t \cdot \left(b - a\right)\right)\\ \mathbf{if}\;t \leq -41000:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -5 \cdot 10^{-143}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 9.2 \cdot 10^{-189}:\\ \;\;\;\;x + \left(z - y \cdot z\right)\\ \mathbf{elif}\;t \leq 24000000000000:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 18
Accuracy57.0%
Cost976
\[\begin{array}{l} t_1 := x + \left(a - t \cdot a\right)\\ t_2 := x + t \cdot \left(b - a\right)\\ \mathbf{if}\;t \leq -250000000:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -5 \cdot 10^{-144}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 3 \cdot 10^{-189}:\\ \;\;\;\;x + \left(z - y \cdot z\right)\\ \mathbf{elif}\;t \leq 26000000000000:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 19
Accuracy76.3%
Cost841
\[\begin{array}{l} \mathbf{if}\;t \leq -21000000 \lor \neg \left(t \leq 0.0039\right):\\ \;\;\;\;x + \left(z + t \cdot \left(b - a\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x + \left(a + \left(z - y \cdot z\right)\right)\\ \end{array} \]
Alternative 20
Accuracy30.6%
Cost592
\[\begin{array}{l} \mathbf{if}\;x \leq -3.4 \cdot 10^{-22}:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq -8.7 \cdot 10^{-221}:\\ \;\;\;\;a\\ \mathbf{elif}\;x \leq 8.6 \cdot 10^{-299}:\\ \;\;\;\;t \cdot b\\ \mathbf{elif}\;x \leq 2.15 \cdot 10^{+23}:\\ \;\;\;\;a\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]
Alternative 21
Accuracy30.1%
Cost592
\[\begin{array}{l} \mathbf{if}\;x \leq -1.45 \cdot 10^{-11}:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq -3.7 \cdot 10^{-270}:\\ \;\;\;\;t \cdot \left(-a\right)\\ \mathbf{elif}\;x \leq 1.5 \cdot 10^{-304}:\\ \;\;\;\;t \cdot b\\ \mathbf{elif}\;x \leq 8.2 \cdot 10^{+27}:\\ \;\;\;\;a\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]
Alternative 22
Accuracy47.8%
Cost585
\[\begin{array}{l} \mathbf{if}\;a \leq -5 \cdot 10^{+48} \lor \neg \left(a \leq 5300000000\right):\\ \;\;\;\;a \cdot \left(1 - t\right)\\ \mathbf{else}:\\ \;\;\;\;z + x\\ \end{array} \]
Alternative 23
Accuracy31.0%
Cost328
\[\begin{array}{l} \mathbf{if}\;a \leq -2.3 \cdot 10^{+112}:\\ \;\;\;\;a\\ \mathbf{elif}\;a \leq 3.65 \cdot 10^{+25}:\\ \;\;\;\;x\\ \mathbf{else}:\\ \;\;\;\;a\\ \end{array} \]
Alternative 24
Accuracy15.9%
Cost64
\[a \]

Error

Reproduce?

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