?

Average Accuracy: 91.3% → 96.9%
Time: 52.0s
Precision: binary64
Cost: 10440

?

\[ \begin{array}{c}[j, k] = \mathsf{sort}([j, k])\\ \end{array} \]
\[\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) - \left(x \cdot 4\right) \cdot i\\ \mathbf{if}\;t_1 \leq -\infty:\\ \;\;\;\;\left(b \cdot c + \left(\left(18 \cdot \left(y \cdot t\right)\right) \cdot \left(x \cdot z\right) + -27 \cdot \left(k \cdot j\right)\right)\right) - 4 \cdot \left(x \cdot i\right)\\ \mathbf{elif}\;t_1 \leq 2 \cdot 10^{+307}:\\ \;\;\;\;t_1 - k \cdot \left(j \cdot 27\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \mathsf{fma}\left(y \cdot t, 18 \cdot z, i \cdot -4\right)\\ \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
         (-
          (+ (- (* (* (* (* x 18.0) y) z) t) (* t (* a 4.0))) (* b c))
          (* (* x 4.0) i))))
   (if (<= t_1 (- INFINITY))
     (-
      (+ (* b c) (+ (* (* 18.0 (* y t)) (* x z)) (* -27.0 (* k j))))
      (* 4.0 (* x i)))
     (if (<= t_1 2e+307)
       (- t_1 (* k (* j 27.0)))
       (* x (fma (* y t) (* 18.0 z) (* 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)) - ((x * 4.0) * i);
	double tmp;
	if (t_1 <= -((double) INFINITY)) {
		tmp = ((b * c) + (((18.0 * (y * t)) * (x * z)) + (-27.0 * (k * j)))) - (4.0 * (x * i));
	} else if (t_1 <= 2e+307) {
		tmp = t_1 - (k * (j * 27.0));
	} else {
		tmp = x * fma((y * t), (18.0 * z), (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(Float64(x * 4.0) * i))
	tmp = 0.0
	if (t_1 <= Float64(-Inf))
		tmp = Float64(Float64(Float64(b * c) + Float64(Float64(Float64(18.0 * Float64(y * t)) * Float64(x * z)) + Float64(-27.0 * Float64(k * j)))) - Float64(4.0 * Float64(x * i)));
	elseif (t_1 <= 2e+307)
		tmp = Float64(t_1 - Float64(k * Float64(j * 27.0)));
	else
		tmp = Float64(x * fma(Float64(y * t), Float64(18.0 * z), Float64(i * -4.0)));
	end
	return 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[(N[(x * 4.0), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, (-Infinity)], N[(N[(N[(b * c), $MachinePrecision] + N[(N[(N[(18.0 * N[(y * t), $MachinePrecision]), $MachinePrecision] * N[(x * z), $MachinePrecision]), $MachinePrecision] + N[(-27.0 * N[(k * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(4.0 * N[(x * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$1, 2e+307], N[(t$95$1 - N[(k * N[(j * 27.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(N[(y * t), $MachinePrecision] * N[(18.0 * z), $MachinePrecision] + N[(i * -4.0), $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) - \left(x \cdot 4\right) \cdot i\\
\mathbf{if}\;t_1 \leq -\infty:\\
\;\;\;\;\left(b \cdot c + \left(\left(18 \cdot \left(y \cdot t\right)\right) \cdot \left(x \cdot z\right) + -27 \cdot \left(k \cdot j\right)\right)\right) - 4 \cdot \left(x \cdot i\right)\\

\mathbf{elif}\;t_1 \leq 2 \cdot 10^{+307}:\\
\;\;\;\;t_1 - k \cdot \left(j \cdot 27\right)\\

\mathbf{else}:\\
\;\;\;\;x \cdot \mathsf{fma}\left(y \cdot t, 18 \cdot z, i \cdot -4\right)\\


\end{array}

Error?

Target

Original91.3%
Target97.4%
Herbie96.9%
\[\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. Simplified34.0%

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

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

      sub-neg [=>]0.0

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

      sub-neg [<=]0.0

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

      distribute-rgt-out-- [=>]0.0

      \[ \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(-\left(j \cdot 27\right) \cdot k\right)\right) \]

      associate-*l* [=>]34.0

      \[ \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(-\left(j \cdot 27\right) \cdot k\right)\right) \]

      distribute-lft-neg-in [=>]34.0

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

      cancel-sign-sub [=>]34.0

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

      associate-*l* [=>]34.0

      \[ \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* [=>]34.0

      \[ \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) \]
    3. Taylor expanded in j around 0 34.9%

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

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

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

      [Start]79.0

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

      *-commutative [=>]79.0

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

      associate-*r* [=>]76.4

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

      *-commutative [=>]76.4

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

      associate-*r* [<=]76.4

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

      *-commutative [=>]76.4

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

      associate-*r* [=>]76.4

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

    1. Initial program 99.4%

      \[\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 1.99999999999999997e307 < (-.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 2.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 \]
    2. Simplified39.1%

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

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

      associate--l- [=>]2.5

      \[ \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+ [=>]2.5

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

      distribute-rgt-out-- [=>]2.5

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

      fma-def [=>]2.5

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

      associate-*l* [=>]37.9

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

      associate-*l* [=>]39.1

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

      fma-neg [=>]39.1

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

      distribute-rgt-neg-in [=>]39.1

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

      metadata-eval [=>]39.1

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

      fma-neg [=>]39.1

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

      distribute-neg-in [=>]39.1

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

      associate-*l* [=>]39.1

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

      distribute-rgt-neg-in [=>]39.1

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

      fma-def [=>]39.1

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

      \[\leadsto \color{blue}{\left(18 \cdot \left(y \cdot \left(t \cdot z\right)\right) + -4 \cdot i\right) \cdot x} \]
    4. Simplified62.7%

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

      [Start]64.0

      \[ \left(18 \cdot \left(y \cdot \left(t \cdot z\right)\right) + -4 \cdot i\right) \cdot x \]

      *-commutative [=>]64.0

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

      *-commutative [=>]64.0

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

      associate-*r* [=>]62.8

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

      associate-*l* [=>]62.7

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

      fma-def [=>]62.7

      \[ x \cdot \color{blue}{\mathsf{fma}\left(y \cdot t, z \cdot 18, -4 \cdot i\right)} \]

      *-commutative [=>]62.7

      \[ x \cdot \mathsf{fma}\left(y \cdot t, \color{blue}{18 \cdot z}, -4 \cdot i\right) \]
  3. Recombined 3 regimes into one program.
  4. Final simplification96.9%

    \[\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:\\ \;\;\;\;\left(b \cdot c + \left(\left(18 \cdot \left(y \cdot t\right)\right) \cdot \left(x \cdot z\right) + -27 \cdot \left(k \cdot j\right)\right)\right) - 4 \cdot \left(x \cdot i\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 2 \cdot 10^{+307}:\\ \;\;\;\;\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}:\\ \;\;\;\;x \cdot \mathsf{fma}\left(y \cdot t, 18 \cdot z, i \cdot -4\right)\\ \end{array} \]

Alternatives

Alternative 1
Accuracy97.5%
Cost5320
\[\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) - \left(x \cdot 4\right) \cdot i\\ \mathbf{if}\;t_1 \leq -\infty:\\ \;\;\;\;\left(b \cdot c + \left(\left(18 \cdot \left(y \cdot t\right)\right) \cdot \left(x \cdot z\right) + -27 \cdot \left(k \cdot j\right)\right)\right) - 4 \cdot \left(x \cdot i\right)\\ \mathbf{elif}\;t_1 \leq 2 \cdot 10^{+307}:\\ \;\;\;\;t_1 - k \cdot \left(j \cdot 27\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(i \cdot -4 + 18 \cdot \left(y \cdot \left(z \cdot t\right)\right)\right) + k \cdot \left(-27 \cdot j\right)\\ \end{array} \]
Alternative 2
Accuracy47.6%
Cost2552
\[\begin{array}{l} t_1 := k \cdot \left(-27 \cdot j\right)\\ t_2 := b \cdot c + t_1\\ t_3 := 4 \cdot \left(x \cdot i\right)\\ t_4 := -4 \cdot \left(t \cdot a\right) - t_3\\ \mathbf{if}\;b \leq -1.05 \cdot 10^{+167}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq -1.25 \cdot 10^{+144}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;b \leq -1.7 \cdot 10^{+31}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq -51000000000:\\ \;\;\;\;t_4\\ \mathbf{elif}\;b \leq -1.26 \cdot 10^{-10}:\\ \;\;\;\;b \cdot c - t_3\\ \mathbf{elif}\;b \leq -3.1 \cdot 10^{-56}:\\ \;\;\;\;t_1 + y \cdot \left(18 \cdot \left(z \cdot \left(x \cdot t\right)\right)\right)\\ \mathbf{elif}\;b \leq -4.5 \cdot 10^{-93}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq -4.8 \cdot 10^{-139}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;b \leq -3 \cdot 10^{-178}:\\ \;\;\;\;t_1 + a \cdot \left(t \cdot -4\right)\\ \mathbf{elif}\;b \leq -2.8 \cdot 10^{-288}:\\ \;\;\;\;t_1 + x \cdot \left(i \cdot -4\right)\\ \mathbf{elif}\;b \leq 7 \cdot 10^{-159}:\\ \;\;\;\;t \cdot \left(18 \cdot \left(y \cdot \left(x \cdot z\right)\right) + a \cdot -4\right)\\ \mathbf{elif}\;b \leq 1.22 \cdot 10^{-71}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 3.3 \cdot 10^{-37}:\\ \;\;\;\;x \cdot \left(i \cdot -4 + \left(18 \cdot y\right) \cdot \left(z \cdot t\right)\right)\\ \mathbf{elif}\;b \leq 8 \cdot 10^{-16}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 3
Accuracy29.1%
Cost2293
\[\begin{array}{l} t_1 := i \cdot \left(x \cdot -4\right)\\ t_2 := -27 \cdot \left(k \cdot j\right)\\ t_3 := t \cdot \left(a \cdot -4\right)\\ \mathbf{if}\;t \leq -4.1 \cdot 10^{+51}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq -1.3 \cdot 10^{-34}:\\ \;\;\;\;k \cdot \left(-27 \cdot j\right)\\ \mathbf{elif}\;t \leq -1.95 \cdot 10^{-45}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq -8.6 \cdot 10^{-152}:\\ \;\;\;\;b \cdot c\\ \mathbf{elif}\;t \leq -5.8 \cdot 10^{-169}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 1.75 \cdot 10^{-293}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 1.56 \cdot 10^{-246}:\\ \;\;\;\;b \cdot c\\ \mathbf{elif}\;t \leq 3.45 \cdot 10^{-221}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 5.2 \cdot 10^{-186}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 1.5 \cdot 10^{-170}:\\ \;\;\;\;b \cdot c\\ \mathbf{elif}\;t \leq 6.2 \cdot 10^{-17}:\\ \;\;\;\;j \cdot \left(-27 \cdot k\right)\\ \mathbf{elif}\;t \leq 1.65 \cdot 10^{+133} \lor \neg \left(t \leq 1.16 \cdot 10^{+169}\right):\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;18 \cdot \left(y \cdot \left(z \cdot \left(x \cdot t\right)\right)\right)\\ \end{array} \]
Alternative 4
Accuracy29.2%
Cost2293
\[\begin{array}{l} t_1 := i \cdot \left(x \cdot -4\right)\\ t_2 := -27 \cdot \left(k \cdot j\right)\\ t_3 := t \cdot \left(a \cdot -4\right)\\ \mathbf{if}\;t \leq -1.05 \cdot 10^{+52}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq -1.3 \cdot 10^{-34}:\\ \;\;\;\;k \cdot \left(-27 \cdot j\right)\\ \mathbf{elif}\;t \leq -4.8 \cdot 10^{-45}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq -1.02 \cdot 10^{-153}:\\ \;\;\;\;b \cdot c\\ \mathbf{elif}\;t \leq -8.5 \cdot 10^{-169}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 1.15 \cdot 10^{-293}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 1.15 \cdot 10^{-246}:\\ \;\;\;\;b \cdot c\\ \mathbf{elif}\;t \leq 1.9 \cdot 10^{-221}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 1.6 \cdot 10^{-184}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 1.35 \cdot 10^{-168}:\\ \;\;\;\;b \cdot c\\ \mathbf{elif}\;t \leq 2.6 \cdot 10^{-16}:\\ \;\;\;\;j \cdot \left(-27 \cdot k\right)\\ \mathbf{elif}\;t \leq 6.6 \cdot 10^{+131} \lor \neg \left(t \leq 1.02 \cdot 10^{+170}\right):\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;18 \cdot \left(y \cdot \left(t \cdot \left(x \cdot z\right)\right)\right)\\ \end{array} \]
Alternative 5
Accuracy29.5%
Cost2293
\[\begin{array}{l} t_1 := i \cdot \left(x \cdot -4\right)\\ t_2 := -27 \cdot \left(k \cdot j\right)\\ t_3 := t \cdot \left(a \cdot -4\right)\\ \mathbf{if}\;t \leq -9.2 \cdot 10^{+50}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq -1.5 \cdot 10^{-34}:\\ \;\;\;\;k \cdot \left(-27 \cdot j\right)\\ \mathbf{elif}\;t \leq -3.9 \cdot 10^{-45}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq -1.02 \cdot 10^{-153}:\\ \;\;\;\;b \cdot c\\ \mathbf{elif}\;t \leq -9.6 \cdot 10^{-172}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 2.35 \cdot 10^{-287}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 1.1 \cdot 10^{-246}:\\ \;\;\;\;b \cdot c\\ \mathbf{elif}\;t \leq 5 \cdot 10^{-222}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 1.22 \cdot 10^{-183}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 9.4 \cdot 10^{-172}:\\ \;\;\;\;b \cdot c\\ \mathbf{elif}\;t \leq 2.2 \cdot 10^{-17}:\\ \;\;\;\;j \cdot \left(-27 \cdot k\right)\\ \mathbf{elif}\;t \leq 3.2 \cdot 10^{+131} \lor \neg \left(t \leq 1.25 \cdot 10^{+170}\right):\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(18 \cdot \left(y \cdot \left(x \cdot z\right)\right)\right)\\ \end{array} \]
Alternative 6
Accuracy93.7%
Cost2121
\[\begin{array}{l} t_1 := -27 \cdot \left(k \cdot j\right)\\ t_2 := 4 \cdot \left(x \cdot i\right)\\ \mathbf{if}\;t \leq -1 \cdot 10^{-140} \lor \neg \left(t \leq 5 \cdot 10^{-186}\right):\\ \;\;\;\;\left(b \cdot c + \left(t_1 + t \cdot \left(18 \cdot \left(y \cdot \left(x \cdot z\right)\right) - a \cdot 4\right)\right)\right) - t_2\\ \mathbf{else}:\\ \;\;\;\;\left(b \cdot c + \left(t_1 + a \cdot \left(t \cdot -4\right)\right)\right) - t_2\\ \end{array} \]
Alternative 7
Accuracy45.8%
Cost1896
\[\begin{array}{l} t_1 := b \cdot c - 4 \cdot \left(x \cdot i\right)\\ t_2 := t \cdot \left(a \cdot -4\right)\\ t_3 := b \cdot c + k \cdot \left(-27 \cdot j\right)\\ \mathbf{if}\;t \leq -1.75 \cdot 10^{+146}:\\ \;\;\;\;t \cdot \left(18 \cdot \left(z \cdot \left(x \cdot y\right)\right)\right)\\ \mathbf{elif}\;t \leq -1.8 \cdot 10^{-83}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq -2.65 \cdot 10^{-169}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 4.5 \cdot 10^{-216}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq 1.45 \cdot 10^{-185}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 2.6 \cdot 10^{-16}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq 1.6 \cdot 10^{+22}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 2.5 \cdot 10^{+132}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq 2.7 \cdot 10^{+169}:\\ \;\;\;\;t \cdot \left(18 \cdot \left(y \cdot \left(x \cdot z\right)\right)\right)\\ \mathbf{elif}\;t \leq 8.8 \cdot 10^{+248}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 8
Accuracy60.1%
Cost1885
\[\begin{array}{l} t_1 := t \cdot \left(18 \cdot \left(y \cdot \left(x \cdot z\right)\right) + a \cdot -4\right)\\ t_2 := k \cdot \left(-27 \cdot j\right)\\ t_3 := t_2 + \left(b \cdot c + \left(x \cdot i\right) \cdot -4\right)\\ t_4 := t_2 + a \cdot \left(t \cdot -4\right)\\ \mathbf{if}\;k \leq -6.4 \cdot 10^{-138}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;k \leq 8 \cdot 10^{-188}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;k \leq 2.45 \cdot 10^{-140}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;k \leq 10^{+22}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;k \leq 1.06 \cdot 10^{+46}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;k \leq 4.6 \cdot 10^{+101} \lor \neg \left(k \leq 4.4 \cdot 10^{+148}\right):\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t_4\\ \end{array} \]
Alternative 9
Accuracy59.9%
Cost1885
\[\begin{array}{l} t_1 := k \cdot \left(-27 \cdot j\right)\\ t_2 := t_1 + a \cdot \left(t \cdot -4\right)\\ t_3 := b \cdot c - \left(4 \cdot \left(x \cdot i\right) + \left(k \cdot j\right) \cdot 27\right)\\ t_4 := t \cdot \left(18 \cdot \left(y \cdot \left(x \cdot z\right)\right) + a \cdot -4\right)\\ \mathbf{if}\;k \leq -6.8 \cdot 10^{-143}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;k \leq 1.35 \cdot 10^{-189}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;k \leq 2.06 \cdot 10^{-140}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;k \leq 8.5 \cdot 10^{+18}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;k \leq 1.06 \cdot 10^{+46}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;k \leq 4.3 \cdot 10^{+102} \lor \neg \left(k \leq 2.2 \cdot 10^{+149}\right):\\ \;\;\;\;t_1 + \left(b \cdot c + \left(x \cdot i\right) \cdot -4\right)\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 10
Accuracy70.6%
Cost1885
\[\begin{array}{l} t_1 := 4 \cdot \left(x \cdot i\right)\\ t_2 := k \cdot \left(-27 \cdot j\right)\\ t_3 := \left(b \cdot c + t \cdot \left(a \cdot -4\right)\right) - t_1\\ \mathbf{if}\;t \leq -1.28 \cdot 10^{+51}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq -1.45 \cdot 10^{-34}:\\ \;\;\;\;x \cdot \left(i \cdot -4 + 18 \cdot \left(y \cdot \left(z \cdot t\right)\right)\right) + t_2\\ \mathbf{elif}\;t \leq -3.2 \cdot 10^{-52}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq -2.4 \cdot 10^{-56}:\\ \;\;\;\;t_2 + y \cdot \left(18 \cdot \left(z \cdot \left(x \cdot t\right)\right)\right)\\ \mathbf{elif}\;t \leq 2.6 \cdot 10^{-16}:\\ \;\;\;\;\left(b \cdot c + -27 \cdot \left(k \cdot j\right)\right) - t_1\\ \mathbf{elif}\;t \leq 9 \cdot 10^{+117} \lor \neg \left(t \leq 2.1 \cdot 10^{+168}\right):\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(18 \cdot \left(y \cdot \left(x \cdot z\right)\right) + a \cdot -4\right)\\ \end{array} \]
Alternative 11
Accuracy69.2%
Cost1884
\[\begin{array}{l} t_1 := \left(k \cdot j\right) \cdot 27\\ t_2 := 4 \cdot \left(x \cdot i\right)\\ t_3 := b \cdot c - \left(t_2 + t_1\right)\\ t_4 := \left(b \cdot c + t \cdot \left(a \cdot -4\right)\right) - t_2\\ \mathbf{if}\;a \leq -6 \cdot 10^{+75}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;a \leq -7.5 \cdot 10^{-43}:\\ \;\;\;\;\left(b \cdot c + -27 \cdot \left(k \cdot j\right)\right) - t_2\\ \mathbf{elif}\;a \leq -4.7 \cdot 10^{-51}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;a \leq -3.2 \cdot 10^{-252}:\\ \;\;\;\;\left(b \cdot c + 18 \cdot \left(y \cdot \left(t \cdot \left(x \cdot z\right)\right)\right)\right) - t_1\\ \mathbf{elif}\;a \leq 4.3 \cdot 10^{+16}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;a \leq 4.9 \cdot 10^{+97}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;a \leq 4.7 \cdot 10^{+175}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(-27 \cdot j\right) + a \cdot \left(t \cdot -4\right)\\ \end{array} \]
Alternative 12
Accuracy87.2%
Cost1864
\[\begin{array}{l} t_1 := -27 \cdot \left(k \cdot j\right)\\ t_2 := 4 \cdot \left(x \cdot i\right)\\ \mathbf{if}\;a \leq -3.9 \cdot 10^{-70}:\\ \;\;\;\;\left(b \cdot c + \left(t_1 + a \cdot \left(t \cdot -4\right)\right)\right) - t_2\\ \mathbf{elif}\;a \leq 9 \cdot 10^{-71}:\\ \;\;\;\;\left(b \cdot c + \left(\left(18 \cdot \left(y \cdot t\right)\right) \cdot \left(x \cdot z\right) + t_1\right)\right) - t_2\\ \mathbf{else}:\\ \;\;\;\;\left(b \cdot c + t \cdot \left(a \cdot -4\right)\right) - \left(x \cdot \left(4 \cdot i\right) + j \cdot \left(k \cdot 27\right)\right)\\ \end{array} \]
Alternative 13
Accuracy29.7%
Cost1772
\[\begin{array}{l} t_1 := i \cdot \left(x \cdot -4\right)\\ t_2 := -27 \cdot \left(k \cdot j\right)\\ t_3 := t \cdot \left(a \cdot -4\right)\\ \mathbf{if}\;t \leq -4.5 \cdot 10^{+51}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq -1.3 \cdot 10^{-34}:\\ \;\;\;\;k \cdot \left(-27 \cdot j\right)\\ \mathbf{elif}\;t \leq -5.8 \cdot 10^{-45}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq -1.35 \cdot 10^{-148}:\\ \;\;\;\;b \cdot c\\ \mathbf{elif}\;t \leq -2.55 \cdot 10^{-172}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 2.3 \cdot 10^{-287}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 7.2 \cdot 10^{-247}:\\ \;\;\;\;b \cdot c\\ \mathbf{elif}\;t \leq 2.7 \cdot 10^{-220}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 2.5 \cdot 10^{-185}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 1.55 \cdot 10^{-169}:\\ \;\;\;\;b \cdot c\\ \mathbf{elif}\;t \leq 2.15 \cdot 10^{-16}:\\ \;\;\;\;j \cdot \left(-27 \cdot k\right)\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 14
Accuracy85.7%
Cost1736
\[\begin{array}{l} \mathbf{if}\;i \leq -2.8 \cdot 10^{+80}:\\ \;\;\;\;\left(b \cdot c + t \cdot \left(a \cdot -4\right)\right) - \left(x \cdot \left(4 \cdot i\right) + j \cdot \left(k \cdot 27\right)\right)\\ \mathbf{elif}\;i \leq 9 \cdot 10^{-95}:\\ \;\;\;\;\left(b \cdot c + t \cdot \left(18 \cdot \left(y \cdot \left(x \cdot z\right)\right) - a \cdot 4\right)\right) - \left(k \cdot j\right) \cdot 27\\ \mathbf{else}:\\ \;\;\;\;\left(b \cdot c + \left(-27 \cdot \left(k \cdot j\right) + a \cdot \left(t \cdot -4\right)\right)\right) - 4 \cdot \left(x \cdot i\right)\\ \end{array} \]
Alternative 15
Accuracy49.4%
Cost1628
\[\begin{array}{l} t_1 := t \cdot \left(18 \cdot \left(y \cdot \left(x \cdot z\right)\right) + a \cdot -4\right)\\ t_2 := k \cdot \left(-27 \cdot j\right)\\ t_3 := b \cdot c + t_2\\ t_4 := t_2 + a \cdot \left(t \cdot -4\right)\\ t_5 := 4 \cdot \left(x \cdot i\right)\\ \mathbf{if}\;k \leq -3.6 \cdot 10^{-181}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;k \leq 2 \cdot 10^{-192}:\\ \;\;\;\;b \cdot c - t_5\\ \mathbf{elif}\;k \leq 1.28 \cdot 10^{-138}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;k \leq 8.6 \cdot 10^{+21}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;k \leq 1.15 \cdot 10^{+46}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;k \leq 3.3 \cdot 10^{+101}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;k \leq 2.5 \cdot 10^{+149}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(-27 \cdot k\right) - t_5\\ \end{array} \]
Alternative 16
Accuracy85.0%
Cost1609
\[\begin{array}{l} \mathbf{if}\;t \leq 2.2 \cdot 10^{+133} \lor \neg \left(t \leq 2.3 \cdot 10^{+168}\right):\\ \;\;\;\;\left(b \cdot c + \left(-27 \cdot \left(k \cdot j\right) + a \cdot \left(t \cdot -4\right)\right)\right) - 4 \cdot \left(x \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(18 \cdot \left(y \cdot \left(x \cdot z\right)\right) + a \cdot -4\right)\\ \end{array} \]
Alternative 17
Accuracy70.7%
Cost1488
\[\begin{array}{l} t_1 := 4 \cdot \left(x \cdot i\right)\\ t_2 := \left(b \cdot c + t \cdot \left(a \cdot -4\right)\right) - t_1\\ \mathbf{if}\;a \leq -4.2 \cdot 10^{+75}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq 6.3 \cdot 10^{+16}:\\ \;\;\;\;\left(b \cdot c + -27 \cdot \left(k \cdot j\right)\right) - t_1\\ \mathbf{elif}\;a \leq 2.85 \cdot 10^{+97}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq 4 \cdot 10^{+175}:\\ \;\;\;\;b \cdot c - \left(t_1 + \left(k \cdot j\right) \cdot 27\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(-27 \cdot j\right) + a \cdot \left(t \cdot -4\right)\\ \end{array} \]
Alternative 18
Accuracy52.0%
Cost1364
\[\begin{array}{l} t_1 := k \cdot \left(-27 \cdot j\right)\\ t_2 := t_1 + a \cdot \left(t \cdot -4\right)\\ \mathbf{if}\;k \leq -4.8 \cdot 10^{-180}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;k \leq 4100000:\\ \;\;\;\;b \cdot c - 4 \cdot \left(x \cdot i\right)\\ \mathbf{elif}\;k \leq 1.6 \cdot 10^{+46}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;k \leq 9.5 \cdot 10^{+101}:\\ \;\;\;\;b \cdot c + t_1\\ \mathbf{elif}\;k \leq 9.4 \cdot 10^{+148}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_1 + x \cdot \left(i \cdot -4\right)\\ \end{array} \]
Alternative 19
Accuracy51.9%
Cost1364
\[\begin{array}{l} t_1 := k \cdot \left(-27 \cdot j\right)\\ t_2 := t_1 + a \cdot \left(t \cdot -4\right)\\ t_3 := 4 \cdot \left(x \cdot i\right)\\ \mathbf{if}\;k \leq -6.4 \cdot 10^{-180}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;k \leq 22000000:\\ \;\;\;\;b \cdot c - t_3\\ \mathbf{elif}\;k \leq 2.2 \cdot 10^{+46}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;k \leq 2.2 \cdot 10^{+102}:\\ \;\;\;\;b \cdot c + t_1\\ \mathbf{elif}\;k \leq 1.7 \cdot 10^{+149}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(-27 \cdot k\right) - t_3\\ \end{array} \]
Alternative 20
Accuracy41.5%
Cost1236
\[\begin{array}{l} t_1 := t \cdot \left(a \cdot -4\right)\\ t_2 := b \cdot c + k \cdot \left(-27 \cdot j\right)\\ \mathbf{if}\;i \leq -8.4 \cdot 10^{-48}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;i \leq -3.6 \cdot 10^{-196}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;i \leq 5.8 \cdot 10^{-48}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;i \leq 120000000000:\\ \;\;\;\;t_1\\ \mathbf{elif}\;i \leq 2.6 \cdot 10^{+157}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;i \cdot \left(x \cdot -4\right)\\ \end{array} \]
Alternative 21
Accuracy52.1%
Cost1233
\[\begin{array}{l} t_1 := k \cdot \left(-27 \cdot j\right)\\ t_2 := t_1 + a \cdot \left(t \cdot -4\right)\\ \mathbf{if}\;k \leq -6.8 \cdot 10^{-180}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;k \leq 1850000:\\ \;\;\;\;b \cdot c - 4 \cdot \left(x \cdot i\right)\\ \mathbf{elif}\;k \leq 1.65 \cdot 10^{+46} \lor \neg \left(k \leq 8 \cdot 10^{+100}\right):\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;b \cdot c + t_1\\ \end{array} \]
Alternative 22
Accuracy33.1%
Cost585
\[\begin{array}{l} \mathbf{if}\;k \leq -5.9 \cdot 10^{-189} \lor \neg \left(k \leq 1.25 \cdot 10^{+71}\right):\\ \;\;\;\;-27 \cdot \left(k \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot c\\ \end{array} \]
Alternative 23
Accuracy33.1%
Cost584
\[\begin{array}{l} \mathbf{if}\;k \leq -5 \cdot 10^{-189}:\\ \;\;\;\;-27 \cdot \left(k \cdot j\right)\\ \mathbf{elif}\;k \leq 1.35 \cdot 10^{+71}:\\ \;\;\;\;b \cdot c\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(-27 \cdot j\right)\\ \end{array} \]
Alternative 24
Accuracy24.8%
Cost192
\[b \cdot c \]

Error

Reproduce?

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