
(FPCore (x y z t a b) :precision binary64 (/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y)))
double code(double x, double y, double z, double t, double a, double b) {
return ((((x + y) * z) + ((t + y) * a)) - (y * b)) / ((x + t) + y);
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
code = ((((x + y) * z) + ((t + y) * a)) - (y * b)) / ((x + t) + y)
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return ((((x + y) * z) + ((t + y) * a)) - (y * b)) / ((x + t) + y);
}
def code(x, y, z, t, a, b): return ((((x + y) * z) + ((t + y) * a)) - (y * b)) / ((x + t) + y)
function code(x, y, z, t, a, b) return Float64(Float64(Float64(Float64(Float64(x + y) * z) + Float64(Float64(t + y) * a)) - Float64(y * b)) / Float64(Float64(x + t) + y)) end
function tmp = code(x, y, z, t, a, b) tmp = ((((x + y) * z) + ((t + y) * a)) - (y * b)) / ((x + t) + y); end
code[x_, y_, z_, t_, a_, b_] := N[(N[(N[(N[(N[(x + y), $MachinePrecision] * z), $MachinePrecision] + N[(N[(t + y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision] / N[(N[(x + t), $MachinePrecision] + y), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{\left(\left(x + y\right) \cdot z + \left(t + y\right) \cdot a\right) - y \cdot b}{\left(x + t\right) + y}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 12 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b) :precision binary64 (/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y)))
double code(double x, double y, double z, double t, double a, double b) {
return ((((x + y) * z) + ((t + y) * a)) - (y * b)) / ((x + t) + y);
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
code = ((((x + y) * z) + ((t + y) * a)) - (y * b)) / ((x + t) + y)
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return ((((x + y) * z) + ((t + y) * a)) - (y * b)) / ((x + t) + y);
}
def code(x, y, z, t, a, b): return ((((x + y) * z) + ((t + y) * a)) - (y * b)) / ((x + t) + y)
function code(x, y, z, t, a, b) return Float64(Float64(Float64(Float64(Float64(x + y) * z) + Float64(Float64(t + y) * a)) - Float64(y * b)) / Float64(Float64(x + t) + y)) end
function tmp = code(x, y, z, t, a, b) tmp = ((((x + y) * z) + ((t + y) * a)) - (y * b)) / ((x + t) + y); end
code[x_, y_, z_, t_, a_, b_] := N[(N[(N[(N[(N[(x + y), $MachinePrecision] * z), $MachinePrecision] + N[(N[(t + y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision] / N[(N[(x + t), $MachinePrecision] + y), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{\left(\left(x + y\right) \cdot z + \left(t + y\right) \cdot a\right) - y \cdot b}{\left(x + t\right) + y}
\end{array}
(FPCore (x y z t a b) :precision binary64 (let* ((t_1 (/ (- (+ (* (+ x y) z) (* (+ y t) a)) (* y b)) (+ y (+ x t))))) (if (or (<= t_1 (- INFINITY)) (not (<= t_1 5e+279))) (- (+ z a) b) t_1)))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = ((((x + y) * z) + ((y + t) * a)) - (y * b)) / (y + (x + t));
double tmp;
if ((t_1 <= -((double) INFINITY)) || !(t_1 <= 5e+279)) {
tmp = (z + a) - b;
} else {
tmp = t_1;
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = ((((x + y) * z) + ((y + t) * a)) - (y * b)) / (y + (x + t));
double tmp;
if ((t_1 <= -Double.POSITIVE_INFINITY) || !(t_1 <= 5e+279)) {
tmp = (z + a) - b;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = ((((x + y) * z) + ((y + t) * a)) - (y * b)) / (y + (x + t)) tmp = 0 if (t_1 <= -math.inf) or not (t_1 <= 5e+279): tmp = (z + a) - b else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(Float64(Float64(Float64(Float64(x + y) * z) + Float64(Float64(y + t) * a)) - Float64(y * b)) / Float64(y + Float64(x + t))) tmp = 0.0 if ((t_1 <= Float64(-Inf)) || !(t_1 <= 5e+279)) tmp = Float64(Float64(z + a) - b); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = ((((x + y) * z) + ((y + t) * a)) - (y * b)) / (y + (x + t)); tmp = 0.0; if ((t_1 <= -Inf) || ~((t_1 <= 5e+279))) tmp = (z + a) - b; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(N[(N[(N[(x + y), $MachinePrecision] * z), $MachinePrecision] + N[(N[(y + t), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision] / N[(y + N[(x + t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Or[LessEqual[t$95$1, (-Infinity)], N[Not[LessEqual[t$95$1, 5e+279]], $MachinePrecision]], N[(N[(z + a), $MachinePrecision] - b), $MachinePrecision], t$95$1]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{\left(\left(x + y\right) \cdot z + \left(y + t\right) \cdot a\right) - y \cdot b}{y + \left(x + t\right)}\\
\mathbf{if}\;t\_1 \leq -\infty \lor \neg \left(t\_1 \leq 5 \cdot 10^{+279}\right):\\
\;\;\;\;\left(z + a\right) - b\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if (/.f64 (-.f64 (+.f64 (*.f64 (+.f64 x y) z) (*.f64 (+.f64 t y) a)) (*.f64 y b)) (+.f64 (+.f64 x t) y)) < -inf.0 or 5.0000000000000002e279 < (/.f64 (-.f64 (+.f64 (*.f64 (+.f64 x y) z) (*.f64 (+.f64 t y) a)) (*.f64 y b)) (+.f64 (+.f64 x t) y)) Initial program 7.9%
Taylor expanded in y around inf 76.9%
if -inf.0 < (/.f64 (-.f64 (+.f64 (*.f64 (+.f64 x y) z) (*.f64 (+.f64 t y) a)) (*.f64 y b)) (+.f64 (+.f64 x t) y)) < 5.0000000000000002e279Initial program 99.3%
Final simplification89.4%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (+ a (* z (+ (/ y t) (/ x t))))))
(if (<= t -2.4e+61)
t_1
(if (<= t 5.2e-32)
(- (+ z a) b)
(if (<= t 5.2e+156) (+ z (* a (/ t (+ x t)))) t_1)))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = a + (z * ((y / t) + (x / t)));
double tmp;
if (t <= -2.4e+61) {
tmp = t_1;
} else if (t <= 5.2e-32) {
tmp = (z + a) - b;
} else if (t <= 5.2e+156) {
tmp = z + (a * (t / (x + t)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: t_1
real(8) :: tmp
t_1 = a + (z * ((y / t) + (x / t)))
if (t <= (-2.4d+61)) then
tmp = t_1
else if (t <= 5.2d-32) then
tmp = (z + a) - b
else if (t <= 5.2d+156) then
tmp = z + (a * (t / (x + t)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = a + (z * ((y / t) + (x / t)));
double tmp;
if (t <= -2.4e+61) {
tmp = t_1;
} else if (t <= 5.2e-32) {
tmp = (z + a) - b;
} else if (t <= 5.2e+156) {
tmp = z + (a * (t / (x + t)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = a + (z * ((y / t) + (x / t))) tmp = 0 if t <= -2.4e+61: tmp = t_1 elif t <= 5.2e-32: tmp = (z + a) - b elif t <= 5.2e+156: tmp = z + (a * (t / (x + t))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(a + Float64(z * Float64(Float64(y / t) + Float64(x / t)))) tmp = 0.0 if (t <= -2.4e+61) tmp = t_1; elseif (t <= 5.2e-32) tmp = Float64(Float64(z + a) - b); elseif (t <= 5.2e+156) tmp = Float64(z + Float64(a * Float64(t / Float64(x + t)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = a + (z * ((y / t) + (x / t))); tmp = 0.0; if (t <= -2.4e+61) tmp = t_1; elseif (t <= 5.2e-32) tmp = (z + a) - b; elseif (t <= 5.2e+156) tmp = z + (a * (t / (x + t))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(a + N[(z * N[(N[(y / t), $MachinePrecision] + N[(x / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.4e+61], t$95$1, If[LessEqual[t, 5.2e-32], N[(N[(z + a), $MachinePrecision] - b), $MachinePrecision], If[LessEqual[t, 5.2e+156], N[(z + N[(a * N[(t / N[(x + t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a + z \cdot \left(\frac{y}{t} + \frac{x}{t}\right)\\
\mathbf{if}\;t \leq -2.4 \cdot 10^{+61}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 5.2 \cdot 10^{-32}:\\
\;\;\;\;\left(z + a\right) - b\\
\mathbf{elif}\;t \leq 5.2 \cdot 10^{+156}:\\
\;\;\;\;z + a \cdot \frac{t}{x + t}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -2.3999999999999999e61 or 5.20000000000000037e156 < t Initial program 50.5%
Taylor expanded in t around inf 64.6%
associate--l+65.7%
associate-/l*64.7%
associate-/l*68.5%
+-commutative68.5%
associate-/l*81.0%
+-commutative81.0%
*-commutative81.0%
Simplified81.0%
Taylor expanded in z around inf 74.5%
+-commutative74.5%
Simplified74.5%
if -2.3999999999999999e61 < t < 5.1999999999999995e-32Initial program 63.8%
Taylor expanded in y around inf 64.5%
if 5.1999999999999995e-32 < t < 5.20000000000000037e156Initial program 61.2%
Taylor expanded in b around -inf 56.3%
associate-*r*56.3%
neg-mul-156.3%
fma-define56.3%
Simplified83.0%
Taylor expanded in y around 0 46.0%
associate-/l*60.6%
+-commutative60.6%
associate-/l*72.4%
+-commutative72.4%
Simplified72.4%
Taylor expanded in x around inf 66.6%
Final simplification68.1%
(FPCore (x y z t a b) :precision binary64 (if (or (<= y -1.7e+43) (not (<= y 7e-15))) (- (+ z a) b) (+ (* a (/ t (+ x t))) (* x (/ z (+ x t))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((y <= -1.7e+43) || !(y <= 7e-15)) {
tmp = (z + a) - b;
} else {
tmp = (a * (t / (x + t))) + (x * (z / (x + t)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if ((y <= (-1.7d+43)) .or. (.not. (y <= 7d-15))) then
tmp = (z + a) - b
else
tmp = (a * (t / (x + t))) + (x * (z / (x + t)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((y <= -1.7e+43) || !(y <= 7e-15)) {
tmp = (z + a) - b;
} else {
tmp = (a * (t / (x + t))) + (x * (z / (x + t)));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (y <= -1.7e+43) or not (y <= 7e-15): tmp = (z + a) - b else: tmp = (a * (t / (x + t))) + (x * (z / (x + t))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((y <= -1.7e+43) || !(y <= 7e-15)) tmp = Float64(Float64(z + a) - b); else tmp = Float64(Float64(a * Float64(t / Float64(x + t))) + Float64(x * Float64(z / Float64(x + t)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((y <= -1.7e+43) || ~((y <= 7e-15))) tmp = (z + a) - b; else tmp = (a * (t / (x + t))) + (x * (z / (x + t))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[y, -1.7e+43], N[Not[LessEqual[y, 7e-15]], $MachinePrecision]], N[(N[(z + a), $MachinePrecision] - b), $MachinePrecision], N[(N[(a * N[(t / N[(x + t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(z / N[(x + t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.7 \cdot 10^{+43} \lor \neg \left(y \leq 7 \cdot 10^{-15}\right):\\
\;\;\;\;\left(z + a\right) - b\\
\mathbf{else}:\\
\;\;\;\;a \cdot \frac{t}{x + t} + x \cdot \frac{z}{x + t}\\
\end{array}
\end{array}
if y < -1.70000000000000006e43 or 7.0000000000000001e-15 < y Initial program 37.9%
Taylor expanded in y around inf 72.5%
if -1.70000000000000006e43 < y < 7.0000000000000001e-15Initial program 75.1%
Taylor expanded in b around -inf 66.2%
associate-*r*66.2%
neg-mul-166.2%
fma-define66.2%
Simplified79.0%
Taylor expanded in y around 0 54.9%
associate-/l*67.4%
+-commutative67.4%
associate-/l*72.6%
+-commutative72.6%
Simplified72.6%
Final simplification72.6%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (- (+ z a) b)))
(if (<= y -9.5e-166)
t_1
(if (<= y 2.9e-179)
(/ (+ (* t a) (* x z)) (+ x t))
(if (<= y 7.5e+116) (+ z (* a (/ t (+ x t)))) t_1)))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = (z + a) - b;
double tmp;
if (y <= -9.5e-166) {
tmp = t_1;
} else if (y <= 2.9e-179) {
tmp = ((t * a) + (x * z)) / (x + t);
} else if (y <= 7.5e+116) {
tmp = z + (a * (t / (x + t)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: t_1
real(8) :: tmp
t_1 = (z + a) - b
if (y <= (-9.5d-166)) then
tmp = t_1
else if (y <= 2.9d-179) then
tmp = ((t * a) + (x * z)) / (x + t)
else if (y <= 7.5d+116) then
tmp = z + (a * (t / (x + t)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = (z + a) - b;
double tmp;
if (y <= -9.5e-166) {
tmp = t_1;
} else if (y <= 2.9e-179) {
tmp = ((t * a) + (x * z)) / (x + t);
} else if (y <= 7.5e+116) {
tmp = z + (a * (t / (x + t)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = (z + a) - b tmp = 0 if y <= -9.5e-166: tmp = t_1 elif y <= 2.9e-179: tmp = ((t * a) + (x * z)) / (x + t) elif y <= 7.5e+116: tmp = z + (a * (t / (x + t))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(Float64(z + a) - b) tmp = 0.0 if (y <= -9.5e-166) tmp = t_1; elseif (y <= 2.9e-179) tmp = Float64(Float64(Float64(t * a) + Float64(x * z)) / Float64(x + t)); elseif (y <= 7.5e+116) tmp = Float64(z + Float64(a * Float64(t / Float64(x + t)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = (z + a) - b; tmp = 0.0; if (y <= -9.5e-166) tmp = t_1; elseif (y <= 2.9e-179) tmp = ((t * a) + (x * z)) / (x + t); elseif (y <= 7.5e+116) tmp = z + (a * (t / (x + t))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(z + a), $MachinePrecision] - b), $MachinePrecision]}, If[LessEqual[y, -9.5e-166], t$95$1, If[LessEqual[y, 2.9e-179], N[(N[(N[(t * a), $MachinePrecision] + N[(x * z), $MachinePrecision]), $MachinePrecision] / N[(x + t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 7.5e+116], N[(z + N[(a * N[(t / N[(x + t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(z + a\right) - b\\
\mathbf{if}\;y \leq -9.5 \cdot 10^{-166}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 2.9 \cdot 10^{-179}:\\
\;\;\;\;\frac{t \cdot a + x \cdot z}{x + t}\\
\mathbf{elif}\;y \leq 7.5 \cdot 10^{+116}:\\
\;\;\;\;z + a \cdot \frac{t}{x + t}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -9.50000000000000046e-166 or 7.5e116 < y Initial program 46.2%
Taylor expanded in y around inf 68.7%
if -9.50000000000000046e-166 < y < 2.8999999999999999e-179Initial program 82.5%
Taylor expanded in y around 0 72.5%
if 2.8999999999999999e-179 < y < 7.5e116Initial program 64.1%
Taylor expanded in b around -inf 57.3%
associate-*r*57.3%
neg-mul-157.3%
fma-define57.3%
Simplified83.6%
Taylor expanded in y around 0 42.9%
associate-/l*58.1%
+-commutative58.1%
associate-/l*66.3%
+-commutative66.3%
Simplified66.3%
Taylor expanded in x around inf 64.7%
Final simplification68.3%
(FPCore (x y z t a b) :precision binary64 (if (or (<= y -1.75e+77) (not (<= y 6.2e+116))) (- (+ z a) b) (+ z (* a (/ t (+ x t))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((y <= -1.75e+77) || !(y <= 6.2e+116)) {
tmp = (z + a) - b;
} else {
tmp = z + (a * (t / (x + t)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if ((y <= (-1.75d+77)) .or. (.not. (y <= 6.2d+116))) then
tmp = (z + a) - b
else
tmp = z + (a * (t / (x + t)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((y <= -1.75e+77) || !(y <= 6.2e+116)) {
tmp = (z + a) - b;
} else {
tmp = z + (a * (t / (x + t)));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (y <= -1.75e+77) or not (y <= 6.2e+116): tmp = (z + a) - b else: tmp = z + (a * (t / (x + t))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((y <= -1.75e+77) || !(y <= 6.2e+116)) tmp = Float64(Float64(z + a) - b); else tmp = Float64(z + Float64(a * Float64(t / Float64(x + t)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((y <= -1.75e+77) || ~((y <= 6.2e+116))) tmp = (z + a) - b; else tmp = z + (a * (t / (x + t))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[y, -1.75e+77], N[Not[LessEqual[y, 6.2e+116]], $MachinePrecision]], N[(N[(z + a), $MachinePrecision] - b), $MachinePrecision], N[(z + N[(a * N[(t / N[(x + t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.75 \cdot 10^{+77} \lor \neg \left(y \leq 6.2 \cdot 10^{+116}\right):\\
\;\;\;\;\left(z + a\right) - b\\
\mathbf{else}:\\
\;\;\;\;z + a \cdot \frac{t}{x + t}\\
\end{array}
\end{array}
if y < -1.7500000000000001e77 or 6.19999999999999992e116 < y Initial program 30.6%
Taylor expanded in y around inf 78.6%
if -1.7500000000000001e77 < y < 6.19999999999999992e116Initial program 71.6%
Taylor expanded in b around -inf 63.8%
associate-*r*63.8%
neg-mul-163.8%
fma-define63.8%
Simplified80.1%
Taylor expanded in y around 0 50.9%
associate-/l*63.8%
+-commutative63.8%
associate-/l*68.8%
+-commutative68.8%
Simplified68.8%
Taylor expanded in x around inf 60.2%
Final simplification65.9%
(FPCore (x y z t a b) :precision binary64 (if (<= x -9.6e+99) z (if (<= x 5.2e-252) a (if (<= x 5e+162) (- a b) z))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (x <= -9.6e+99) {
tmp = z;
} else if (x <= 5.2e-252) {
tmp = a;
} else if (x <= 5e+162) {
tmp = a - b;
} else {
tmp = z;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if (x <= (-9.6d+99)) then
tmp = z
else if (x <= 5.2d-252) then
tmp = a
else if (x <= 5d+162) then
tmp = a - b
else
tmp = z
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (x <= -9.6e+99) {
tmp = z;
} else if (x <= 5.2e-252) {
tmp = a;
} else if (x <= 5e+162) {
tmp = a - b;
} else {
tmp = z;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if x <= -9.6e+99: tmp = z elif x <= 5.2e-252: tmp = a elif x <= 5e+162: tmp = a - b else: tmp = z return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (x <= -9.6e+99) tmp = z; elseif (x <= 5.2e-252) tmp = a; elseif (x <= 5e+162) tmp = Float64(a - b); else tmp = z; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (x <= -9.6e+99) tmp = z; elseif (x <= 5.2e-252) tmp = a; elseif (x <= 5e+162) tmp = a - b; else tmp = z; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[x, -9.6e+99], z, If[LessEqual[x, 5.2e-252], a, If[LessEqual[x, 5e+162], N[(a - b), $MachinePrecision], z]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -9.6 \cdot 10^{+99}:\\
\;\;\;\;z\\
\mathbf{elif}\;x \leq 5.2 \cdot 10^{-252}:\\
\;\;\;\;a\\
\mathbf{elif}\;x \leq 5 \cdot 10^{+162}:\\
\;\;\;\;a - b\\
\mathbf{else}:\\
\;\;\;\;z\\
\end{array}
\end{array}
if x < -9.6000000000000005e99 or 4.9999999999999997e162 < x Initial program 49.6%
Taylor expanded in x around inf 52.8%
if -9.6000000000000005e99 < x < 5.1999999999999998e-252Initial program 62.4%
Taylor expanded in t around inf 49.5%
if 5.1999999999999998e-252 < x < 4.9999999999999997e162Initial program 63.0%
Taylor expanded in z around 0 46.8%
+-commutative46.8%
*-commutative46.8%
Simplified46.8%
Taylor expanded in y around inf 50.2%
(FPCore (x y z t a b) :precision binary64 (if (or (<= t -1.62e+156) (not (<= t 4.1e+120))) (* a (/ t (+ x t))) (- (+ z a) b)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((t <= -1.62e+156) || !(t <= 4.1e+120)) {
tmp = a * (t / (x + t));
} else {
tmp = (z + a) - b;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if ((t <= (-1.62d+156)) .or. (.not. (t <= 4.1d+120))) then
tmp = a * (t / (x + t))
else
tmp = (z + a) - b
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((t <= -1.62e+156) || !(t <= 4.1e+120)) {
tmp = a * (t / (x + t));
} else {
tmp = (z + a) - b;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (t <= -1.62e+156) or not (t <= 4.1e+120): tmp = a * (t / (x + t)) else: tmp = (z + a) - b return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((t <= -1.62e+156) || !(t <= 4.1e+120)) tmp = Float64(a * Float64(t / Float64(x + t))); else tmp = Float64(Float64(z + a) - b); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((t <= -1.62e+156) || ~((t <= 4.1e+120))) tmp = a * (t / (x + t)); else tmp = (z + a) - b; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[t, -1.62e+156], N[Not[LessEqual[t, 4.1e+120]], $MachinePrecision]], N[(a * N[(t / N[(x + t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(z + a), $MachinePrecision] - b), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -1.62 \cdot 10^{+156} \lor \neg \left(t \leq 4.1 \cdot 10^{+120}\right):\\
\;\;\;\;a \cdot \frac{t}{x + t}\\
\mathbf{else}:\\
\;\;\;\;\left(z + a\right) - b\\
\end{array}
\end{array}
if t < -1.62000000000000006e156 or 4.1e120 < t Initial program 48.6%
Taylor expanded in z around 0 41.5%
+-commutative41.5%
*-commutative41.5%
Simplified41.5%
Taylor expanded in y around 0 31.6%
associate-/l*67.5%
+-commutative67.5%
Simplified67.5%
if -1.62000000000000006e156 < t < 4.1e120Initial program 63.9%
Taylor expanded in y around inf 62.0%
Final simplification63.8%
(FPCore (x y z t a b) :precision binary64 (if (<= t -3.1e+60) (+ a (* z (/ x t))) (if (<= t 1e+119) (- (+ z a) b) (* a (/ t (+ x t))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (t <= -3.1e+60) {
tmp = a + (z * (x / t));
} else if (t <= 1e+119) {
tmp = (z + a) - b;
} else {
tmp = a * (t / (x + t));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if (t <= (-3.1d+60)) then
tmp = a + (z * (x / t))
else if (t <= 1d+119) then
tmp = (z + a) - b
else
tmp = a * (t / (x + t))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (t <= -3.1e+60) {
tmp = a + (z * (x / t));
} else if (t <= 1e+119) {
tmp = (z + a) - b;
} else {
tmp = a * (t / (x + t));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if t <= -3.1e+60: tmp = a + (z * (x / t)) elif t <= 1e+119: tmp = (z + a) - b else: tmp = a * (t / (x + t)) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (t <= -3.1e+60) tmp = Float64(a + Float64(z * Float64(x / t))); elseif (t <= 1e+119) tmp = Float64(Float64(z + a) - b); else tmp = Float64(a * Float64(t / Float64(x + t))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (t <= -3.1e+60) tmp = a + (z * (x / t)); elseif (t <= 1e+119) tmp = (z + a) - b; else tmp = a * (t / (x + t)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[t, -3.1e+60], N[(a + N[(z * N[(x / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1e+119], N[(N[(z + a), $MachinePrecision] - b), $MachinePrecision], N[(a * N[(t / N[(x + t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -3.1 \cdot 10^{+60}:\\
\;\;\;\;a + z \cdot \frac{x}{t}\\
\mathbf{elif}\;t \leq 10^{+119}:\\
\;\;\;\;\left(z + a\right) - b\\
\mathbf{else}:\\
\;\;\;\;a \cdot \frac{t}{x + t}\\
\end{array}
\end{array}
if t < -3.1000000000000001e60Initial program 51.7%
Taylor expanded in t around inf 62.7%
associate--l+62.7%
associate-/l*62.8%
associate-/l*65.3%
+-commutative65.3%
associate-/l*77.8%
+-commutative77.8%
*-commutative77.8%
Simplified77.8%
Taylor expanded in z around inf 71.1%
+-commutative71.1%
Simplified71.1%
Taylor expanded in y around 0 66.5%
if -3.1000000000000001e60 < t < 9.99999999999999944e118Initial program 63.9%
Taylor expanded in y around inf 62.7%
if 9.99999999999999944e118 < t Initial program 49.7%
Taylor expanded in z around 0 41.7%
+-commutative41.7%
*-commutative41.7%
Simplified41.7%
Taylor expanded in y around 0 32.8%
associate-/l*66.5%
+-commutative66.5%
Simplified66.5%
Final simplification64.1%
(FPCore (x y z t a b) :precision binary64 (if (<= t -3.1e+165) a (if (<= t 1.16e+120) (- (+ z a) b) a)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (t <= -3.1e+165) {
tmp = a;
} else if (t <= 1.16e+120) {
tmp = (z + a) - b;
} else {
tmp = a;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if (t <= (-3.1d+165)) then
tmp = a
else if (t <= 1.16d+120) then
tmp = (z + a) - b
else
tmp = a
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (t <= -3.1e+165) {
tmp = a;
} else if (t <= 1.16e+120) {
tmp = (z + a) - b;
} else {
tmp = a;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if t <= -3.1e+165: tmp = a elif t <= 1.16e+120: tmp = (z + a) - b else: tmp = a return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (t <= -3.1e+165) tmp = a; elseif (t <= 1.16e+120) tmp = Float64(Float64(z + a) - b); else tmp = a; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (t <= -3.1e+165) tmp = a; elseif (t <= 1.16e+120) tmp = (z + a) - b; else tmp = a; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[t, -3.1e+165], a, If[LessEqual[t, 1.16e+120], N[(N[(z + a), $MachinePrecision] - b), $MachinePrecision], a]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -3.1 \cdot 10^{+165}:\\
\;\;\;\;a\\
\mathbf{elif}\;t \leq 1.16 \cdot 10^{+120}:\\
\;\;\;\;\left(z + a\right) - b\\
\mathbf{else}:\\
\;\;\;\;a\\
\end{array}
\end{array}
if t < -3.1000000000000002e165 or 1.16000000000000003e120 < t Initial program 48.6%
Taylor expanded in t around inf 59.9%
if -3.1000000000000002e165 < t < 1.16000000000000003e120Initial program 63.9%
Taylor expanded in y around inf 62.0%
Final simplification61.3%
(FPCore (x y z t a b) :precision binary64 (if (<= t -4e+63) a (if (<= t 4.2e+64) (- z b) a)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (t <= -4e+63) {
tmp = a;
} else if (t <= 4.2e+64) {
tmp = z - b;
} else {
tmp = a;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if (t <= (-4d+63)) then
tmp = a
else if (t <= 4.2d+64) then
tmp = z - b
else
tmp = a
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (t <= -4e+63) {
tmp = a;
} else if (t <= 4.2e+64) {
tmp = z - b;
} else {
tmp = a;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if t <= -4e+63: tmp = a elif t <= 4.2e+64: tmp = z - b else: tmp = a return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (t <= -4e+63) tmp = a; elseif (t <= 4.2e+64) tmp = Float64(z - b); else tmp = a; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (t <= -4e+63) tmp = a; elseif (t <= 4.2e+64) tmp = z - b; else tmp = a; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[t, -4e+63], a, If[LessEqual[t, 4.2e+64], N[(z - b), $MachinePrecision], a]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -4 \cdot 10^{+63}:\\
\;\;\;\;a\\
\mathbf{elif}\;t \leq 4.2 \cdot 10^{+64}:\\
\;\;\;\;z - b\\
\mathbf{else}:\\
\;\;\;\;a\\
\end{array}
\end{array}
if t < -4.00000000000000023e63 or 4.2000000000000001e64 < t Initial program 52.7%
Taylor expanded in t around inf 56.3%
if -4.00000000000000023e63 < t < 4.2000000000000001e64Initial program 63.7%
Taylor expanded in a around 0 42.2%
+-commutative42.2%
*-commutative42.2%
Simplified42.2%
Taylor expanded in y around inf 50.7%
(FPCore (x y z t a b) :precision binary64 (if (<= x -1.35e+97) z (if (<= x 4.2e+47) a z)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (x <= -1.35e+97) {
tmp = z;
} else if (x <= 4.2e+47) {
tmp = a;
} else {
tmp = z;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if (x <= (-1.35d+97)) then
tmp = z
else if (x <= 4.2d+47) then
tmp = a
else
tmp = z
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (x <= -1.35e+97) {
tmp = z;
} else if (x <= 4.2e+47) {
tmp = a;
} else {
tmp = z;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if x <= -1.35e+97: tmp = z elif x <= 4.2e+47: tmp = a else: tmp = z return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (x <= -1.35e+97) tmp = z; elseif (x <= 4.2e+47) tmp = a; else tmp = z; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (x <= -1.35e+97) tmp = z; elseif (x <= 4.2e+47) tmp = a; else tmp = z; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[x, -1.35e+97], z, If[LessEqual[x, 4.2e+47], a, z]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -1.35 \cdot 10^{+97}:\\
\;\;\;\;z\\
\mathbf{elif}\;x \leq 4.2 \cdot 10^{+47}:\\
\;\;\;\;a\\
\mathbf{else}:\\
\;\;\;\;z\\
\end{array}
\end{array}
if x < -1.34999999999999997e97 or 4.2e47 < x Initial program 48.9%
Taylor expanded in x around inf 46.4%
if -1.34999999999999997e97 < x < 4.2e47Initial program 65.0%
Taylor expanded in t around inf 50.2%
(FPCore (x y z t a b) :precision binary64 a)
double code(double x, double y, double z, double t, double a, double b) {
return a;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
code = a
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return a;
}
def code(x, y, z, t, a, b): return a
function code(x, y, z, t, a, b) return a end
function tmp = code(x, y, z, t, a, b) tmp = a; end
code[x_, y_, z_, t_, a_, b_] := a
\begin{array}{l}
\\
a
\end{array}
Initial program 58.9%
Taylor expanded in t around inf 35.9%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (+ (+ x t) y))
(t_2 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
(t_3 (/ t_2 t_1))
(t_4 (- (+ z a) b)))
(if (< t_3 -3.5813117084150564e+153)
t_4
(if (< t_3 1.2285964308315609e+82) (/ 1.0 (/ t_1 t_2)) t_4))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = (x + t) + y;
double t_2 = (((x + y) * z) + ((t + y) * a)) - (y * b);
double t_3 = t_2 / t_1;
double t_4 = (z + a) - b;
double tmp;
if (t_3 < -3.5813117084150564e+153) {
tmp = t_4;
} else if (t_3 < 1.2285964308315609e+82) {
tmp = 1.0 / (t_1 / t_2);
} else {
tmp = t_4;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = (x + t) + y
t_2 = (((x + y) * z) + ((t + y) * a)) - (y * b)
t_3 = t_2 / t_1
t_4 = (z + a) - b
if (t_3 < (-3.5813117084150564d+153)) then
tmp = t_4
else if (t_3 < 1.2285964308315609d+82) then
tmp = 1.0d0 / (t_1 / t_2)
else
tmp = t_4
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = (x + t) + y;
double t_2 = (((x + y) * z) + ((t + y) * a)) - (y * b);
double t_3 = t_2 / t_1;
double t_4 = (z + a) - b;
double tmp;
if (t_3 < -3.5813117084150564e+153) {
tmp = t_4;
} else if (t_3 < 1.2285964308315609e+82) {
tmp = 1.0 / (t_1 / t_2);
} else {
tmp = t_4;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = (x + t) + y t_2 = (((x + y) * z) + ((t + y) * a)) - (y * b) t_3 = t_2 / t_1 t_4 = (z + a) - b tmp = 0 if t_3 < -3.5813117084150564e+153: tmp = t_4 elif t_3 < 1.2285964308315609e+82: tmp = 1.0 / (t_1 / t_2) else: tmp = t_4 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(Float64(x + t) + y) t_2 = Float64(Float64(Float64(Float64(x + y) * z) + Float64(Float64(t + y) * a)) - Float64(y * b)) t_3 = Float64(t_2 / t_1) t_4 = Float64(Float64(z + a) - b) tmp = 0.0 if (t_3 < -3.5813117084150564e+153) tmp = t_4; elseif (t_3 < 1.2285964308315609e+82) tmp = Float64(1.0 / Float64(t_1 / t_2)); else tmp = t_4; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = (x + t) + y; t_2 = (((x + y) * z) + ((t + y) * a)) - (y * b); t_3 = t_2 / t_1; t_4 = (z + a) - b; tmp = 0.0; if (t_3 < -3.5813117084150564e+153) tmp = t_4; elseif (t_3 < 1.2285964308315609e+82) tmp = 1.0 / (t_1 / t_2); else tmp = t_4; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(x + t), $MachinePrecision] + y), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(N[(x + y), $MachinePrecision] * z), $MachinePrecision] + N[(N[(t + y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(t$95$2 / t$95$1), $MachinePrecision]}, Block[{t$95$4 = N[(N[(z + a), $MachinePrecision] - b), $MachinePrecision]}, If[Less[t$95$3, -3.5813117084150564e+153], t$95$4, If[Less[t$95$3, 1.2285964308315609e+82], N[(1.0 / N[(t$95$1 / t$95$2), $MachinePrecision]), $MachinePrecision], t$95$4]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(x + t\right) + y\\
t_2 := \left(\left(x + y\right) \cdot z + \left(t + y\right) \cdot a\right) - y \cdot b\\
t_3 := \frac{t\_2}{t\_1}\\
t_4 := \left(z + a\right) - b\\
\mathbf{if}\;t\_3 < -3.5813117084150564 \cdot 10^{+153}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;t\_3 < 1.2285964308315609 \cdot 10^{+82}:\\
\;\;\;\;\frac{1}{\frac{t\_1}{t\_2}}\\
\mathbf{else}:\\
\;\;\;\;t\_4\\
\end{array}
\end{array}
herbie shell --seed 2024145
(FPCore (x y z t a b)
:name "AI.Clustering.Hierarchical.Internal:ward from clustering-0.2.1"
:precision binary64
:alt
(! :herbie-platform default (if (< (/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y)) -3581311708415056400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (- (+ z a) b) (if (< (/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y)) 12285964308315609000000000000000000000000000000000000000000000000000000000000000000) (/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))) (- (+ z a) b))))
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y)))