Average Error: 0.0 → 0.0
Time: 28.9s
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 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, \mathsf{fma}\left(a, 1 - t, \mathsf{fma}\left(z, 1 - y, x\right)\right)\right)} \]
    Proof

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

    +-commutative [=>]0.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 [=>]0.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 [=>]0.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+ [=>]0.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 [=>]0.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 [=>]0.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 [=>]0.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 [=>]0.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 [=>]0.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 [=>]0.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- [=>]0.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 [<=]0.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 [=>]0.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 [<=]0.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 [=>]0.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 [=>]0.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 [=>]0.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 [=>]0.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 [=>]0.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- [=>]0.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 [<=]0.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 [=>]0.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 [<=]0.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 simplification0.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
Error31.2
Cost1768
\[\begin{array}{l} t_1 := a + \left(z + x\right)\\ t_2 := y \cdot \left(b - z\right)\\ t_3 := x + \left(t + -2\right) \cdot b\\ \mathbf{if}\;y \leq -1.35 \cdot 10^{+135}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq -1.08 \cdot 10^{+24}:\\ \;\;\;\;x - y \cdot z\\ \mathbf{elif}\;y \leq -4.1 \cdot 10^{-119}:\\ \;\;\;\;a + \left(x + -2 \cdot b\right)\\ \mathbf{elif}\;y \leq -1.5 \cdot 10^{-196}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq 4.5 \cdot 10^{-297}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 1.45 \cdot 10^{-164}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq 3.6 \cdot 10^{-132}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 5.2 \cdot 10^{-89}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq 3 \cdot 10^{-66}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 2.85 \cdot 10^{+66}:\\ \;\;\;\;z + a \cdot \left(1 - t\right)\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 2
Error37.2
Cost1640
\[\begin{array}{l} t_1 := a \cdot \left(1 - t\right)\\ t_2 := \left(t + -2\right) \cdot b\\ \mathbf{if}\;b \leq -2.35 \cdot 10^{+104}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq -6.2 \cdot 10^{+34}:\\ \;\;\;\;a + x\\ \mathbf{elif}\;b \leq -4.5 \cdot 10^{+28}:\\ \;\;\;\;t \cdot b\\ \mathbf{elif}\;b \leq -1.95 \cdot 10^{-41}:\\ \;\;\;\;z + x\\ \mathbf{elif}\;b \leq -2.2 \cdot 10^{-170}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq -3.2 \cdot 10^{-181}:\\ \;\;\;\;z + x\\ \mathbf{elif}\;b \leq -1.02 \cdot 10^{-183}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 1.65 \cdot 10^{-124}:\\ \;\;\;\;a + x\\ \mathbf{elif}\;b \leq 3.5 \cdot 10^{-44}:\\ \;\;\;\;z + x\\ \mathbf{elif}\;b \leq 2.65 \cdot 10^{+101}:\\ \;\;\;\;a + x\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 3
Error0.0
Cost1472
\[\left(\left(x + \left(a \cdot \left(1 - t\right) + z \cdot \left(1 - y\right)\right)\right) + \left(t + -2\right) \cdot b\right) + y \cdot b \]
Alternative 4
Error28.8
Cost1376
\[\begin{array}{l} t_1 := x - y \cdot z\\ t_2 := -2 \cdot b + \left(z + x\right)\\ t_3 := y \cdot \left(b - z\right)\\ t_4 := a + \left(z + x\right)\\ \mathbf{if}\;y \leq -6.5 \cdot 10^{+135}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq -20:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq -2.4 \cdot 10^{-201}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq 1.25 \cdot 10^{-303}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y \leq 2.45 \cdot 10^{-233}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq 8.5 \cdot 10^{-40}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y \leq 2.65 \cdot 10^{+66}:\\ \;\;\;\;t \cdot \left(b - a\right)\\ \mathbf{elif}\;y \leq 5.6 \cdot 10^{+122}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 5
Error28.3
Cost1372
\[\begin{array}{l} t_1 := -2 \cdot b + \left(z + x\right)\\ t_2 := y \cdot \left(b - z\right)\\ t_3 := a + \left(z + x\right)\\ \mathbf{if}\;y \leq -1.3 \cdot 10^{+135}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq -62:\\ \;\;\;\;x - y \cdot z\\ \mathbf{elif}\;y \leq -2.85 \cdot 10^{-201}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 6.2 \cdot 10^{-298}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq 1.8 \cdot 10^{-235}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 4.4 \cdot 10^{-66}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq 1.95 \cdot 10^{+67}:\\ \;\;\;\;z + a \cdot \left(1 - t\right)\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 6
Error28.3
Cost1372
\[\begin{array}{l} t_1 := a + \left(z + x\right)\\ \mathbf{if}\;b \leq -2.1 \cdot 10^{+28}:\\ \;\;\;\;x + \left(t + -2\right) \cdot b\\ \mathbf{elif}\;b \leq -1.1 \cdot 10^{-5}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq -2.45 \cdot 10^{-68}:\\ \;\;\;\;x - t \cdot a\\ \mathbf{elif}\;b \leq -2.2 \cdot 10^{-170}:\\ \;\;\;\;z + a \cdot \left(1 - t\right)\\ \mathbf{elif}\;b \leq 4.6 \cdot 10^{-125}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 1.7 \cdot 10^{-40}:\\ \;\;\;\;x + z \cdot \left(1 - y\right)\\ \mathbf{elif}\;b \leq 1.06 \cdot 10^{+72}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(-2 + \left(y + t\right)\right)\\ \end{array} \]
Alternative 7
Error27.2
Cost1372
\[\begin{array}{l} t_1 := x + a \cdot \left(1 - t\right)\\ t_2 := x + z \cdot \left(1 - y\right)\\ t_3 := a + \left(z + x\right)\\ \mathbf{if}\;b \leq -3.8 \cdot 10^{+71}:\\ \;\;\;\;x + \left(t + -2\right) \cdot b\\ \mathbf{elif}\;b \leq -0.00345:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq -2.4 \cdot 10^{-79}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 1.75 \cdot 10^{-272}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;b \leq 8.5 \cdot 10^{-127}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 1.6 \cdot 10^{-40}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 1.7 \cdot 10^{+72}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(-2 + \left(y + t\right)\right)\\ \end{array} \]
Alternative 8
Error22.0
Cost1372
\[\begin{array}{l} t_1 := a + \left(-2 \cdot b + \left(z + x\right)\right)\\ t_2 := z + \left(x + \left(t + -2\right) \cdot b\right)\\ t_3 := y \cdot \left(b - z\right)\\ \mathbf{if}\;y \leq -1.8 \cdot 10^{+135}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq -1750:\\ \;\;\;\;x + z \cdot \left(1 - y\right)\\ \mathbf{elif}\;y \leq -1 \cdot 10^{-220}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq 1.5 \cdot 10^{-267}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 3.2 \cdot 10^{-163}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq 7.5 \cdot 10^{-10}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 1.92 \cdot 10^{+148}:\\ \;\;\;\;x + a \cdot \left(1 - t\right)\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 9
Error19.0
Cost1364
\[\begin{array}{l} t_1 := a \cdot \left(1 - t\right)\\ t_2 := x + \left(z + t_1\right)\\ \mathbf{if}\;b \leq -9.5 \cdot 10^{+27}:\\ \;\;\;\;x + b \cdot \left(-2 + \left(y + t\right)\right)\\ \mathbf{elif}\;b \leq 9.6 \cdot 10^{-126}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 2.6 \cdot 10^{-40}:\\ \;\;\;\;\left(x + z \cdot \left(1 - y\right)\right) - t \cdot a\\ \mathbf{elif}\;b \leq 1.6 \cdot 10^{-7}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 1.85 \cdot 10^{+71}:\\ \;\;\;\;\left(x + y \cdot b\right) + t_1\\ \mathbf{else}:\\ \;\;\;\;\left(y + \left(t + -2\right)\right) \cdot b - y \cdot z\\ \end{array} \]
Alternative 10
Error17.6
Cost1360
\[\begin{array}{l} t_1 := t \cdot \left(b - a\right) + \left(x + b \cdot \left(y + -2\right)\right)\\ t_2 := a \cdot \left(1 - t\right)\\ \mathbf{if}\;b \leq -3.4 \cdot 10^{+28}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 4.5 \cdot 10^{-125}:\\ \;\;\;\;x + \left(z + t_2\right)\\ \mathbf{elif}\;b \leq 2.5 \cdot 10^{-33}:\\ \;\;\;\;\left(x + z \cdot \left(1 - y\right)\right) - t \cdot a\\ \mathbf{elif}\;b \leq 1.7 \cdot 10^{+49}:\\ \;\;\;\;\left(x + y \cdot b\right) + t_2\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 11
Error8.6
Cost1357
\[\begin{array}{l} t_1 := a \cdot \left(1 - t\right)\\ \mathbf{if}\;y \leq -1.2 \cdot 10^{+134}:\\ \;\;\;\;\left(y + \left(t + -2\right)\right) \cdot b - y \cdot z\\ \mathbf{elif}\;y \leq -0.11 \lor \neg \left(y \leq 9.8 \cdot 10^{+32}\right):\\ \;\;\;\;x + \left(t_1 + z \cdot \left(1 - y\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(z + \left(x + \left(t + -2\right) \cdot b\right)\right) + t_1\\ \end{array} \]
Alternative 12
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 13
Error7.0
Cost1225
\[\begin{array}{l} \mathbf{if}\;y \leq -9.2 \cdot 10^{-10} \lor \neg \left(y \leq 3.25 \cdot 10^{+66}\right):\\ \;\;\;\;\left(x + b \cdot \left(-2 + \left(y + t\right)\right)\right) + z \cdot \left(1 - y\right)\\ \mathbf{else}:\\ \;\;\;\;\left(z + \left(x + \left(t + -2\right) \cdot b\right)\right) + a \cdot \left(1 - t\right)\\ \end{array} \]
Alternative 14
Error18.8
Cost1100
\[\begin{array}{l} t_1 := a \cdot \left(1 - t\right)\\ \mathbf{if}\;b \leq -3.8 \cdot 10^{+28}:\\ \;\;\;\;x + b \cdot \left(-2 + \left(y + t\right)\right)\\ \mathbf{elif}\;b \leq 1.62 \cdot 10^{-9}:\\ \;\;\;\;x + \left(z + t_1\right)\\ \mathbf{elif}\;b \leq 1.85 \cdot 10^{+72}:\\ \;\;\;\;\left(x + y \cdot b\right) + t_1\\ \mathbf{else}:\\ \;\;\;\;\left(y + \left(t + -2\right)\right) \cdot b - y \cdot z\\ \end{array} \]
Alternative 15
Error11.3
Cost1097
\[\begin{array}{l} \mathbf{if}\;b \leq -3 \cdot 10^{+94} \lor \neg \left(b \leq 52000000000\right):\\ \;\;\;\;t \cdot \left(b - a\right) + \left(x + b \cdot \left(y + -2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x + \left(a \cdot \left(1 - t\right) + z \cdot \left(1 - y\right)\right)\\ \end{array} \]
Alternative 16
Error20.8
Cost976
\[\begin{array}{l} t_1 := y \cdot \left(b - z\right)\\ \mathbf{if}\;y \leq -5 \cdot 10^{+135}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq -3.4 \cdot 10^{+24}:\\ \;\;\;\;x - y \cdot z\\ \mathbf{elif}\;y \leq 5.5 \cdot 10^{-11}:\\ \;\;\;\;a + \left(-2 \cdot b + \left(z + x\right)\right)\\ \mathbf{elif}\;y \leq 2.45 \cdot 10^{+145}:\\ \;\;\;\;x + a \cdot \left(1 - t\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 17
Error18.9
Cost968
\[\begin{array}{l} \mathbf{if}\;b \leq -3.8 \cdot 10^{+28}:\\ \;\;\;\;x + b \cdot \left(-2 + \left(y + t\right)\right)\\ \mathbf{elif}\;b \leq 6.8 \cdot 10^{+66}:\\ \;\;\;\;x + \left(z + a \cdot \left(1 - t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(y + \left(t + -2\right)\right) \cdot b - y \cdot z\\ \end{array} \]
Alternative 18
Error34.3
Cost850
\[\begin{array}{l} \mathbf{if}\;t \leq -19 \lor \neg \left(t \leq 8600000\right) \land \left(t \leq 1.9 \cdot 10^{+108} \lor \neg \left(t \leq 9.6 \cdot 10^{+154}\right)\right):\\ \;\;\;\;t \cdot \left(b - a\right)\\ \mathbf{else}:\\ \;\;\;\;a + x\\ \end{array} \]
Alternative 19
Error18.2
Cost841
\[\begin{array}{l} \mathbf{if}\;b \leq -3.3 \cdot 10^{+28} \lor \neg \left(b \leq 7 \cdot 10^{+62}\right):\\ \;\;\;\;x + b \cdot \left(-2 + \left(y + t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x + \left(z + a \cdot \left(1 - t\right)\right)\\ \end{array} \]
Alternative 20
Error26.1
Cost713
\[\begin{array}{l} \mathbf{if}\;b \leq -4 \cdot 10^{+97} \lor \neg \left(b \leq 6.2 \cdot 10^{+71}\right):\\ \;\;\;\;b \cdot \left(-2 + \left(y + t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a + \left(z + x\right)\\ \end{array} \]
Alternative 21
Error44.2
Cost592
\[\begin{array}{l} \mathbf{if}\;x \leq -1.5 \cdot 10^{+96}:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq 4.8 \cdot 10^{-169}:\\ \;\;\;\;a\\ \mathbf{elif}\;x \leq 2.05 \cdot 10^{-76}:\\ \;\;\;\;y \cdot b\\ \mathbf{elif}\;x \leq 3.5 \cdot 10^{+94}:\\ \;\;\;\;a\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]
Alternative 22
Error40.2
Cost589
\[\begin{array}{l} \mathbf{if}\;t \leq -7.8 \cdot 10^{+60} \lor \neg \left(t \leq 3.4 \cdot 10^{+19}\right) \land t \leq 9.5 \cdot 10^{+104}:\\ \;\;\;\;t \cdot b\\ \mathbf{else}:\\ \;\;\;\;a + x\\ \end{array} \]
Alternative 23
Error28.4
Cost585
\[\begin{array}{l} \mathbf{if}\;b \leq -3 \cdot 10^{+98} \lor \neg \left(b \leq 6 \cdot 10^{+102}\right):\\ \;\;\;\;\left(t + -2\right) \cdot b\\ \mathbf{else}:\\ \;\;\;\;a + \left(z + x\right)\\ \end{array} \]
Alternative 24
Error34.5
Cost456
\[\begin{array}{l} \mathbf{if}\;x \leq -6.1 \cdot 10^{+85}:\\ \;\;\;\;a + x\\ \mathbf{elif}\;x \leq 2.05 \cdot 10^{+57}:\\ \;\;\;\;a + z\\ \mathbf{else}:\\ \;\;\;\;a + x\\ \end{array} \]
Alternative 25
Error43.8
Cost328
\[\begin{array}{l} \mathbf{if}\;x \leq -3.3 \cdot 10^{+96}:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq 2.3 \cdot 10^{+95}:\\ \;\;\;\;a\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]
Alternative 26
Error53.6
Cost64
\[a \]

Error

Reproduce

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