| Alternative 1 | |
|---|---|
| Error | 5.4 |
| Cost | 2516 |
(FPCore (x y z t a b c i j k) :precision binary64 (- (- (+ (- (* (* (* (* x 18.0) y) z) t) (* (* a 4.0) t)) (* b c)) (* (* x 4.0) i)) (* (* j 27.0) k)))
(FPCore (x y z t a b c i j k)
:precision binary64
(let* ((t_1
(-
(-
(+ (- (* (* (* (* x 18.0) y) z) t) (* (* a 4.0) t)) (* b c))
(* (* x 4.0) i))
(* (* j 27.0) k))))
(if (<= t_1 (- INFINITY))
(- (- (* (* x (* t z)) (* 18.0 y)) (* 4.0 (* i x))) (* j (* k 27.0)))
(if (<= t_1 7e+305)
t_1
(-
(- (+ (* y (* z (* 18.0 (* x t)))) (* b c)) (* x (* 4.0 i)))
(* j (* 27.0 k)))))))double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k) {
return (((((((x * 18.0) * y) * z) * t) - ((a * 4.0) * t)) + (b * c)) - ((x * 4.0) * i)) - ((j * 27.0) * k);
}
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k) {
double t_1 = (((((((x * 18.0) * y) * z) * t) - ((a * 4.0) * t)) + (b * c)) - ((x * 4.0) * i)) - ((j * 27.0) * k);
double tmp;
if (t_1 <= -((double) INFINITY)) {
tmp = (((x * (t * z)) * (18.0 * y)) - (4.0 * (i * x))) - (j * (k * 27.0));
} else if (t_1 <= 7e+305) {
tmp = t_1;
} else {
tmp = (((y * (z * (18.0 * (x * t)))) + (b * c)) - (x * (4.0 * i))) - (j * (27.0 * k));
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k) {
return (((((((x * 18.0) * y) * z) * t) - ((a * 4.0) * t)) + (b * c)) - ((x * 4.0) * i)) - ((j * 27.0) * k);
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k) {
double t_1 = (((((((x * 18.0) * y) * z) * t) - ((a * 4.0) * t)) + (b * c)) - ((x * 4.0) * i)) - ((j * 27.0) * k);
double tmp;
if (t_1 <= -Double.POSITIVE_INFINITY) {
tmp = (((x * (t * z)) * (18.0 * y)) - (4.0 * (i * x))) - (j * (k * 27.0));
} else if (t_1 <= 7e+305) {
tmp = t_1;
} else {
tmp = (((y * (z * (18.0 * (x * t)))) + (b * c)) - (x * (4.0 * i))) - (j * (27.0 * k));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k): return (((((((x * 18.0) * y) * z) * t) - ((a * 4.0) * t)) + (b * c)) - ((x * 4.0) * i)) - ((j * 27.0) * k)
def code(x, y, z, t, a, b, c, i, j, k): t_1 = (((((((x * 18.0) * y) * z) * t) - ((a * 4.0) * t)) + (b * c)) - ((x * 4.0) * i)) - ((j * 27.0) * k) tmp = 0 if t_1 <= -math.inf: tmp = (((x * (t * z)) * (18.0 * y)) - (4.0 * (i * x))) - (j * (k * 27.0)) elif t_1 <= 7e+305: tmp = t_1 else: tmp = (((y * (z * (18.0 * (x * t)))) + (b * c)) - (x * (4.0 * i))) - (j * (27.0 * k)) return tmp
function code(x, y, z, t, a, b, c, i, j, k) return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * 18.0) * y) * z) * t) - Float64(Float64(a * 4.0) * t)) + Float64(b * c)) - Float64(Float64(x * 4.0) * i)) - Float64(Float64(j * 27.0) * k)) end
function code(x, y, z, t, a, b, c, i, j, k) t_1 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * 18.0) * y) * z) * t) - Float64(Float64(a * 4.0) * t)) + Float64(b * c)) - Float64(Float64(x * 4.0) * i)) - Float64(Float64(j * 27.0) * k)) tmp = 0.0 if (t_1 <= Float64(-Inf)) tmp = Float64(Float64(Float64(Float64(x * Float64(t * z)) * Float64(18.0 * y)) - Float64(4.0 * Float64(i * x))) - Float64(j * Float64(k * 27.0))); elseif (t_1 <= 7e+305) tmp = t_1; else tmp = Float64(Float64(Float64(Float64(y * Float64(z * Float64(18.0 * Float64(x * t)))) + Float64(b * c)) - Float64(x * Float64(4.0 * i))) - Float64(j * Float64(27.0 * k))); end return tmp end
function tmp = code(x, y, z, t, a, b, c, i, j, k) tmp = (((((((x * 18.0) * y) * z) * t) - ((a * 4.0) * t)) + (b * c)) - ((x * 4.0) * i)) - ((j * 27.0) * k); end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k) t_1 = (((((((x * 18.0) * y) * z) * t) - ((a * 4.0) * t)) + (b * c)) - ((x * 4.0) * i)) - ((j * 27.0) * k); tmp = 0.0; if (t_1 <= -Inf) tmp = (((x * (t * z)) * (18.0 * y)) - (4.0 * (i * x))) - (j * (k * 27.0)); elseif (t_1 <= 7e+305) tmp = t_1; else tmp = (((y * (z * (18.0 * (x * t)))) + (b * c)) - (x * (4.0 * i))) - (j * (27.0 * k)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_] := N[(N[(N[(N[(N[(N[(N[(N[(x * 18.0), $MachinePrecision] * y), $MachinePrecision] * z), $MachinePrecision] * t), $MachinePrecision] - N[(N[(a * 4.0), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision] + N[(b * c), $MachinePrecision]), $MachinePrecision] - N[(N[(x * 4.0), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision] - N[(N[(j * 27.0), $MachinePrecision] * k), $MachinePrecision]), $MachinePrecision]
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_] := Block[{t$95$1 = N[(N[(N[(N[(N[(N[(N[(N[(x * 18.0), $MachinePrecision] * y), $MachinePrecision] * z), $MachinePrecision] * t), $MachinePrecision] - N[(N[(a * 4.0), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision] + N[(b * c), $MachinePrecision]), $MachinePrecision] - N[(N[(x * 4.0), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision] - N[(N[(j * 27.0), $MachinePrecision] * k), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, (-Infinity)], N[(N[(N[(N[(x * N[(t * z), $MachinePrecision]), $MachinePrecision] * N[(18.0 * y), $MachinePrecision]), $MachinePrecision] - N[(4.0 * N[(i * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(j * N[(k * 27.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$1, 7e+305], t$95$1, N[(N[(N[(N[(y * N[(z * N[(18.0 * N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * c), $MachinePrecision]), $MachinePrecision] - N[(x * N[(4.0 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(j * N[(27.0 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\left(\left(\left(\left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t - \left(a \cdot 4\right) \cdot t\right) + b \cdot c\right) - \left(x \cdot 4\right) \cdot i\right) - \left(j \cdot 27\right) \cdot k
\begin{array}{l}
t_1 := \left(\left(\left(\left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t - \left(a \cdot 4\right) \cdot t\right) + b \cdot c\right) - \left(x \cdot 4\right) \cdot i\right) - \left(j \cdot 27\right) \cdot k\\
\mathbf{if}\;t_1 \leq -\infty:\\
\;\;\;\;\left(\left(x \cdot \left(t \cdot z\right)\right) \cdot \left(18 \cdot y\right) - 4 \cdot \left(i \cdot x\right)\right) - j \cdot \left(k \cdot 27\right)\\
\mathbf{elif}\;t_1 \leq 7 \cdot 10^{+305}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;\left(\left(y \cdot \left(z \cdot \left(18 \cdot \left(x \cdot t\right)\right)\right) + b \cdot c\right) - x \cdot \left(4 \cdot i\right)\right) - j \cdot \left(27 \cdot k\right)\\
\end{array}
Results
| Original | 5.3 |
|---|---|
| Target | 1.7 |
| Herbie | 1.0 |
if (-.f64 (-.f64 (+.f64 (-.f64 (*.f64 (*.f64 (*.f64 (*.f64 x 18) y) z) t) (*.f64 (*.f64 a 4) t)) (*.f64 b c)) (*.f64 (*.f64 x 4) i)) (*.f64 (*.f64 j 27) k)) < -inf.0Initial program 64.0
Simplified41.2
[Start]64.0 | \[ \left(\left(\left(\left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t - \left(a \cdot 4\right) \cdot t\right) + b \cdot c\right) - \left(x \cdot 4\right) \cdot i\right) - \left(j \cdot 27\right) \cdot k
\] |
|---|---|
rational_best-simplify-2 [=>]64.0 | \[ \left(\left(\left(\color{blue}{t \cdot \left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right)} - \left(a \cdot 4\right) \cdot t\right) + b \cdot c\right) - \left(x \cdot 4\right) \cdot i\right) - \left(j \cdot 27\right) \cdot k
\] |
rational_best-simplify-48 [=>]64.0 | \[ \left(\left(\color{blue}{t \cdot \left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z - a \cdot 4\right)} + b \cdot c\right) - \left(x \cdot 4\right) \cdot i\right) - \left(j \cdot 27\right) \cdot k
\] |
rational_best-simplify-2 [=>]64.0 | \[ \left(\left(t \cdot \left(\color{blue}{z \cdot \left(\left(x \cdot 18\right) \cdot y\right)} - a \cdot 4\right) + b \cdot c\right) - \left(x \cdot 4\right) \cdot i\right) - \left(j \cdot 27\right) \cdot k
\] |
rational_best-simplify-44 [=>]42.1 | \[ \left(\left(t \cdot \left(\color{blue}{\left(x \cdot 18\right) \cdot \left(z \cdot y\right)} - a \cdot 4\right) + b \cdot c\right) - \left(x \cdot 4\right) \cdot i\right) - \left(j \cdot 27\right) \cdot k
\] |
rational_best-simplify-2 [=>]42.1 | \[ \left(\left(t \cdot \left(\left(x \cdot 18\right) \cdot \left(z \cdot y\right) - a \cdot 4\right) + b \cdot c\right) - \color{blue}{i \cdot \left(x \cdot 4\right)}\right) - \left(j \cdot 27\right) \cdot k
\] |
rational_best-simplify-44 [=>]42.1 | \[ \left(\left(t \cdot \left(\left(x \cdot 18\right) \cdot \left(z \cdot y\right) - a \cdot 4\right) + b \cdot c\right) - \color{blue}{x \cdot \left(i \cdot 4\right)}\right) - \left(j \cdot 27\right) \cdot k
\] |
rational_best-simplify-2 [=>]42.1 | \[ \left(\left(t \cdot \left(\left(x \cdot 18\right) \cdot \left(z \cdot y\right) - a \cdot 4\right) + b \cdot c\right) - x \cdot \left(i \cdot 4\right)\right) - \color{blue}{k \cdot \left(j \cdot 27\right)}
\] |
rational_best-simplify-44 [=>]41.2 | \[ \left(\left(t \cdot \left(\left(x \cdot 18\right) \cdot \left(z \cdot y\right) - a \cdot 4\right) + b \cdot c\right) - x \cdot \left(i \cdot 4\right)\right) - \color{blue}{j \cdot \left(k \cdot 27\right)}
\] |
Taylor expanded in x around 0 41.2
Taylor expanded in x around inf 19.3
Simplified10.8
[Start]19.3 | \[ \left(18 \cdot \left(y \cdot \left(t \cdot \left(z \cdot x\right)\right)\right) - 4 \cdot \left(i \cdot x\right)\right) - j \cdot \left(k \cdot 27\right)
\] |
|---|---|
rational_best-simplify-2 [=>]19.3 | \[ \left(18 \cdot \color{blue}{\left(\left(t \cdot \left(z \cdot x\right)\right) \cdot y\right)} - 4 \cdot \left(i \cdot x\right)\right) - j \cdot \left(k \cdot 27\right)
\] |
rational_best-simplify-44 [=>]19.5 | \[ \left(\color{blue}{\left(t \cdot \left(z \cdot x\right)\right) \cdot \left(18 \cdot y\right)} - 4 \cdot \left(i \cdot x\right)\right) - j \cdot \left(k \cdot 27\right)
\] |
rational_best-simplify-2 [=>]19.5 | \[ \left(\left(t \cdot \color{blue}{\left(x \cdot z\right)}\right) \cdot \left(18 \cdot y\right) - 4 \cdot \left(i \cdot x\right)\right) - j \cdot \left(k \cdot 27\right)
\] |
rational_best-simplify-44 [=>]10.8 | \[ \left(\color{blue}{\left(x \cdot \left(t \cdot z\right)\right)} \cdot \left(18 \cdot y\right) - 4 \cdot \left(i \cdot x\right)\right) - j \cdot \left(k \cdot 27\right)
\] |
if -inf.0 < (-.f64 (-.f64 (+.f64 (-.f64 (*.f64 (*.f64 (*.f64 (*.f64 x 18) y) z) t) (*.f64 (*.f64 a 4) t)) (*.f64 b c)) (*.f64 (*.f64 x 4) i)) (*.f64 (*.f64 j 27) k)) < 7e305Initial program 0.3
if 7e305 < (-.f64 (-.f64 (+.f64 (-.f64 (*.f64 (*.f64 (*.f64 (*.f64 x 18) y) z) t) (*.f64 (*.f64 a 4) t)) (*.f64 b c)) (*.f64 (*.f64 x 4) i)) (*.f64 (*.f64 j 27) k)) Initial program 57.7
Simplified37.5
[Start]57.7 | \[ \left(\left(\left(\left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t - \left(a \cdot 4\right) \cdot t\right) + b \cdot c\right) - \left(x \cdot 4\right) \cdot i\right) - \left(j \cdot 27\right) \cdot k
\] |
|---|---|
rational_best-simplify-2 [=>]57.7 | \[ \left(\left(\left(\color{blue}{t \cdot \left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right)} - \left(a \cdot 4\right) \cdot t\right) + b \cdot c\right) - \left(x \cdot 4\right) \cdot i\right) - \left(j \cdot 27\right) \cdot k
\] |
rational_best-simplify-48 [=>]57.7 | \[ \left(\left(\color{blue}{t \cdot \left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z - a \cdot 4\right)} + b \cdot c\right) - \left(x \cdot 4\right) \cdot i\right) - \left(j \cdot 27\right) \cdot k
\] |
rational_best-simplify-2 [=>]57.7 | \[ \left(\left(t \cdot \left(\color{blue}{z \cdot \left(\left(x \cdot 18\right) \cdot y\right)} - a \cdot 4\right) + b \cdot c\right) - \left(x \cdot 4\right) \cdot i\right) - \left(j \cdot 27\right) \cdot k
\] |
rational_best-simplify-2 [=>]57.7 | \[ \left(\left(t \cdot \left(z \cdot \color{blue}{\left(y \cdot \left(x \cdot 18\right)\right)} - a \cdot 4\right) + b \cdot c\right) - \left(x \cdot 4\right) \cdot i\right) - \left(j \cdot 27\right) \cdot k
\] |
rational_best-simplify-44 [=>]38.2 | \[ \left(\left(t \cdot \left(\color{blue}{y \cdot \left(z \cdot \left(x \cdot 18\right)\right)} - a \cdot 4\right) + b \cdot c\right) - \left(x \cdot 4\right) \cdot i\right) - \left(j \cdot 27\right) \cdot k
\] |
rational_best-simplify-2 [=>]38.2 | \[ \left(\left(t \cdot \left(y \cdot \left(z \cdot \color{blue}{\left(18 \cdot x\right)}\right) - a \cdot 4\right) + b \cdot c\right) - \left(x \cdot 4\right) \cdot i\right) - \left(j \cdot 27\right) \cdot k
\] |
rational_best-simplify-44 [=>]38.2 | \[ \left(\left(t \cdot \left(y \cdot \color{blue}{\left(18 \cdot \left(z \cdot x\right)\right)} - a \cdot 4\right) + b \cdot c\right) - \left(x \cdot 4\right) \cdot i\right) - \left(j \cdot 27\right) \cdot k
\] |
rational_best-simplify-2 [=>]38.2 | \[ \left(\left(t \cdot \left(y \cdot \left(18 \cdot \color{blue}{\left(x \cdot z\right)}\right) - a \cdot 4\right) + b \cdot c\right) - \left(x \cdot 4\right) \cdot i\right) - \left(j \cdot 27\right) \cdot k
\] |
rational_best-simplify-2 [=>]38.2 | \[ \left(\left(t \cdot \left(y \cdot \left(18 \cdot \left(x \cdot z\right)\right) - a \cdot 4\right) + b \cdot c\right) - \color{blue}{i \cdot \left(x \cdot 4\right)}\right) - \left(j \cdot 27\right) \cdot k
\] |
rational_best-simplify-44 [=>]38.1 | \[ \left(\left(t \cdot \left(y \cdot \left(18 \cdot \left(x \cdot z\right)\right) - a \cdot 4\right) + b \cdot c\right) - \color{blue}{x \cdot \left(i \cdot 4\right)}\right) - \left(j \cdot 27\right) \cdot k
\] |
rational_best-simplify-2 [=>]38.1 | \[ \left(\left(t \cdot \left(y \cdot \left(18 \cdot \left(x \cdot z\right)\right) - a \cdot 4\right) + b \cdot c\right) - x \cdot \color{blue}{\left(4 \cdot i\right)}\right) - \left(j \cdot 27\right) \cdot k
\] |
rational_best-simplify-2 [=>]38.1 | \[ \left(\left(t \cdot \left(y \cdot \left(18 \cdot \left(x \cdot z\right)\right) - a \cdot 4\right) + b \cdot c\right) - x \cdot \left(4 \cdot i\right)\right) - \color{blue}{k \cdot \left(j \cdot 27\right)}
\] |
rational_best-simplify-44 [=>]37.5 | \[ \left(\left(t \cdot \left(y \cdot \left(18 \cdot \left(x \cdot z\right)\right) - a \cdot 4\right) + b \cdot c\right) - x \cdot \left(4 \cdot i\right)\right) - \color{blue}{j \cdot \left(k \cdot 27\right)}
\] |
rational_best-simplify-2 [=>]37.5 | \[ \left(\left(t \cdot \left(y \cdot \left(18 \cdot \left(x \cdot z\right)\right) - a \cdot 4\right) + b \cdot c\right) - x \cdot \left(4 \cdot i\right)\right) - j \cdot \color{blue}{\left(27 \cdot k\right)}
\] |
Taylor expanded in y around inf 14.5
Simplified8.1
[Start]14.5 | \[ \left(\left(18 \cdot \left(y \cdot \left(t \cdot \left(z \cdot x\right)\right)\right) + b \cdot c\right) - x \cdot \left(4 \cdot i\right)\right) - j \cdot \left(27 \cdot k\right)
\] |
|---|---|
rational_best-simplify-44 [=>]14.5 | \[ \left(\left(\color{blue}{y \cdot \left(18 \cdot \left(t \cdot \left(z \cdot x\right)\right)\right)} + b \cdot c\right) - x \cdot \left(4 \cdot i\right)\right) - j \cdot \left(27 \cdot k\right)
\] |
rational_best-simplify-44 [=>]8.1 | \[ \left(\left(y \cdot \left(18 \cdot \color{blue}{\left(z \cdot \left(t \cdot x\right)\right)}\right) + b \cdot c\right) - x \cdot \left(4 \cdot i\right)\right) - j \cdot \left(27 \cdot k\right)
\] |
rational_best-simplify-44 [=>]8.1 | \[ \left(\left(y \cdot \color{blue}{\left(z \cdot \left(18 \cdot \left(t \cdot x\right)\right)\right)} + b \cdot c\right) - x \cdot \left(4 \cdot i\right)\right) - j \cdot \left(27 \cdot k\right)
\] |
rational_best-simplify-2 [=>]8.1 | \[ \left(\left(y \cdot \left(z \cdot \left(18 \cdot \color{blue}{\left(x \cdot t\right)}\right)\right) + b \cdot c\right) - x \cdot \left(4 \cdot i\right)\right) - j \cdot \left(27 \cdot k\right)
\] |
Final simplification1.0
| Alternative 1 | |
|---|---|
| Error | 5.4 |
| Cost | 2516 |
| Alternative 2 | |
|---|---|
| Error | 19.2 |
| Cost | 2408 |
| Alternative 3 | |
|---|---|
| Error | 19.7 |
| Cost | 2408 |
| Alternative 4 | |
|---|---|
| Error | 18.5 |
| Cost | 2144 |
| Alternative 5 | |
|---|---|
| Error | 9.8 |
| Cost | 2128 |
| Alternative 6 | |
|---|---|
| Error | 10.5 |
| Cost | 2128 |
| Alternative 7 | |
|---|---|
| Error | 10.5 |
| Cost | 2128 |
| Alternative 8 | |
|---|---|
| Error | 10.5 |
| Cost | 2128 |
| Alternative 9 | |
|---|---|
| Error | 10.5 |
| Cost | 2128 |
| Alternative 10 | |
|---|---|
| Error | 10.5 |
| Cost | 2128 |
| Alternative 11 | |
|---|---|
| Error | 4.7 |
| Cost | 2120 |
| Alternative 12 | |
|---|---|
| Error | 31.6 |
| Cost | 1760 |
| Alternative 13 | |
|---|---|
| Error | 10.7 |
| Cost | 1736 |
| Alternative 14 | |
|---|---|
| Error | 12.1 |
| Cost | 1608 |
| Alternative 15 | |
|---|---|
| Error | 12.1 |
| Cost | 1608 |
| Alternative 16 | |
|---|---|
| Error | 11.0 |
| Cost | 1608 |
| Alternative 17 | |
|---|---|
| Error | 31.0 |
| Cost | 1496 |
| Alternative 18 | |
|---|---|
| Error | 21.1 |
| Cost | 1224 |
| Alternative 19 | |
|---|---|
| Error | 17.5 |
| Cost | 1224 |
| Alternative 20 | |
|---|---|
| Error | 35.2 |
| Cost | 1104 |
| Alternative 21 | |
|---|---|
| Error | 44.5 |
| Cost | 716 |
| Alternative 22 | |
|---|---|
| Error | 44.0 |
| Cost | 584 |
| Alternative 23 | |
|---|---|
| Error | 48.2 |
| Cost | 320 |
herbie shell --seed 2023092
(FPCore (x y z t a b c i j k)
:name "Diagrams.Solve.Polynomial:cubForm from diagrams-solve-0.1, E"
:precision binary64
:herbie-target
(if (< t -1.6210815397541398e-69) (- (- (* (* 18.0 t) (* (* x y) z)) (* (+ (* a t) (* i x)) 4.0)) (- (* (* k j) 27.0) (* c b))) (if (< t 165.68027943805222) (+ (- (* (* 18.0 y) (* x (* z t))) (* (+ (* a t) (* i x)) 4.0)) (- (* c b) (* 27.0 (* k j)))) (- (- (* (* 18.0 t) (* (* x y) z)) (* (+ (* a t) (* i x)) 4.0)) (- (* (* k j) 27.0) (* c b)))))
(- (- (+ (- (* (* (* (* x 18.0) y) z) t) (* (* a 4.0) t)) (* b c)) (* (* x 4.0) i)) (* (* j 27.0) k)))