?

Average Accuracy: 90.2% → 96.3%
Time: 27.8s
Precision: binary64
Cost: 14340

?

\[2 \cdot \left(\left(x \cdot y + z \cdot t\right) - \left(\left(a + b \cdot c\right) \cdot c\right) \cdot i\right) \]
\[\begin{array}{l} t_1 := y \cdot x + t \cdot z\\ t_2 := a + b \cdot c\\ t_3 := \left(c \cdot t_2\right) \cdot i\\ \mathbf{if}\;t_3 \leq -1 \cdot 10^{+282}:\\ \;\;\;\;2 \cdot \mathsf{fma}\left(t, z, \mathsf{fma}\left(\left(-c\right) \cdot \left(c \cdot i\right), b, y \cdot x\right)\right)\\ \mathbf{elif}\;t_3 \leq 10^{-44}:\\ \;\;\;\;2 \cdot \left(t_1 - t_3\right)\\ \mathbf{else}:\\ \;\;\;\;2 \cdot \left(t_1 - t_2 \cdot \left(c \cdot i\right)\right)\\ \end{array} \]
(FPCore (x y z t a b c i)
 :precision binary64
 (* 2.0 (- (+ (* x y) (* z t)) (* (* (+ a (* b c)) c) i))))
(FPCore (x y z t a b c i)
 :precision binary64
 (let* ((t_1 (+ (* y x) (* t z))) (t_2 (+ a (* b c))) (t_3 (* (* c t_2) i)))
   (if (<= t_3 -1e+282)
     (* 2.0 (fma t z (fma (* (- c) (* c i)) b (* y x))))
     (if (<= t_3 1e-44) (* 2.0 (- t_1 t_3)) (* 2.0 (- t_1 (* t_2 (* c i))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
	return 2.0 * (((x * y) + (z * t)) - (((a + (b * c)) * c) * i));
}
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
	double t_1 = (y * x) + (t * z);
	double t_2 = a + (b * c);
	double t_3 = (c * t_2) * i;
	double tmp;
	if (t_3 <= -1e+282) {
		tmp = 2.0 * fma(t, z, fma((-c * (c * i)), b, (y * x)));
	} else if (t_3 <= 1e-44) {
		tmp = 2.0 * (t_1 - t_3);
	} else {
		tmp = 2.0 * (t_1 - (t_2 * (c * i)));
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i)
	return Float64(2.0 * Float64(Float64(Float64(x * y) + Float64(z * t)) - Float64(Float64(Float64(a + Float64(b * c)) * c) * i)))
end
function code(x, y, z, t, a, b, c, i)
	t_1 = Float64(Float64(y * x) + Float64(t * z))
	t_2 = Float64(a + Float64(b * c))
	t_3 = Float64(Float64(c * t_2) * i)
	tmp = 0.0
	if (t_3 <= -1e+282)
		tmp = Float64(2.0 * fma(t, z, fma(Float64(Float64(-c) * Float64(c * i)), b, Float64(y * x))));
	elseif (t_3 <= 1e-44)
		tmp = Float64(2.0 * Float64(t_1 - t_3));
	else
		tmp = Float64(2.0 * Float64(t_1 - Float64(t_2 * Float64(c * i))));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_] := N[(2.0 * N[(N[(N[(x * y), $MachinePrecision] + N[(z * t), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(a + N[(b * c), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(y * x), $MachinePrecision] + N[(t * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a + N[(b * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(c * t$95$2), $MachinePrecision] * i), $MachinePrecision]}, If[LessEqual[t$95$3, -1e+282], N[(2.0 * N[(t * z + N[(N[((-c) * N[(c * i), $MachinePrecision]), $MachinePrecision] * b + N[(y * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$3, 1e-44], N[(2.0 * N[(t$95$1 - t$95$3), $MachinePrecision]), $MachinePrecision], N[(2.0 * N[(t$95$1 - N[(t$95$2 * N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
2 \cdot \left(\left(x \cdot y + z \cdot t\right) - \left(\left(a + b \cdot c\right) \cdot c\right) \cdot i\right)
\begin{array}{l}
t_1 := y \cdot x + t \cdot z\\
t_2 := a + b \cdot c\\
t_3 := \left(c \cdot t_2\right) \cdot i\\
\mathbf{if}\;t_3 \leq -1 \cdot 10^{+282}:\\
\;\;\;\;2 \cdot \mathsf{fma}\left(t, z, \mathsf{fma}\left(\left(-c\right) \cdot \left(c \cdot i\right), b, y \cdot x\right)\right)\\

\mathbf{elif}\;t_3 \leq 10^{-44}:\\
\;\;\;\;2 \cdot \left(t_1 - t_3\right)\\

\mathbf{else}:\\
\;\;\;\;2 \cdot \left(t_1 - t_2 \cdot \left(c \cdot i\right)\right)\\


\end{array}

Error?

Target

Original90.2%
Target97.0%
Herbie96.3%
\[2 \cdot \left(\left(x \cdot y + z \cdot t\right) - \left(a + b \cdot c\right) \cdot \left(c \cdot i\right)\right) \]

Derivation?

  1. Split input into 3 regimes
  2. if (*.f64 (*.f64 (+.f64 a (*.f64 b c)) c) i) < -1.00000000000000003e282

    1. Initial program 16.6%

      \[2 \cdot \left(\left(x \cdot y + z \cdot t\right) - \left(\left(a + b \cdot c\right) \cdot c\right) \cdot i\right) \]
    2. Simplified83.0%

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

      [Start]16.6

      \[ 2 \cdot \left(\left(x \cdot y + z \cdot t\right) - \left(\left(a + b \cdot c\right) \cdot c\right) \cdot i\right) \]

      sub-neg [=>]16.6

      \[ 2 \cdot \color{blue}{\left(\left(x \cdot y + z \cdot t\right) + \left(-\left(\left(a + b \cdot c\right) \cdot c\right) \cdot i\right)\right)} \]

      +-commutative [=>]16.6

      \[ 2 \cdot \color{blue}{\left(\left(-\left(\left(a + b \cdot c\right) \cdot c\right) \cdot i\right) + \left(x \cdot y + z \cdot t\right)\right)} \]

      associate-*l* [=>]83.0

      \[ 2 \cdot \left(\left(-\color{blue}{\left(a + b \cdot c\right) \cdot \left(c \cdot i\right)}\right) + \left(x \cdot y + z \cdot t\right)\right) \]

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

      \[ 2 \cdot \left(\color{blue}{\left(-\left(a + b \cdot c\right)\right) \cdot \left(c \cdot i\right)} + \left(x \cdot y + z \cdot t\right)\right) \]

      fma-def [=>]83.0

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

      +-commutative [=>]83.0

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

      fma-def [=>]83.0

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

      fma-def [=>]83.0

      \[ 2 \cdot \mathsf{fma}\left(-\mathsf{fma}\left(b, c, a\right), c \cdot i, \color{blue}{\mathsf{fma}\left(x, y, z \cdot t\right)}\right) \]
    3. Taylor expanded in a around 0 33.5%

      \[\leadsto 2 \cdot \color{blue}{\left(y \cdot x + \left(-1 \cdot \left({c}^{2} \cdot \left(i \cdot b\right)\right) + t \cdot z\right)\right)} \]
    4. Simplified61.3%

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

      [Start]33.5

      \[ 2 \cdot \left(y \cdot x + \left(-1 \cdot \left({c}^{2} \cdot \left(i \cdot b\right)\right) + t \cdot z\right)\right) \]

      *-commutative [<=]33.5

      \[ 2 \cdot \left(y \cdot x + \left(-1 \cdot \left({c}^{2} \cdot \left(i \cdot b\right)\right) + \color{blue}{z \cdot t}\right)\right) \]

      associate-+r+ [=>]33.5

      \[ 2 \cdot \color{blue}{\left(\left(y \cdot x + -1 \cdot \left({c}^{2} \cdot \left(i \cdot b\right)\right)\right) + z \cdot t\right)} \]

      +-commutative [=>]33.5

      \[ 2 \cdot \color{blue}{\left(z \cdot t + \left(y \cdot x + -1 \cdot \left({c}^{2} \cdot \left(i \cdot b\right)\right)\right)\right)} \]

      *-commutative [=>]33.5

      \[ 2 \cdot \left(\color{blue}{t \cdot z} + \left(y \cdot x + -1 \cdot \left({c}^{2} \cdot \left(i \cdot b\right)\right)\right)\right) \]

      fma-def [=>]33.5

      \[ 2 \cdot \color{blue}{\mathsf{fma}\left(t, z, y \cdot x + -1 \cdot \left({c}^{2} \cdot \left(i \cdot b\right)\right)\right)} \]

      +-commutative [=>]33.5

      \[ 2 \cdot \mathsf{fma}\left(t, z, \color{blue}{-1 \cdot \left({c}^{2} \cdot \left(i \cdot b\right)\right) + y \cdot x}\right) \]

      mul-1-neg [=>]33.5

      \[ 2 \cdot \mathsf{fma}\left(t, z, \color{blue}{\left(-{c}^{2} \cdot \left(i \cdot b\right)\right)} + y \cdot x\right) \]

      associate-*r* [=>]34.9

      \[ 2 \cdot \mathsf{fma}\left(t, z, \left(-\color{blue}{\left({c}^{2} \cdot i\right) \cdot b}\right) + y \cdot x\right) \]

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

      \[ 2 \cdot \mathsf{fma}\left(t, z, \color{blue}{\left(-{c}^{2} \cdot i\right) \cdot b} + y \cdot x\right) \]

      fma-def [=>]34.9

      \[ 2 \cdot \mathsf{fma}\left(t, z, \color{blue}{\mathsf{fma}\left(-{c}^{2} \cdot i, b, y \cdot x\right)}\right) \]

      unpow2 [=>]34.9

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

      associate-*l* [=>]61.3

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

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

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

    if -1.00000000000000003e282 < (*.f64 (*.f64 (+.f64 a (*.f64 b c)) c) i) < 9.99999999999999953e-45

    1. Initial program 99.5%

      \[2 \cdot \left(\left(x \cdot y + z \cdot t\right) - \left(\left(a + b \cdot c\right) \cdot c\right) \cdot i\right) \]

    if 9.99999999999999953e-45 < (*.f64 (*.f64 (+.f64 a (*.f64 b c)) c) i)

    1. Initial program 82.1%

      \[2 \cdot \left(\left(x \cdot y + z \cdot t\right) - \left(\left(a + b \cdot c\right) \cdot c\right) \cdot i\right) \]
    2. Simplified95.8%

      \[\leadsto \color{blue}{2 \cdot \left(\mathsf{fma}\left(x, y, z \cdot t\right) - \left(a + b \cdot c\right) \cdot \left(c \cdot i\right)\right)} \]
      Proof

      [Start]82.1

      \[ 2 \cdot \left(\left(x \cdot y + z \cdot t\right) - \left(\left(a + b \cdot c\right) \cdot c\right) \cdot i\right) \]

      associate-*l* [=>]95.8

      \[ 2 \cdot \left(\left(x \cdot y + z \cdot t\right) - \color{blue}{\left(a + b \cdot c\right) \cdot \left(c \cdot i\right)}\right) \]

      fma-def [=>]95.8

      \[ 2 \cdot \left(\color{blue}{\mathsf{fma}\left(x, y, z \cdot t\right)} - \left(a + b \cdot c\right) \cdot \left(c \cdot i\right)\right) \]
    3. Applied egg-rr95.8%

      \[\leadsto 2 \cdot \left(\color{blue}{\left(z \cdot t + x \cdot y\right)} - \left(a + b \cdot c\right) \cdot \left(c \cdot i\right)\right) \]
      Proof

      [Start]95.8

      \[ 2 \cdot \left(\mathsf{fma}\left(x, y, z \cdot t\right) - \left(a + b \cdot c\right) \cdot \left(c \cdot i\right)\right) \]

      fma-udef [=>]95.8

      \[ 2 \cdot \left(\color{blue}{\left(x \cdot y + z \cdot t\right)} - \left(a + b \cdot c\right) \cdot \left(c \cdot i\right)\right) \]

      +-commutative [=>]95.8

      \[ 2 \cdot \left(\color{blue}{\left(z \cdot t + x \cdot y\right)} - \left(a + b \cdot c\right) \cdot \left(c \cdot i\right)\right) \]
  3. Recombined 3 regimes into one program.
  4. Final simplification96.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;\left(c \cdot \left(a + b \cdot c\right)\right) \cdot i \leq -1 \cdot 10^{+282}:\\ \;\;\;\;2 \cdot \mathsf{fma}\left(t, z, \mathsf{fma}\left(\left(-c\right) \cdot \left(c \cdot i\right), b, y \cdot x\right)\right)\\ \mathbf{elif}\;\left(c \cdot \left(a + b \cdot c\right)\right) \cdot i \leq 10^{-44}:\\ \;\;\;\;2 \cdot \left(\left(y \cdot x + t \cdot z\right) - \left(c \cdot \left(a + b \cdot c\right)\right) \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;2 \cdot \left(\left(y \cdot x + t \cdot z\right) - \left(a + b \cdot c\right) \cdot \left(c \cdot i\right)\right)\\ \end{array} \]

Alternatives

Alternative 1
Accuracy96.0%
Cost2504
\[\begin{array}{l} t_1 := y \cdot x + t \cdot z\\ t_2 := a + b \cdot c\\ t_3 := \left(c \cdot t_2\right) \cdot i\\ \mathbf{if}\;t_3 \leq -1 \cdot 10^{+282}:\\ \;\;\;\;2 \cdot \left(t_1 - b \cdot \left(c \cdot \left(c \cdot i\right)\right)\right)\\ \mathbf{elif}\;t_3 \leq 2 \cdot 10^{+302}:\\ \;\;\;\;2 \cdot \left(t_1 - t_3\right)\\ \mathbf{else}:\\ \;\;\;\;2 \cdot \left(y \cdot x - c \cdot \left(t_2 \cdot i\right)\right)\\ \end{array} \]
Alternative 2
Accuracy96.3%
Cost2504
\[\begin{array}{l} t_1 := y \cdot x + t \cdot z\\ t_2 := a + b \cdot c\\ t_3 := \left(c \cdot t_2\right) \cdot i\\ \mathbf{if}\;t_3 \leq -1 \cdot 10^{+282}:\\ \;\;\;\;2 \cdot \left(t_1 - b \cdot \left(c \cdot \left(c \cdot i\right)\right)\right)\\ \mathbf{elif}\;t_3 \leq 10^{-44}:\\ \;\;\;\;2 \cdot \left(t_1 - t_3\right)\\ \mathbf{else}:\\ \;\;\;\;2 \cdot \left(t_1 - t_2 \cdot \left(c \cdot i\right)\right)\\ \end{array} \]
Alternative 3
Accuracy63.5%
Cost2148
\[\begin{array}{l} t_1 := c \cdot \left(\left(a + b \cdot c\right) \cdot i\right)\\ t_2 := 2 \cdot \left(t \cdot z - t_1\right)\\ t_3 := 2 \cdot \left(y \cdot x - t_1\right)\\ t_4 := 2 \cdot \left(y \cdot x + t \cdot z\right)\\ \mathbf{if}\;b \leq -7.6 \cdot 10^{+180}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;b \leq -6 \cdot 10^{-23}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;b \leq -6.8 \cdot 10^{-56}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;b \leq -7.4 \cdot 10^{-187}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 1.1 \cdot 10^{-216}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;b \leq 2.5 \cdot 10^{-117}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 4.1 \cdot 10^{+37}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;b \leq 9 \cdot 10^{+123}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 1.7 \cdot 10^{+158}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 4
Accuracy41.6%
Cost1640
\[\begin{array}{l} t_1 := a \cdot \left(c \cdot \left(i \cdot -2\right)\right)\\ t_2 := 2 \cdot \left(t \cdot z\right)\\ t_3 := 2 \cdot \left(y \cdot x\right)\\ \mathbf{if}\;x \leq -3.5 \cdot 10^{+113}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -1.62 \cdot 10^{+52}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -5 \cdot 10^{+26}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -1.12 \cdot 10^{-70}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -8 \cdot 10^{-95}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq -1.8 \cdot 10^{-107}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -1.06 \cdot 10^{-163}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq 7.8 \cdot 10^{-292}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 1.5 \cdot 10^{-262}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 3.7 \cdot 10^{-102}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 5
Accuracy67.9%
Cost1492
\[\begin{array}{l} t_1 := 2 \cdot \left(y \cdot x + t \cdot z\right)\\ t_2 := 2 \cdot \left(t \cdot z - c \cdot \left(b \cdot \left(c \cdot i\right)\right)\right)\\ \mathbf{if}\;c \leq -1.85 \cdot 10^{+123}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq -2.6 \cdot 10^{+16}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -2.4 \cdot 10^{-14}:\\ \;\;\;\;\left(c \cdot \left(\left(a + b \cdot c\right) \cdot i\right)\right) \cdot -2\\ \mathbf{elif}\;c \leq -6.8 \cdot 10^{-65}:\\ \;\;\;\;2 \cdot \left(y \cdot x - c \cdot \left(a \cdot i\right)\right)\\ \mathbf{elif}\;c \leq 1.95 \cdot 10^{+27}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 6
Accuracy71.9%
Cost1490
\[\begin{array}{l} \mathbf{if}\;y \leq -1.1 \cdot 10^{-118} \lor \neg \left(y \leq 1.55 \cdot 10^{-31}\right) \land \left(y \leq 1360000 \lor \neg \left(y \leq 1.52 \cdot 10^{+44}\right)\right):\\ \;\;\;\;2 \cdot \left(y \cdot x + t \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;2 \cdot \left(t \cdot z - c \cdot \left(\left(a + b \cdot c\right) \cdot i\right)\right)\\ \end{array} \]
Alternative 7
Accuracy86.3%
Cost1489
\[\begin{array}{l} t_1 := 2 \cdot \left(t \cdot z - c \cdot \left(\left(a + b \cdot c\right) \cdot i\right)\right)\\ t_2 := y \cdot x + t \cdot z\\ \mathbf{if}\;c \leq -3 \cdot 10^{+99}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -90000000000000:\\ \;\;\;\;2 \cdot \left(t_2 - b \cdot \left(c \cdot \left(c \cdot i\right)\right)\right)\\ \mathbf{elif}\;c \leq -4.7 \cdot 10^{-14} \lor \neg \left(c \leq 1.7 \cdot 10^{+24}\right):\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;2 \cdot \left(t_2 - i \cdot \left(a \cdot c\right)\right)\\ \end{array} \]
Alternative 8
Accuracy85.9%
Cost1225
\[\begin{array}{l} \mathbf{if}\;c \leq -2.25 \cdot 10^{+113} \lor \neg \left(c \leq 1.8 \cdot 10^{+27}\right):\\ \;\;\;\;2 \cdot \left(t \cdot z - c \cdot \left(\left(a + b \cdot c\right) \cdot i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;2 \cdot \left(\left(y \cdot x + t \cdot z\right) - i \cdot \left(a \cdot c\right)\right)\\ \end{array} \]
Alternative 9
Accuracy67.9%
Cost969
\[\begin{array}{l} \mathbf{if}\;c \leq -9.6 \cdot 10^{+193} \lor \neg \left(c \leq 2.35 \cdot 10^{+37}\right):\\ \;\;\;\;\left(c \cdot \left(\left(a + b \cdot c\right) \cdot i\right)\right) \cdot -2\\ \mathbf{else}:\\ \;\;\;\;2 \cdot \left(y \cdot x + t \cdot z\right)\\ \end{array} \]
Alternative 10
Accuracy67.1%
Cost969
\[\begin{array}{l} \mathbf{if}\;t \leq -8.2 \cdot 10^{-186} \lor \neg \left(t \leq 3.15 \cdot 10^{-147}\right):\\ \;\;\;\;2 \cdot \left(y \cdot x + t \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;2 \cdot \left(y \cdot x - c \cdot \left(a \cdot i\right)\right)\\ \end{array} \]
Alternative 11
Accuracy64.0%
Cost841
\[\begin{array}{l} \mathbf{if}\;x \leq 9.6 \cdot 10^{-292} \lor \neg \left(x \leq 6 \cdot 10^{-264}\right):\\ \;\;\;\;2 \cdot \left(y \cdot x + t \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(c \cdot \left(i \cdot -2\right)\right)\\ \end{array} \]
Alternative 12
Accuracy43.6%
Cost585
\[\begin{array}{l} \mathbf{if}\;t \leq -4.6 \cdot 10^{-113} \lor \neg \left(t \leq 8.4 \cdot 10^{-51}\right):\\ \;\;\;\;2 \cdot \left(t \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;2 \cdot \left(y \cdot x\right)\\ \end{array} \]
Alternative 13
Accuracy33.1%
Cost320
\[2 \cdot \left(t \cdot z\right) \]

Error

Reproduce?

herbie shell --seed 2023137 
(FPCore (x y z t a b c i)
  :name "Diagrams.ThreeD.Shapes:frustum from diagrams-lib-1.3.0.3, A"
  :precision binary64

  :herbie-target
  (* 2.0 (- (+ (* x y) (* z t)) (* (+ a (* b c)) (* c i))))

  (* 2.0 (- (+ (* x y) (* z t)) (* (* (+ a (* b c)) c) i))))