?

Average Accuracy: 91.5% → 98.5%
Time: 48.2s
Precision: binary64
Cost: 18184

?

\[\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 := k \cdot \left(j \cdot 27\right)\\ t_2 := t \cdot \left(a \cdot 4\right)\\ t_3 := \left(x \cdot 4\right) \cdot i\\ t_4 := \left(\left(\left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t - t_2\right) + b \cdot c\right) - t_3\\ \mathbf{if}\;t_4 \leq -\infty:\\ \;\;\;\;b \cdot c + \left(-27 \cdot \left(k \cdot j\right) + x \cdot \left(y \cdot \left(18 \cdot \left(z \cdot t\right)\right) + i \cdot -4\right)\right)\\ \mathbf{elif}\;t_4 \leq 10^{+304}:\\ \;\;\;\;t_4 - t_1\\ \mathbf{else}:\\ \;\;\;\;\left(\left(b \cdot c + \left({\left(\sqrt{x \cdot \left(\left(z \cdot t\right) \cdot \left(18 \cdot y\right)\right)}\right)}^{2} - t_2\right)\right) - t_3\right) - t_1\\ \end{array} \]
(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 (* k (* j 27.0)))
        (t_2 (* t (* a 4.0)))
        (t_3 (* (* x 4.0) i))
        (t_4 (- (+ (- (* (* (* (* x 18.0) y) z) t) t_2) (* b c)) t_3)))
   (if (<= t_4 (- INFINITY))
     (+
      (* b c)
      (+ (* -27.0 (* k j)) (* x (+ (* y (* 18.0 (* z t))) (* i -4.0)))))
     (if (<= t_4 1e+304)
       (- t_4 t_1)
       (-
        (-
         (+ (* b c) (- (pow (sqrt (* x (* (* z t) (* 18.0 y)))) 2.0) t_2))
         t_3)
        t_1)))))
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 = k * (j * 27.0);
	double t_2 = t * (a * 4.0);
	double t_3 = (x * 4.0) * i;
	double t_4 = ((((((x * 18.0) * y) * z) * t) - t_2) + (b * c)) - t_3;
	double tmp;
	if (t_4 <= -((double) INFINITY)) {
		tmp = (b * c) + ((-27.0 * (k * j)) + (x * ((y * (18.0 * (z * t))) + (i * -4.0))));
	} else if (t_4 <= 1e+304) {
		tmp = t_4 - t_1;
	} else {
		tmp = (((b * c) + (pow(sqrt((x * ((z * t) * (18.0 * y)))), 2.0) - t_2)) - t_3) - t_1;
	}
	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 = k * (j * 27.0);
	double t_2 = t * (a * 4.0);
	double t_3 = (x * 4.0) * i;
	double t_4 = ((((((x * 18.0) * y) * z) * t) - t_2) + (b * c)) - t_3;
	double tmp;
	if (t_4 <= -Double.POSITIVE_INFINITY) {
		tmp = (b * c) + ((-27.0 * (k * j)) + (x * ((y * (18.0 * (z * t))) + (i * -4.0))));
	} else if (t_4 <= 1e+304) {
		tmp = t_4 - t_1;
	} else {
		tmp = (((b * c) + (Math.pow(Math.sqrt((x * ((z * t) * (18.0 * y)))), 2.0) - t_2)) - t_3) - t_1;
	}
	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 = k * (j * 27.0)
	t_2 = t * (a * 4.0)
	t_3 = (x * 4.0) * i
	t_4 = ((((((x * 18.0) * y) * z) * t) - t_2) + (b * c)) - t_3
	tmp = 0
	if t_4 <= -math.inf:
		tmp = (b * c) + ((-27.0 * (k * j)) + (x * ((y * (18.0 * (z * t))) + (i * -4.0))))
	elif t_4 <= 1e+304:
		tmp = t_4 - t_1
	else:
		tmp = (((b * c) + (math.pow(math.sqrt((x * ((z * t) * (18.0 * y)))), 2.0) - t_2)) - t_3) - t_1
	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(k * Float64(j * 27.0))
	t_2 = Float64(t * Float64(a * 4.0))
	t_3 = Float64(Float64(x * 4.0) * i)
	t_4 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * 18.0) * y) * z) * t) - t_2) + Float64(b * c)) - t_3)
	tmp = 0.0
	if (t_4 <= Float64(-Inf))
		tmp = Float64(Float64(b * c) + Float64(Float64(-27.0 * Float64(k * j)) + Float64(x * Float64(Float64(y * Float64(18.0 * Float64(z * t))) + Float64(i * -4.0)))));
	elseif (t_4 <= 1e+304)
		tmp = Float64(t_4 - t_1);
	else
		tmp = Float64(Float64(Float64(Float64(b * c) + Float64((sqrt(Float64(x * Float64(Float64(z * t) * Float64(18.0 * y)))) ^ 2.0) - t_2)) - t_3) - t_1);
	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 = k * (j * 27.0);
	t_2 = t * (a * 4.0);
	t_3 = (x * 4.0) * i;
	t_4 = ((((((x * 18.0) * y) * z) * t) - t_2) + (b * c)) - t_3;
	tmp = 0.0;
	if (t_4 <= -Inf)
		tmp = (b * c) + ((-27.0 * (k * j)) + (x * ((y * (18.0 * (z * t))) + (i * -4.0))));
	elseif (t_4 <= 1e+304)
		tmp = t_4 - t_1;
	else
		tmp = (((b * c) + ((sqrt((x * ((z * t) * (18.0 * y)))) ^ 2.0) - t_2)) - t_3) - t_1;
	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[(k * N[(j * 27.0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(t * N[(a * 4.0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * 4.0), $MachinePrecision] * i), $MachinePrecision]}, Block[{t$95$4 = N[(N[(N[(N[(N[(N[(N[(x * 18.0), $MachinePrecision] * y), $MachinePrecision] * z), $MachinePrecision] * t), $MachinePrecision] - t$95$2), $MachinePrecision] + N[(b * c), $MachinePrecision]), $MachinePrecision] - t$95$3), $MachinePrecision]}, If[LessEqual[t$95$4, (-Infinity)], N[(N[(b * c), $MachinePrecision] + N[(N[(-27.0 * N[(k * j), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(y * N[(18.0 * N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * -4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$4, 1e+304], N[(t$95$4 - t$95$1), $MachinePrecision], N[(N[(N[(N[(b * c), $MachinePrecision] + N[(N[Power[N[Sqrt[N[(x * N[(N[(z * t), $MachinePrecision] * N[(18.0 * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], 2.0], $MachinePrecision] - t$95$2), $MachinePrecision]), $MachinePrecision] - t$95$3), $MachinePrecision] - t$95$1), $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 := k \cdot \left(j \cdot 27\right)\\
t_2 := t \cdot \left(a \cdot 4\right)\\
t_3 := \left(x \cdot 4\right) \cdot i\\
t_4 := \left(\left(\left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t - t_2\right) + b \cdot c\right) - t_3\\
\mathbf{if}\;t_4 \leq -\infty:\\
\;\;\;\;b \cdot c + \left(-27 \cdot \left(k \cdot j\right) + x \cdot \left(y \cdot \left(18 \cdot \left(z \cdot t\right)\right) + i \cdot -4\right)\right)\\

\mathbf{elif}\;t_4 \leq 10^{+304}:\\
\;\;\;\;t_4 - t_1\\

\mathbf{else}:\\
\;\;\;\;\left(\left(b \cdot c + \left({\left(\sqrt{x \cdot \left(\left(z \cdot t\right) \cdot \left(18 \cdot y\right)\right)}\right)}^{2} - t_2\right)\right) - t_3\right) - t_1\\


\end{array}

Error?

Try it out?

Your Program's Arguments

Results

Enter valid numbers for all inputs

Target

Original91.5%
Target97.6%
Herbie98.5%
\[\begin{array}{l} \mathbf{if}\;t < -1.6210815397541398 \cdot 10^{-69}:\\ \;\;\;\;\left(\left(18 \cdot t\right) \cdot \left(\left(x \cdot y\right) \cdot z\right) - \left(a \cdot t + i \cdot x\right) \cdot 4\right) - \left(\left(k \cdot j\right) \cdot 27 - c \cdot b\right)\\ \mathbf{elif}\;t < 165.68027943805222:\\ \;\;\;\;\left(\left(18 \cdot y\right) \cdot \left(x \cdot \left(z \cdot t\right)\right) - \left(a \cdot t + i \cdot x\right) \cdot 4\right) + \left(c \cdot b - 27 \cdot \left(k \cdot j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(18 \cdot t\right) \cdot \left(\left(x \cdot y\right) \cdot z\right) - \left(a \cdot t + i \cdot x\right) \cdot 4\right) - \left(\left(k \cdot j\right) \cdot 27 - c \cdot b\right)\\ \end{array} \]

Derivation?

  1. Split input into 3 regimes
  2. 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.0

    1. Initial program 0.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 \]
    2. Simplified70.1%

      \[\leadsto \color{blue}{\mathsf{fma}\left(x, \mathsf{fma}\left(18, t \cdot \left(y \cdot z\right), i \cdot -4\right), \mathsf{fma}\left(t, a \cdot -4, \mathsf{fma}\left(b, c, k \cdot \left(j \cdot -27\right)\right)\right)\right)} \]
      Proof

      [Start]0.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 \]

      sub-neg [=>]0.0

      \[ \color{blue}{\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(-\left(x \cdot 4\right) \cdot i\right)\right)} - \left(j \cdot 27\right) \cdot k \]

      +-commutative [=>]0.0

      \[ \color{blue}{\left(\left(-\left(x \cdot 4\right) \cdot i\right) + \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)\right)} - \left(j \cdot 27\right) \cdot k \]

      sub-neg [=>]0.0

      \[ \left(\left(-\left(x \cdot 4\right) \cdot i\right) + \left(\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\right)\right)} + b \cdot c\right)\right) - \left(j \cdot 27\right) \cdot k \]

      associate-+l+ [=>]0.0

      \[ \left(\left(-\left(x \cdot 4\right) \cdot i\right) + \color{blue}{\left(\left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t + \left(\left(-\left(a \cdot 4\right) \cdot t\right) + b \cdot c\right)\right)}\right) - \left(j \cdot 27\right) \cdot k \]

      associate-+r+ [=>]0.0

      \[ \color{blue}{\left(\left(\left(-\left(x \cdot 4\right) \cdot i\right) + \left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t\right) + \left(\left(-\left(a \cdot 4\right) \cdot t\right) + b \cdot c\right)\right)} - \left(j \cdot 27\right) \cdot k \]

      associate--l+ [=>]0.0

      \[ \color{blue}{\left(\left(-\left(x \cdot 4\right) \cdot i\right) + \left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t\right) + \left(\left(\left(-\left(a \cdot 4\right) \cdot t\right) + b \cdot c\right) - \left(j \cdot 27\right) \cdot k\right)} \]

      +-commutative [<=]0.0

      \[ \color{blue}{\left(\left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t + \left(-\left(x \cdot 4\right) \cdot i\right)\right)} + \left(\left(\left(-\left(a \cdot 4\right) \cdot t\right) + b \cdot c\right) - \left(j \cdot 27\right) \cdot k\right) \]

      sub-neg [<=]0.0

      \[ \color{blue}{\left(\left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t - \left(x \cdot 4\right) \cdot i\right)} + \left(\left(\left(-\left(a \cdot 4\right) \cdot t\right) + b \cdot c\right) - \left(j \cdot 27\right) \cdot k\right) \]
    3. Taylor expanded in a around 0 89.7%

      \[\leadsto \color{blue}{c \cdot b + \left(-27 \cdot \left(k \cdot j\right) + \left(18 \cdot \left(y \cdot \left(t \cdot z\right)\right) + -4 \cdot i\right) \cdot x\right)} \]
    4. Applied egg-rr52.3%

      \[\leadsto c \cdot b + \left(-27 \cdot \left(k \cdot j\right) + \left(\color{blue}{\left(e^{\mathsf{log1p}\left(y \cdot \left(\left(t \cdot z\right) \cdot 18\right)\right)} - 1\right)} + -4 \cdot i\right) \cdot x\right) \]
      Proof

      [Start]89.7

      \[ c \cdot b + \left(-27 \cdot \left(k \cdot j\right) + \left(18 \cdot \left(y \cdot \left(t \cdot z\right)\right) + -4 \cdot i\right) \cdot x\right) \]

      expm1-log1p-u [=>]62.6

      \[ c \cdot b + \left(-27 \cdot \left(k \cdot j\right) + \left(\color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(18 \cdot \left(y \cdot \left(t \cdot z\right)\right)\right)\right)} + -4 \cdot i\right) \cdot x\right) \]

      expm1-udef [=>]52.3

      \[ c \cdot b + \left(-27 \cdot \left(k \cdot j\right) + \left(\color{blue}{\left(e^{\mathsf{log1p}\left(18 \cdot \left(y \cdot \left(t \cdot z\right)\right)\right)} - 1\right)} + -4 \cdot i\right) \cdot x\right) \]

      *-commutative [=>]52.3

      \[ c \cdot b + \left(-27 \cdot \left(k \cdot j\right) + \left(\left(e^{\mathsf{log1p}\left(\color{blue}{\left(y \cdot \left(t \cdot z\right)\right) \cdot 18}\right)} - 1\right) + -4 \cdot i\right) \cdot x\right) \]

      associate-*l* [=>]52.3

      \[ c \cdot b + \left(-27 \cdot \left(k \cdot j\right) + \left(\left(e^{\mathsf{log1p}\left(\color{blue}{y \cdot \left(\left(t \cdot z\right) \cdot 18\right)}\right)} - 1\right) + -4 \cdot i\right) \cdot x\right) \]
    5. Simplified89.8%

      \[\leadsto c \cdot b + \left(-27 \cdot \left(k \cdot j\right) + \left(\color{blue}{y \cdot \left(18 \cdot \left(t \cdot z\right)\right)} + -4 \cdot i\right) \cdot x\right) \]
      Proof

      [Start]52.3

      \[ c \cdot b + \left(-27 \cdot \left(k \cdot j\right) + \left(\left(e^{\mathsf{log1p}\left(y \cdot \left(\left(t \cdot z\right) \cdot 18\right)\right)} - 1\right) + -4 \cdot i\right) \cdot x\right) \]

      expm1-def [=>]62.6

      \[ c \cdot b + \left(-27 \cdot \left(k \cdot j\right) + \left(\color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(y \cdot \left(\left(t \cdot z\right) \cdot 18\right)\right)\right)} + -4 \cdot i\right) \cdot x\right) \]

      expm1-log1p [=>]89.8

      \[ c \cdot b + \left(-27 \cdot \left(k \cdot j\right) + \left(\color{blue}{y \cdot \left(\left(t \cdot z\right) \cdot 18\right)} + -4 \cdot i\right) \cdot x\right) \]

      *-commutative [=>]89.8

      \[ c \cdot b + \left(-27 \cdot \left(k \cdot j\right) + \left(y \cdot \color{blue}{\left(18 \cdot \left(t \cdot z\right)\right)} + -4 \cdot i\right) \cdot x\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)) < 9.9999999999999994e303

    1. Initial program 99.5%

      \[\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 \]

    if 9.9999999999999994e303 < (-.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))

    1. Initial program 12.6%

      \[\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 \]
    2. Applied egg-rr86.4%

      \[\leadsto \left(\left(\left(\color{blue}{{\left(\sqrt{x \cdot \left(\left(18 \cdot y\right) \cdot \left(z \cdot t\right)\right)}\right)}^{2}} - \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 \]
      Proof

      [Start]12.6

      \[ \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 \]

      add-sqr-sqrt [=>]8.5

      \[ \left(\left(\left(\color{blue}{\sqrt{\left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t} \cdot \sqrt{\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 \]

      pow2 [=>]8.5

      \[ \left(\left(\left(\color{blue}{{\left(\sqrt{\left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t}\right)}^{2}} - \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* [=>]41.4

      \[ \left(\left(\left({\left(\sqrt{\color{blue}{\left(\left(x \cdot 18\right) \cdot y\right) \cdot \left(z \cdot t\right)}}\right)}^{2} - \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* [=>]41.7

      \[ \left(\left(\left({\left(\sqrt{\color{blue}{\left(x \cdot \left(18 \cdot y\right)\right)} \cdot \left(z \cdot t\right)}\right)}^{2} - \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* [=>]86.4

      \[ \left(\left(\left({\left(\sqrt{\color{blue}{x \cdot \left(\left(18 \cdot y\right) \cdot \left(z \cdot t\right)\right)}}\right)}^{2} - \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 \]
  3. Recombined 3 regimes into one program.
  4. Final simplification98.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;\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) - \left(x \cdot 4\right) \cdot i \leq -\infty:\\ \;\;\;\;b \cdot c + \left(-27 \cdot \left(k \cdot j\right) + x \cdot \left(y \cdot \left(18 \cdot \left(z \cdot t\right)\right) + i \cdot -4\right)\right)\\ \mathbf{elif}\;\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) - \left(x \cdot 4\right) \cdot i \leq 10^{+304}:\\ \;\;\;\;\left(\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) - \left(x \cdot 4\right) \cdot i\right) - k \cdot \left(j \cdot 27\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(b \cdot c + \left({\left(\sqrt{x \cdot \left(\left(z \cdot t\right) \cdot \left(18 \cdot y\right)\right)}\right)}^{2} - t \cdot \left(a \cdot 4\right)\right)\right) - \left(x \cdot 4\right) \cdot i\right) - k \cdot \left(j \cdot 27\right)\\ \end{array} \]

Alternatives

Alternative 1
Accuracy98.6%
Cost5320
\[\begin{array}{l} t_1 := k \cdot \left(j \cdot 27\right)\\ t_2 := t \cdot \left(a \cdot 4\right)\\ t_3 := \left(x \cdot 4\right) \cdot i\\ t_4 := \left(\left(\left(\left(\left(x \cdot 18\right) \cdot y\right) \cdot z\right) \cdot t - t_2\right) + b \cdot c\right) - t_3\\ \mathbf{if}\;t_4 \leq -\infty:\\ \;\;\;\;b \cdot c + \left(-27 \cdot \left(k \cdot j\right) + x \cdot \left(y \cdot \left(18 \cdot \left(z \cdot t\right)\right) + i \cdot -4\right)\right)\\ \mathbf{elif}\;t_4 \leq 10^{+304}:\\ \;\;\;\;t_4 - t_1\\ \mathbf{else}:\\ \;\;\;\;\left(\left(b \cdot c + \left(x \cdot \left(y \cdot \left(t \cdot \left(18 \cdot z\right)\right)\right) - t_2\right)\right) - t_3\right) - t_1\\ \end{array} \]
Alternative 2
Accuracy63.3%
Cost2802
\[\begin{array}{l} t_1 := -27 \cdot \left(k \cdot j\right)\\ t_2 := x \cdot \left(4 \cdot i\right)\\ t_3 := b \cdot c - \left(j \cdot \left(k \cdot 27\right) + t_2\right)\\ t_4 := x \cdot \left(i \cdot -4 + 18 \cdot \left(y \cdot \left(z \cdot t\right)\right)\right)\\ t_5 := b \cdot c + \left(t_1 + -4 \cdot \left(t \cdot a\right)\right)\\ \mathbf{if}\;z \leq 3.4 \cdot 10^{-294}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;z \leq 1.15 \cdot 10^{-177}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 2.55 \cdot 10^{-82}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;z \leq 7 \cdot 10^{-27}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 1.95 \cdot 10^{+73}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;z \leq 2.6 \cdot 10^{+84}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq 2.35 \cdot 10^{+135}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;z \leq 9 \cdot 10^{+156}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq 2.4 \cdot 10^{+166} \lor \neg \left(z \leq 1.25 \cdot 10^{+217} \lor \neg \left(z \leq 7.8 \cdot 10^{+237}\right) \land z \leq 1.05 \cdot 10^{+265}\right):\\ \;\;\;\;b \cdot c + \left(t_1 + 18 \cdot \left(t \cdot \left(z \cdot \left(x \cdot y\right)\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(b \cdot c + t \cdot \left(a \cdot -4\right)\right) - t_2\\ \end{array} \]
Alternative 3
Accuracy41.7%
Cost2556
\[\begin{array}{l} t_1 := -4 \cdot \left(t \cdot a + x \cdot i\right)\\ t_2 := x \cdot \left(i \cdot -4 + 18 \cdot \left(y \cdot \left(z \cdot t\right)\right)\right)\\ t_3 := b \cdot c + -4 \cdot \left(t \cdot a\right)\\ t_4 := b \cdot c - x \cdot \left(4 \cdot i\right)\\ t_5 := -27 \cdot \left(k \cdot j\right)\\ \mathbf{if}\;j \leq -1.7 \cdot 10^{+259}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;j \leq -4.1 \cdot 10^{+245}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq -4.2 \cdot 10^{+237}:\\ \;\;\;\;k \cdot \left(-27 \cdot j\right)\\ \mathbf{elif}\;j \leq -4.4 \cdot 10^{+209}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq -4.6 \cdot 10^{+180}:\\ \;\;\;\;t \cdot \left(18 \cdot \left(y \cdot \left(x \cdot z\right)\right) + a \cdot -4\right)\\ \mathbf{elif}\;j \leq -5.2 \cdot 10^{+144}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq -2.1 \cdot 10^{+121}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;j \leq -1.25 \cdot 10^{+94}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq -4.7 \cdot 10^{+30}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq -9.5 \cdot 10^{-39}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq -5.6 \cdot 10^{-186}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq -7.4 \cdot 10^{-212}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq -2.9 \cdot 10^{-249}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq 9.4 \cdot 10^{-256}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq 4.6 \cdot 10^{-134}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t_5\\ \end{array} \]
Alternative 4
Accuracy85.3%
Cost2396
\[\begin{array}{l} t_1 := x \cdot \left(i \cdot -4 + 18 \cdot \left(y \cdot \left(z \cdot t\right)\right)\right)\\ t_2 := -27 \cdot \left(k \cdot j\right)\\ t_3 := \left(b \cdot c + t \cdot \left(a \cdot -4\right)\right) - \left(j \cdot \left(k \cdot 27\right) + x \cdot \left(4 \cdot i\right)\right)\\ \mathbf{if}\;x \leq -2.02 \cdot 10^{+194}:\\ \;\;\;\;b \cdot c + \left(t_2 + x \cdot \left(y \cdot \left(18 \cdot \left(z \cdot t\right)\right) + i \cdot -4\right)\right)\\ \mathbf{elif}\;x \leq -3 \cdot 10^{-12}:\\ \;\;\;\;b \cdot c + \left(-4 \cdot \left(t \cdot a\right) + t_1\right)\\ \mathbf{elif}\;x \leq -2.5 \cdot 10^{-121}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -1.15 \cdot 10^{-153}:\\ \;\;\;\;b \cdot c + \left(t_2 + 18 \cdot \left(t \cdot \left(z \cdot \left(x \cdot y\right)\right)\right)\right)\\ \mathbf{elif}\;x \leq 1.85 \cdot 10^{-77}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq 8.5 \cdot 10^{-49}:\\ \;\;\;\;\left(b \cdot c + t \cdot \left(\left(x \cdot 18\right) \cdot \left(y \cdot z\right) - a \cdot 4\right)\right) - \left(k \cdot j\right) \cdot 27\\ \mathbf{elif}\;x \leq 3.5 \cdot 10^{+23}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;b \cdot c + \left(t_2 + t_1\right)\\ \end{array} \]
Alternative 5
Accuracy85.2%
Cost2396
\[\begin{array}{l} t_1 := x \cdot \left(i \cdot -4 + 18 \cdot \left(y \cdot \left(z \cdot t\right)\right)\right)\\ t_2 := -27 \cdot \left(k \cdot j\right)\\ t_3 := \left(b \cdot c + t \cdot \left(a \cdot -4\right)\right) - \left(j \cdot \left(k \cdot 27\right) + x \cdot \left(4 \cdot i\right)\right)\\ \mathbf{if}\;x \leq -6 \cdot 10^{+190}:\\ \;\;\;\;b \cdot c + \left(t_2 + x \cdot \left(y \cdot \left(18 \cdot \left(z \cdot t\right)\right) + i \cdot -4\right)\right)\\ \mathbf{elif}\;x \leq -4.2 \cdot 10^{-10}:\\ \;\;\;\;b \cdot c + \left(-4 \cdot \left(t \cdot a\right) + t_1\right)\\ \mathbf{elif}\;x \leq -2.8 \cdot 10^{-121}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -1.15 \cdot 10^{-153}:\\ \;\;\;\;b \cdot c + \left(t_2 + 18 \cdot \left(t \cdot \left(z \cdot \left(x \cdot y\right)\right)\right)\right)\\ \mathbf{elif}\;x \leq 9.2 \cdot 10^{-77}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq 8.5 \cdot 10^{-49}:\\ \;\;\;\;\left(b \cdot c + t \cdot \left(\left(x \cdot 18\right) \cdot \left(y \cdot z\right) - a \cdot 4\right)\right) - \left(x \cdot 4\right) \cdot i\\ \mathbf{elif}\;x \leq 2.75 \cdot 10^{+23}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;b \cdot c + \left(t_2 + t_1\right)\\ \end{array} \]
Alternative 6
Accuracy85.3%
Cost2392
\[\begin{array}{l} t_1 := -4 \cdot \left(t \cdot a\right)\\ t_2 := x \cdot \left(i \cdot -4 + 18 \cdot \left(y \cdot \left(z \cdot t\right)\right)\right)\\ t_3 := -27 \cdot \left(k \cdot j\right)\\ t_4 := \left(b \cdot c + t \cdot \left(a \cdot -4\right)\right) - \left(j \cdot \left(k \cdot 27\right) + x \cdot \left(4 \cdot i\right)\right)\\ \mathbf{if}\;x \leq -2.55 \cdot 10^{+189}:\\ \;\;\;\;b \cdot c + \left(t_3 + x \cdot \left(y \cdot \left(18 \cdot \left(z \cdot t\right)\right) + i \cdot -4\right)\right)\\ \mathbf{elif}\;x \leq -1.12 \cdot 10^{-10}:\\ \;\;\;\;b \cdot c + \left(t_1 + t_2\right)\\ \mathbf{elif}\;x \leq -2.8 \cdot 10^{-121}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq -1.15 \cdot 10^{-153}:\\ \;\;\;\;b \cdot c + \left(t_3 + 18 \cdot \left(t \cdot \left(z \cdot \left(x \cdot y\right)\right)\right)\right)\\ \mathbf{elif}\;x \leq -2 \cdot 10^{-271}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq 3.9 \cdot 10^{-48}:\\ \;\;\;\;b \cdot c + \left(18 \cdot \left(y \cdot \left(t \cdot \left(x \cdot z\right)\right)\right) + \left(t_3 + t_1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot c + \left(t_3 + t_2\right)\\ \end{array} \]
Alternative 7
Accuracy41.8%
Cost2292
\[\begin{array}{l} t_1 := x \cdot \left(i \cdot -4 + 18 \cdot \left(y \cdot \left(z \cdot t\right)\right)\right)\\ t_2 := -4 \cdot \left(t \cdot a + x \cdot i\right)\\ t_3 := -27 \cdot \left(k \cdot j\right)\\ t_4 := b \cdot c - x \cdot \left(4 \cdot i\right)\\ t_5 := b \cdot c + -4 \cdot \left(t \cdot a\right)\\ \mathbf{if}\;j \leq -1.75 \cdot 10^{+259}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq -3.1 \cdot 10^{+245}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq -7 \cdot 10^{+238}:\\ \;\;\;\;k \cdot \left(-27 \cdot j\right)\\ \mathbf{elif}\;j \leq -8 \cdot 10^{+144}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq -5.2 \cdot 10^{+121}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq -1.75 \cdot 10^{+96}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq -4.7 \cdot 10^{+30}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;j \leq -1.25 \cdot 10^{-41}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq -1 \cdot 10^{-180}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;j \leq -3.2 \cdot 10^{-212}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq -1.05 \cdot 10^{-249}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;j \leq 7.2 \cdot 10^{-260}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq 4.6 \cdot 10^{-134}:\\ \;\;\;\;t_5\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 8
Accuracy59.7%
Cost2281
\[\begin{array}{l} t_1 := x \cdot \left(i \cdot -4 + 18 \cdot \left(y \cdot \left(z \cdot t\right)\right)\right)\\ t_2 := b \cdot c + \left(-27 \cdot \left(k \cdot j\right) + -4 \cdot \left(t \cdot a\right)\right)\\ \mathbf{if}\;z \leq 2.35 \cdot 10^{-293}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 8 \cdot 10^{-181}:\\ \;\;\;\;b \cdot c - x \cdot \left(4 \cdot i\right)\\ \mathbf{elif}\;z \leq 1.42 \cdot 10^{-81}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 2.2 \cdot 10^{-45}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 5.5 \cdot 10^{+72}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 1.2 \cdot 10^{+84}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 2.35 \cdot 10^{+135}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 1.5 \cdot 10^{+157}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 6.5 \cdot 10^{+273} \lor \neg \left(z \leq 2.1 \cdot 10^{+303}\right):\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(x \cdot \left(y \cdot \left(18 \cdot t\right)\right)\right)\\ \end{array} \]
Alternative 9
Accuracy62.5%
Cost2280
\[\begin{array}{l} t_1 := x \cdot \left(4 \cdot i\right)\\ t_2 := b \cdot c - \left(j \cdot \left(k \cdot 27\right) + t_1\right)\\ t_3 := x \cdot \left(i \cdot -4 + 18 \cdot \left(y \cdot \left(z \cdot t\right)\right)\right)\\ t_4 := b \cdot c + \left(-27 \cdot \left(k \cdot j\right) + -4 \cdot \left(t \cdot a\right)\right)\\ \mathbf{if}\;z \leq 4.2 \cdot 10^{-297}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq 2.35 \cdot 10^{-178}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 9.2 \cdot 10^{-82}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq 5.8 \cdot 10^{-27}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 1.8 \cdot 10^{+73}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq 1.42 \cdot 10^{+84}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 2.2 \cdot 10^{+135}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq 2.75 \cdot 10^{+160}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 2 \cdot 10^{+166}:\\ \;\;\;\;t \cdot \left(18 \cdot \left(y \cdot \left(x \cdot z\right)\right) + a \cdot -4\right)\\ \mathbf{elif}\;z \leq 6.3 \cdot 10^{+271}:\\ \;\;\;\;\left(b \cdot c + t \cdot \left(a \cdot -4\right)\right) - t_1\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(x \cdot \left(y \cdot \left(18 \cdot t\right)\right)\right)\\ \end{array} \]
Alternative 10
Accuracy96.3%
Cost2249
\[\begin{array}{l} \mathbf{if}\;t \leq -5 \cdot 10^{+83} \lor \neg \left(t \leq 10^{-69}\right):\\ \;\;\;\;\left(b \cdot c + t \cdot \left(\left(x \cdot 18\right) \cdot \left(y \cdot z\right) - a \cdot 4\right)\right) - \left(j \cdot \left(k \cdot 27\right) + x \cdot \left(4 \cdot i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(b \cdot c + \left(x \cdot \left(y \cdot \left(t \cdot \left(18 \cdot z\right)\right)\right) - t \cdot \left(a \cdot 4\right)\right)\right) - \left(x \cdot 4\right) \cdot i\right) - k \cdot \left(j \cdot 27\right)\\ \end{array} \]
Alternative 11
Accuracy85.6%
Cost2132
\[\begin{array}{l} t_1 := x \cdot \left(i \cdot -4 + 18 \cdot \left(y \cdot \left(z \cdot t\right)\right)\right)\\ t_2 := -27 \cdot \left(k \cdot j\right)\\ t_3 := \left(b \cdot c + t \cdot \left(a \cdot -4\right)\right) - \left(j \cdot \left(k \cdot 27\right) + x \cdot \left(4 \cdot i\right)\right)\\ \mathbf{if}\;x \leq -8 \cdot 10^{+195}:\\ \;\;\;\;b \cdot c + \left(t_2 + x \cdot \left(y \cdot \left(18 \cdot \left(z \cdot t\right)\right) + i \cdot -4\right)\right)\\ \mathbf{elif}\;x \leq -8.6 \cdot 10^{-11}:\\ \;\;\;\;b \cdot c + \left(-4 \cdot \left(t \cdot a\right) + t_1\right)\\ \mathbf{elif}\;x \leq -2.5 \cdot 10^{-121}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -1.15 \cdot 10^{-153}:\\ \;\;\;\;b \cdot c + \left(t_2 + 18 \cdot \left(t \cdot \left(z \cdot \left(x \cdot y\right)\right)\right)\right)\\ \mathbf{elif}\;x \leq 5.8 \cdot 10^{+23}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;b \cdot c + \left(t_2 + t_1\right)\\ \end{array} \]
Alternative 12
Accuracy92.9%
Cost2121
\[\begin{array}{l} \mathbf{if}\;t \leq -6 \cdot 10^{-127} \lor \neg \left(t \leq 3.5 \cdot 10^{-187}\right):\\ \;\;\;\;\left(b \cdot c + t \cdot \left(\left(x \cdot 18\right) \cdot \left(y \cdot z\right) - a \cdot 4\right)\right) - \left(j \cdot \left(k \cdot 27\right) + x \cdot \left(4 \cdot i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot c + \left(-27 \cdot \left(k \cdot j\right) + x \cdot \left(y \cdot \left(18 \cdot \left(z \cdot t\right)\right) + i \cdot -4\right)\right)\\ \end{array} \]
Alternative 13
Accuracy43.7%
Cost2028
\[\begin{array}{l} t_1 := b \cdot c + -4 \cdot \left(t \cdot a\right)\\ t_2 := b \cdot c - x \cdot \left(4 \cdot i\right)\\ t_3 := -27 \cdot \left(k \cdot j\right)\\ \mathbf{if}\;k \leq -3.5 \cdot 10^{-34}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;k \leq 2.05 \cdot 10^{-204}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;k \leq 2.35 \cdot 10^{-57}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;k \leq 3.1 \cdot 10^{+42}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;k \leq 1.8 \cdot 10^{+54}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;k \leq 3.2 \cdot 10^{+65}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;k \leq 2 \cdot 10^{+154}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;k \leq 8.2 \cdot 10^{+163}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;k \leq 4 \cdot 10^{+175}:\\ \;\;\;\;-4 \cdot \left(t \cdot a + x \cdot i\right)\\ \mathbf{elif}\;k \leq 1.55 \cdot 10^{+196}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;k \leq 3.1 \cdot 10^{+240}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(-27 \cdot j\right)\\ \end{array} \]
Alternative 14
Accuracy86.3%
Cost2000
\[\begin{array}{l} t_1 := -27 \cdot \left(k \cdot j\right)\\ t_2 := \left(b \cdot c + t \cdot \left(a \cdot -4\right)\right) - \left(j \cdot \left(k \cdot 27\right) + x \cdot \left(4 \cdot i\right)\right)\\ t_3 := b \cdot c + \left(t_1 + x \cdot \left(i \cdot -4 + 18 \cdot \left(y \cdot \left(z \cdot t\right)\right)\right)\right)\\ \mathbf{if}\;x \leq -1.3 \cdot 10^{+56}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -2.5 \cdot 10^{-121}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -1.15 \cdot 10^{-153}:\\ \;\;\;\;b \cdot c + \left(t_1 + 18 \cdot \left(t \cdot \left(z \cdot \left(x \cdot y\right)\right)\right)\right)\\ \mathbf{elif}\;x \leq 3.1 \cdot 10^{+22}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 15
Accuracy86.3%
Cost2000
\[\begin{array}{l} t_1 := -27 \cdot \left(k \cdot j\right)\\ t_2 := \left(b \cdot c + t \cdot \left(a \cdot -4\right)\right) - \left(j \cdot \left(k \cdot 27\right) + x \cdot \left(4 \cdot i\right)\right)\\ \mathbf{if}\;x \leq -6.2 \cdot 10^{+55}:\\ \;\;\;\;b \cdot c + \left(t_1 + x \cdot \left(y \cdot \left(18 \cdot \left(z \cdot t\right)\right) + i \cdot -4\right)\right)\\ \mathbf{elif}\;x \leq -2.5 \cdot 10^{-121}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -1.1 \cdot 10^{-153}:\\ \;\;\;\;b \cdot c + \left(t_1 + 18 \cdot \left(t \cdot \left(z \cdot \left(x \cdot y\right)\right)\right)\right)\\ \mathbf{elif}\;x \leq 5.5 \cdot 10^{+23}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;b \cdot c + \left(t_1 + x \cdot \left(i \cdot -4 + 18 \cdot \left(y \cdot \left(z \cdot t\right)\right)\right)\right)\\ \end{array} \]
Alternative 16
Accuracy83.6%
Cost1873
\[\begin{array}{l} t_1 := \left(b \cdot c + t \cdot \left(a \cdot -4\right)\right) - \left(j \cdot \left(k \cdot 27\right) + x \cdot \left(4 \cdot i\right)\right)\\ \mathbf{if}\;z \leq 3.05 \cdot 10^{+218}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 1.25 \cdot 10^{+237}:\\ \;\;\;\;b \cdot c + \left(-27 \cdot \left(k \cdot j\right) + 18 \cdot \left(t \cdot \left(z \cdot \left(x \cdot y\right)\right)\right)\right)\\ \mathbf{elif}\;z \leq 1.16 \cdot 10^{+274} \lor \neg \left(z \leq 1.15 \cdot 10^{+301}\right):\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(x \cdot \left(y \cdot \left(18 \cdot t\right)\right)\right)\\ \end{array} \]
Alternative 17
Accuracy41.0%
Cost1632
\[\begin{array}{l} t_1 := -27 \cdot \left(k \cdot j\right)\\ t_2 := b \cdot c + -4 \cdot \left(t \cdot a\right)\\ t_3 := -4 \cdot \left(t \cdot a + x \cdot i\right)\\ \mathbf{if}\;j \leq -3.7 \cdot 10^{+237}:\\ \;\;\;\;k \cdot \left(-27 \cdot j\right)\\ \mathbf{elif}\;j \leq -2.05 \cdot 10^{+144}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq -1.4 \cdot 10^{+109}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq -1.3 \cdot 10^{+34}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq -1.45 \cdot 10^{-17}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq -7.5 \cdot 10^{-119}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq 3.8 \cdot 10^{-257}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;j \leq 4.6 \cdot 10^{-134}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 18
Accuracy71.1%
Cost1489
\[\begin{array}{l} t_1 := -27 \cdot \left(k \cdot j\right)\\ \mathbf{if}\;x \leq -9 \cdot 10^{+185}:\\ \;\;\;\;x \cdot \left(i \cdot -4 + 18 \cdot \left(y \cdot \left(z \cdot t\right)\right)\right)\\ \mathbf{elif}\;x \leq -7.8 \cdot 10^{+167} \lor \neg \left(x \leq -2.3 \cdot 10^{-236}\right) \land x \leq 2 \cdot 10^{-48}:\\ \;\;\;\;b \cdot c + \left(t_1 + -4 \cdot \left(t \cdot a\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot c + \left(t_1 + -4 \cdot \left(x \cdot i\right)\right)\\ \end{array} \]
Alternative 19
Accuracy71.0%
Cost1488
\[\begin{array}{l} t_1 := -27 \cdot \left(k \cdot j\right)\\ t_2 := b \cdot c + \left(t_1 + -4 \cdot \left(t \cdot a\right)\right)\\ \mathbf{if}\;x \leq -1.8 \cdot 10^{+186}:\\ \;\;\;\;x \cdot \left(i \cdot -4 + 18 \cdot \left(y \cdot \left(z \cdot t\right)\right)\right)\\ \mathbf{elif}\;x \leq -7.8 \cdot 10^{+167}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -2.3 \cdot 10^{-236}:\\ \;\;\;\;b \cdot c + \left(t_1 + -4 \cdot \left(x \cdot i\right)\right)\\ \mathbf{elif}\;x \leq 3.8 \cdot 10^{-48}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;b \cdot c - \left(j \cdot \left(k \cdot 27\right) + x \cdot \left(4 \cdot i\right)\right)\\ \end{array} \]
Alternative 20
Accuracy69.8%
Cost1488
\[\begin{array}{l} t_1 := -27 \cdot \left(k \cdot j\right)\\ t_2 := x \cdot \left(4 \cdot i\right)\\ \mathbf{if}\;x \leq -6.5 \cdot 10^{+192}:\\ \;\;\;\;b \cdot c + \left(t_1 + 18 \cdot \left(x \cdot \left(t \cdot \left(y \cdot z\right)\right)\right)\right)\\ \mathbf{elif}\;x \leq -5.2 \cdot 10^{-16}:\\ \;\;\;\;\left(b \cdot c + t \cdot \left(a \cdot -4\right)\right) - t_2\\ \mathbf{elif}\;x \leq -2.3 \cdot 10^{-236}:\\ \;\;\;\;b \cdot c + \left(t_1 + -4 \cdot \left(x \cdot i\right)\right)\\ \mathbf{elif}\;x \leq 1.4 \cdot 10^{-47}:\\ \;\;\;\;b \cdot c + \left(t_1 + -4 \cdot \left(t \cdot a\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot c - \left(j \cdot \left(k \cdot 27\right) + t_2\right)\\ \end{array} \]
Alternative 21
Accuracy31.2%
Cost1113
\[\begin{array}{l} t_1 := x \cdot \left(i \cdot -4\right)\\ \mathbf{if}\;c \leq -2.66 \cdot 10^{-45}:\\ \;\;\;\;b \cdot c\\ \mathbf{elif}\;c \leq -9.2 \cdot 10^{-276}:\\ \;\;\;\;-27 \cdot \left(k \cdot j\right)\\ \mathbf{elif}\;c \leq 2.35 \cdot 10^{-139}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 6.5 \cdot 10^{-6}:\\ \;\;\;\;t \cdot \left(a \cdot -4\right)\\ \mathbf{elif}\;c \leq 3 \cdot 10^{+55} \lor \neg \left(c \leq 1.45 \cdot 10^{+84}\right):\\ \;\;\;\;b \cdot c\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 22
Accuracy38.5%
Cost1105
\[\begin{array}{l} \mathbf{if}\;j \leq -8 \cdot 10^{+224}:\\ \;\;\;\;k \cdot \left(-27 \cdot j\right)\\ \mathbf{elif}\;j \leq -1.05 \cdot 10^{+157} \lor \neg \left(j \leq -4 \cdot 10^{+121}\right) \land j \leq 9.6 \cdot 10^{-185}:\\ \;\;\;\;-4 \cdot \left(t \cdot a + x \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;-27 \cdot \left(k \cdot j\right)\\ \end{array} \]
Alternative 23
Accuracy32.0%
Cost716
\[\begin{array}{l} \mathbf{if}\;c \leq -1.22 \cdot 10^{-48}:\\ \;\;\;\;b \cdot c\\ \mathbf{elif}\;c \leq 4.5 \cdot 10^{-183}:\\ \;\;\;\;-27 \cdot \left(k \cdot j\right)\\ \mathbf{elif}\;c \leq 6.1 \cdot 10^{-6}:\\ \;\;\;\;t \cdot \left(a \cdot -4\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot c\\ \end{array} \]
Alternative 24
Accuracy30.4%
Cost585
\[\begin{array}{l} \mathbf{if}\;k \leq -1.8 \cdot 10^{-183} \lor \neg \left(k \leq 1.55 \cdot 10^{+35}\right):\\ \;\;\;\;-27 \cdot \left(k \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot c\\ \end{array} \]
Alternative 25
Accuracy24.0%
Cost192
\[b \cdot c \]

Error

Reproduce?

herbie shell --seed 2023142 
(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)))