| Alternative 1 | |
|---|---|
| Error | 13.4 |
| Cost | 2896 |
(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 4.0) i))
(t_2 (- (- (* b c) t_1) (* j (* 27.0 k))))
(t_3
(- (+ (- (* (* (* (* x 18.0) y) z) t) (* (* a 4.0) t)) (* b c)) t_1)))
(if (<= t_3 (- INFINITY))
(+
(- (* y (* (* z x) (* 18.0 t))) (* x (* i 4.0)))
(- (* b c) (* j (* k 27.0))))
(if (<= t_3 1e+303)
(+ (* t (- (* 18.0 (* z (* x y))) (* a 4.0))) t_2)
(+ (* y (* z (* 18.0 (* x t)))) t_2)))))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 * 4.0) * i;
double t_2 = ((b * c) - t_1) - (j * (27.0 * k));
double t_3 = ((((((x * 18.0) * y) * z) * t) - ((a * 4.0) * t)) + (b * c)) - t_1;
double tmp;
if (t_3 <= -((double) INFINITY)) {
tmp = ((y * ((z * x) * (18.0 * t))) - (x * (i * 4.0))) + ((b * c) - (j * (k * 27.0)));
} else if (t_3 <= 1e+303) {
tmp = (t * ((18.0 * (z * (x * y))) - (a * 4.0))) + t_2;
} else {
tmp = (y * (z * (18.0 * (x * t)))) + t_2;
}
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 * 4.0) * i;
double t_2 = ((b * c) - t_1) - (j * (27.0 * k));
double t_3 = ((((((x * 18.0) * y) * z) * t) - ((a * 4.0) * t)) + (b * c)) - t_1;
double tmp;
if (t_3 <= -Double.POSITIVE_INFINITY) {
tmp = ((y * ((z * x) * (18.0 * t))) - (x * (i * 4.0))) + ((b * c) - (j * (k * 27.0)));
} else if (t_3 <= 1e+303) {
tmp = (t * ((18.0 * (z * (x * y))) - (a * 4.0))) + t_2;
} else {
tmp = (y * (z * (18.0 * (x * t)))) + t_2;
}
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 * 4.0) * i t_2 = ((b * c) - t_1) - (j * (27.0 * k)) t_3 = ((((((x * 18.0) * y) * z) * t) - ((a * 4.0) * t)) + (b * c)) - t_1 tmp = 0 if t_3 <= -math.inf: tmp = ((y * ((z * x) * (18.0 * t))) - (x * (i * 4.0))) + ((b * c) - (j * (k * 27.0))) elif t_3 <= 1e+303: tmp = (t * ((18.0 * (z * (x * y))) - (a * 4.0))) + t_2 else: tmp = (y * (z * (18.0 * (x * t)))) + t_2 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(x * 4.0) * i) t_2 = Float64(Float64(Float64(b * c) - t_1) - Float64(j * Float64(27.0 * k))) t_3 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * 18.0) * y) * z) * t) - Float64(Float64(a * 4.0) * t)) + Float64(b * c)) - t_1) tmp = 0.0 if (t_3 <= Float64(-Inf)) tmp = Float64(Float64(Float64(y * Float64(Float64(z * x) * Float64(18.0 * t))) - Float64(x * Float64(i * 4.0))) + Float64(Float64(b * c) - Float64(j * Float64(k * 27.0)))); elseif (t_3 <= 1e+303) tmp = Float64(Float64(t * Float64(Float64(18.0 * Float64(z * Float64(x * y))) - Float64(a * 4.0))) + t_2); else tmp = Float64(Float64(y * Float64(z * Float64(18.0 * Float64(x * t)))) + t_2); 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 * 4.0) * i; t_2 = ((b * c) - t_1) - (j * (27.0 * k)); t_3 = ((((((x * 18.0) * y) * z) * t) - ((a * 4.0) * t)) + (b * c)) - t_1; tmp = 0.0; if (t_3 <= -Inf) tmp = ((y * ((z * x) * (18.0 * t))) - (x * (i * 4.0))) + ((b * c) - (j * (k * 27.0))); elseif (t_3 <= 1e+303) tmp = (t * ((18.0 * (z * (x * y))) - (a * 4.0))) + t_2; else tmp = (y * (z * (18.0 * (x * t)))) + t_2; 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[(x * 4.0), $MachinePrecision] * i), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(b * c), $MachinePrecision] - t$95$1), $MachinePrecision] - N[(j * N[(27.0 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = 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] - t$95$1), $MachinePrecision]}, If[LessEqual[t$95$3, (-Infinity)], N[(N[(N[(y * N[(N[(z * x), $MachinePrecision] * N[(18.0 * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(x * N[(i * 4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(b * c), $MachinePrecision] - N[(j * N[(k * 27.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$3, 1e+303], N[(N[(t * N[(N[(18.0 * N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * 4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$2), $MachinePrecision], N[(N[(y * N[(z * N[(18.0 * N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$2), $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(x \cdot 4\right) \cdot i\\
t_2 := \left(b \cdot c - t_1\right) - j \cdot \left(27 \cdot k\right)\\
t_3 := \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) - t_1\\
\mathbf{if}\;t_3 \leq -\infty:\\
\;\;\;\;\left(y \cdot \left(\left(z \cdot x\right) \cdot \left(18 \cdot t\right)\right) - x \cdot \left(i \cdot 4\right)\right) + \left(b \cdot c - j \cdot \left(k \cdot 27\right)\right)\\
\mathbf{elif}\;t_3 \leq 10^{+303}:\\
\;\;\;\;t \cdot \left(18 \cdot \left(z \cdot \left(x \cdot y\right)\right) - a \cdot 4\right) + t_2\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(z \cdot \left(18 \cdot \left(x \cdot t\right)\right)\right) + t_2\\
\end{array}
Results
| Original | 5.2 |
|---|---|
| Target | 1.5 |
| Herbie | 1.3 |
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 64.0
Simplified41.5
[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_oopsla_all_46_json_45_simplify-107 [=>]64.0 | \[ \color{blue}{\left(b \cdot c + \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) - \left(x \cdot 4\right) \cdot i\right)\right)} - \left(j \cdot 27\right) \cdot k
\] |
rational_best_oopsla_all_46_json_45_simplify-107 [=>]64.0 | \[ \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) - \left(x \cdot 4\right) \cdot i\right) + \left(b \cdot c - \left(j \cdot 27\right) \cdot k\right)}
\] |
rational_best_oopsla_all_46_json_45_simplify-74 [=>]64.0 | \[ \left(\left(\left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t - \color{blue}{t \cdot \left(a \cdot 4\right)}\right) - \left(x \cdot 4\right) \cdot i\right) + \left(b \cdot c - \left(j \cdot 27\right) \cdot k\right)
\] |
rational_best_oopsla_all_46_json_45_simplify-102 [=>]64.0 | \[ \left(\color{blue}{t \cdot \left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z - a \cdot 4\right)} - \left(x \cdot 4\right) \cdot i\right) + \left(b \cdot c - \left(j \cdot 27\right) \cdot k\right)
\] |
rational_best_oopsla_all_46_json_45_simplify-74 [=>]64.0 | \[ \left(t \cdot \left(\color{blue}{z \cdot \left(\left(x \cdot 18\right) \cdot y\right)} - a \cdot 4\right) - \left(x \cdot 4\right) \cdot i\right) + \left(b \cdot c - \left(j \cdot 27\right) \cdot k\right)
\] |
rational_best_oopsla_all_46_json_45_simplify-7 [=>]41.5 | \[ \left(t \cdot \left(\color{blue}{\left(x \cdot 18\right) \cdot \left(z \cdot y\right)} - a \cdot 4\right) - \left(x \cdot 4\right) \cdot i\right) + \left(b \cdot c - \left(j \cdot 27\right) \cdot k\right)
\] |
rational_best_oopsla_all_46_json_45_simplify-74 [=>]41.5 | \[ \left(t \cdot \left(\left(x \cdot 18\right) \cdot \left(z \cdot y\right) - a \cdot 4\right) - \color{blue}{i \cdot \left(x \cdot 4\right)}\right) + \left(b \cdot c - \left(j \cdot 27\right) \cdot k\right)
\] |
rational_best_oopsla_all_46_json_45_simplify-7 [=>]41.5 | \[ \left(t \cdot \left(\left(x \cdot 18\right) \cdot \left(z \cdot y\right) - a \cdot 4\right) - \color{blue}{x \cdot \left(i \cdot 4\right)}\right) + \left(b \cdot c - \left(j \cdot 27\right) \cdot k\right)
\] |
rational_best_oopsla_all_46_json_45_simplify-74 [=>]41.5 | \[ \left(t \cdot \left(\left(x \cdot 18\right) \cdot \left(z \cdot y\right) - a \cdot 4\right) - x \cdot \left(i \cdot 4\right)\right) + \left(b \cdot c - \color{blue}{k \cdot \left(j \cdot 27\right)}\right)
\] |
rational_best_oopsla_all_46_json_45_simplify-7 [=>]41.5 | \[ \left(t \cdot \left(\left(x \cdot 18\right) \cdot \left(z \cdot y\right) - a \cdot 4\right) - x \cdot \left(i \cdot 4\right)\right) + \left(b \cdot c - \color{blue}{j \cdot \left(k \cdot 27\right)}\right)
\] |
Taylor expanded in x around inf 11.7
Simplified11.7
[Start]11.7 | \[ \left(18 \cdot \left(y \cdot \left(t \cdot \left(z \cdot x\right)\right)\right) - x \cdot \left(i \cdot 4\right)\right) + \left(b \cdot c - j \cdot \left(k \cdot 27\right)\right)
\] |
|---|---|
rational_best_oopsla_all_46_json_45_simplify-7 [=>]11.7 | \[ \left(\color{blue}{y \cdot \left(18 \cdot \left(t \cdot \left(z \cdot x\right)\right)\right)} - x \cdot \left(i \cdot 4\right)\right) + \left(b \cdot c - j \cdot \left(k \cdot 27\right)\right)
\] |
rational_best_oopsla_all_46_json_45_simplify-74 [=>]11.7 | \[ \left(y \cdot \left(18 \cdot \color{blue}{\left(\left(z \cdot x\right) \cdot t\right)}\right) - x \cdot \left(i \cdot 4\right)\right) + \left(b \cdot c - j \cdot \left(k \cdot 27\right)\right)
\] |
rational_best_oopsla_all_46_json_45_simplify-7 [=>]11.7 | \[ \left(y \cdot \color{blue}{\left(\left(z \cdot x\right) \cdot \left(18 \cdot t\right)\right)} - x \cdot \left(i \cdot 4\right)\right) + \left(b \cdot c - j \cdot \left(k \cdot 27\right)\right)
\] |
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)) < 1e303Initial program 0.3
Simplified0.4
[Start]0.3 | \[ \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_oopsla_all_46_json_45_simplify-35 [=>]0.3 | \[ \left(\color{blue}{\left(b \cdot c + \left(\left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t - \left(a \cdot 4\right) \cdot t\right)\right)} - \left(x \cdot 4\right) \cdot i\right) - \left(j \cdot 27\right) \cdot k
\] |
rational_best_oopsla_all_46_json_45_simplify-107 [=>]0.3 | \[ \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) + \left(b \cdot c - \left(x \cdot 4\right) \cdot i\right)\right)} - \left(j \cdot 27\right) \cdot k
\] |
rational_best_oopsla_all_46_json_45_simplify-35 [=>]0.3 | \[ \color{blue}{\left(\left(b \cdot c - \left(x \cdot 4\right) \cdot i\right) + \left(\left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t - \left(a \cdot 4\right) \cdot t\right)\right)} - \left(j \cdot 27\right) \cdot k
\] |
rational_best_oopsla_all_46_json_45_simplify-107 [=>]0.3 | \[ \color{blue}{\left(\left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t - \left(a \cdot 4\right) \cdot t\right) + \left(\left(b \cdot c - \left(x \cdot 4\right) \cdot i\right) - \left(j \cdot 27\right) \cdot k\right)}
\] |
if 1e303 < (-.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 54.3
Simplified53.6
[Start]54.3 | \[ \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_oopsla_all_46_json_45_simplify-35 [=>]54.3 | \[ \left(\color{blue}{\left(b \cdot c + \left(\left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t - \left(a \cdot 4\right) \cdot t\right)\right)} - \left(x \cdot 4\right) \cdot i\right) - \left(j \cdot 27\right) \cdot k
\] |
rational_best_oopsla_all_46_json_45_simplify-107 [=>]54.3 | \[ \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) + \left(b \cdot c - \left(x \cdot 4\right) \cdot i\right)\right)} - \left(j \cdot 27\right) \cdot k
\] |
rational_best_oopsla_all_46_json_45_simplify-35 [=>]54.3 | \[ \color{blue}{\left(\left(b \cdot c - \left(x \cdot 4\right) \cdot i\right) + \left(\left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t - \left(a \cdot 4\right) \cdot t\right)\right)} - \left(j \cdot 27\right) \cdot k
\] |
rational_best_oopsla_all_46_json_45_simplify-107 [=>]54.3 | \[ \color{blue}{\left(\left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t - \left(a \cdot 4\right) \cdot t\right) + \left(\left(b \cdot c - \left(x \cdot 4\right) \cdot i\right) - \left(j \cdot 27\right) \cdot k\right)}
\] |
Taylor expanded in z around inf 15.9
Simplified10.6
[Start]15.9 | \[ 18 \cdot \left(y \cdot \left(t \cdot \left(z \cdot x\right)\right)\right) + \left(\left(b \cdot c - \left(x \cdot 4\right) \cdot i\right) - j \cdot \left(27 \cdot k\right)\right)
\] |
|---|---|
rational_best_oopsla_all_46_json_45_simplify-7 [=>]16.0 | \[ \color{blue}{y \cdot \left(18 \cdot \left(t \cdot \left(z \cdot x\right)\right)\right)} + \left(\left(b \cdot c - \left(x \cdot 4\right) \cdot i\right) - j \cdot \left(27 \cdot k\right)\right)
\] |
rational_best_oopsla_all_46_json_45_simplify-7 [=>]10.6 | \[ y \cdot \left(18 \cdot \color{blue}{\left(z \cdot \left(t \cdot x\right)\right)}\right) + \left(\left(b \cdot c - \left(x \cdot 4\right) \cdot i\right) - j \cdot \left(27 \cdot k\right)\right)
\] |
rational_best_oopsla_all_46_json_45_simplify-7 [=>]10.6 | \[ y \cdot \color{blue}{\left(z \cdot \left(18 \cdot \left(t \cdot x\right)\right)\right)} + \left(\left(b \cdot c - \left(x \cdot 4\right) \cdot i\right) - j \cdot \left(27 \cdot k\right)\right)
\] |
rational_best_oopsla_all_46_json_45_simplify-74 [=>]10.6 | \[ y \cdot \left(z \cdot \left(18 \cdot \color{blue}{\left(x \cdot t\right)}\right)\right) + \left(\left(b \cdot c - \left(x \cdot 4\right) \cdot i\right) - j \cdot \left(27 \cdot k\right)\right)
\] |
Final simplification1.3
| Alternative 1 | |
|---|---|
| Error | 13.4 |
| Cost | 2896 |
| Alternative 2 | |
|---|---|
| Error | 13.4 |
| Cost | 2896 |
| Alternative 3 | |
|---|---|
| Error | 8.4 |
| Cost | 2636 |
| Alternative 4 | |
|---|---|
| Error | 27.5 |
| Cost | 2264 |
| Alternative 5 | |
|---|---|
| Error | 28.4 |
| Cost | 2264 |
| Alternative 6 | |
|---|---|
| Error | 8.1 |
| Cost | 2248 |
| Alternative 7 | |
|---|---|
| Error | 4.2 |
| Cost | 1988 |
| Alternative 8 | |
|---|---|
| Error | 4.2 |
| Cost | 1988 |
| Alternative 9 | |
|---|---|
| Error | 20.8 |
| Cost | 1880 |
| Alternative 10 | |
|---|---|
| Error | 20.7 |
| Cost | 1880 |
| Alternative 11 | |
|---|---|
| Error | 23.3 |
| Cost | 1752 |
| Alternative 12 | |
|---|---|
| Error | 30.5 |
| Cost | 1632 |
| Alternative 13 | |
|---|---|
| Error | 29.1 |
| Cost | 1368 |
| Alternative 14 | |
|---|---|
| Error | 42.8 |
| Cost | 1244 |
| Alternative 15 | |
|---|---|
| Error | 30.0 |
| Cost | 1236 |
| Alternative 16 | |
|---|---|
| Error | 34.9 |
| Cost | 1104 |
| Alternative 17 | |
|---|---|
| Error | 42.9 |
| Cost | 716 |
| Alternative 18 | |
|---|---|
| Error | 42.9 |
| Cost | 584 |
| Alternative 19 | |
|---|---|
| Error | 48.0 |
| Cost | 192 |
herbie shell --seed 2023090
(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)))