Average Error: 0.0 → 0.0
Time: 26.2s
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 0.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. Simplified0.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
    (fma.f64 (+.f64 y (+.f64 t -2)) b (-.f64 x (fma.f64 (+.f64 y -1) z (*.f64 (+.f64 t -1) a)))): 0 points increase in error, 0 points decrease in error
    (fma.f64 (+.f64 y (+.f64 t (Rewrite<= metadata-eval (neg.f64 2)))) b (-.f64 x (fma.f64 (+.f64 y -1) z (*.f64 (+.f64 t -1) a)))): 0 points increase in error, 0 points decrease in error
    (fma.f64 (+.f64 y (Rewrite<= sub-neg_binary64 (-.f64 t 2))) b (-.f64 x (fma.f64 (+.f64 y -1) z (*.f64 (+.f64 t -1) a)))): 0 points increase in error, 0 points decrease in error
    (fma.f64 (Rewrite<= associate--l+_binary64 (-.f64 (+.f64 y t) 2)) b (-.f64 x (fma.f64 (+.f64 y -1) z (*.f64 (+.f64 t -1) a)))): 0 points increase in error, 0 points decrease in error
    (fma.f64 (-.f64 (+.f64 y t) 2) b (-.f64 x (fma.f64 (+.f64 y (Rewrite<= metadata-eval (neg.f64 1))) z (*.f64 (+.f64 t -1) a)))): 0 points increase in error, 0 points decrease in error
    (fma.f64 (-.f64 (+.f64 y t) 2) b (-.f64 x (fma.f64 (Rewrite<= sub-neg_binary64 (-.f64 y 1)) z (*.f64 (+.f64 t -1) a)))): 0 points increase in error, 0 points decrease in error
    (fma.f64 (-.f64 (+.f64 y t) 2) b (-.f64 x (fma.f64 (-.f64 y 1) z (*.f64 (+.f64 t (Rewrite<= metadata-eval (neg.f64 1))) a)))): 0 points increase in error, 0 points decrease in error
    (fma.f64 (-.f64 (+.f64 y t) 2) b (-.f64 x (fma.f64 (-.f64 y 1) z (*.f64 (Rewrite<= sub-neg_binary64 (-.f64 t 1)) a)))): 2 points increase in error, 0 points decrease in error
    (fma.f64 (-.f64 (+.f64 y t) 2) b (-.f64 x (fma.f64 (-.f64 y 1) z (*.f64 (Rewrite<= remove-double-neg_binary64 (neg.f64 (neg.f64 (-.f64 t 1)))) a)))): 0 points increase in error, 2 points decrease in error
    (fma.f64 (-.f64 (+.f64 y t) 2) b (-.f64 x (fma.f64 (-.f64 y 1) z (Rewrite<= distribute-lft-neg-in_binary64 (neg.f64 (*.f64 (neg.f64 (-.f64 t 1)) a)))))): 0 points increase in error, 0 points decrease in error
    (fma.f64 (-.f64 (+.f64 y t) 2) b (-.f64 x (fma.f64 (-.f64 y 1) z (neg.f64 (Rewrite<= distribute-lft-neg-in_binary64 (neg.f64 (*.f64 (-.f64 t 1) a))))))): 0 points increase in error, 0 points decrease in error
    (fma.f64 (-.f64 (+.f64 y t) 2) b (-.f64 x (Rewrite<= fma-neg_binary64 (-.f64 (*.f64 (-.f64 y 1) z) (neg.f64 (*.f64 (-.f64 t 1) a)))))): 0 points increase in error, 0 points decrease in error
    (fma.f64 (-.f64 (+.f64 y t) 2) b (Rewrite<= associate-+l-_binary64 (+.f64 (-.f64 x (*.f64 (-.f64 y 1) z)) (neg.f64 (*.f64 (-.f64 t 1) a))))): 0 points increase in error, 0 points decrease in error
    (fma.f64 (-.f64 (+.f64 y t) 2) b (Rewrite<= sub-neg_binary64 (-.f64 (-.f64 x (*.f64 (-.f64 y 1) z)) (*.f64 (-.f64 t 1) a)))): 0 points increase in error, 0 points decrease in error
    (Rewrite<= fma-def_binary64 (+.f64 (*.f64 (-.f64 (+.f64 y t) 2) b) (-.f64 (-.f64 x (*.f64 (-.f64 y 1) z)) (*.f64 (-.f64 t 1) a)))): 0 points increase in error, 0 points decrease in error
    (Rewrite<= +-commutative_binary64 (+.f64 (-.f64 (-.f64 x (*.f64 (-.f64 y 1) z)) (*.f64 (-.f64 t 1) a)) (*.f64 (-.f64 (+.f64 y t) 2) b))): 0 points increase in error, 0 points decrease in error
  3. Final simplification0.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
