
(FPCore (x y z) :precision binary64 (+ x (/ (exp (* y (log (/ y (+ z y))))) y)))
double code(double x, double y, double z) {
return x + (exp((y * log((y / (z + y))))) / y);
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = x + (exp((y * log((y / (z + y))))) / y)
end function
public static double code(double x, double y, double z) {
return x + (Math.exp((y * Math.log((y / (z + y))))) / y);
}
def code(x, y, z): return x + (math.exp((y * math.log((y / (z + y))))) / y)
function code(x, y, z) return Float64(x + Float64(exp(Float64(y * log(Float64(y / Float64(z + y))))) / y)) end
function tmp = code(x, y, z) tmp = x + (exp((y * log((y / (z + y))))) / y); end
code[x_, y_, z_] := N[(x + N[(N[Exp[N[(y * N[Log[N[(y / N[(z + y), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]], $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \frac{e^{y \cdot \log \left(\frac{y}{z + y}\right)}}{y}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 7 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z) :precision binary64 (+ x (/ (exp (* y (log (/ y (+ z y))))) y)))
double code(double x, double y, double z) {
return x + (exp((y * log((y / (z + y))))) / y);
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = x + (exp((y * log((y / (z + y))))) / y)
end function
public static double code(double x, double y, double z) {
return x + (Math.exp((y * Math.log((y / (z + y))))) / y);
}
def code(x, y, z): return x + (math.exp((y * math.log((y / (z + y))))) / y)
function code(x, y, z) return Float64(x + Float64(exp(Float64(y * log(Float64(y / Float64(z + y))))) / y)) end
function tmp = code(x, y, z) tmp = x + (exp((y * log((y / (z + y))))) / y); end
code[x_, y_, z_] := N[(x + N[(N[Exp[N[(y * N[Log[N[(y / N[(z + y), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]], $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \frac{e^{y \cdot \log \left(\frac{y}{z + y}\right)}}{y}
\end{array}
(FPCore (x y z) :precision binary64 (if (or (<= y -1.46) (not (<= y 5e-21))) (+ x (/ (exp (- z)) y)) (+ x (/ 1.0 y))))
double code(double x, double y, double z) {
double tmp;
if ((y <= -1.46) || !(y <= 5e-21)) {
tmp = x + (exp(-z) / y);
} else {
tmp = x + (1.0 / y);
}
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.46d0)) .or. (.not. (y <= 5d-21))) then
tmp = x + (exp(-z) / y)
else
tmp = x + (1.0d0 / y)
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if ((y <= -1.46) || !(y <= 5e-21)) {
tmp = x + (Math.exp(-z) / y);
} else {
tmp = x + (1.0 / y);
}
return tmp;
}
def code(x, y, z): tmp = 0 if (y <= -1.46) or not (y <= 5e-21): tmp = x + (math.exp(-z) / y) else: tmp = x + (1.0 / y) return tmp
function code(x, y, z) tmp = 0.0 if ((y <= -1.46) || !(y <= 5e-21)) tmp = Float64(x + Float64(exp(Float64(-z)) / y)); else tmp = Float64(x + Float64(1.0 / y)); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if ((y <= -1.46) || ~((y <= 5e-21))) tmp = x + (exp(-z) / y); else tmp = x + (1.0 / y); end tmp_2 = tmp; end
code[x_, y_, z_] := If[Or[LessEqual[y, -1.46], N[Not[LessEqual[y, 5e-21]], $MachinePrecision]], N[(x + N[(N[Exp[(-z)], $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision], N[(x + N[(1.0 / y), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.46 \lor \neg \left(y \leq 5 \cdot 10^{-21}\right):\\
\;\;\;\;x + \frac{e^{-z}}{y}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{1}{y}\\
\end{array}
\end{array}
if y < -1.46 or 4.99999999999999973e-21 < y Initial program 88.4%
*-commutative88.4%
exp-to-pow88.4%
+-commutative88.4%
Simplified88.4%
Taylor expanded in y around inf 100.0%
mul-1-neg100.0%
Simplified100.0%
if -1.46 < y < 4.99999999999999973e-21Initial program 82.0%
exp-prod100.0%
+-commutative100.0%
Simplified100.0%
Taylor expanded in y around inf 100.0%
Final simplification100.0%
(FPCore (x y z) :precision binary64 (if (<= y -1.25) (+ x (/ (+ 1.0 (* z (+ (/ (* 0.5 (+ z (* y z))) y) -1.0))) y)) (if (<= y 2.4e+15) (+ x (/ 1.0 y)) x)))
double code(double x, double y, double z) {
double tmp;
if (y <= -1.25) {
tmp = x + ((1.0 + (z * (((0.5 * (z + (y * z))) / y) + -1.0))) / y);
} else if (y <= 2.4e+15) {
tmp = x + (1.0 / y);
} else {
tmp = x;
}
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.25d0)) then
tmp = x + ((1.0d0 + (z * (((0.5d0 * (z + (y * z))) / y) + (-1.0d0)))) / y)
else if (y <= 2.4d+15) then
tmp = x + (1.0d0 / y)
else
tmp = x
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if (y <= -1.25) {
tmp = x + ((1.0 + (z * (((0.5 * (z + (y * z))) / y) + -1.0))) / y);
} else if (y <= 2.4e+15) {
tmp = x + (1.0 / y);
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z): tmp = 0 if y <= -1.25: tmp = x + ((1.0 + (z * (((0.5 * (z + (y * z))) / y) + -1.0))) / y) elif y <= 2.4e+15: tmp = x + (1.0 / y) else: tmp = x return tmp
function code(x, y, z) tmp = 0.0 if (y <= -1.25) tmp = Float64(x + Float64(Float64(1.0 + Float64(z * Float64(Float64(Float64(0.5 * Float64(z + Float64(y * z))) / y) + -1.0))) / y)); elseif (y <= 2.4e+15) tmp = Float64(x + Float64(1.0 / y)); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if (y <= -1.25) tmp = x + ((1.0 + (z * (((0.5 * (z + (y * z))) / y) + -1.0))) / y); elseif (y <= 2.4e+15) tmp = x + (1.0 / y); else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[y, -1.25], N[(x + N[(N[(1.0 + N[(z * N[(N[(N[(0.5 * N[(z + N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision] + -1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.4e+15], N[(x + N[(1.0 / y), $MachinePrecision]), $MachinePrecision], x]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.25:\\
\;\;\;\;x + \frac{1 + z \cdot \left(\frac{0.5 \cdot \left(z + y \cdot z\right)}{y} + -1\right)}{y}\\
\mathbf{elif}\;y \leq 2.4 \cdot 10^{+15}:\\
\;\;\;\;x + \frac{1}{y}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if y < -1.25Initial program 90.8%
exp-prod90.8%
+-commutative90.8%
Simplified90.8%
Taylor expanded in z around 0 79.8%
Taylor expanded in y around 0 82.7%
distribute-lft-out82.7%
Simplified82.7%
if -1.25 < y < 2.4e15Initial program 83.3%
exp-prod100.0%
+-commutative100.0%
Simplified100.0%
Taylor expanded in y around inf 100.0%
if 2.4e15 < y Initial program 85.3%
exp-prod85.3%
+-commutative85.3%
Simplified85.3%
Taylor expanded in x around inf 80.7%
Final simplification89.4%
(FPCore (x y z) :precision binary64 (if (<= y -1.1) (+ x (/ (+ 1.0 (* z (+ (* z (* z -0.16666666666666666)) -1.0))) y)) (if (<= y 2.4e+15) (+ x (/ 1.0 y)) x)))
double code(double x, double y, double z) {
double tmp;
if (y <= -1.1) {
tmp = x + ((1.0 + (z * ((z * (z * -0.16666666666666666)) + -1.0))) / y);
} else if (y <= 2.4e+15) {
tmp = x + (1.0 / y);
} else {
tmp = x;
}
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.1d0)) then
tmp = x + ((1.0d0 + (z * ((z * (z * (-0.16666666666666666d0))) + (-1.0d0)))) / y)
else if (y <= 2.4d+15) then
tmp = x + (1.0d0 / y)
else
tmp = x
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if (y <= -1.1) {
tmp = x + ((1.0 + (z * ((z * (z * -0.16666666666666666)) + -1.0))) / y);
} else if (y <= 2.4e+15) {
tmp = x + (1.0 / y);
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z): tmp = 0 if y <= -1.1: tmp = x + ((1.0 + (z * ((z * (z * -0.16666666666666666)) + -1.0))) / y) elif y <= 2.4e+15: tmp = x + (1.0 / y) else: tmp = x return tmp
function code(x, y, z) tmp = 0.0 if (y <= -1.1) tmp = Float64(x + Float64(Float64(1.0 + Float64(z * Float64(Float64(z * Float64(z * -0.16666666666666666)) + -1.0))) / y)); elseif (y <= 2.4e+15) tmp = Float64(x + Float64(1.0 / y)); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if (y <= -1.1) tmp = x + ((1.0 + (z * ((z * (z * -0.16666666666666666)) + -1.0))) / y); elseif (y <= 2.4e+15) tmp = x + (1.0 / y); else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[y, -1.1], N[(x + N[(N[(1.0 + N[(z * N[(N[(z * N[(z * -0.16666666666666666), $MachinePrecision]), $MachinePrecision] + -1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.4e+15], N[(x + N[(1.0 / y), $MachinePrecision]), $MachinePrecision], x]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.1:\\
\;\;\;\;x + \frac{1 + z \cdot \left(z \cdot \left(z \cdot -0.16666666666666666\right) + -1\right)}{y}\\
\mathbf{elif}\;y \leq 2.4 \cdot 10^{+15}:\\
\;\;\;\;x + \frac{1}{y}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if y < -1.1000000000000001Initial program 90.8%
*-commutative90.8%
exp-to-pow90.8%
+-commutative90.8%
Simplified90.8%
Taylor expanded in y around inf 100.0%
mul-1-neg100.0%
Simplified100.0%
Taylor expanded in z around 0 80.9%
Taylor expanded in z around inf 80.9%
*-commutative80.9%
Simplified80.9%
if -1.1000000000000001 < y < 2.4e15Initial program 83.3%
exp-prod100.0%
+-commutative100.0%
Simplified100.0%
Taylor expanded in y around inf 100.0%
if 2.4e15 < y Initial program 85.3%
exp-prod85.3%
+-commutative85.3%
Simplified85.3%
Taylor expanded in x around inf 80.7%
Final simplification89.0%
(FPCore (x y z) :precision binary64 (if (<= y -1.5e-35) x (if (<= y 8.2e-13) (/ 1.0 y) x)))
double code(double x, double y, double z) {
double tmp;
if (y <= -1.5e-35) {
tmp = x;
} else if (y <= 8.2e-13) {
tmp = 1.0 / y;
} else {
tmp = x;
}
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.5d-35)) then
tmp = x
else if (y <= 8.2d-13) then
tmp = 1.0d0 / y
else
tmp = x
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if (y <= -1.5e-35) {
tmp = x;
} else if (y <= 8.2e-13) {
tmp = 1.0 / y;
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z): tmp = 0 if y <= -1.5e-35: tmp = x elif y <= 8.2e-13: tmp = 1.0 / y else: tmp = x return tmp
function code(x, y, z) tmp = 0.0 if (y <= -1.5e-35) tmp = x; elseif (y <= 8.2e-13) tmp = Float64(1.0 / y); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if (y <= -1.5e-35) tmp = x; elseif (y <= 8.2e-13) tmp = 1.0 / y; else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[y, -1.5e-35], x, If[LessEqual[y, 8.2e-13], N[(1.0 / y), $MachinePrecision], x]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.5 \cdot 10^{-35}:\\
\;\;\;\;x\\
\mathbf{elif}\;y \leq 8.2 \cdot 10^{-13}:\\
\;\;\;\;\frac{1}{y}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if y < -1.49999999999999994e-35 or 8.2000000000000004e-13 < y Initial program 88.8%
exp-prod88.8%
+-commutative88.8%
Simplified88.8%
Taylor expanded in x around inf 72.1%
if -1.49999999999999994e-35 < y < 8.2000000000000004e-13Initial program 81.1%
exp-prod100.0%
+-commutative100.0%
Simplified100.0%
Taylor expanded in y around 0 79.0%
(FPCore (x y z) :precision binary64 (if (<= z -6e+23) (/ (+ 1.0 (* y x)) y) (+ x (/ 1.0 y))))
double code(double x, double y, double z) {
double tmp;
if (z <= -6e+23) {
tmp = (1.0 + (y * x)) / y;
} else {
tmp = x + (1.0 / y);
}
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 (z <= (-6d+23)) then
tmp = (1.0d0 + (y * x)) / y
else
tmp = x + (1.0d0 / y)
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if (z <= -6e+23) {
tmp = (1.0 + (y * x)) / y;
} else {
tmp = x + (1.0 / y);
}
return tmp;
}
def code(x, y, z): tmp = 0 if z <= -6e+23: tmp = (1.0 + (y * x)) / y else: tmp = x + (1.0 / y) return tmp
function code(x, y, z) tmp = 0.0 if (z <= -6e+23) tmp = Float64(Float64(1.0 + Float64(y * x)) / y); else tmp = Float64(x + Float64(1.0 / y)); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if (z <= -6e+23) tmp = (1.0 + (y * x)) / y; else tmp = x + (1.0 / y); end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[z, -6e+23], N[(N[(1.0 + N[(y * x), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(x + N[(1.0 / y), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -6 \cdot 10^{+23}:\\
\;\;\;\;\frac{1 + y \cdot x}{y}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{1}{y}\\
\end{array}
\end{array}
if z < -6.0000000000000002e23Initial program 53.1%
exp-prod76.2%
+-commutative76.2%
Simplified76.2%
Taylor expanded in y around inf 54.3%
Taylor expanded in y around 0 64.8%
*-commutative64.8%
Simplified64.8%
if -6.0000000000000002e23 < z Initial program 94.4%
exp-prod97.4%
+-commutative97.4%
Simplified97.4%
Taylor expanded in y around inf 93.1%
(FPCore (x y z) :precision binary64 (if (<= y 7.2e+14) (+ x (/ 1.0 y)) x))
double code(double x, double y, double z) {
double tmp;
if (y <= 7.2e+14) {
tmp = x + (1.0 / y);
} else {
tmp = x;
}
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 <= 7.2d+14) then
tmp = x + (1.0d0 / y)
else
tmp = x
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if (y <= 7.2e+14) {
tmp = x + (1.0 / y);
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z): tmp = 0 if y <= 7.2e+14: tmp = x + (1.0 / y) else: tmp = x return tmp
function code(x, y, z) tmp = 0.0 if (y <= 7.2e+14) tmp = Float64(x + Float64(1.0 / y)); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if (y <= 7.2e+14) tmp = x + (1.0 / y); else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[y, 7.2e+14], N[(x + N[(1.0 / y), $MachinePrecision]), $MachinePrecision], x]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq 7.2 \cdot 10^{+14}:\\
\;\;\;\;x + \frac{1}{y}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if y < 7.2e14Initial program 86.2%
exp-prod96.5%
+-commutative96.5%
Simplified96.5%
Taylor expanded in y around inf 89.9%
if 7.2e14 < y Initial program 85.3%
exp-prod85.3%
+-commutative85.3%
Simplified85.3%
Taylor expanded in x around inf 80.7%
(FPCore (x y z) :precision binary64 x)
double code(double x, double y, double z) {
return 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
end function
public static double code(double x, double y, double z) {
return x;
}
def code(x, y, z): return x
function code(x, y, z) return x end
function tmp = code(x, y, z) tmp = x; end
code[x_, y_, z_] := x
\begin{array}{l}
\\
x
\end{array}
Initial program 85.9%
exp-prod93.0%
+-commutative93.0%
Simplified93.0%
Taylor expanded in x around inf 53.5%
(FPCore (x y z) :precision binary64 (if (< (/ y (+ z y)) 7.11541576e-315) (+ x (/ (exp (/ -1.0 z)) y)) (+ x (/ (exp (log (pow (/ y (+ y z)) y))) y))))
double code(double x, double y, double z) {
double tmp;
if ((y / (z + y)) < 7.11541576e-315) {
tmp = x + (exp((-1.0 / z)) / y);
} else {
tmp = x + (exp(log(pow((y / (y + z)), y))) / y);
}
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 / (z + y)) < 7.11541576d-315) then
tmp = x + (exp(((-1.0d0) / z)) / y)
else
tmp = x + (exp(log(((y / (y + z)) ** y))) / y)
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if ((y / (z + y)) < 7.11541576e-315) {
tmp = x + (Math.exp((-1.0 / z)) / y);
} else {
tmp = x + (Math.exp(Math.log(Math.pow((y / (y + z)), y))) / y);
}
return tmp;
}
def code(x, y, z): tmp = 0 if (y / (z + y)) < 7.11541576e-315: tmp = x + (math.exp((-1.0 / z)) / y) else: tmp = x + (math.exp(math.log(math.pow((y / (y + z)), y))) / y) return tmp
function code(x, y, z) tmp = 0.0 if (Float64(y / Float64(z + y)) < 7.11541576e-315) tmp = Float64(x + Float64(exp(Float64(-1.0 / z)) / y)); else tmp = Float64(x + Float64(exp(log((Float64(y / Float64(y + z)) ^ y))) / y)); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if ((y / (z + y)) < 7.11541576e-315) tmp = x + (exp((-1.0 / z)) / y); else tmp = x + (exp(log(((y / (y + z)) ^ y))) / y); end tmp_2 = tmp; end
code[x_, y_, z_] := If[Less[N[(y / N[(z + y), $MachinePrecision]), $MachinePrecision], 7.11541576e-315], N[(x + N[(N[Exp[N[(-1.0 / z), $MachinePrecision]], $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[Exp[N[Log[N[Power[N[(y / N[(y + z), $MachinePrecision]), $MachinePrecision], y], $MachinePrecision]], $MachinePrecision]], $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{y}{z + y} < 7.11541576 \cdot 10^{-315}:\\
\;\;\;\;x + \frac{e^{\frac{-1}{z}}}{y}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{e^{\log \left({\left(\frac{y}{y + z}\right)}^{y}\right)}}{y}\\
\end{array}
\end{array}
herbie shell --seed 2024145
(FPCore (x y z)
:name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, G"
:precision binary64
:alt
(! :herbie-platform default (if (< (/ y (+ z y)) 17788539399477/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ x (/ (exp (/ -1 z)) y)) (+ x (/ (exp (log (pow (/ y (+ y z)) y))) y))))
(+ x (/ (exp (* y (log (/ y (+ z y))))) y)))