Average Error: 0.0 → 0.0
Time: 20.1s
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(t + \left(y + -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 (+ t (+ y -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((t + (y + -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(t + Float64(y + -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[(t + N[(y + -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(t + \left(y + -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(t + \left(y - 2\right), b, x - \mathsf{fma}\left(y - 1, z, \left(t + -1\right) \cdot a\right)\right)} \]
    Proof
    (fma.f64 (+.f64 t (-.f64 y 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 t y) 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 (Rewrite<= +-commutative_binary64 (+.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 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)))): 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<= remove-double-neg_binary64 (neg.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 (Rewrite=> distribute-lft-neg-out_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 (Rewrite<= fma-neg_binary64 (-.f64 (*.f64 (-.f64 y 1) z) (*.f64 (neg.f64 (-.f64 t 1)) a))))): 1 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)) (*.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 (Rewrite<= cancel-sign-sub-inv_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(t + \left(y + -2\right), b, x - \mathsf{fma}\left(y + -1, z, a \cdot \left(t + -1\right)\right)\right) \]

Alternatives

Alternative 1
Error34.5
Cost1900
\[\begin{array}{l} t_1 := x - y \cdot z\\ t_2 := b \cdot \left(\left(t + y\right) + -2\right)\\ \mathbf{if}\;b \leq -1.55 \cdot 10^{-6}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq -4.5 \cdot 10^{-38}:\\ \;\;\;\;x + y \cdot b\\ \mathbf{elif}\;b \leq -6.2 \cdot 10^{-86}:\\ \;\;\;\;a\\ \mathbf{elif}\;b \leq -1.8 \cdot 10^{-127}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq -6.5 \cdot 10^{-246}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 4.6 \cdot 10^{-307}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 1.4 \cdot 10^{-268}:\\ \;\;\;\;a\\ \mathbf{elif}\;b \leq 3.2 \cdot 10^{-168}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 7.2 \cdot 10^{-136}:\\ \;\;\;\;x + t \cdot \left(b - a\right)\\ \mathbf{elif}\;b \leq 2.1 \cdot 10^{-123}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 95000:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 2
Error13.0
Cost1756
\[\begin{array}{l} t_1 := a + \left(x + \left(y + -2\right) \cdot b\right)\\ t_2 := z \cdot \left(1 - y\right)\\ t_3 := \left(x + t \cdot \left(b - a\right)\right) + t_2\\ t_4 := \left(x + a\right) + t_2\\ \mathbf{if}\;t \leq -380000:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq -3.1 \cdot 10^{-227}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 5 \cdot 10^{-299}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;t \leq 9.5 \cdot 10^{-268}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 4.6 \cdot 10^{-167}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;t \leq 4.5 \cdot 10^{-131}:\\ \;\;\;\;x + \left(z + b \cdot \left(t + -2\right)\right)\\ \mathbf{elif}\;t \leq 0.00145:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 3
Error18.4
Cost1628
\[\begin{array}{l} t_1 := a + \left(x + \left(y + -2\right) \cdot b\right)\\ t_2 := z \cdot \left(1 - y\right)\\ t_3 := \left(x + a\right) + t_2\\ \mathbf{if}\;t \leq -185000000:\\ \;\;\;\;x + t \cdot \left(b - a\right)\\ \mathbf{elif}\;t \leq -3.7 \cdot 10^{-227}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 3.4 \cdot 10^{-292}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq 1.56 \cdot 10^{-267}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 8.5 \cdot 10^{-167}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq 5 \cdot 10^{-130}:\\ \;\;\;\;x + \left(z + b \cdot \left(t + -2\right)\right)\\ \mathbf{elif}\;t \leq 0.00145:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;\left(x - t \cdot a\right) + t_2\\ \end{array} \]
Alternative 4
Error15.6
Cost1624
\[\begin{array}{l} t_1 := a + \left(x + \left(y + -2\right) \cdot b\right)\\ t_2 := z \cdot \left(1 - y\right)\\ t_3 := \left(x + a\right) + t_2\\ \mathbf{if}\;t \leq -380000:\\ \;\;\;\;\left(x + t \cdot \left(b - a\right)\right) + t_2\\ \mathbf{elif}\;t \leq -3.8 \cdot 10^{-237}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 4.4 \cdot 10^{-294}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq 2.15 \cdot 10^{-268}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 4.6 \cdot 10^{-167}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq 1.55 \cdot 10^{-130}:\\ \;\;\;\;x + \left(z + b \cdot \left(t + -2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(x + t_2\right) + \left(a - t \cdot a\right)\\ \end{array} \]
Alternative 5
Error34.7
Cost1504
\[\begin{array}{l} t_1 := x - y \cdot z\\ t_2 := b \cdot \left(\left(t + y\right) + -2\right)\\ \mathbf{if}\;b \leq -3.2 \cdot 10^{-5}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq -1.35 \cdot 10^{-37}:\\ \;\;\;\;x + y \cdot b\\ \mathbf{elif}\;b \leq -6.6 \cdot 10^{-86}:\\ \;\;\;\;a\\ \mathbf{elif}\;b \leq -5.1 \cdot 10^{-124}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq -5.5 \cdot 10^{-244}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 4.5 \cdot 10^{-307}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 3.2 \cdot 10^{-270}:\\ \;\;\;\;a\\ \mathbf{elif}\;b \leq 82000:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 6
Error18.6
Cost1500
\[\begin{array}{l} t_1 := a + \left(x + \left(y + -2\right) \cdot b\right)\\ t_2 := x + t \cdot \left(b - a\right)\\ t_3 := \left(x + a\right) + z \cdot \left(1 - y\right)\\ \mathbf{if}\;t \leq -380000:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -2.9 \cdot 10^{-227}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 6 \cdot 10^{-296}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq 1.3 \cdot 10^{-267}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 3.3 \cdot 10^{-167}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq 6 \cdot 10^{-131}:\\ \;\;\;\;x + \left(z + b \cdot \left(t + -2\right)\right)\\ \mathbf{elif}\;t \leq 2.55 \cdot 10^{+54}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 7
Error19.7
Cost1500
\[\begin{array}{l} t_1 := a + \left(x + \left(y + -2\right) \cdot b\right)\\ t_2 := \left(x + a\right) + z \cdot \left(1 - y\right)\\ \mathbf{if}\;t \leq -820000:\\ \;\;\;\;x + t \cdot \left(b - a\right)\\ \mathbf{elif}\;t \leq -6 \cdot 10^{-228}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 4.8 \cdot 10^{-299}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 2 \cdot 10^{-268}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 2 \cdot 10^{-168}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 1.7 \cdot 10^{-130}:\\ \;\;\;\;x + \left(z + b \cdot \left(t + -2\right)\right)\\ \mathbf{elif}\;t \leq 2.15 \cdot 10^{-35}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;\left(x + z\right) + \left(a - t \cdot a\right)\\ \end{array} \]
Alternative 8
Error9.6
Cost1356
\[\begin{array}{l} t_1 := x + z \cdot \left(1 - y\right)\\ t_2 := a - t \cdot a\\ \mathbf{if}\;a \leq -1.6 \cdot 10^{+156}:\\ \;\;\;\;a + \left(x + \left(y + -2\right) \cdot b\right)\\ \mathbf{elif}\;a \leq -8.8 \cdot 10^{+18}:\\ \;\;\;\;\left(x + z\right) + t_2\\ \mathbf{elif}\;a \leq 2.05 \cdot 10^{+44}:\\ \;\;\;\;b \cdot \left(\left(t + y\right) + -2\right) + t_1\\ \mathbf{else}:\\ \;\;\;\;t_1 + t_2\\ \end{array} \]
Alternative 9
Error0.0
Cost1344
\[\left(\left(x + z \cdot \left(1 - y\right)\right) + a \cdot \left(1 - t\right)\right) + b \cdot \left(\left(t + y\right) + -2\right) \]
Alternative 10
Error50.3
Cost1252
\[\begin{array}{l} \mathbf{if}\;t \leq -7.8 \cdot 10^{+127}:\\ \;\;\;\;t \cdot b\\ \mathbf{elif}\;t \leq -6.2 \cdot 10^{+61}:\\ \;\;\;\;x\\ \mathbf{elif}\;t \leq -380000:\\ \;\;\;\;t \cdot b\\ \mathbf{elif}\;t \leq -1.8 \cdot 10^{-154}:\\ \;\;\;\;a\\ \mathbf{elif}\;t \leq -3.9 \cdot 10^{-184}:\\ \;\;\;\;y \cdot b\\ \mathbf{elif}\;t \leq -2.9 \cdot 10^{-281}:\\ \;\;\;\;a\\ \mathbf{elif}\;t \leq -2.2 \cdot 10^{-308}:\\ \;\;\;\;x\\ \mathbf{elif}\;t \leq 8.2 \cdot 10^{-164}:\\ \;\;\;\;a\\ \mathbf{elif}\;t \leq 3.6 \cdot 10^{+64}:\\ \;\;\;\;z\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]
Alternative 11
Error38.3
Cost1244
\[\begin{array}{l} t_1 := x - y \cdot z\\ \mathbf{if}\;a \leq -1.65 \cdot 10^{+101}:\\ \;\;\;\;a\\ \mathbf{elif}\;a \leq -4.5 \cdot 10^{-18}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;a \leq -6.5 \cdot 10^{-137}:\\ \;\;\;\;z - y \cdot z\\ \mathbf{elif}\;a \leq -1.22 \cdot 10^{-251}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;a \leq 2.05 \cdot 10^{-238}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 4.5 \cdot 10^{-108}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;a \leq 3.05 \cdot 10^{+131}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;a\\ \end{array} \]
Alternative 12
Error2.2
Cost1224
\[\begin{array}{l} t_1 := z \cdot \left(1 - y\right)\\ t_2 := \left(x + t \cdot \left(b - a\right)\right) + t_1\\ \mathbf{if}\;t \leq -6000000:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 0.00145:\\ \;\;\;\;\left(x + t_1\right) + \left(a + \left(y + -2\right) \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 13
Error37.8
Cost1180
\[\begin{array}{l} t_1 := y \cdot \left(b - z\right)\\ \mathbf{if}\;a \leq -1.35 \cdot 10^{+103}:\\ \;\;\;\;a\\ \mathbf{elif}\;a \leq 9 \cdot 10^{-290}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;a \leq 10^{-236}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 2.5 \cdot 10^{+66}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;a \leq 1.16 \cdot 10^{+126}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 6.5 \cdot 10^{+172}:\\ \;\;\;\;a\\ \mathbf{elif}\;a \leq 1.6 \cdot 10^{+223}:\\ \;\;\;\;t \cdot \left(-a\right)\\ \mathbf{else}:\\ \;\;\;\;a\\ \end{array} \]
Alternative 14
Error37.9
Cost1112
\[\begin{array}{l} t_1 := \left(y + -2\right) \cdot b\\ \mathbf{if}\;b \leq -3.3 \cdot 10^{+36}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 1.15 \cdot 10^{-307}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 1.55 \cdot 10^{-271}:\\ \;\;\;\;a\\ \mathbf{elif}\;b \leq 1.35 \cdot 10^{-99}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;b \leq 5.4 \cdot 10^{-48}:\\ \;\;\;\;y \cdot \left(b - z\right)\\ \mathbf{elif}\;b \leq 11000000:\\ \;\;\;\;x + z\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 15
Error19.6
Cost1108
\[\begin{array}{l} t_1 := a + \left(x + \left(y + -2\right) \cdot b\right)\\ t_2 := x + t \cdot \left(b - a\right)\\ t_3 := x + z \cdot \left(1 - y\right)\\ \mathbf{if}\;t \leq -750000:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 1.05 \cdot 10^{-220}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 1.95 \cdot 10^{-206}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq 1.65 \cdot 10^{-90}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 1.5 \cdot 10^{+59}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 16
Error34.6
Cost980
\[\begin{array}{l} t_1 := y \cdot \left(b - z\right)\\ \mathbf{if}\;y \leq -1.4 \cdot 10^{+149}:\\ \;\;\;\;x + y \cdot b\\ \mathbf{elif}\;y \leq -3.8 \cdot 10^{+18}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq -8.5 \cdot 10^{-257}:\\ \;\;\;\;x + z\\ \mathbf{elif}\;y \leq -4 \cdot 10^{-290}:\\ \;\;\;\;\left(y + -2\right) \cdot b\\ \mathbf{elif}\;y \leq 0.215:\\ \;\;\;\;x + z\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 17
Error28.6
Cost976
\[\begin{array}{l} t_1 := x + z \cdot \left(1 - y\right)\\ t_2 := b \cdot \left(\left(t + y\right) + -2\right)\\ \mathbf{if}\;b \leq -5 \cdot 10^{-5}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 3.7 \cdot 10^{-307}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 1.55 \cdot 10^{-271}:\\ \;\;\;\;a\\ \mathbf{elif}\;b \leq 4.6 \cdot 10^{+61}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 18
Error46.0
Cost460
\[\begin{array}{l} \mathbf{if}\;a \leq -3.6 \cdot 10^{+65}:\\ \;\;\;\;a\\ \mathbf{elif}\;a \leq -8 \cdot 10^{-239}:\\ \;\;\;\;z\\ \mathbf{elif}\;a \leq 4.8 \cdot 10^{+55}:\\ \;\;\;\;x\\ \mathbf{else}:\\ \;\;\;\;a\\ \end{array} \]
Alternative 19
Error36.8
Cost456
\[\begin{array}{l} \mathbf{if}\;a \leq -6 \cdot 10^{+98}:\\ \;\;\;\;a\\ \mathbf{elif}\;a \leq 3 \cdot 10^{+59}:\\ \;\;\;\;x + z\\ \mathbf{else}:\\ \;\;\;\;a\\ \end{array} \]
Alternative 20
Error44.2
Cost328
\[\begin{array}{l} \mathbf{if}\;a \leq -7.6 \cdot 10^{+102}:\\ \;\;\;\;a\\ \mathbf{elif}\;a \leq 2 \cdot 10^{+55}:\\ \;\;\;\;x\\ \mathbf{else}:\\ \;\;\;\;a\\ \end{array} \]
Alternative 21
Error53.9
Cost64
\[a \]

Error

Reproduce

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