?

Average Error: 0.04% → 0.04%
Time: 25.8s
Precision: binary64
Cost: 1344

?

\[\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(x + \left(z - y \cdot z\right)\right) + \left(b \cdot \left(y + -2\right) + \left(a + t \cdot \left(b - a\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
 (+ (+ x (- z (* y z))) (+ (* b (+ y -2.0)) (+ a (* t (- b a))))))
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 - (y * z))) + ((b * (y + -2.0)) + (a + (t * (b - a))));
}
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 - (y * z))) + ((b * (y + (-2.0d0))) + (a + (t * (b - a))))
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 - (y * z))) + ((b * (y + -2.0)) + (a + (t * (b - a))));
}
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 - (y * z))) + ((b * (y + -2.0)) + (a + (t * (b - a))))
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(x + Float64(z - Float64(y * z))) + Float64(Float64(b * Float64(y + -2.0)) + Float64(a + Float64(t * Float64(b - a)))))
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 - (y * z))) + ((b * (y + -2.0)) + (a + (t * (b - a))));
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[(x + N[(z - N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(b * N[(y + -2.0), $MachinePrecision]), $MachinePrecision] + N[(a + N[(t * N[(b - a), $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
\left(x + \left(z - y \cdot z\right)\right) + \left(b \cdot \left(y + -2\right) + \left(a + t \cdot \left(b - a\right)\right)\right)

Error?

Try it out?

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation?

  1. Initial program 0.04

    \[\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. Simplified0.03

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    \[ \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. Taylor expanded in y around 0 0.03

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

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

    [Start]0.03

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

    *-commutative [<=]0.03

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

    mul-1-neg [=>]0.03

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

    unsub-neg [=>]0.03

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

    *-commutative [=>]0.03

    \[ \left(x - \left(\color{blue}{y \cdot z} - z\right)\right) - \left(\left(t + -1\right) \cdot a - \left(y + \left(t - 2\right)\right) \cdot b\right) \]
  5. Taylor expanded in t around 0 0.04

    \[\leadsto \left(x - \left(y \cdot z - z\right)\right) - \color{blue}{\left(\left(t \cdot \left(a - b\right) + -1 \cdot a\right) - \left(y - 2\right) \cdot b\right)} \]
  6. Final simplification0.04

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

Alternatives

Alternative 1
Error60.78%
Cost2037
\[\begin{array}{l} t_1 := x + t \cdot b\\ t_2 := y \cdot \left(b - z\right)\\ t_3 := a \cdot \left(1 - t\right)\\ t_4 := z \cdot \left(1 - y\right)\\ \mathbf{if}\;x \leq -1.75 \cdot 10^{+169}:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq -2.9 \cdot 10^{+127}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -1.2 \cdot 10^{+86}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq -5.8 \cdot 10^{-134}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -7.2 \cdot 10^{-174}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq -5 \cdot 10^{-211}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -1.08 \cdot 10^{-272}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 1.2 \cdot 10^{-164}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq 4.2 \cdot 10^{-101}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 8.5 \cdot 10^{+61}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq 1.12 \cdot 10^{+92} \lor \neg \left(x \leq 2.1 \cdot 10^{+134}\right) \land x \leq 7 \cdot 10^{+155}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 2
Error61.39%
Cost2036
\[\begin{array}{l} t_1 := z \cdot \left(1 - y\right)\\ t_2 := a \cdot \left(1 - t\right)\\ \mathbf{if}\;x \leq -2 \cdot 10^{+168}:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq -2.9 \cdot 10^{+127}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -1.6 \cdot 10^{+88}:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq -1.05 \cdot 10^{-131}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -7 \cdot 10^{-174}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq -1.25 \cdot 10^{-227}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -1.35 \cdot 10^{-272}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 4.3 \cdot 10^{-165}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 1.35 \cdot 10^{-99}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 5.8 \cdot 10^{+61}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 1.1 \cdot 10^{+93}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 1.3 \cdot 10^{+134}:\\ \;\;\;\;b \cdot \left(t + -2\right)\\ \mathbf{elif}\;x \leq 7.3 \cdot 10^{+155}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]
Alternative 3
Error62.04%
Cost2036
\[\begin{array}{l} t_1 := y \cdot \left(b - z\right)\\ t_2 := z \cdot \left(1 - y\right)\\ t_3 := a \cdot \left(1 - t\right)\\ \mathbf{if}\;x \leq -2.7 \cdot 10^{+168}:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq -1.75 \cdot 10^{+127}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -6.4 \cdot 10^{+84}:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq -1.3 \cdot 10^{-134}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -5.6 \cdot 10^{-174}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -1.35 \cdot 10^{-210}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -4.4 \cdot 10^{-274}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 1.2 \cdot 10^{-164}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq 1.4 \cdot 10^{-101}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 1.5 \cdot 10^{+62}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq 2.4 \cdot 10^{+96}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 1.4 \cdot 10^{+134}:\\ \;\;\;\;b \cdot \left(t + -2\right)\\ \mathbf{elif}\;x \leq 1.66 \cdot 10^{+156}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]
Alternative 4
Error22.99%
Cost1496
\[\begin{array}{l} t_1 := \left(x + z\right) + b \cdot \left(t + \left(y + -2\right)\right)\\ t_2 := \left(x + z\right) + \left(a - t \cdot a\right)\\ \mathbf{if}\;a \leq -4.6 \cdot 10^{+138}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq -1.02 \cdot 10^{+85}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq -9.2 \cdot 10^{+29}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq 4.2 \cdot 10^{-158}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 1.8 \cdot 10^{-102}:\\ \;\;\;\;\left(x + z \cdot \left(1 - y\right)\right) + y \cdot b\\ \mathbf{elif}\;a \leq 1800000:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 5
Error6.98%
Cost1353
\[\begin{array}{l} \mathbf{if}\;b \leq -0.0135 \lor \neg \left(b \leq 2.6 \cdot 10^{-120}\right):\\ \;\;\;\;\left(x + z\right) + \left(b \cdot \left(y + -2\right) + \left(a + t \cdot \left(b - a\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(x + z \cdot \left(1 - y\right)\right) + \left(a - t \cdot a\right)\\ \end{array} \]
Alternative 6
Error0.04%
Cost1344
\[\left(\left(x + z \cdot \left(1 - y\right)\right) + a \cdot \left(1 - t\right)\right) + b \cdot \left(\left(y + t\right) + -2\right) \]
Alternative 7
Error0.03%
Cost1344
\[\left(x + \left(z - y \cdot z\right)\right) + \left(b \cdot \left(y + \left(t + -2\right)\right) + a \cdot \left(1 - t\right)\right) \]
Alternative 8
Error76.73%
Cost1248
\[\begin{array}{l} t_1 := t \cdot \left(-a\right)\\ \mathbf{if}\;t \leq -2.3 \cdot 10^{+47}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq -2.4 \cdot 10^{-142}:\\ \;\;\;\;x\\ \mathbf{elif}\;t \leq -5.7 \cdot 10^{-198}:\\ \;\;\;\;z\\ \mathbf{elif}\;t \leq -3.8 \cdot 10^{-216}:\\ \;\;\;\;x\\ \mathbf{elif}\;t \leq 2.8 \cdot 10^{-182}:\\ \;\;\;\;b \cdot -2\\ \mathbf{elif}\;t \leq 5.2 \cdot 10^{+46}:\\ \;\;\;\;x\\ \mathbf{elif}\;t \leq 4.1 \cdot 10^{+89}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 7 \cdot 10^{+136}:\\ \;\;\;\;x\\ \mathbf{else}:\\ \;\;\;\;t \cdot b\\ \end{array} \]
Alternative 9
Error62.7%
Cost1244
\[\begin{array}{l} t_1 := a \cdot \left(1 - t\right)\\ \mathbf{if}\;x \leq -2 \cdot 10^{+170}:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq -2.3 \cdot 10^{+127}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq -5.6 \cdot 10^{+86}:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq 10^{-164}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 1.35 \cdot 10^{-101}:\\ \;\;\;\;y \cdot \left(-z\right)\\ \mathbf{elif}\;x \leq 1.06 \cdot 10^{+35}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 1.1 \cdot 10^{+134}:\\ \;\;\;\;b \cdot \left(t + -2\right)\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]
Alternative 10
Error22.69%
Cost1234
\[\begin{array}{l} \mathbf{if}\;a \leq -7.8 \cdot 10^{+138} \lor \neg \left(a \leq -1.8 \cdot 10^{+84} \lor \neg \left(a \leq -6.6 \cdot 10^{+29}\right) \land a \leq 55000000\right):\\ \;\;\;\;\left(x + z\right) + \left(a - t \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;\left(x + z\right) + b \cdot \left(t + \left(y + -2\right)\right)\\ \end{array} \]
Alternative 11
Error32.71%
Cost1232
\[\begin{array}{l} t_1 := \left(x + z \cdot \left(1 - y\right)\right) - t \cdot a\\ t_2 := \left(x + z\right) + \left(a - t \cdot a\right)\\ \mathbf{if}\;a \leq -2.4 \cdot 10^{+37}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq -6.4 \cdot 10^{-224}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 3.2 \cdot 10^{+40}:\\ \;\;\;\;x + \left(z + t \cdot \left(b - a\right)\right)\\ \mathbf{elif}\;a \leq 1.9 \cdot 10^{+177}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 12
Error12.67%
Cost1228
\[\begin{array}{l} t_1 := \left(x + z \cdot \left(1 - y\right)\right) + \left(a - t \cdot a\right)\\ \mathbf{if}\;y \leq -2.7 \cdot 10^{+24}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 1080000000000:\\ \;\;\;\;\left(z + \left(x + b \cdot \left(t + -2\right)\right)\right) + a \cdot \left(1 - t\right)\\ \mathbf{elif}\;y \leq 6 \cdot 10^{+183}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(b - z\right)\\ \end{array} \]
Alternative 13
Error12.44%
Cost1228
\[\begin{array}{l} t_1 := a \cdot \left(1 - t\right)\\ \mathbf{if}\;y \leq -3.1 \cdot 10^{+49}:\\ \;\;\;\;\left(x + b \cdot \left(\left(y + t\right) + -2\right)\right) + t_1\\ \mathbf{elif}\;y \leq 1000000000000:\\ \;\;\;\;\left(z + \left(x + b \cdot \left(t + -2\right)\right)\right) + t_1\\ \mathbf{elif}\;y \leq 6.7 \cdot 10^{+183}:\\ \;\;\;\;\left(x + z \cdot \left(1 - y\right)\right) + \left(a - t \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(b - z\right)\\ \end{array} \]
Alternative 14
Error11.85%
Cost1224
\[\begin{array}{l} t_1 := a \cdot \left(1 - t\right)\\ t_2 := b \cdot \left(\left(y + t\right) + -2\right)\\ \mathbf{if}\;y \leq -3 \cdot 10^{+49}:\\ \;\;\;\;\left(x + t_2\right) + t_1\\ \mathbf{elif}\;y \leq 2.4 \cdot 10^{+33}:\\ \;\;\;\;\left(z + \left(x + b \cdot \left(t + -2\right)\right)\right) + t_1\\ \mathbf{else}:\\ \;\;\;\;t_2 + \left(x + z \cdot \left(1 - y\right)\right)\\ \end{array} \]
Alternative 15
Error11.89%
Cost1224
\[\begin{array}{l} \mathbf{if}\;y \leq -3.2 \cdot 10^{+49}:\\ \;\;\;\;\left(x + b \cdot \left(y + -2\right)\right) + \left(a + t \cdot \left(b - a\right)\right)\\ \mathbf{elif}\;y \leq 3.7 \cdot 10^{+40}:\\ \;\;\;\;\left(z + \left(x + b \cdot \left(t + -2\right)\right)\right) + a \cdot \left(1 - t\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(\left(y + t\right) + -2\right) + \left(x + z \cdot \left(1 - y\right)\right)\\ \end{array} \]
Alternative 16
Error72.04%
Cost1180
\[\begin{array}{l} t_1 := y \cdot \left(-z\right)\\ \mathbf{if}\;x \leq -7.2 \cdot 10^{+84}:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq -8.2 \cdot 10^{-136}:\\ \;\;\;\;t \cdot \left(-a\right)\\ \mathbf{elif}\;x \leq -1.4 \cdot 10^{-270}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 10^{-258}:\\ \;\;\;\;z\\ \mathbf{elif}\;x \leq 1.2 \cdot 10^{+34}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 1.2 \cdot 10^{+134}:\\ \;\;\;\;t \cdot b\\ \mathbf{elif}\;x \leq 7 \cdot 10^{+155}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]
Alternative 17
Error61.98%
Cost1112
\[\begin{array}{l} t_1 := a \cdot \left(1 - t\right)\\ \mathbf{if}\;x \leq -2 \cdot 10^{+168}:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq -3 \cdot 10^{+127}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq -1.15 \cdot 10^{+84}:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq 1.2 \cdot 10^{-164}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 1.4 \cdot 10^{-101}:\\ \;\;\;\;y \cdot \left(-z\right)\\ \mathbf{elif}\;x \leq 2.5 \cdot 10^{+70}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]
Alternative 18
Error44.04%
Cost1112
\[\begin{array}{l} t_1 := z \cdot \left(1 - y\right)\\ t_2 := x + t_1\\ t_3 := a \cdot \left(1 - t\right)\\ \mathbf{if}\;a \leq -3 \cdot 10^{+118}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;a \leq -9 \cdot 10^{-122}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq -2.15 \cdot 10^{-150}:\\ \;\;\;\;b \cdot \left(\left(y + t\right) + -2\right)\\ \mathbf{elif}\;a \leq 9.2 \cdot 10^{-11}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq 5.4 \cdot 10^{+54}:\\ \;\;\;\;x + t \cdot \left(b - a\right)\\ \mathbf{elif}\;a \leq 2.7 \cdot 10^{+82}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 19
Error42.63%
Cost1108
\[\begin{array}{l} t_1 := x + z \cdot \left(1 - y\right)\\ t_2 := a \cdot \left(1 - t\right)\\ \mathbf{if}\;a \leq -4.1 \cdot 10^{+120}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq -2.3 \cdot 10^{-121}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq -2.25 \cdot 10^{-150}:\\ \;\;\;\;b \cdot \left(\left(y + t\right) + -2\right)\\ \mathbf{elif}\;a \leq 2.2 \cdot 10^{-81}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 5.6 \cdot 10^{+161}:\\ \;\;\;\;x + \left(z - t \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 20
Error10.04%
Cost1097
\[\begin{array}{l} \mathbf{if}\;t \leq -1.65 \lor \neg \left(t \leq 0.019\right):\\ \;\;\;\;\left(x + z \cdot \left(1 - y\right)\right) + t \cdot \left(b - a\right)\\ \mathbf{else}:\\ \;\;\;\;\left(x + z\right) + \left(a + b \cdot \left(y + -2\right)\right)\\ \end{array} \]
Alternative 21
Error51.7%
Cost977
\[\begin{array}{l} t_1 := a \cdot \left(1 - t\right)\\ \mathbf{if}\;a \leq -2.2 \cdot 10^{+118}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq -1.2 \cdot 10^{+80}:\\ \;\;\;\;x + t \cdot b\\ \mathbf{elif}\;a \leq -2.75 \cdot 10^{+38} \lor \neg \left(a \leq 4.7 \cdot 10^{+161}\right):\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;x + t \cdot \left(b - a\right)\\ \end{array} \]
Alternative 22
Error14%
Cost969
\[\begin{array}{l} \mathbf{if}\;t \leq -120 \lor \neg \left(t \leq 1.7\right):\\ \;\;\;\;x + \left(z + t \cdot \left(b - a\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(x + z\right) + \left(a + b \cdot \left(y + -2\right)\right)\\ \end{array} \]
Alternative 23
Error37.33%
Cost841
\[\begin{array}{l} \mathbf{if}\;a \leq -6.2 \cdot 10^{+124} \lor \neg \left(a \leq 4.3 \cdot 10^{+161}\right):\\ \;\;\;\;a \cdot \left(1 - t\right)\\ \mathbf{else}:\\ \;\;\;\;x + \left(z + t \cdot \left(b - a\right)\right)\\ \end{array} \]
Alternative 24
Error29.48%
Cost841
\[\begin{array}{l} \mathbf{if}\;t \leq -31500000000000 \lor \neg \left(t \leq 2300000000\right):\\ \;\;\;\;x + \left(z + t \cdot \left(b - a\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(x + z\right) + \left(a - t \cdot a\right)\\ \end{array} \]
Alternative 25
Error69.52%
Cost592
\[\begin{array}{l} \mathbf{if}\;x \leq -4 \cdot 10^{+26}:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq 8.2 \cdot 10^{-252}:\\ \;\;\;\;z\\ \mathbf{elif}\;x \leq 1.45 \cdot 10^{-101}:\\ \;\;\;\;y \cdot b\\ \mathbf{elif}\;x \leq 1.15 \cdot 10^{-36}:\\ \;\;\;\;z\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]
Alternative 26
Error68.58%
Cost328
\[\begin{array}{l} \mathbf{if}\;z \leq -2.5 \cdot 10^{+108}:\\ \;\;\;\;z\\ \mathbf{elif}\;z \leq 7 \cdot 10^{+211}:\\ \;\;\;\;x\\ \mathbf{else}:\\ \;\;\;\;z\\ \end{array} \]
Alternative 27
Error76.51%
Cost64
\[x \]

Error

Reproduce?

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