Error36.2
Cost1636
\[\begin{array}{l} t_1 := b \cdot \left(-2 + \left(y + t\right)\right)\\ t_2 := a \cdot \left(1 - t\right)\\ \mathbf{if}\;b \leq -9.6 \cdot 10^{+87}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq -9.5 \cdot 10^{+46}:\\ \;\;\;\;x + t \cdot b\\ \mathbf{elif}\;b \leq -1.7 \cdot 10^{-47}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq -7.8 \cdot 10^{-94}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 6.4 \cdot 10^{-218}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 7.2 \cdot 10^{-202}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 3.6 \cdot 10^{-127}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 4.2 \cdot 10^{-41}:\\ \;\;\;\;y \cdot \left(b - z\right)\\ \mathbf{elif}\;b \leq 1.35 \cdot 10^{+135}:\\ \;\;\;\;x + z\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 2
Error33.2
Cost1508
\[\begin{array}{l} t_1 := x - b \cdot \left(2 - y\right)\\ t_2 := x + \left(t + -2\right) \cdot b\\ t_3 := a \cdot \left(1 - t\right)\\ t_4 := z \cdot \left(1 - y\right)\\ \mathbf{if}\;a \leq -2.8 \cdot 10^{+147}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;a \leq -7 \cdot 10^{-268}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq -1.35 \cdot 10^{-292}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;a \leq -7.8 \cdot 10^{-299}:\\ \;\;\;\;b \cdot \left(-2 + \left(y + t\right)\right)\\ \mathbf{elif}\;a \leq 3.3 \cdot 10^{-251}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq 1.25 \cdot 10^{-71}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 6 \cdot 10^{-32}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;a \leq 50000:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq 8.5 \cdot 10^{+127}:\\ \;\;\;\;x + z\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 3
Error8.4
Cost1490
\[\begin{array}{l} t_1 := z \cdot \left(1 - y\right)\\ \mathbf{if}\;b \leq -3.8 \cdot 10^{-54} \lor \neg \left(b \leq 2 \cdot 10^{-94} \lor \neg \left(b \leq 2.8 \cdot 10^{-33}\right) \land b \leq 4 \cdot 10^{+26}\right):\\ \;\;\;\;\left(x + b \cdot \left(-2 + \left(y + t\right)\right)\right) + t_1\\ \mathbf{else}:\\ \;\;\;\;x + \left(a \cdot \left(1 - t\right) + t_1\right)\\ \end{array} \]
Alternative 4
Error7.7
Cost1488
\[\begin{array}{l} t_1 := z \cdot \left(1 - y\right)\\ t_2 := x + b \cdot \left(-2 + \left(y + t\right)\right)\\ t_3 := \left(x - b \cdot \left(2 - y\right)\right) + \left(a + t_1\right)\\ t_4 := t_2 + a \cdot \left(1 - t\right)\\ \mathbf{if}\;z \leq -4.6 \cdot 10^{-91}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 3.3 \cdot 10^{-34}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq 6.2 \cdot 10^{+78}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 1.65 \cdot 10^{+108}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_2 + t_1\\ \end{array} \]
Alternative 5
Error37.7
Cost1376
\[\begin{array}{l} t_1 := a \cdot \left(1 - t\right)\\ \mathbf{if}\;b \leq -6.4 \cdot 10^{+93}:\\ \;\;\;\;b \cdot \left(y + -2\right)\\ \mathbf{elif}\;b \leq -1.8 \cdot 10^{-48}:\\ \;\;\;\;x + t \cdot b\\ \mathbf{elif}\;b \leq -1.5 \cdot 10^{-95}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 7.2 \cdot 10^{-218}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 6.2 \cdot 10^{-198}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 5.6 \cdot 10^{-127}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 6.5 \cdot 10^{-41}:\\ \;\;\;\;y \cdot \left(b - z\right)\\ \mathbf{elif}\;b \leq 2.25 \cdot 10^{+135}:\\ \;\;\;\;x + z\\ \mathbf{else}:\\ \;\;\;\;\left(t + -2\right) \cdot b\\ \end{array} \]
Alternative 6
Error29.5
Cost1373
\[\begin{array}{l} t_1 := \left(t + -2\right) \cdot b\\ \mathbf{if}\;b \leq -4.95 \cdot 10^{+163}:\\ \;\;\;\;z + t_1\\ \mathbf{elif}\;b \leq -7.8 \cdot 10^{-19}:\\ \;\;\;\;x - b \cdot \left(2 - y\right)\\ \mathbf{elif}\;b \leq -4.5 \cdot 10^{-61}:\\ \;\;\;\;x + t_1\\ \mathbf{elif}\;b \leq -9.5 \cdot 10^{-94}:\\ \;\;\;\;a \cdot \left(1 - t\right)\\ \mathbf{elif}\;b \leq 9.5 \cdot 10^{-93} \lor \neg \left(b \leq 1.1 \cdot 10^{-33}\right) \land b \leq 1.52 \cdot 10^{+137}:\\ \;\;\;\;x + \left(z - y \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(-2 + \left(y + t\right)\right)\\ \end{array} \]
Alternative 7
Error35.7
Cost1372
\[\begin{array}{l} t_1 := a \cdot \left(1 - t\right)\\ \mathbf{if}\;b \leq -4.5 \cdot 10^{-56}:\\ \;\;\;\;x + \left(t + -2\right) \cdot b\\ \mathbf{elif}\;b \leq -8.5 \cdot 10^{-94}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 2.6 \cdot 10^{-218}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 7.2 \cdot 10^{-201}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 5.6 \cdot 10^{-127}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 4.2 \cdot 10^{-41}:\\ \;\;\;\;y \cdot \left(b - z\right)\\ \mathbf{elif}\;b \leq 5.6 \cdot 10^{+136}:\\ \;\;\;\;x + z\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(-2 + \left(y + t\right)\right)\\ \end{array} \]
Alternative 8
Error13.3
Cost1360
\[\begin{array}{l} t_1 := z \cdot \left(1 - y\right)\\ t_2 := x + \left(a \cdot \left(1 - t\right) + t_1\right)\\ \mathbf{if}\;b \leq -2.9 \cdot 10^{-44}:\\ \;\;\;\;x + b \cdot \left(-2 + \left(y + t\right)\right)\\ \mathbf{elif}\;b \leq 9.5 \cdot 10^{-93}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 5.5 \cdot 10^{-34}:\\ \;\;\;\;y \cdot b + t_1\\ \mathbf{elif}\;b \leq 2.05 \cdot 10^{+26}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;\left(x - b \cdot \left(2 - y\right)\right) + \left(z + a\right)\\ \end{array} \]
Alternative 9
Error12.9
Cost1360
\[\begin{array}{l} t_1 := z \cdot \left(1 - y\right)\\ t_2 := x + \left(a \cdot \left(1 - t\right) + t_1\right)\\ \mathbf{if}\;b \leq -8.5 \cdot 10^{-53}:\\ \;\;\;\;x + b \cdot \left(-2 + \left(y + t\right)\right)\\ \mathbf{elif}\;b \leq 9.5 \cdot 10^{-93}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 5.5 \cdot 10^{-34}:\\ \;\;\;\;y \cdot b + \left(a + t_1\right)\\ \mathbf{elif}\;b \leq 2.45 \cdot 10^{+26}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;\left(x - b \cdot \left(2 - y\right)\right) + \left(z + a\right)\\ \end{array} \]
Alternative 10
Error0.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 11
Error39.6
Cost1248
\[\begin{array}{l} t_1 := a \cdot \left(1 - t\right)\\ \mathbf{if}\;b \leq -1 \cdot 10^{+124}:\\ \;\;\;\;-2 \cdot b\\ \mathbf{elif}\;b \leq -7.4 \cdot 10^{-30}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq -8.2 \cdot 10^{-94}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 2.9 \cdot 10^{-219}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 5.4 \cdot 10^{-195}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 9.5 \cdot 10^{-93}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 1.25 \cdot 10^{-41}:\\ \;\;\;\;y \cdot b\\ \mathbf{elif}\;b \leq 2.8 \cdot 10^{+137}:\\ \;\;\;\;x + z\\ \mathbf{else}:\\ \;\;\;\;-2 \cdot b\\ \end{array} \]
Alternative 12
Error38.7
Cost1244
\[\begin{array}{l} t_1 := a \cdot \left(1 - t\right)\\ t_2 := \left(t + -2\right) \cdot b\\ \mathbf{if}\;b \leq -1.6 \cdot 10^{-48}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq -5.5 \cdot 10^{-94}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 7.2 \cdot 10^{-218}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 6.2 \cdot 10^{-204}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 9.5 \cdot 10^{-93}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 1.25 \cdot 10^{-41}:\\ \;\;\;\;y \cdot b\\ \mathbf{elif}\;b \leq 1.4 \cdot 10^{+136}:\\ \;\;\;\;x + z\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 13
Error39.0
Cost1244
\[\begin{array}{l} t_1 := a \cdot \left(1 - t\right)\\ t_2 := \left(t + -2\right) \cdot b\\ \mathbf{if}\;b \leq -2.4 \cdot 10^{-46}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq -9.5 \cdot 10^{-94}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 3.25 \cdot 10^{-218}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 5.9 \cdot 10^{-201}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 4.6 \cdot 10^{-127}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 10^{-39}:\\ \;\;\;\;y \cdot \left(b - z\right)\\ \mathbf{elif}\;b \leq 2.5 \cdot 10^{+137}:\\ \;\;\;\;x + z\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 14
Error24.9
Cost1237
\[\begin{array}{l} t_1 := x + b \cdot \left(-2 + \left(y + t\right)\right)\\ \mathbf{if}\;b \leq -3 \cdot 10^{-60}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq -9.5 \cdot 10^{-94}:\\ \;\;\;\;a \cdot \left(1 - t\right)\\ \mathbf{elif}\;b \leq 7.2 \cdot 10^{-118} \lor \neg \left(b \leq 1.6 \cdot 10^{-33}\right) \land b \leq 2.3 \cdot 10^{+26}:\\ \;\;\;\;x + \left(z - y \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 15
Error7.6
Cost1224
\[\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 := z \cdot \left(1 - y\right)\\ \mathbf{if}\;a \leq -2.4 \cdot 10^{+48}:\\ \;\;\;\;t_2 + t_1\\ \mathbf{elif}\;a \leq 1.3 \cdot 10^{+69}:\\ \;\;\;\;t_2 + t_3\\ \mathbf{else}:\\ \;\;\;\;x + \left(t_1 + t_3\right)\\ \end{array} \]
Alternative 16
Error29.6
Cost1109
\[\begin{array}{l} \mathbf{if}\;b \leq -2.7 \cdot 10^{-61}:\\ \;\;\;\;x + \left(t + -2\right) \cdot b\\ \mathbf{elif}\;b \leq -6 \cdot 10^{-94}:\\ \;\;\;\;a \cdot \left(1 - t\right)\\ \mathbf{elif}\;b \leq 9.5 \cdot 10^{-93} \lor \neg \left(b \leq 7.5 \cdot 10^{-34}\right) \land b \leq 1.8 \cdot 10^{+135}:\\ \;\;\;\;x + \left(z - y \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(-2 + \left(y + t\right)\right)\\ \end{array} \]
Alternative 17
Error24.8
Cost1104
\[\begin{array}{l} t_1 := x + b \cdot \left(-2 + \left(y + t\right)\right)\\ \mathbf{if}\;b \leq -9 \cdot 10^{-61}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq -9.5 \cdot 10^{-94}:\\ \;\;\;\;a \cdot \left(1 - t\right)\\ \mathbf{elif}\;b \leq 9.5 \cdot 10^{-93}:\\ \;\;\;\;x + \left(z - y \cdot z\right)\\ \mathbf{elif}\;b \leq 4.4 \cdot 10^{-20}:\\ \;\;\;\;y \cdot b + z \cdot \left(1 - y\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 18
Error19.0
Cost1104
\[\begin{array}{l} t_1 := z \cdot \left(1 - y\right)\\ t_2 := x + \left(a + t_1\right)\\ t_3 := x + b \cdot \left(-2 + \left(y + t\right)\right)\\ \mathbf{if}\;b \leq -2.2 \cdot 10^{-54}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;b \leq 9.5 \cdot 10^{-93}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 5.5 \cdot 10^{-34}:\\ \;\;\;\;y \cdot b + t_1\\ \mathbf{elif}\;b \leq 10^{+94}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 19
Error16.2
Cost968
\[\begin{array}{l} \mathbf{if}\;t \leq -3.3 \cdot 10^{-12}:\\ \;\;\;\;z + \left(x + \left(t + -2\right) \cdot b\right)\\ \mathbf{elif}\;t \leq 1.2 \cdot 10^{+77}:\\ \;\;\;\;\left(x - b \cdot \left(2 - y\right)\right) + \left(z + a\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(b - a\right)\\ \end{array} \]
Alternative 20
Error44.3
Cost724
\[\begin{array}{l} \mathbf{if}\;x \leq -0.75:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq -6.1 \cdot 10^{-293}:\\ \;\;\;\;z\\ \mathbf{elif}\;x \leq 9 \cdot 10^{-188}:\\ \;\;\;\;-2 \cdot b\\ \mathbf{elif}\;x \leq 8.8 \cdot 10^{-152}:\\ \;\;\;\;z\\ \mathbf{elif}\;x \leq 7 \cdot 10^{+42}:\\ \;\;\;\;a\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]
Alternative 21
Error45.8
Cost724
\[\begin{array}{l} \mathbf{if}\;z \leq -5.6 \cdot 10^{+124}:\\ \;\;\;\;z\\ \mathbf{elif}\;z \leq -2.3 \cdot 10^{-130}:\\ \;\;\;\;x\\ \mathbf{elif}\;z \leq -9 \cdot 10^{-304}:\\ \;\;\;\;-2 \cdot b\\ \mathbf{elif}\;z \leq 3.8 \cdot 10^{-252}:\\ \;\;\;\;y \cdot b\\ \mathbf{elif}\;z \leq 6 \cdot 10^{+175}:\\ \;\;\;\;x\\ \mathbf{else}:\\ \;\;\;\;z\\ \end{array} \]
Alternative 22
Error38.7
Cost720
\[\begin{array}{l} \mathbf{if}\;b \leq -1 \cdot 10^{+124}:\\ \;\;\;\;-2 \cdot b\\ \mathbf{elif}\;b \leq 7.5 \cdot 10^{-94}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 1.25 \cdot 10^{-41}:\\ \;\;\;\;y \cdot b\\ \mathbf{elif}\;b \leq 3.3 \cdot 10^{+137}:\\ \;\;\;\;x + z\\ \mathbf{else}:\\ \;\;\;\;-2 \cdot b\\ \end{array} \]
Alternative 23
Error43.9
Cost460
\[\begin{array}{l} \mathbf{if}\;x \leq -190:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq 1.26 \cdot 10^{-151}:\\ \;\;\;\;z\\ \mathbf{elif}\;x \leq 1.8 \cdot 10^{+43}:\\ \;\;\;\;a\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]
Alternative 24
Error43.5
Cost328
\[\begin{array}{l} \mathbf{if}\;x \leq -5.8 \cdot 10^{+41}:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq 1.8 \cdot 10^{+43}:\\ \;\;\;\;a\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]
Alternative 25
Error53.9
Cost64
\[a \]

Error

Reproduce

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