
(FPCore (x y z) :precision binary64 (+ (+ (+ (+ (+ x y) y) x) z) x))
double code(double x, double y, double z) {
return ((((x + y) + y) + x) + z) + x;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = ((((x + y) + y) + x) + z) + x
end function
public static double code(double x, double y, double z) {
return ((((x + y) + y) + x) + z) + x;
}
def code(x, y, z): return ((((x + y) + y) + x) + z) + x
function code(x, y, z) return Float64(Float64(Float64(Float64(Float64(x + y) + y) + x) + z) + x) end
function tmp = code(x, y, z) tmp = ((((x + y) + y) + x) + z) + x; end
code[x_, y_, z_] := N[(N[(N[(N[(N[(x + y), $MachinePrecision] + y), $MachinePrecision] + x), $MachinePrecision] + z), $MachinePrecision] + x), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(\left(x + y\right) + y\right) + x\right) + z\right) + x
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 8 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z) :precision binary64 (+ (+ (+ (+ (+ x y) y) x) z) x))
double code(double x, double y, double z) {
return ((((x + y) + y) + x) + z) + x;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = ((((x + y) + y) + x) + z) + x
end function
public static double code(double x, double y, double z) {
return ((((x + y) + y) + x) + z) + x;
}
def code(x, y, z): return ((((x + y) + y) + x) + z) + x
function code(x, y, z) return Float64(Float64(Float64(Float64(Float64(x + y) + y) + x) + z) + x) end
function tmp = code(x, y, z) tmp = ((((x + y) + y) + x) + z) + x; end
code[x_, y_, z_] := N[(N[(N[(N[(N[(x + y), $MachinePrecision] + y), $MachinePrecision] + x), $MachinePrecision] + z), $MachinePrecision] + x), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(\left(x + y\right) + y\right) + x\right) + z\right) + x
\end{array}
(FPCore (x y z) :precision binary64 (- z (fma x -3.0 (* y -2.0))))
double code(double x, double y, double z) {
return z - fma(x, -3.0, (y * -2.0));
}
function code(x, y, z) return Float64(z - fma(x, -3.0, Float64(y * -2.0))) end
code[x_, y_, z_] := N[(z - N[(x * -3.0 + N[(y * -2.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
z - \mathsf{fma}\left(x, -3, y \cdot -2\right)
\end{array}
Initial program 100.0%
+-commutative100.0%
associate-+l+100.0%
remove-double-neg100.0%
unsub-neg100.0%
+-commutative100.0%
+-commutative100.0%
associate-+l+100.0%
associate-+r+100.0%
associate-+r+100.0%
distribute-neg-in100.0%
distribute-neg-out100.0%
distribute-neg-out100.0%
neg-mul-1100.0%
count-2100.0%
distribute-lft-neg-in100.0%
metadata-eval100.0%
metadata-eval100.0%
distribute-rgt-out100.0%
fma-def100.0%
Simplified100.0%
Final simplification100.0%
(FPCore (x y z)
:precision binary64
(if (<= y -1.05e+28)
(* y 2.0)
(if (<= y -9.5e-148)
(* x 3.0)
(if (<= y 1.9e-261)
z
(if (<= y 3.9e-243)
(* x 3.0)
(if (<= y 6e-181)
z
(if (<= y 3.2e-148)
(* x 3.0)
(if (<= y 15000000000.0) z (* y 2.0)))))))))
double code(double x, double y, double z) {
double tmp;
if (y <= -1.05e+28) {
tmp = y * 2.0;
} else if (y <= -9.5e-148) {
tmp = x * 3.0;
} else if (y <= 1.9e-261) {
tmp = z;
} else if (y <= 3.9e-243) {
tmp = x * 3.0;
} else if (y <= 6e-181) {
tmp = z;
} else if (y <= 3.2e-148) {
tmp = x * 3.0;
} else if (y <= 15000000000.0) {
tmp = z;
} else {
tmp = y * 2.0;
}
return tmp;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: tmp
if (y <= (-1.05d+28)) then
tmp = y * 2.0d0
else if (y <= (-9.5d-148)) then
tmp = x * 3.0d0
else if (y <= 1.9d-261) then
tmp = z
else if (y <= 3.9d-243) then
tmp = x * 3.0d0
else if (y <= 6d-181) then
tmp = z
else if (y <= 3.2d-148) then
tmp = x * 3.0d0
else if (y <= 15000000000.0d0) then
tmp = z
else
tmp = y * 2.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if (y <= -1.05e+28) {
tmp = y * 2.0;
} else if (y <= -9.5e-148) {
tmp = x * 3.0;
} else if (y <= 1.9e-261) {
tmp = z;
} else if (y <= 3.9e-243) {
tmp = x * 3.0;
} else if (y <= 6e-181) {
tmp = z;
} else if (y <= 3.2e-148) {
tmp = x * 3.0;
} else if (y <= 15000000000.0) {
tmp = z;
} else {
tmp = y * 2.0;
}
return tmp;
}
def code(x, y, z): tmp = 0 if y <= -1.05e+28: tmp = y * 2.0 elif y <= -9.5e-148: tmp = x * 3.0 elif y <= 1.9e-261: tmp = z elif y <= 3.9e-243: tmp = x * 3.0 elif y <= 6e-181: tmp = z elif y <= 3.2e-148: tmp = x * 3.0 elif y <= 15000000000.0: tmp = z else: tmp = y * 2.0 return tmp
function code(x, y, z) tmp = 0.0 if (y <= -1.05e+28) tmp = Float64(y * 2.0); elseif (y <= -9.5e-148) tmp = Float64(x * 3.0); elseif (y <= 1.9e-261) tmp = z; elseif (y <= 3.9e-243) tmp = Float64(x * 3.0); elseif (y <= 6e-181) tmp = z; elseif (y <= 3.2e-148) tmp = Float64(x * 3.0); elseif (y <= 15000000000.0) tmp = z; else tmp = Float64(y * 2.0); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if (y <= -1.05e+28) tmp = y * 2.0; elseif (y <= -9.5e-148) tmp = x * 3.0; elseif (y <= 1.9e-261) tmp = z; elseif (y <= 3.9e-243) tmp = x * 3.0; elseif (y <= 6e-181) tmp = z; elseif (y <= 3.2e-148) tmp = x * 3.0; elseif (y <= 15000000000.0) tmp = z; else tmp = y * 2.0; end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[y, -1.05e+28], N[(y * 2.0), $MachinePrecision], If[LessEqual[y, -9.5e-148], N[(x * 3.0), $MachinePrecision], If[LessEqual[y, 1.9e-261], z, If[LessEqual[y, 3.9e-243], N[(x * 3.0), $MachinePrecision], If[LessEqual[y, 6e-181], z, If[LessEqual[y, 3.2e-148], N[(x * 3.0), $MachinePrecision], If[LessEqual[y, 15000000000.0], z, N[(y * 2.0), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.05 \cdot 10^{+28}:\\
\;\;\;\;y \cdot 2\\
\mathbf{elif}\;y \leq -9.5 \cdot 10^{-148}:\\
\;\;\;\;x \cdot 3\\
\mathbf{elif}\;y \leq 1.9 \cdot 10^{-261}:\\
\;\;\;\;z\\
\mathbf{elif}\;y \leq 3.9 \cdot 10^{-243}:\\
\;\;\;\;x \cdot 3\\
\mathbf{elif}\;y \leq 6 \cdot 10^{-181}:\\
\;\;\;\;z\\
\mathbf{elif}\;y \leq 3.2 \cdot 10^{-148}:\\
\;\;\;\;x \cdot 3\\
\mathbf{elif}\;y \leq 15000000000:\\
\;\;\;\;z\\
\mathbf{else}:\\
\;\;\;\;y \cdot 2\\
\end{array}
\end{array}
if y < -1.04999999999999995e28 or 1.5e10 < y Initial program 100.0%
associate-+l+100.0%
associate-+l+100.0%
+-commutative100.0%
count-2100.0%
+-commutative100.0%
+-commutative100.0%
Simplified100.0%
Taylor expanded in y around inf 68.1%
if -1.04999999999999995e28 < y < -9.50000000000000069e-148 or 1.9e-261 < y < 3.90000000000000015e-243 or 5.99999999999999948e-181 < y < 3.19999999999999993e-148Initial program 100.0%
associate-+l+100.0%
associate-+l+100.0%
+-commutative100.0%
count-2100.0%
+-commutative100.0%
+-commutative100.0%
Simplified100.0%
Taylor expanded in x around inf 66.1%
if -9.50000000000000069e-148 < y < 1.9e-261 or 3.90000000000000015e-243 < y < 5.99999999999999948e-181 or 3.19999999999999993e-148 < y < 1.5e10Initial program 100.0%
associate-+l+100.0%
associate-+l+100.0%
+-commutative100.0%
count-2100.0%
+-commutative100.0%
+-commutative100.0%
Simplified100.0%
Taylor expanded in z around inf 64.8%
Final simplification66.7%
(FPCore (x y z) :precision binary64 (if (or (<= x -1.75e-13) (not (<= x 4.4e-60))) (+ x (* 2.0 (+ x y))) (- z (* y -2.0))))
double code(double x, double y, double z) {
double tmp;
if ((x <= -1.75e-13) || !(x <= 4.4e-60)) {
tmp = x + (2.0 * (x + y));
} else {
tmp = z - (y * -2.0);
}
return tmp;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: tmp
if ((x <= (-1.75d-13)) .or. (.not. (x <= 4.4d-60))) then
tmp = x + (2.0d0 * (x + y))
else
tmp = z - (y * (-2.0d0))
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if ((x <= -1.75e-13) || !(x <= 4.4e-60)) {
tmp = x + (2.0 * (x + y));
} else {
tmp = z - (y * -2.0);
}
return tmp;
}
def code(x, y, z): tmp = 0 if (x <= -1.75e-13) or not (x <= 4.4e-60): tmp = x + (2.0 * (x + y)) else: tmp = z - (y * -2.0) return tmp
function code(x, y, z) tmp = 0.0 if ((x <= -1.75e-13) || !(x <= 4.4e-60)) tmp = Float64(x + Float64(2.0 * Float64(x + y))); else tmp = Float64(z - Float64(y * -2.0)); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if ((x <= -1.75e-13) || ~((x <= 4.4e-60))) tmp = x + (2.0 * (x + y)); else tmp = z - (y * -2.0); end tmp_2 = tmp; end
code[x_, y_, z_] := If[Or[LessEqual[x, -1.75e-13], N[Not[LessEqual[x, 4.4e-60]], $MachinePrecision]], N[(x + N[(2.0 * N[(x + y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z - N[(y * -2.0), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -1.75 \cdot 10^{-13} \lor \neg \left(x \leq 4.4 \cdot 10^{-60}\right):\\
\;\;\;\;x + 2 \cdot \left(x + y\right)\\
\mathbf{else}:\\
\;\;\;\;z - y \cdot -2\\
\end{array}
\end{array}
if x < -1.7500000000000001e-13 or 4.3999999999999998e-60 < x Initial program 100.0%
associate-+l+100.0%
associate-+l+100.0%
+-commutative100.0%
count-2100.0%
+-commutative100.0%
+-commutative100.0%
Simplified100.0%
Taylor expanded in z around 0 85.7%
if -1.7500000000000001e-13 < x < 4.3999999999999998e-60Initial program 100.0%
+-commutative100.0%
associate-+l+100.0%
remove-double-neg100.0%
unsub-neg100.0%
+-commutative100.0%
+-commutative100.0%
associate-+l+100.0%
associate-+r+100.0%
associate-+r+100.0%
distribute-neg-in100.0%
distribute-neg-out100.0%
distribute-neg-out100.0%
neg-mul-1100.0%
count-2100.0%
distribute-lft-neg-in100.0%
metadata-eval100.0%
metadata-eval100.0%
distribute-rgt-out100.0%
fma-def100.0%
Simplified100.0%
Taylor expanded in x around 0 98.9%
Final simplification92.1%
(FPCore (x y z) :precision binary64 (if (or (<= y -5.8e+84) (not (<= y 1.3e+81))) (* y 2.0) (- z (* x -3.0))))
double code(double x, double y, double z) {
double tmp;
if ((y <= -5.8e+84) || !(y <= 1.3e+81)) {
tmp = y * 2.0;
} else {
tmp = z - (x * -3.0);
}
return tmp;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: tmp
if ((y <= (-5.8d+84)) .or. (.not. (y <= 1.3d+81))) then
tmp = y * 2.0d0
else
tmp = z - (x * (-3.0d0))
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if ((y <= -5.8e+84) || !(y <= 1.3e+81)) {
tmp = y * 2.0;
} else {
tmp = z - (x * -3.0);
}
return tmp;
}
def code(x, y, z): tmp = 0 if (y <= -5.8e+84) or not (y <= 1.3e+81): tmp = y * 2.0 else: tmp = z - (x * -3.0) return tmp
function code(x, y, z) tmp = 0.0 if ((y <= -5.8e+84) || !(y <= 1.3e+81)) tmp = Float64(y * 2.0); else tmp = Float64(z - Float64(x * -3.0)); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if ((y <= -5.8e+84) || ~((y <= 1.3e+81))) tmp = y * 2.0; else tmp = z - (x * -3.0); end tmp_2 = tmp; end
code[x_, y_, z_] := If[Or[LessEqual[y, -5.8e+84], N[Not[LessEqual[y, 1.3e+81]], $MachinePrecision]], N[(y * 2.0), $MachinePrecision], N[(z - N[(x * -3.0), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -5.8 \cdot 10^{+84} \lor \neg \left(y \leq 1.3 \cdot 10^{+81}\right):\\
\;\;\;\;y \cdot 2\\
\mathbf{else}:\\
\;\;\;\;z - x \cdot -3\\
\end{array}
\end{array}
if y < -5.79999999999999977e84 or 1.29999999999999996e81 < y Initial program 100.0%
associate-+l+100.0%
associate-+l+100.0%
+-commutative100.0%
count-2100.0%
+-commutative100.0%
+-commutative100.0%
Simplified100.0%
Taylor expanded in y around inf 73.8%
if -5.79999999999999977e84 < y < 1.29999999999999996e81Initial program 100.0%
+-commutative100.0%
associate-+l+100.0%
remove-double-neg100.0%
unsub-neg100.0%
+-commutative100.0%
+-commutative100.0%
associate-+l+100.0%
associate-+r+100.0%
associate-+r+100.0%
distribute-neg-in100.0%
distribute-neg-out100.0%
distribute-neg-out100.0%
neg-mul-1100.0%
count-2100.0%
distribute-lft-neg-in100.0%
metadata-eval100.0%
metadata-eval100.0%
distribute-rgt-out100.0%
fma-def100.0%
Simplified100.0%
Taylor expanded in y around 0 84.2%
Final simplification80.1%
(FPCore (x y z) :precision binary64 (if (or (<= y -3.5e+27) (not (<= y 4.8e-15))) (- z (* y -2.0)) (- z (* x -3.0))))
double code(double x, double y, double z) {
double tmp;
if ((y <= -3.5e+27) || !(y <= 4.8e-15)) {
tmp = z - (y * -2.0);
} else {
tmp = z - (x * -3.0);
}
return tmp;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: tmp
if ((y <= (-3.5d+27)) .or. (.not. (y <= 4.8d-15))) then
tmp = z - (y * (-2.0d0))
else
tmp = z - (x * (-3.0d0))
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if ((y <= -3.5e+27) || !(y <= 4.8e-15)) {
tmp = z - (y * -2.0);
} else {
tmp = z - (x * -3.0);
}
return tmp;
}
def code(x, y, z): tmp = 0 if (y <= -3.5e+27) or not (y <= 4.8e-15): tmp = z - (y * -2.0) else: tmp = z - (x * -3.0) return tmp
function code(x, y, z) tmp = 0.0 if ((y <= -3.5e+27) || !(y <= 4.8e-15)) tmp = Float64(z - Float64(y * -2.0)); else tmp = Float64(z - Float64(x * -3.0)); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if ((y <= -3.5e+27) || ~((y <= 4.8e-15))) tmp = z - (y * -2.0); else tmp = z - (x * -3.0); end tmp_2 = tmp; end
code[x_, y_, z_] := If[Or[LessEqual[y, -3.5e+27], N[Not[LessEqual[y, 4.8e-15]], $MachinePrecision]], N[(z - N[(y * -2.0), $MachinePrecision]), $MachinePrecision], N[(z - N[(x * -3.0), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -3.5 \cdot 10^{+27} \lor \neg \left(y \leq 4.8 \cdot 10^{-15}\right):\\
\;\;\;\;z - y \cdot -2\\
\mathbf{else}:\\
\;\;\;\;z - x \cdot -3\\
\end{array}
\end{array}
if y < -3.5000000000000002e27 or 4.7999999999999999e-15 < y Initial program 100.0%
+-commutative100.0%
associate-+l+100.0%
remove-double-neg100.0%
unsub-neg100.0%
+-commutative100.0%
+-commutative100.0%
associate-+l+100.0%
associate-+r+100.0%
associate-+r+100.0%
distribute-neg-in100.0%
distribute-neg-out100.0%
distribute-neg-out100.0%
neg-mul-1100.0%
count-2100.0%
distribute-lft-neg-in100.0%
metadata-eval100.0%
metadata-eval100.0%
distribute-rgt-out100.0%
fma-def100.0%
Simplified100.0%
Taylor expanded in x around 0 84.0%
if -3.5000000000000002e27 < y < 4.7999999999999999e-15Initial program 100.0%
+-commutative100.0%
associate-+l+100.0%
remove-double-neg100.0%
unsub-neg100.0%
+-commutative100.0%
+-commutative100.0%
associate-+l+100.0%
associate-+r+100.0%
associate-+r+100.0%
distribute-neg-in100.0%
distribute-neg-out100.0%
distribute-neg-out100.0%
neg-mul-1100.0%
count-2100.0%
distribute-lft-neg-in100.0%
metadata-eval100.0%
metadata-eval100.0%
distribute-rgt-out100.0%
fma-def100.0%
Simplified100.0%
Taylor expanded in y around 0 92.9%
Final simplification88.3%
(FPCore (x y z) :precision binary64 (if (or (<= y -1.15e+27) (not (<= y 16000000000.0))) (* y 2.0) z))
double code(double x, double y, double z) {
double tmp;
if ((y <= -1.15e+27) || !(y <= 16000000000.0)) {
tmp = y * 2.0;
} else {
tmp = z;
}
return tmp;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: tmp
if ((y <= (-1.15d+27)) .or. (.not. (y <= 16000000000.0d0))) then
tmp = y * 2.0d0
else
tmp = z
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if ((y <= -1.15e+27) || !(y <= 16000000000.0)) {
tmp = y * 2.0;
} else {
tmp = z;
}
return tmp;
}
def code(x, y, z): tmp = 0 if (y <= -1.15e+27) or not (y <= 16000000000.0): tmp = y * 2.0 else: tmp = z return tmp
function code(x, y, z) tmp = 0.0 if ((y <= -1.15e+27) || !(y <= 16000000000.0)) tmp = Float64(y * 2.0); else tmp = z; end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if ((y <= -1.15e+27) || ~((y <= 16000000000.0))) tmp = y * 2.0; else tmp = z; end tmp_2 = tmp; end
code[x_, y_, z_] := If[Or[LessEqual[y, -1.15e+27], N[Not[LessEqual[y, 16000000000.0]], $MachinePrecision]], N[(y * 2.0), $MachinePrecision], z]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.15 \cdot 10^{+27} \lor \neg \left(y \leq 16000000000\right):\\
\;\;\;\;y \cdot 2\\
\mathbf{else}:\\
\;\;\;\;z\\
\end{array}
\end{array}
if y < -1.15e27 or 1.6e10 < y Initial program 100.0%
associate-+l+100.0%
associate-+l+100.0%
+-commutative100.0%
count-2100.0%
+-commutative100.0%
+-commutative100.0%
Simplified100.0%
Taylor expanded in y around inf 67.6%
if -1.15e27 < y < 1.6e10Initial program 100.0%
associate-+l+100.0%
associate-+l+100.0%
+-commutative100.0%
count-2100.0%
+-commutative100.0%
+-commutative100.0%
Simplified100.0%
Taylor expanded in z around inf 50.3%
Final simplification58.9%
(FPCore (x y z) :precision binary64 (+ (* 2.0 (+ x y)) (+ z x)))
double code(double x, double y, double z) {
return (2.0 * (x + y)) + (z + x);
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = (2.0d0 * (x + y)) + (z + x)
end function
public static double code(double x, double y, double z) {
return (2.0 * (x + y)) + (z + x);
}
def code(x, y, z): return (2.0 * (x + y)) + (z + x)
function code(x, y, z) return Float64(Float64(2.0 * Float64(x + y)) + Float64(z + x)) end
function tmp = code(x, y, z) tmp = (2.0 * (x + y)) + (z + x); end
code[x_, y_, z_] := N[(N[(2.0 * N[(x + y), $MachinePrecision]), $MachinePrecision] + N[(z + x), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
2 \cdot \left(x + y\right) + \left(z + x\right)
\end{array}
Initial program 100.0%
associate-+l+100.0%
associate-+l+100.0%
+-commutative100.0%
count-2100.0%
+-commutative100.0%
+-commutative100.0%
Simplified100.0%
Final simplification100.0%
(FPCore (x y z) :precision binary64 z)
double code(double x, double y, double z) {
return z;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = z
end function
public static double code(double x, double y, double z) {
return z;
}
def code(x, y, z): return z
function code(x, y, z) return z end
function tmp = code(x, y, z) tmp = z; end
code[x_, y_, z_] := z
\begin{array}{l}
\\
z
\end{array}
Initial program 100.0%
associate-+l+100.0%
associate-+l+100.0%
+-commutative100.0%
count-2100.0%
+-commutative100.0%
+-commutative100.0%
Simplified100.0%
Taylor expanded in z around inf 32.9%
Final simplification32.9%
herbie shell --seed 2024031
(FPCore (x y z)
:name "Graphics.Rendering.Plot.Render.Plot.Legend:renderLegendInside from plot-0.2.3.4"
:precision binary64
(+ (+ (+ (+ (+ x y) y) x) z) x))