?

Average Accuracy: 100.0% → 100.0%
Time: 41.2s
Precision: binary64
Cost: 1472

?

\[\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 \]
\[\left(\left(x + \left(z \cdot \left(1 - y\right) + a \cdot \left(1 - t\right)\right)\right) + y \cdot b\right) + b \cdot \left(t + -2\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
 (+ (+ (+ x (+ (* z (- 1.0 y)) (* a (- 1.0 t)))) (* y b)) (* b (+ t -2.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 ((x + ((z * (1.0 - y)) + (a * (1.0 - t)))) + (y * b)) + (b * (t + -2.0));
}
real(8) function code(x, y, z, t, a, b)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    code = ((x - ((y - 1.0d0) * z)) - ((t - 1.0d0) * a)) + (((y + t) - 2.0d0) * b)
end function
real(8) function code(x, y, z, t, a, b)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    code = ((x + ((z * (1.0d0 - y)) + (a * (1.0d0 - t)))) + (y * b)) + (b * (t + (-2.0d0)))
end function
public static 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);
}
public static double code(double x, double y, double z, double t, double a, double b) {
	return ((x + ((z * (1.0 - y)) + (a * (1.0 - t)))) + (y * b)) + (b * (t + -2.0));
}
def code(x, y, z, t, a, b):
	return ((x - ((y - 1.0) * z)) - ((t - 1.0) * a)) + (((y + t) - 2.0) * b)
def code(x, y, z, t, a, b):
	return ((x + ((z * (1.0 - y)) + (a * (1.0 - t)))) + (y * b)) + (b * (t + -2.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 Float64(Float64(Float64(x + Float64(Float64(z * Float64(1.0 - y)) + Float64(a * Float64(1.0 - t)))) + Float64(y * b)) + Float64(b * Float64(t + -2.0)))
end
function tmp = code(x, y, z, t, a, b)
	tmp = ((x - ((y - 1.0) * z)) - ((t - 1.0) * a)) + (((y + t) - 2.0) * b);
end
function tmp = code(x, y, z, t, a, b)
	tmp = ((x + ((z * (1.0 - y)) + (a * (1.0 - t)))) + (y * b)) + (b * (t + -2.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[(N[(x + N[(N[(z * N[(1.0 - y), $MachinePrecision]), $MachinePrecision] + N[(a * N[(1.0 - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y * b), $MachinePrecision]), $MachinePrecision] + N[(b * N[(t + -2.0), $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
\left(\left(x + \left(z \cdot \left(1 - y\right) + a \cdot \left(1 - t\right)\right)\right) + y \cdot b\right) + b \cdot \left(t + -2\right)

Error?

Try it out?

Your Program's Arguments

Results

Enter valid numbers for all inputs

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}{\left(x - \left(y + -1\right) \cdot z\right) - \left(\left(t + -1\right) \cdot a - \left(y + \left(t - 2\right)\right) \cdot b\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 \]

    associate-+l- [=>]100.0

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

    sub-neg [=>]100.0

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

    neg-sub0 [=>]100.0

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

    associate-+r- [=>]100.0

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

    +-rgt-identity [=>]100.0

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

    sub-neg [=>]100.0

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

    metadata-eval [=>]100.0

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

    sub-neg [=>]100.0

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

    neg-mul-1 [=>]100.0

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

    metadata-eval [<=]100.0

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

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

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

    sub-neg [=>]100.0

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

    metadata-eval [=>]100.0

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

    *-lft-identity [=>]100.0

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

    associate--l+ [=>]100.0

    \[ \left(x - \left(y + -1\right) \cdot z\right) - \left(\left(t + -1\right) \cdot a - \color{blue}{\left(y + \left(t - 2\right)\right)} \cdot b\right) \]
  3. Applied egg-rr100.0%

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

    [Start]100.0

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

    associate--r- [=>]100.0

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

    *-commutative [=>]100.0

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

    distribute-rgt-in [=>]100.0

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

    associate-+r+ [=>]100.0

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

    associate--l- [=>]100.0

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

    +-commutative [=>]100.0

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

    sub-neg [=>]100.0

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

    metadata-eval [=>]100.0

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

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

Alternatives

Alternative 1
Accuracy46.7%
Cost2428
\[\begin{array}{l} t_1 := z \cdot \left(1 - y\right)\\ t_2 := b \cdot \left(-2 + \left(t + y\right)\right)\\ t_3 := a + \left(z - t \cdot a\right)\\ \mathbf{if}\;x \leq -1.35 \cdot 10^{+134}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;x \leq -6 \cdot 10^{-16}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -6.2 \cdot 10^{-89}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -9 \cdot 10^{-119}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -2 \cdot 10^{-155}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq -2.9 \cdot 10^{-205}:\\ \;\;\;\;a - t \cdot a\\ \mathbf{elif}\;x \leq -5.8 \cdot 10^{-307}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 2.6 \cdot 10^{-290}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 6.5 \cdot 10^{-247}:\\ \;\;\;\;a + y \cdot \left(b - z\right)\\ \mathbf{elif}\;x \leq 1.75 \cdot 10^{-209}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 7 \cdot 10^{-200}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq 9.5 \cdot 10^{-144}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 2.5 \cdot 10^{-106}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq 8.5 \cdot 10^{-70}:\\ \;\;\;\;b \cdot \left(t + -2\right)\\ \mathbf{elif}\;x \leq 3.8 \cdot 10^{+153}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;x + a\\ \end{array} \]
Alternative 2
Accuracy44.7%
Cost2169
\[\begin{array}{l} t_1 := a + b \cdot \left(y - 2\right)\\ t_2 := z \cdot \left(1 - y\right)\\ t_3 := t \cdot \left(b - a\right)\\ t_4 := a + y \cdot \left(b - z\right)\\ \mathbf{if}\;z \leq -2.15 \cdot 10^{+182}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -1.5 \cdot 10^{+158}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq -4.5 \cdot 10^{+55}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -3.1 \cdot 10^{-13}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;z \leq -5.8 \cdot 10^{-86}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq -7.5 \cdot 10^{-285}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 1.8 \cdot 10^{-261}:\\ \;\;\;\;b \cdot \left(-2 + \left(t + y\right)\right)\\ \mathbf{elif}\;z \leq 1.9 \cdot 10^{-202}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 8 \cdot 10^{-114}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 5.8 \cdot 10^{+18}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;z \leq 1.85 \cdot 10^{+60}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq 5 \cdot 10^{+76}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;z \leq 9 \cdot 10^{+144} \lor \neg \left(z \leq 2.4 \cdot 10^{+151}\right):\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(1 - t\right)\\ \end{array} \]
Alternative 3
Accuracy45.3%
Cost2037
\[\begin{array}{l} t_1 := a + y \cdot \left(b - z\right)\\ t_2 := b \cdot \left(-2 + \left(t + y\right)\right)\\ t_3 := z \cdot \left(1 - y\right)\\ t_4 := a \cdot \left(1 - t\right)\\ \mathbf{if}\;z \leq -1.5 \cdot 10^{+182}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq -2.05 \cdot 10^{+158}:\\ \;\;\;\;t \cdot \left(b - a\right)\\ \mathbf{elif}\;z \leq -1.45 \cdot 10^{+56}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq -4.7 \cdot 10^{-13}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;z \leq -5.4 \cdot 10^{-86}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -1.35 \cdot 10^{-221}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -1.52 \cdot 10^{-266}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq 5 \cdot 10^{-261}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 5.3 \cdot 10^{+18}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;z \leq 1.65 \cdot 10^{+62}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 1.15 \cdot 10^{+69}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;z \leq 8.5 \cdot 10^{+144} \lor \neg \left(z \leq 2.45 \cdot 10^{+151}\right):\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t_4\\ \end{array} \]
Alternative 4
Accuracy38.7%
Cost1905
\[\begin{array}{l} t_1 := t \cdot \left(b - a\right)\\ t_2 := z \cdot \left(1 - y\right)\\ \mathbf{if}\;z \leq -1.5 \cdot 10^{+182}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -2.05 \cdot 10^{+158}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -4.5 \cdot 10^{+55}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -4.1 \cdot 10^{-13}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;z \leq -1.75 \cdot 10^{-158}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -1.72 \cdot 10^{-187}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -7 \cdot 10^{-285}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;z \leq 3.1 \cdot 10^{-203}:\\ \;\;\;\;b \cdot \left(t + -2\right)\\ \mathbf{elif}\;z \leq 4 \cdot 10^{-116}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 3.6 \cdot 10^{+75}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;z \leq 10^{+144} \lor \neg \left(z \leq 2.5 \cdot 10^{+151}\right):\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(1 - t\right)\\ \end{array} \]
Alternative 5
Accuracy44.1%
Cost1905
\[\begin{array}{l} t_1 := t \cdot \left(b - a\right)\\ t_2 := z \cdot \left(1 - y\right)\\ \mathbf{if}\;z \leq -1.5 \cdot 10^{+182}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -2 \cdot 10^{+158}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -2.8 \cdot 10^{+55}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -4.1 \cdot 10^{-13}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;z \leq -5 \cdot 10^{-86}:\\ \;\;\;\;y \cdot \left(b - z\right)\\ \mathbf{elif}\;z \leq -3.3 \cdot 10^{-285}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;z \leq 9 \cdot 10^{-262}:\\ \;\;\;\;b \cdot \left(t + -2\right)\\ \mathbf{elif}\;z \leq 1.7 \cdot 10^{-168}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;z \leq 2.45 \cdot 10^{-114}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 4.6 \cdot 10^{+76}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;z \leq 9 \cdot 10^{+144} \lor \neg \left(z \leq 3 \cdot 10^{+151}\right):\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(1 - t\right)\\ \end{array} \]
Alternative 6
Accuracy44.1%
Cost1773
\[\begin{array}{l} t_1 := b \cdot \left(-2 + \left(t + y\right)\right)\\ t_2 := z \cdot \left(1 - y\right)\\ t_3 := a \cdot \left(1 - t\right)\\ \mathbf{if}\;z \leq -1.5 \cdot 10^{+182}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -2.05 \cdot 10^{+158}:\\ \;\;\;\;t \cdot \left(b - a\right)\\ \mathbf{elif}\;z \leq -1.4 \cdot 10^{+56}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -1.32 \cdot 10^{-12}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;z \leq -2.4 \cdot 10^{-54}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -3.3 \cdot 10^{-221}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -1.9 \cdot 10^{-270}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 4 \cdot 10^{-261}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 3 \cdot 10^{+70}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;z \leq 3.5 \cdot 10^{+126} \lor \neg \left(z \leq 2.4 \cdot 10^{+151}\right):\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 7
Accuracy73.9%
Cost1757
\[\begin{array}{l} t_1 := z \cdot \left(1 - y\right)\\ t_2 := a + \left(t_1 - t \cdot a\right)\\ t_3 := t_1 + \left(x + a\right)\\ t_4 := \left(y \cdot b + \left(x + a\right)\right) + b \cdot \left(t + -2\right)\\ \mathbf{if}\;b \leq -1.15 \cdot 10^{+82}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;b \leq -1.04 \cdot 10^{+37}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;b \leq -2 \cdot 10^{-46}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;b \leq -2.2 \cdot 10^{-98}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 6.2 \cdot 10^{-56}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;b \leq 4800000 \lor \neg \left(b \leq 1.02 \cdot 10^{+71}\right):\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 8
Accuracy65.8%
Cost1628
\[\begin{array}{l} t_1 := z \cdot \left(1 - y\right)\\ t_2 := y \cdot b + \left(x - b \cdot \left(2 - t\right)\right)\\ t_3 := t \cdot \left(b - a\right)\\ t_4 := t_1 + \left(x + a\right)\\ \mathbf{if}\;t \leq -1.9 \cdot 10^{+208}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq -1.55 \cdot 10^{+103}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -9.4 \cdot 10^{+52}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq -2.25 \cdot 10^{-70}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;t \leq 2.1 \cdot 10^{-283}:\\ \;\;\;\;y \cdot b + \left(a + \left(x - b \cdot 2\right)\right)\\ \mathbf{elif}\;t \leq 4.9 \cdot 10^{+33}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;t \leq 1.9 \cdot 10^{+166}:\\ \;\;\;\;a + \left(t_1 - t \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 9
Accuracy65.1%
Cost1628
\[\begin{array}{l} t_1 := t \cdot \left(b - a\right)\\ t_2 := y \cdot b + \left(x - b \cdot \left(2 - t\right)\right)\\ t_3 := z \cdot \left(1 - y\right)\\ \mathbf{if}\;t \leq -1.42 \cdot 10^{+212}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq -9.5 \cdot 10^{+103}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -2.25 \cdot 10^{+59}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq -3.2 \cdot 10^{-69}:\\ \;\;\;\;y \cdot b + \left(x + t_3\right)\\ \mathbf{elif}\;t \leq 1.75 \cdot 10^{-283}:\\ \;\;\;\;y \cdot b + \left(a + \left(x - b \cdot 2\right)\right)\\ \mathbf{elif}\;t \leq 5 \cdot 10^{+33}:\\ \;\;\;\;t_3 + \left(x + a\right)\\ \mathbf{elif}\;t \leq 1.35 \cdot 10^{+166}:\\ \;\;\;\;a + \left(t_3 - t \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 10
Accuracy76.3%
Cost1624
\[\begin{array}{l} t_1 := z \cdot \left(1 - y\right)\\ t_2 := \left(x + t_1\right) + t \cdot \left(b - a\right)\\ t_3 := \left(y \cdot b + \left(x + a\right)\right) + b \cdot \left(t + -2\right)\\ \mathbf{if}\;b \leq -1.1 \cdot 10^{+82}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;b \leq -1.15 \cdot 10^{+37}:\\ \;\;\;\;t_1 + \left(x + a\right)\\ \mathbf{elif}\;b \leq -5.5 \cdot 10^{-20}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;b \leq 4.6 \cdot 10^{-156}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 2.8 \cdot 10^{-62}:\\ \;\;\;\;\left(x + z\right) - \left(t \cdot a - a\right)\\ \mathbf{elif}\;b \leq 1.15 \cdot 10^{+71}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 11
Accuracy82.9%
Cost1624
\[\begin{array}{l} t_1 := x + z \cdot \left(1 - y\right)\\ t_2 := t_1 + t \cdot \left(b - a\right)\\ t_3 := t_1 - \left(t \cdot a - a\right)\\ t_4 := \left(y \cdot b + \left(x + a\right)\right) + b \cdot \left(t + -2\right)\\ \mathbf{if}\;b \leq -1.16 \cdot 10^{+82}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;b \leq -2.9 \cdot 10^{+36}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;b \leq -5.4 \cdot 10^{-17}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;b \leq -2.8 \cdot 10^{-175}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 6.2 \cdot 10^{-59}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;b \leq 1.8 \cdot 10^{+71}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_4\\ \end{array} \]
Alternative 12
Accuracy33.1%
Cost1444
\[\begin{array}{l} t_1 := b \cdot \left(t + -2\right)\\ t_2 := y \cdot \left(-z\right)\\ \mathbf{if}\;y \leq -1.22 \cdot 10^{+34}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq -1.68 \cdot 10^{-99}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;y \leq -3 \cdot 10^{-212}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 1.9 \cdot 10^{-213}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;y \leq 4.7 \cdot 10^{-117}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 3.6 \cdot 10^{-62}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;y \leq 1.8 \cdot 10^{-18}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 4.9 \cdot 10^{+17}:\\ \;\;\;\;a \cdot \left(1 - t\right)\\ \mathbf{elif}\;y \leq 5.1 \cdot 10^{+23}:\\ \;\;\;\;x + a\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 13
Accuracy49.2%
Cost1373
\[\begin{array}{l} t_1 := x + z \cdot \left(1 - y\right)\\ t_2 := t \cdot \left(b - a\right)\\ t_3 := a + b \cdot \left(y - 2\right)\\ \mathbf{if}\;t \leq -3.45 \cdot 10^{+52}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -2.2 \cdot 10^{-72}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq -7.4 \cdot 10^{-195}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq -1.9 \cdot 10^{-229}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 4.4 \cdot 10^{-278}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq 2.75 \cdot 10^{+129} \lor \neg \left(t \leq 2.4 \cdot 10^{+150}\right):\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 14
Accuracy49.8%
Cost1372
\[\begin{array}{l} t_1 := x + z \cdot \left(1 - y\right)\\ t_2 := t \cdot \left(b - a\right)\\ t_3 := a + b \cdot \left(y - 2\right)\\ \mathbf{if}\;t \leq -2.25 \cdot 10^{+59}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -4 \cdot 10^{-72}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq -5.3 \cdot 10^{-194}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq -5.8 \cdot 10^{-234}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 3 \cdot 10^{-278}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq 8.2 \cdot 10^{+128}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 6.2 \cdot 10^{+163}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;\left(x + a\right) - t \cdot a\\ \end{array} \]
Alternative 15
Accuracy65.5%
Cost1368
\[\begin{array}{l} t_1 := z \cdot \left(1 - y\right) + \left(x + a\right)\\ t_2 := \left(x + z\right) - \left(t \cdot a - a\right)\\ \mathbf{if}\;t \leq -3.1 \cdot 10^{+136}:\\ \;\;\;\;b \cdot \left(t + -2\right) - t \cdot a\\ \mathbf{elif}\;t \leq -8.6 \cdot 10^{+95}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -6.8 \cdot 10^{+58}:\\ \;\;\;\;t \cdot \left(b - a\right)\\ \mathbf{elif}\;t \leq -1.65 \cdot 10^{-68}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 1.75 \cdot 10^{-283}:\\ \;\;\;\;a + \left(x + b \cdot \left(y - 2\right)\right)\\ \mathbf{elif}\;t \leq 7.2 \cdot 10^{+127}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 16
Accuracy65.5%
Cost1368
\[\begin{array}{l} t_1 := z \cdot \left(1 - y\right) + \left(x + a\right)\\ t_2 := \left(x + z\right) - \left(t \cdot a - a\right)\\ \mathbf{if}\;t \leq -4 \cdot 10^{+140}:\\ \;\;\;\;b \cdot \left(t + -2\right) - t \cdot a\\ \mathbf{elif}\;t \leq -1.2 \cdot 10^{+96}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -1.3 \cdot 10^{+58}:\\ \;\;\;\;t \cdot \left(b - a\right)\\ \mathbf{elif}\;t \leq -3.4 \cdot 10^{-72}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 8.5 \cdot 10^{-283}:\\ \;\;\;\;y \cdot b + \left(a + \left(x - b \cdot 2\right)\right)\\ \mathbf{elif}\;t \leq 7.2 \cdot 10^{+127}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 17
Accuracy65.4%
Cost1368
\[\begin{array}{l} t_1 := t \cdot \left(b - a\right)\\ t_2 := z \cdot \left(1 - y\right) + \left(x + a\right)\\ \mathbf{if}\;t \leq -1.18 \cdot 10^{+211}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq -1.55 \cdot 10^{+104}:\\ \;\;\;\;y \cdot b + \left(x - b \cdot \left(2 - t\right)\right)\\ \mathbf{elif}\;t \leq -2.75 \cdot 10^{+59}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq -4.4 \cdot 10^{-67}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 1.5 \cdot 10^{-282}:\\ \;\;\;\;y \cdot b + \left(a + \left(x - b \cdot 2\right)\right)\\ \mathbf{elif}\;t \leq 7.2 \cdot 10^{+127}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;\left(x + z\right) - \left(t \cdot a - a\right)\\ \end{array} \]
Alternative 18
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(t + y\right)\right) \]
Alternative 19
Accuracy100.0%
Cost1344
\[\left(x + z \cdot \left(1 - y\right)\right) + \left(b \cdot \left(y - \left(2 - t\right)\right) + a \cdot \left(1 - t\right)\right) \]
Alternative 20
Accuracy36.7%
Cost1244
\[\begin{array}{l} t_1 := a \cdot \left(1 - t\right)\\ t_2 := y \cdot \left(-z\right)\\ \mathbf{if}\;x \leq -1.9 \cdot 10^{-118}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;x \leq -2.4 \cdot 10^{-155}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -1.25 \cdot 10^{-197}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 1.1 \cdot 10^{-287}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 7.5 \cdot 10^{-199}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 7 \cdot 10^{-71}:\\ \;\;\;\;t \cdot b\\ \mathbf{elif}\;x \leq 1.3 \cdot 10^{+139}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;x + a\\ \end{array} \]
Alternative 21
Accuracy64.5%
Cost1236
\[\begin{array}{l} t_1 := z \cdot \left(1 - y\right) + \left(x + a\right)\\ t_2 := b \cdot \left(t + -2\right) - t \cdot a\\ \mathbf{if}\;t \leq -3 \cdot 10^{+59}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -7.5 \cdot 10^{-69}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 1.95 \cdot 10^{-283}:\\ \;\;\;\;a + \left(x + b \cdot \left(y - 2\right)\right)\\ \mathbf{elif}\;t \leq 7.2 \cdot 10^{+127}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 5.1 \cdot 10^{+163}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;\left(x + a\right) - t \cdot a\\ \end{array} \]
Alternative 22
Accuracy96.8%
Cost1225
\[\begin{array}{l} t_1 := z \cdot \left(1 - y\right)\\ \mathbf{if}\;t \leq -118 \lor \neg \left(t \leq 0.0021\right):\\ \;\;\;\;\left(x + t_1\right) + t \cdot \left(b - a\right)\\ \mathbf{else}:\\ \;\;\;\;a + \left(t_1 + \left(x + b \cdot \left(y - 2\right)\right)\right)\\ \end{array} \]
Alternative 23
Accuracy38.9%
Cost1112
\[\begin{array}{l} t_1 := t \cdot \left(b - a\right)\\ t_2 := b \cdot \left(t + -2\right)\\ \mathbf{if}\;b \leq -3 \cdot 10^{+169}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq -3.8 \cdot 10^{-19}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;b \leq -8 \cdot 10^{-97}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 2.6 \cdot 10^{-91}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;b \leq 2.5 \cdot 10^{-22}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 620000000:\\ \;\;\;\;y \cdot b\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 24
Accuracy64.4%
Cost1108
\[\begin{array}{l} t_1 := z \cdot \left(1 - y\right) + \left(x + a\right)\\ t_2 := t \cdot \left(b - a\right)\\ \mathbf{if}\;t \leq -1.08 \cdot 10^{+56}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -1.05 \cdot 10^{-69}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 1.8 \cdot 10^{-283}:\\ \;\;\;\;a + \left(x + b \cdot \left(y - 2\right)\right)\\ \mathbf{elif}\;t \leq 7.4 \cdot 10^{+127}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 8.5 \cdot 10^{+163}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;\left(x + a\right) - t \cdot a\\ \end{array} \]
Alternative 25
Accuracy60.5%
Cost976
\[\begin{array}{l} t_1 := t \cdot \left(b - a\right)\\ \mathbf{if}\;t \leq -1.62 \cdot 10^{+49}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 3.8 \cdot 10^{-117}:\\ \;\;\;\;a + \left(x + b \cdot \left(y - 2\right)\right)\\ \mathbf{elif}\;t \leq 1.56 \cdot 10^{+131}:\\ \;\;\;\;x + z \cdot \left(1 - y\right)\\ \mathbf{elif}\;t \leq 8 \cdot 10^{+163}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;\left(x + a\right) - t \cdot a\\ \end{array} \]
Alternative 26
Accuracy36.6%
Cost720
\[\begin{array}{l} \mathbf{if}\;x \leq 6.4 \cdot 10^{-276}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;x \leq 3.1 \cdot 10^{-143}:\\ \;\;\;\;y \cdot b\\ \mathbf{elif}\;x \leq 2.1 \cdot 10^{-106}:\\ \;\;\;\;a\\ \mathbf{elif}\;x \leq 6.5 \cdot 10^{-71}:\\ \;\;\;\;t \cdot b\\ \mathbf{else}:\\ \;\;\;\;x + a\\ \end{array} \]
Alternative 27
Accuracy39.2%
Cost652
\[\begin{array}{l} \mathbf{if}\;t \leq -6 \cdot 10^{+140}:\\ \;\;\;\;t \cdot b\\ \mathbf{elif}\;t \leq 5.6 \cdot 10^{+33}:\\ \;\;\;\;x + a\\ \mathbf{elif}\;t \leq 1.25 \cdot 10^{+197}:\\ \;\;\;\;a \cdot \left(-t\right)\\ \mathbf{else}:\\ \;\;\;\;x + a\\ \end{array} \]
Alternative 28
Accuracy31.2%
Cost592
\[\begin{array}{l} \mathbf{if}\;a \leq -1.95 \cdot 10^{+138}:\\ \;\;\;\;a\\ \mathbf{elif}\;a \leq -5.2 \cdot 10^{-221}:\\ \;\;\;\;x\\ \mathbf{elif}\;a \leq -4.9 \cdot 10^{-285}:\\ \;\;\;\;t \cdot b\\ \mathbf{elif}\;a \leq 3.8 \cdot 10^{+78}:\\ \;\;\;\;x\\ \mathbf{else}:\\ \;\;\;\;a\\ \end{array} \]
Alternative 29
Accuracy32.1%
Cost328
\[\begin{array}{l} \mathbf{if}\;a \leq -3.2 \cdot 10^{+138}:\\ \;\;\;\;a\\ \mathbf{elif}\;a \leq 2.7 \cdot 10^{+79}:\\ \;\;\;\;x\\ \mathbf{else}:\\ \;\;\;\;a\\ \end{array} \]
Alternative 30
Accuracy16.3%
Cost64
\[a \]

Error

Reproduce?

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