| Alternative 1 | |
|---|---|
| Error | 59.72% |
| Cost | 2552 |
(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) (* t (* a -4.0))) (* b c))
(* i (* x -4.0)))))
(if (<= t_1 (- INFINITY))
(+
(+ (* b c) (* x (+ (* 18.0 (* y (* z t))) (* i -4.0))))
(* (* k j) -27.0))
(if (<= t_1 5e+291)
(+ t_1 (* k (* j -27.0)))
(+
(+ (* b c) (* x (* (* y t) (* 18.0 z))))
(+ (* j (* k -27.0)) (* x (* i -4.0))))))))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) + (t * (a * -4.0))) + (b * c)) + (i * (x * -4.0));
double tmp;
if (t_1 <= -((double) INFINITY)) {
tmp = ((b * c) + (x * ((18.0 * (y * (z * t))) + (i * -4.0)))) + ((k * j) * -27.0);
} else if (t_1 <= 5e+291) {
tmp = t_1 + (k * (j * -27.0));
} else {
tmp = ((b * c) + (x * ((y * t) * (18.0 * z)))) + ((j * (k * -27.0)) + (x * (i * -4.0)));
}
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) + (t * (a * -4.0))) + (b * c)) + (i * (x * -4.0));
double tmp;
if (t_1 <= -Double.POSITIVE_INFINITY) {
tmp = ((b * c) + (x * ((18.0 * (y * (z * t))) + (i * -4.0)))) + ((k * j) * -27.0);
} else if (t_1 <= 5e+291) {
tmp = t_1 + (k * (j * -27.0));
} else {
tmp = ((b * c) + (x * ((y * t) * (18.0 * z)))) + ((j * (k * -27.0)) + (x * (i * -4.0)));
}
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) + (t * (a * -4.0))) + (b * c)) + (i * (x * -4.0)) tmp = 0 if t_1 <= -math.inf: tmp = ((b * c) + (x * ((18.0 * (y * (z * t))) + (i * -4.0)))) + ((k * j) * -27.0) elif t_1 <= 5e+291: tmp = t_1 + (k * (j * -27.0)) else: tmp = ((b * c) + (x * ((y * t) * (18.0 * z)))) + ((j * (k * -27.0)) + (x * (i * -4.0))) 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(x * 18.0) * y) * z) * t) + Float64(t * Float64(a * -4.0))) + Float64(b * c)) + Float64(i * Float64(x * -4.0))) tmp = 0.0 if (t_1 <= Float64(-Inf)) tmp = Float64(Float64(Float64(b * c) + Float64(x * Float64(Float64(18.0 * Float64(y * Float64(z * t))) + Float64(i * -4.0)))) + Float64(Float64(k * j) * -27.0)); elseif (t_1 <= 5e+291) tmp = Float64(t_1 + Float64(k * Float64(j * -27.0))); else tmp = Float64(Float64(Float64(b * c) + Float64(x * Float64(Float64(y * t) * Float64(18.0 * z)))) + Float64(Float64(j * Float64(k * -27.0)) + Float64(x * Float64(i * -4.0)))); 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) + (t * (a * -4.0))) + (b * c)) + (i * (x * -4.0)); tmp = 0.0; if (t_1 <= -Inf) tmp = ((b * c) + (x * ((18.0 * (y * (z * t))) + (i * -4.0)))) + ((k * j) * -27.0); elseif (t_1 <= 5e+291) tmp = t_1 + (k * (j * -27.0)); else tmp = ((b * c) + (x * ((y * t) * (18.0 * z)))) + ((j * (k * -27.0)) + (x * (i * -4.0))); 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[(x * 18.0), $MachinePrecision] * y), $MachinePrecision] * z), $MachinePrecision] * t), $MachinePrecision] + N[(t * N[(a * -4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * c), $MachinePrecision]), $MachinePrecision] + N[(i * N[(x * -4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, (-Infinity)], N[(N[(N[(b * c), $MachinePrecision] + N[(x * N[(N[(18.0 * N[(y * N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * -4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(k * j), $MachinePrecision] * -27.0), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$1, 5e+291], N[(t$95$1 + N[(k * N[(j * -27.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(N[(b * c), $MachinePrecision] + N[(x * N[(N[(y * t), $MachinePrecision] * N[(18.0 * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * N[(k * -27.0), $MachinePrecision]), $MachinePrecision] + N[(x * N[(i * -4.0), $MachinePrecision]), $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(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t + t \cdot \left(a \cdot -4\right)\right) + b \cdot c\right) + i \cdot \left(x \cdot -4\right)\\
\mathbf{if}\;t_1 \leq -\infty:\\
\;\;\;\;\left(b \cdot c + x \cdot \left(18 \cdot \left(y \cdot \left(z \cdot t\right)\right) + i \cdot -4\right)\right) + \left(k \cdot j\right) \cdot -27\\
\mathbf{elif}\;t_1 \leq 5 \cdot 10^{+291}:\\
\;\;\;\;t_1 + k \cdot \left(j \cdot -27\right)\\
\mathbf{else}:\\
\;\;\;\;\left(b \cdot c + x \cdot \left(\left(y \cdot t\right) \cdot \left(18 \cdot z\right)\right)\right) + \left(j \cdot \left(k \cdot -27\right) + x \cdot \left(i \cdot -4\right)\right)\\
\end{array}
Results
| Original | 9.2% |
|---|---|
| Target | 2.85% |
| Herbie | 2.37% |
if (-.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)) < -inf.0Initial program 100
Simplified65.14
[Start]100 | \[ \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
\] |
|---|---|
associate--l- [=>]100 | \[ \color{blue}{\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(\left(x \cdot 4\right) \cdot i + \left(j \cdot 27\right) \cdot k\right)}
\] |
associate-+l- [=>]100 | \[ \color{blue}{\left(\left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t - \left(\left(a \cdot 4\right) \cdot t - b \cdot c\right)\right)} - \left(\left(x \cdot 4\right) \cdot i + \left(j \cdot 27\right) \cdot k\right)
\] |
associate-+l- [<=]100 | \[ \color{blue}{\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(\left(x \cdot 4\right) \cdot i + \left(j \cdot 27\right) \cdot k\right)
\] |
distribute-rgt-out-- [=>]100 | \[ \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(\left(x \cdot 4\right) \cdot i + \left(j \cdot 27\right) \cdot k\right)
\] |
associate-*l* [=>]65.14 | \[ \left(t \cdot \left(\color{blue}{\left(x \cdot 18\right) \cdot \left(y \cdot z\right)} - a \cdot 4\right) + b \cdot c\right) - \left(\left(x \cdot 4\right) \cdot i + \left(j \cdot 27\right) \cdot k\right)
\] |
associate-*l* [=>]65.14 | \[ \left(t \cdot \left(\left(x \cdot 18\right) \cdot \left(y \cdot z\right) - a \cdot 4\right) + b \cdot c\right) - \left(\color{blue}{x \cdot \left(4 \cdot i\right)} + \left(j \cdot 27\right) \cdot k\right)
\] |
associate-*l* [=>]65.14 | \[ \left(t \cdot \left(\left(x \cdot 18\right) \cdot \left(y \cdot z\right) - a \cdot 4\right) + b \cdot c\right) - \left(x \cdot \left(4 \cdot i\right) + \color{blue}{j \cdot \left(27 \cdot k\right)}\right)
\] |
Taylor expanded in x around inf 24.42
Simplified10.36
[Start]24.42 | \[ \left(18 \cdot \left(y \cdot \left(t \cdot \left(z \cdot x\right)\right)\right) + b \cdot c\right) - \left(x \cdot \left(4 \cdot i\right) + j \cdot \left(27 \cdot k\right)\right)
\] |
|---|---|
associate-*r* [=>]25.62 | \[ \left(\color{blue}{\left(18 \cdot y\right) \cdot \left(t \cdot \left(z \cdot x\right)\right)} + b \cdot c\right) - \left(x \cdot \left(4 \cdot i\right) + j \cdot \left(27 \cdot k\right)\right)
\] |
associate-*r* [=>]9.68 | \[ \left(\left(18 \cdot y\right) \cdot \color{blue}{\left(\left(t \cdot z\right) \cdot x\right)} + b \cdot c\right) - \left(x \cdot \left(4 \cdot i\right) + j \cdot \left(27 \cdot k\right)\right)
\] |
associate-*r* [=>]10.26 | \[ \left(\color{blue}{\left(\left(18 \cdot y\right) \cdot \left(t \cdot z\right)\right) \cdot x} + b \cdot c\right) - \left(x \cdot \left(4 \cdot i\right) + j \cdot \left(27 \cdot k\right)\right)
\] |
associate-*r* [<=]9.35 | \[ \left(\color{blue}{\left(18 \cdot \left(y \cdot \left(t \cdot z\right)\right)\right)} \cdot x + b \cdot c\right) - \left(x \cdot \left(4 \cdot i\right) + j \cdot \left(27 \cdot k\right)\right)
\] |
*-commutative [=>]9.35 | \[ \left(\color{blue}{\left(\left(y \cdot \left(t \cdot z\right)\right) \cdot 18\right)} \cdot x + b \cdot c\right) - \left(x \cdot \left(4 \cdot i\right) + j \cdot \left(27 \cdot k\right)\right)
\] |
associate-*r* [=>]10.4 | \[ \left(\left(\color{blue}{\left(\left(y \cdot t\right) \cdot z\right)} \cdot 18\right) \cdot x + b \cdot c\right) - \left(x \cdot \left(4 \cdot i\right) + j \cdot \left(27 \cdot k\right)\right)
\] |
associate-*l* [=>]10.36 | \[ \left(\color{blue}{\left(\left(y \cdot t\right) \cdot \left(z \cdot 18\right)\right)} \cdot x + b \cdot c\right) - \left(x \cdot \left(4 \cdot i\right) + j \cdot \left(27 \cdot k\right)\right)
\] |
Taylor expanded in x around 0 9.34
if -inf.0 < (-.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)) < 5.0000000000000001e291Initial program 0.56
if 5.0000000000000001e291 < (-.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)) Initial program 67.86
Simplified47.74
[Start]67.86 | \[ \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
\] |
|---|---|
associate--l- [=>]67.86 | \[ \color{blue}{\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(\left(x \cdot 4\right) \cdot i + \left(j \cdot 27\right) \cdot k\right)}
\] |
associate-+l- [=>]67.86 | \[ \color{blue}{\left(\left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t - \left(\left(a \cdot 4\right) \cdot t - b \cdot c\right)\right)} - \left(\left(x \cdot 4\right) \cdot i + \left(j \cdot 27\right) \cdot k\right)
\] |
associate-+l- [<=]67.86 | \[ \color{blue}{\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(\left(x \cdot 4\right) \cdot i + \left(j \cdot 27\right) \cdot k\right)
\] |
distribute-rgt-out-- [=>]67.86 | \[ \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(\left(x \cdot 4\right) \cdot i + \left(j \cdot 27\right) \cdot k\right)
\] |
associate-*l* [=>]47.57 | \[ \left(t \cdot \left(\color{blue}{\left(x \cdot 18\right) \cdot \left(y \cdot z\right)} - a \cdot 4\right) + b \cdot c\right) - \left(\left(x \cdot 4\right) \cdot i + \left(j \cdot 27\right) \cdot k\right)
\] |
associate-*l* [=>]47.57 | \[ \left(t \cdot \left(\left(x \cdot 18\right) \cdot \left(y \cdot z\right) - a \cdot 4\right) + b \cdot c\right) - \left(\color{blue}{x \cdot \left(4 \cdot i\right)} + \left(j \cdot 27\right) \cdot k\right)
\] |
associate-*l* [=>]47.74 | \[ \left(t \cdot \left(\left(x \cdot 18\right) \cdot \left(y \cdot z\right) - a \cdot 4\right) + b \cdot c\right) - \left(x \cdot \left(4 \cdot i\right) + \color{blue}{j \cdot \left(27 \cdot k\right)}\right)
\] |
Taylor expanded in x around inf 29.63
Simplified21.72
[Start]29.63 | \[ \left(18 \cdot \left(y \cdot \left(t \cdot \left(z \cdot x\right)\right)\right) + b \cdot c\right) - \left(x \cdot \left(4 \cdot i\right) + j \cdot \left(27 \cdot k\right)\right)
\] |
|---|---|
associate-*r* [=>]30.18 | \[ \left(\color{blue}{\left(18 \cdot y\right) \cdot \left(t \cdot \left(z \cdot x\right)\right)} + b \cdot c\right) - \left(x \cdot \left(4 \cdot i\right) + j \cdot \left(27 \cdot k\right)\right)
\] |
associate-*r* [=>]20.24 | \[ \left(\left(18 \cdot y\right) \cdot \color{blue}{\left(\left(t \cdot z\right) \cdot x\right)} + b \cdot c\right) - \left(x \cdot \left(4 \cdot i\right) + j \cdot \left(27 \cdot k\right)\right)
\] |
associate-*r* [=>]21.57 | \[ \left(\color{blue}{\left(\left(18 \cdot y\right) \cdot \left(t \cdot z\right)\right) \cdot x} + b \cdot c\right) - \left(x \cdot \left(4 \cdot i\right) + j \cdot \left(27 \cdot k\right)\right)
\] |
associate-*r* [<=]21 | \[ \left(\color{blue}{\left(18 \cdot \left(y \cdot \left(t \cdot z\right)\right)\right)} \cdot x + b \cdot c\right) - \left(x \cdot \left(4 \cdot i\right) + j \cdot \left(27 \cdot k\right)\right)
\] |
*-commutative [=>]21 | \[ \left(\color{blue}{\left(\left(y \cdot \left(t \cdot z\right)\right) \cdot 18\right)} \cdot x + b \cdot c\right) - \left(x \cdot \left(4 \cdot i\right) + j \cdot \left(27 \cdot k\right)\right)
\] |
associate-*r* [=>]21.73 | \[ \left(\left(\color{blue}{\left(\left(y \cdot t\right) \cdot z\right)} \cdot 18\right) \cdot x + b \cdot c\right) - \left(x \cdot \left(4 \cdot i\right) + j \cdot \left(27 \cdot k\right)\right)
\] |
associate-*l* [=>]21.72 | \[ \left(\color{blue}{\left(\left(y \cdot t\right) \cdot \left(z \cdot 18\right)\right)} \cdot x + b \cdot c\right) - \left(x \cdot \left(4 \cdot i\right) + j \cdot \left(27 \cdot k\right)\right)
\] |
Final simplification2.37
| Alternative 1 | |
|---|---|
| Error | 59.72% |
| Cost | 2552 |
| Alternative 2 | |
|---|---|
| Error | 59.53% |
| Cost | 2548 |
| Alternative 3 | |
|---|---|
| Error | 57.7% |
| Cost | 2420 |
| Alternative 4 | |
|---|---|
| Error | 35.86% |
| Cost | 2272 |
| Alternative 5 | |
|---|---|
| Error | 22.59% |
| Cost | 2264 |
| Alternative 6 | |
|---|---|
| Error | 22.37% |
| Cost | 2264 |
| Alternative 7 | |
|---|---|
| Error | 31.38% |
| Cost | 2140 |
| Alternative 8 | |
|---|---|
| Error | 22.28% |
| Cost | 2132 |
| Alternative 9 | |
|---|---|
| Error | 7.41% |
| Cost | 2121 |
| Alternative 10 | |
|---|---|
| Error | 59.12% |
| Cost | 2029 |
| Alternative 11 | |
|---|---|
| Error | 59.01% |
| Cost | 2028 |
| Alternative 12 | |
|---|---|
| Error | 59.66% |
| Cost | 2028 |
| Alternative 13 | |
|---|---|
| Error | 59.67% |
| Cost | 2028 |
| Alternative 14 | |
|---|---|
| Error | 22.81% |
| Cost | 2004 |
| Alternative 15 | |
|---|---|
| Error | 59.35% |
| Cost | 1764 |
| Alternative 16 | |
|---|---|
| Error | 36.94% |
| Cost | 1753 |
| Alternative 17 | |
|---|---|
| Error | 70.08% |
| Cost | 1641 |
| Alternative 18 | |
|---|---|
| Error | 70.12% |
| Cost | 1641 |
| Alternative 19 | |
|---|---|
| Error | 70.22% |
| Cost | 1641 |
| Alternative 20 | |
|---|---|
| Error | 61.02% |
| Cost | 1632 |
| Alternative 21 | |
|---|---|
| Error | 61.07% |
| Cost | 1632 |
| Alternative 22 | |
|---|---|
| Error | 53.35% |
| Cost | 1500 |
| Alternative 23 | |
|---|---|
| Error | 28.61% |
| Cost | 1489 |
| Alternative 24 | |
|---|---|
| Error | 28% |
| Cost | 1357 |
| Alternative 25 | |
|---|---|
| Error | 69.66% |
| Cost | 1245 |
| Alternative 26 | |
|---|---|
| Error | 58.98% |
| Cost | 1236 |
| Alternative 27 | |
|---|---|
| Error | 51.7% |
| Cost | 1236 |
| Alternative 28 | |
|---|---|
| Error | 68.91% |
| Cost | 584 |
| Alternative 29 | |
|---|---|
| Error | 76.33% |
| Cost | 192 |
herbie shell --seed 2023088
(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)))