?

Average Accuracy: 81.2% → 92.1%
Time: 1.0min
Precision: binary64
Cost: 18248

?

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

\mathbf{elif}\;t_4 \leq 5 \cdot 10^{+307}:\\
\;\;\;\;\mathsf{fma}\left(x, t_3, \mathsf{fma}\left(b, t_1, t_2\right)\right)\\

\mathbf{else}:\\
\;\;\;\;\left(t_2 + \left(y \cdot \left(x \cdot z\right) + a \cdot \left(b \cdot i - x \cdot t\right)\right)\right) - c \cdot \left(z \cdot b\right)\\


\end{array}

Error?

Target

Original81.2%
Target75.2%
Herbie92.1%
\[\begin{array}{l} \mathbf{if}\;t < -8.120978919195912 \cdot 10^{-33}:\\ \;\;\;\;x \cdot \left(z \cdot y - a \cdot t\right) - \left(b \cdot \left(z \cdot c - a \cdot i\right) - \left(c \cdot t - y \cdot i\right) \cdot j\right)\\ \mathbf{elif}\;t < -4.712553818218485 \cdot 10^{-169}:\\ \;\;\;\;\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \frac{j \cdot \left({\left(c \cdot t\right)}^{2} - {\left(i \cdot y\right)}^{2}\right)}{c \cdot t + i \cdot y}\\ \mathbf{elif}\;t < -7.633533346031584 \cdot 10^{-308}:\\ \;\;\;\;x \cdot \left(z \cdot y - a \cdot t\right) - \left(b \cdot \left(z \cdot c - a \cdot i\right) - \left(c \cdot t - y \cdot i\right) \cdot j\right)\\ \mathbf{elif}\;t < 1.0535888557455487 \cdot 10^{-139}:\\ \;\;\;\;\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \frac{j \cdot \left({\left(c \cdot t\right)}^{2} - {\left(i \cdot y\right)}^{2}\right)}{c \cdot t + i \cdot y}\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(z \cdot y - a \cdot t\right) - \left(b \cdot \left(z \cdot c - a \cdot i\right) - \left(c \cdot t - y \cdot i\right) \cdot j\right)\\ \end{array} \]

Derivation?

  1. Split input into 3 regimes
  2. if (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 i a)))) (*.f64 j (-.f64 (*.f64 c t) (*.f64 i y)))) < -inf.0

    1. Initial program 0.0%

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

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

      [Start]0.0

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

      +-commutative [=>]0.0

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

      fma-def [=>]0.0

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

      *-commutative [=>]0.0

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

      *-commutative [=>]0.0

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

      *-commutative [=>]0.0

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

      *-commutative [=>]0.0

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

      \[\leadsto \color{blue}{\left(c \cdot \left(t \cdot j\right) + \left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + -1 \cdot \left(y \cdot \left(i \cdot j + -1 \cdot \left(z \cdot x\right)\right)\right)\right)\right) - \left(c \cdot z - i \cdot a\right) \cdot b} \]
    4. Simplified63.6%

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

      [Start]56.2

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

      cancel-sign-sub-inv [=>]56.2

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

      *-commutative [<=]56.2

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

      *-commutative [=>]56.2

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

      cancel-sign-sub-inv [<=]56.2

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

      *-commutative [<=]56.2

      \[ \left(c \cdot \left(t \cdot j\right) + \left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + -1 \cdot \left(y \cdot \left(i \cdot j + -1 \cdot \left(z \cdot x\right)\right)\right)\right)\right) - \color{blue}{b \cdot \left(z \cdot c - a \cdot i\right)} \]
    5. Taylor expanded in c around inf 70.6%

      \[\leadsto t \cdot \left(c \cdot j - a \cdot x\right) - \left(y \cdot \left(i \cdot j - z \cdot x\right) + \color{blue}{c \cdot \left(z \cdot b\right)}\right) \]
    6. Simplified70.9%

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

      [Start]70.6

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

      associate-*r* [=>]61.0

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

      *-commutative [=>]61.0

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

      associate-*l* [=>]70.9

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

    if -inf.0 < (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 i a)))) (*.f64 j (-.f64 (*.f64 c t) (*.f64 i y)))) < 5e307

    1. Initial program 98.7%

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

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

      [Start]98.7

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

      associate-+l- [=>]98.7

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

      fma-neg [=>]98.7

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

      neg-sub0 [=>]98.7

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

      associate-+l- [<=]98.7

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

      neg-sub0 [<=]98.7

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

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

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

      fma-def [=>]98.7

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

      sub-neg [=>]98.7

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

      distribute-neg-in [=>]98.7

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

      +-commutative [=>]98.7

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

      remove-double-neg [=>]98.7

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

      sub-neg [<=]98.7

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

      *-commutative [=>]98.7

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

      *-commutative [=>]98.7

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

    if 5e307 < (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 i a)))) (*.f64 j (-.f64 (*.f64 c t) (*.f64 i y))))

    1. Initial program 0.5%

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

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

      [Start]0.5

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

      +-commutative [=>]0.5

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

      fma-def [=>]0.5

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

      *-commutative [=>]0.5

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

      *-commutative [=>]0.5

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

      *-commutative [=>]0.5

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

      *-commutative [=>]0.5

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

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

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

Alternatives

Alternative 1
Accuracy91.3%
Cost5832
\[\begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_3 := \left(x \cdot \left(y \cdot z - t \cdot a\right) + t_1\right) + t_2\\ \mathbf{if}\;t_3 \leq -2 \cdot 10^{+307}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) + \left(y \cdot \left(x \cdot z - i \cdot j\right) - z \cdot \left(b \cdot c\right)\right)\\ \mathbf{elif}\;t_3 \leq 10^{+308}:\\ \;\;\;\;t_2 + \left(\left(x \cdot \left(y \cdot z\right) - x \cdot \left(t \cdot a\right)\right) + t_1\right)\\ \mathbf{else}:\\ \;\;\;\;\left(i \cdot \left(a \cdot b\right) - y \cdot \left(i \cdot j\right)\right) - c \cdot \left(z \cdot b\right)\\ \end{array} \]
Alternative 2
Accuracy92.0%
Cost5832
\[\begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_3 := \left(x \cdot \left(y \cdot z - t \cdot a\right) + t_1\right) + t_2\\ \mathbf{if}\;t_3 \leq -2 \cdot 10^{+307}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) + \left(y \cdot \left(x \cdot z - i \cdot j\right) - z \cdot \left(b \cdot c\right)\right)\\ \mathbf{elif}\;t_3 \leq 5 \cdot 10^{+307}:\\ \;\;\;\;t_2 + \left(\left(x \cdot \left(y \cdot z\right) - x \cdot \left(t \cdot a\right)\right) + t_1\right)\\ \mathbf{else}:\\ \;\;\;\;\left(t_2 + \left(y \cdot \left(x \cdot z\right) + a \cdot \left(b \cdot i - x \cdot t\right)\right)\right) - c \cdot \left(z \cdot b\right)\\ \end{array} \]
Alternative 3
Accuracy91.3%
Cost5704
\[\begin{array}{l} t_1 := \left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{if}\;t_1 \leq -2 \cdot 10^{+307}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) + \left(y \cdot \left(x \cdot z - i \cdot j\right) - z \cdot \left(b \cdot c\right)\right)\\ \mathbf{elif}\;t_1 \leq 10^{+308}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;\left(i \cdot \left(a \cdot b\right) - y \cdot \left(i \cdot j\right)\right) - c \cdot \left(z \cdot b\right)\\ \end{array} \]
Alternative 4
Accuracy65.9%
Cost3184
\[\begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := i \cdot \left(a \cdot b\right)\\ t_3 := c \cdot \left(z \cdot b\right)\\ t_4 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_5 := t \cdot \left(c \cdot j - x \cdot a\right) + \left(y \cdot \left(x \cdot z - i \cdot j\right) - z \cdot \left(b \cdot c\right)\right)\\ t_6 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_7 := t_4 + t_6\\ t_8 := \left(t_4 + t_1\right) - i \cdot \left(y \cdot j\right)\\ t_9 := t_6 + t_1\\ \mathbf{if}\;z \leq -1.1 \cdot 10^{+214}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq -1.9 \cdot 10^{+18}:\\ \;\;\;\;t_8\\ \mathbf{elif}\;z \leq -7 \cdot 10^{-107}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;z \leq -5.8 \cdot 10^{-141}:\\ \;\;\;\;t_8\\ \mathbf{elif}\;z \leq -3 \cdot 10^{-181}:\\ \;\;\;\;t_6 + \left(t_2 - t_3\right)\\ \mathbf{elif}\;z \leq -2.9 \cdot 10^{-181}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;z \leq -6.7 \cdot 10^{-252}:\\ \;\;\;\;t_7\\ \mathbf{elif}\;z \leq -3.5 \cdot 10^{-272}:\\ \;\;\;\;\left(t_2 - y \cdot \left(i \cdot j\right)\right) - t_3\\ \mathbf{elif}\;z \leq 2 \cdot 10^{-307}:\\ \;\;\;\;t_9\\ \mathbf{elif}\;z \leq 1.65 \cdot 10^{-223}:\\ \;\;\;\;t_8\\ \mathbf{elif}\;z \leq 2.4 \cdot 10^{-178}:\\ \;\;\;\;t_7\\ \mathbf{elif}\;z \leq 1.75 \cdot 10^{-13}:\\ \;\;\;\;t_9\\ \mathbf{else}:\\ \;\;\;\;t_5\\ \end{array} \]
Alternative 5
Accuracy71.0%
Cost2920
\[\begin{array}{l} t_1 := t \cdot \left(c \cdot j - x \cdot a\right)\\ t_2 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_3 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_4 := y \cdot \left(x \cdot z - i \cdot j\right)\\ t_5 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_6 := t_1 + \left(t_4 - z \cdot \left(b \cdot c\right)\right)\\ t_7 := \left(t_2 + t_3\right) - i \cdot \left(y \cdot j\right)\\ \mathbf{if}\;j \leq -4.8 \cdot 10^{+63}:\\ \;\;\;\;\left(j \cdot \left(t \cdot c\right) - j \cdot \left(y \cdot i\right)\right) + t_3\\ \mathbf{elif}\;j \leq -1.35 \cdot 10^{-122}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;j \leq -1.25 \cdot 10^{-279}:\\ \;\;\;\;t_7\\ \mathbf{elif}\;j \leq 5.8 \cdot 10^{-241}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;j \leq 1.05 \cdot 10^{-205}:\\ \;\;\;\;t_4 + t_3\\ \mathbf{elif}\;j \leq 4.7 \cdot 10^{-45}:\\ \;\;\;\;t_1 + \left(z \cdot \left(x \cdot y\right) + t_3\right)\\ \mathbf{elif}\;j \leq 1.55 \cdot 10^{+69}:\\ \;\;\;\;t_5 + \left(i \cdot \left(a \cdot b\right) - c \cdot \left(z \cdot b\right)\right)\\ \mathbf{elif}\;j \leq 2.8 \cdot 10^{+153}:\\ \;\;\;\;t_7\\ \mathbf{elif}\;j \leq 2.9 \cdot 10^{+219}:\\ \;\;\;\;t_2 + t_5\\ \mathbf{elif}\;j \leq 6.4 \cdot 10^{+265}:\\ \;\;\;\;t_7\\ \mathbf{else}:\\ \;\;\;\;t_5\\ \end{array} \]
Alternative 6
Accuracy60.8%
Cost2668
\[\begin{array}{l} t_1 := y \cdot \left(x \cdot z - i \cdot j\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_3 := t_2 + j \cdot \left(t \cdot c - y \cdot i\right)\\ t_4 := t_2 - c \cdot \left(z \cdot b - t \cdot j\right)\\ \mathbf{if}\;c \leq -4.2 \cdot 10^{+153}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq -3.5 \cdot 10^{+22}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -5 \cdot 10^{-43}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq -5.5 \cdot 10^{-78}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -8 \cdot 10^{-208}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -1.02 \cdot 10^{-306}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 2.35 \cdot 10^{-214}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq 1.1 \cdot 10^{-110}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 2200000:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq 1.75 \cdot 10^{+28}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;c \leq 3.8 \cdot 10^{+163}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t_4\\ \end{array} \]
Alternative 7
Accuracy39.6%
Cost2557
\[\begin{array}{l} t_1 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_2 := t \cdot \left(c \cdot j - x \cdot a\right)\\ t_3 := z \cdot \left(x \cdot y - b \cdot c\right)\\ t_4 := a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{if}\;z \leq -3.4 \cdot 10^{+47}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq -3.7 \cdot 10^{-51}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -4 \cdot 10^{-124}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq -1.4 \cdot 10^{-305}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 3.6 \cdot 10^{-202}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 1.85 \cdot 10^{-162}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 2.3 \cdot 10^{-86}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;z \leq 3.4 \cdot 10^{-47}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 8.6 \cdot 10^{+36}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq 9 \cdot 10^{+36}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;z \leq 4 \cdot 10^{+54}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 7.2 \cdot 10^{+95}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq 9.5 \cdot 10^{+99}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;z \leq 3.5 \cdot 10^{+117} \lor \neg \left(z \leq 7.6 \cdot 10^{+125}\right):\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 8
Accuracy57.5%
Cost2536
\[\begin{array}{l} t_1 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_2 := b \cdot \left(a \cdot i - z \cdot c\right) - y \cdot \left(i \cdot j\right)\\ t_3 := x \cdot \left(y \cdot z - t \cdot a\right) - c \cdot \left(z \cdot b - t \cdot j\right)\\ t_4 := t_1 - b \cdot \left(z \cdot c\right)\\ \mathbf{if}\;x \leq -5.3 \cdot 10^{-74}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -8.5 \cdot 10^{-99}:\\ \;\;\;\;\frac{a}{\frac{1}{b \cdot i - x \cdot t}}\\ \mathbf{elif}\;x \leq -3.8 \cdot 10^{-113}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{elif}\;x \leq -6.5 \cdot 10^{-205}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq -1.4 \cdot 10^{-300}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 4.4 \cdot 10^{-272}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 1.4 \cdot 10^{-178}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 9 \cdot 10^{-174}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{elif}\;x \leq 6 \cdot 10^{-135}:\\ \;\;\;\;\frac{z}{\frac{1}{x \cdot y - b \cdot c}}\\ \mathbf{elif}\;x \leq 8.5 \cdot 10^{-68}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 9
Accuracy58.2%
Cost2536
\[\begin{array}{l} t_1 := i \cdot \left(a \cdot b - y \cdot j\right)\\ t_2 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_3 := t_2 + j \cdot \left(t \cdot c - y \cdot i\right)\\ t_4 := t_2 - c \cdot \left(z \cdot b - t \cdot j\right)\\ \mathbf{if}\;c \leq -4.2 \cdot 10^{+153}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq -8.4 \cdot 10^{+21}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -2.3 \cdot 10^{-48}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq -7.2 \cdot 10^{-78}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 1.3 \cdot 10^{-212}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq 7.2 \cdot 10^{-134}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right) - y \cdot \left(i \cdot j\right)\\ \mathbf{elif}\;c \leq 1.1 \cdot 10^{-75}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq 3400000000:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq 1.65 \cdot 10^{+28}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 8.5 \cdot 10^{+229}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t_4\\ \end{array} \]
Alternative 10
Accuracy41.6%
Cost2424
\[\begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_3 := z \cdot \left(x \cdot y - b \cdot c\right)\\ t_4 := x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{if}\;x \leq -2.8 \cdot 10^{-23}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq -2.6 \cdot 10^{-54}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -1.75 \cdot 10^{-81}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;x \leq -9.5 \cdot 10^{-99}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;x \leq -3.8 \cdot 10^{-113}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{elif}\;x \leq -2.65 \cdot 10^{-213}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -1.8 \cdot 10^{-295}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 4.2 \cdot 10^{-207}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 7 \cdot 10^{-184}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 1.22 \cdot 10^{-173}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{elif}\;x \leq 7 \cdot 10^{-135}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq 6.6 \cdot 10^{-68}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 5 \cdot 10^{-20}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq 17000:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;t_4\\ \end{array} \]
Alternative 11
Accuracy41.7%
Cost2424
\[\begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_3 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_4 := x \cdot y - b \cdot c\\ \mathbf{if}\;x \leq -3.4 \cdot 10^{-23}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -3.6 \cdot 10^{-54}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -1.6 \cdot 10^{-81}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;x \leq -1.45 \cdot 10^{-98}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;x \leq -3.8 \cdot 10^{-113}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{elif}\;x \leq -1.72 \cdot 10^{-212}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -2.8 \cdot 10^{-295}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 1.9 \cdot 10^{-206}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 1.35 \cdot 10^{-178}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 1.1 \cdot 10^{-173}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{elif}\;x \leq 6 \cdot 10^{-135}:\\ \;\;\;\;\frac{z}{\frac{1}{t_4}}\\ \mathbf{elif}\;x \leq 10^{-67}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 1.15 \cdot 10^{-19}:\\ \;\;\;\;z \cdot t_4\\ \mathbf{elif}\;x \leq 3700:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \]
Alternative 12
Accuracy41.8%
Cost2424
\[\begin{array}{l} t_1 := x \cdot y - b \cdot c\\ t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_3 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_4 := x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{if}\;x \leq -4.2 \cdot 10^{-23}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq -8 \cdot 10^{-46}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -1.5 \cdot 10^{-81}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;x \leq -8.2 \cdot 10^{-94}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;x \leq -1.95 \cdot 10^{-119}:\\ \;\;\;\;y \cdot \left(x \cdot z\right) - c \cdot \left(z \cdot b\right)\\ \mathbf{elif}\;x \leq -1.95 \cdot 10^{-212}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq -1.8 \cdot 10^{-295}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq 4.2 \cdot 10^{-207}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 5.8 \cdot 10^{-183}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq 1.15 \cdot 10^{-173}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{elif}\;x \leq 3.15 \cdot 10^{-134}:\\ \;\;\;\;\frac{z}{\frac{1}{t_1}}\\ \mathbf{elif}\;x \leq 6.5 \cdot 10^{-68}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 3.3 \cdot 10^{-19}:\\ \;\;\;\;z \cdot t_1\\ \mathbf{elif}\;x \leq 90000000:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;t_4\\ \end{array} \]
Alternative 13
Accuracy63.7%
Cost2401
\[\begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := y \cdot \left(x \cdot z - i \cdot j\right) + t_1\\ t_3 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_4 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_5 := t_4 + \left(i \cdot \left(a \cdot b\right) - c \cdot \left(z \cdot b\right)\right)\\ t_6 := t_3 - c \cdot \left(z \cdot b - t \cdot j\right)\\ \mathbf{if}\;j \leq -2.9 \cdot 10^{-70}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;j \leq -9.2 \cdot 10^{-245}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq 5.5 \cdot 10^{-270}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;j \leq 1.75 \cdot 10^{-220}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq 3.7 \cdot 10^{-115}:\\ \;\;\;\;t_6\\ \mathbf{elif}\;j \leq 1.4 \cdot 10^{-72}:\\ \;\;\;\;t_4 + t_1\\ \mathbf{elif}\;j \leq 6.8 \cdot 10^{-51} \lor \neg \left(j \leq 2 \cdot 10^{+109}\right):\\ \;\;\;\;t_3 + t_4\\ \mathbf{else}:\\ \;\;\;\;t_5\\ \end{array} \]
Alternative 14
Accuracy71.2%
Cost2392
\[\begin{array}{l} t_1 := t \cdot \left(c \cdot j - x \cdot a\right) + \left(y \cdot \left(x \cdot z - i \cdot j\right) - z \cdot \left(b \cdot c\right)\right)\\ t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_3 := x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{if}\;x \leq -1.35 \cdot 10^{+72}:\\ \;\;\;\;t_3 + t_2\\ \mathbf{elif}\;x \leq -1.1 \cdot 10^{-82}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 1.85 \cdot 10^{-273}:\\ \;\;\;\;t_2 + \left(i \cdot \left(a \cdot b\right) - c \cdot \left(z \cdot b\right)\right)\\ \mathbf{elif}\;x \leq 1.65 \cdot 10^{-14}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 9 \cdot 10^{+17}:\\ \;\;\;\;t_2 + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;x \leq 1.35 \cdot 10^{+81}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_3 - c \cdot \left(z \cdot b - t \cdot j\right)\\ \end{array} \]
Alternative 15
Accuracy33.3%
Cost2292
\[\begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := y \cdot \left(x \cdot z - i \cdot j\right)\\ t_3 := t \cdot \left(c \cdot j - x \cdot a\right)\\ t_4 := j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{if}\;z \leq -3.85 \cdot 10^{+173}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{elif}\;z \leq -7.6 \cdot 10^{+40}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -6 \cdot 10^{-48}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq -2.15 \cdot 10^{-128}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -1.1 \cdot 10^{-305}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq 8.6 \cdot 10^{-201}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 6 \cdot 10^{-163}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq 4.5 \cdot 10^{-83}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 3.2 \cdot 10^{-47}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq 8.6 \cdot 10^{+36}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;z \leq 9 \cdot 10^{+36}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;z \leq 2.7 \cdot 10^{+116}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 1.5 \cdot 10^{+159}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(b \cdot \left(-c\right)\right)\\ \end{array} \]
Alternative 16
Accuracy21.7%
Cost2100
\[\begin{array}{l} t_1 := a \cdot \left(b \cdot i\right)\\ t_2 := z \cdot \left(x \cdot y\right)\\ t_3 := c \cdot \left(t \cdot j\right)\\ \mathbf{if}\;c \leq -4.7 \cdot 10^{+75}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -9.5 \cdot 10^{-25}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;c \leq -2.3 \cdot 10^{-48}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;c \leq -7.5 \cdot 10^{-79}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;c \leq -1.6 \cdot 10^{-108}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -4.4 \cdot 10^{-119}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq -8.2 \cdot 10^{-243}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 3.5 \cdot 10^{-281}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 9 \cdot 10^{-194}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 1.75 \cdot 10^{-81}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 1.36 \cdot 10^{+28}:\\ \;\;\;\;z \cdot \left(b \cdot \left(-c\right)\right)\\ \mathbf{elif}\;c \leq 5.6 \cdot 10^{+96}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 4.2 \cdot 10^{+117}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot b\right) \cdot \left(-c\right)\\ \end{array} \]
Alternative 17
Accuracy49.7%
Cost2016
\[\begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right) - y \cdot \left(i \cdot j\right)\\ t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_3 := t_2 - b \cdot \left(z \cdot c\right)\\ t_4 := x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{if}\;x \leq -4.7 \cdot 10^{-23}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;x \leq -6.5 \cdot 10^{-205}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;x \leq -9.4 \cdot 10^{-304}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 1.9 \cdot 10^{-272}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;x \leq 1.65 \cdot 10^{-178}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 1.22 \cdot 10^{-173}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{elif}\;x \leq 6 \cdot 10^{-135}:\\ \;\;\;\;\frac{z}{\frac{1}{x \cdot y - b \cdot c}}\\ \mathbf{elif}\;x \leq 8.4 \cdot 10^{+18}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t_4\\ \end{array} \]
Alternative 18
Accuracy36.3%
Cost1896
\[\begin{array}{l} t_1 := z \cdot \left(x \cdot y\right)\\ t_2 := c \cdot \left(t \cdot j - z \cdot b\right)\\ t_3 := a \cdot \left(b \cdot i - x \cdot t\right)\\ t_4 := b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{if}\;c \leq -2.9 \cdot 10^{+64}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq -65000000:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -2 \cdot 10^{-24}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;c \leq -2.65 \cdot 10^{-84}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq -2.9 \cdot 10^{-109}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;c \leq -2.25 \cdot 10^{-119}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -8 \cdot 10^{-215}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq -1.55 \cdot 10^{-244}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq 2.95 \cdot 10^{-257}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 2.3 \cdot 10^{-67}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 19
Accuracy36.9%
Cost1896
\[\begin{array}{l} t_1 := z \cdot \left(x \cdot y\right)\\ t_2 := c \cdot \left(t \cdot j - z \cdot b\right)\\ t_3 := a \cdot \left(b \cdot i - x \cdot t\right)\\ t_4 := b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{if}\;c \leq -8.5 \cdot 10^{+64}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq -13500000:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -1.95 \cdot 10^{-29}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;c \leq -2.7 \cdot 10^{-82}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq -3.1 \cdot 10^{-109}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;c \leq -1.1 \cdot 10^{-119}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -5.4 \cdot 10^{-213}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;c \leq -3.9 \cdot 10^{-244}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq 7.4 \cdot 10^{-258}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 2.5 \cdot 10^{-69}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 20
Accuracy67.9%
Cost1876
\[\begin{array}{l} t_1 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_3 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_4 := y \cdot \left(x \cdot z - i \cdot j\right) + t_3\\ t_5 := t_2 + t_3\\ \mathbf{if}\;b \leq -4.3 \cdot 10^{+61}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;b \leq 1.12 \cdot 10^{-66}:\\ \;\;\;\;t_1 + t_2\\ \mathbf{elif}\;b \leq 1.86 \cdot 10^{-31}:\\ \;\;\;\;t_5\\ \mathbf{elif}\;b \leq 2100000000:\\ \;\;\;\;t_1 - c \cdot \left(z \cdot b - t \cdot j\right)\\ \mathbf{elif}\;b \leq 7.5 \cdot 10^{+90}:\\ \;\;\;\;t_5\\ \mathbf{else}:\\ \;\;\;\;t_4\\ \end{array} \]
Alternative 21
Accuracy21.5%
Cost1640
\[\begin{array}{l} t_1 := a \cdot \left(b \cdot i\right)\\ t_2 := z \cdot \left(x \cdot y\right)\\ t_3 := c \cdot \left(t \cdot j\right)\\ \mathbf{if}\;c \leq -1.45 \cdot 10^{+76}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -1.25 \cdot 10^{-29}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;c \leq -2.55 \cdot 10^{-48}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;c \leq -7.6 \cdot 10^{-79}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;c \leq -1.55 \cdot 10^{-108}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;c \leq -3.6 \cdot 10^{-119}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq -5.2 \cdot 10^{-243}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 4.2 \cdot 10^{-279}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 1.9 \cdot 10^{-194}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 2 \cdot 10^{-145}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \end{array} \]
Alternative 22
Accuracy42.0%
Cost1501
\[\begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := y \cdot \left(x \cdot z - i \cdot j\right)\\ t_3 := t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{if}\;t \leq -4.2 \cdot 10^{-46}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq -1.25 \cdot 10^{-256}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -1.3 \cdot 10^{-303}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 2.8 \cdot 10^{-161}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 1.25 \cdot 10^{-123}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;t \leq 4.4 \cdot 10^{-123} \lor \neg \left(t \leq 4 \cdot 10^{-7}\right):\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 23
Accuracy49.8%
Cost1488
\[\begin{array}{l} t_1 := b \cdot i - x \cdot t\\ t_2 := j \cdot \left(t \cdot c - y \cdot i\right) - b \cdot \left(z \cdot c\right)\\ \mathbf{if}\;a \leq -4.4 \cdot 10^{+51}:\\ \;\;\;\;\frac{a}{\frac{1}{t_1}}\\ \mathbf{elif}\;a \leq -5.4 \cdot 10^{-106}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq -2.1 \cdot 10^{-137}:\\ \;\;\;\;\frac{z}{\frac{1}{x \cdot y - b \cdot c}}\\ \mathbf{elif}\;a \leq 2.9 \cdot 10^{-88}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq 0.32:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot t_1\\ \end{array} \]
Alternative 24
Accuracy21.2%
Cost1376
\[\begin{array}{l} t_1 := y \cdot \left(x \cdot z\right)\\ t_2 := c \cdot \left(t \cdot j\right)\\ \mathbf{if}\;c \leq -1.28 \cdot 10^{+76}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq -2.02 \cdot 10^{-25}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -2.45 \cdot 10^{-48}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;c \leq -3.3 \cdot 10^{-84}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;c \leq -1.45 \cdot 10^{-108}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq -3.6 \cdot 10^{-119}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -2.6 \cdot 10^{-244}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;c \leq 2.2 \cdot 10^{-161}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \end{array} \]
Alternative 25
Accuracy34.8%
Cost1236
\[\begin{array}{l} t_1 := a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{if}\;a \leq -3.5 \cdot 10^{-52}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq -8.5 \cdot 10^{-147}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;a \leq 4.6 \cdot 10^{-189}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;a \leq 3.6 \cdot 10^{-90}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;a \leq 1.8 \cdot 10^{-42}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 26
Accuracy34.3%
Cost1104
\[\begin{array}{l} t_1 := a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{if}\;a \leq -3.1 \cdot 10^{-52}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq -1.72 \cdot 10^{-146}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;a \leq 2.5 \cdot 10^{-189}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;a \leq 5 \cdot 10^{-93}:\\ \;\;\;\;z \cdot \left(b \cdot \left(-c\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 27
Accuracy22.5%
Cost980
\[\begin{array}{l} t_1 := a \cdot \left(b \cdot i\right)\\ \mathbf{if}\;a \leq -9.2 \cdot 10^{+55}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq -2.6 \cdot 10^{-144}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;a \leq 3.1 \cdot 10^{-189}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;a \leq 4.4 \cdot 10^{-97}:\\ \;\;\;\;b \cdot \left(z \cdot \left(-c\right)\right)\\ \mathbf{elif}\;a \leq 0.4:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 28
Accuracy22.4%
Cost980
\[\begin{array}{l} t_1 := a \cdot \left(b \cdot i\right)\\ \mathbf{if}\;a \leq -2.2 \cdot 10^{+55}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq -1.12 \cdot 10^{-148}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;a \leq 6.8 \cdot 10^{-189}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;a \leq 1.45 \cdot 10^{-93}:\\ \;\;\;\;z \cdot \left(b \cdot \left(-c\right)\right)\\ \mathbf{elif}\;a \leq 0.23:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 29
Accuracy22.9%
Cost585
\[\begin{array}{l} \mathbf{if}\;a \leq -1.1 \cdot 10^{-68} \lor \neg \left(a \leq 5.6 \cdot 10^{-60}\right):\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \end{array} \]
Alternative 30
Accuracy22.9%
Cost585
\[\begin{array}{l} \mathbf{if}\;a \leq -4.5 \cdot 10^{-68} \lor \neg \left(a \leq 5 \cdot 10^{-61}\right):\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \end{array} \]
Alternative 31
Accuracy16.9%
Cost320
\[a \cdot \left(b \cdot i\right) \]

Error

Reproduce?

herbie shell --seed 2023133 
(FPCore (x y z t a b c i j)
  :name "Linear.Matrix:det33 from linear-1.19.1.3"
  :precision binary64

  :herbie-target
  (if (< t -8.120978919195912e-33) (- (* x (- (* z y) (* a t))) (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j))) (if (< t -4.712553818218485e-169) (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (/ (* j (- (pow (* c t) 2.0) (pow (* i y) 2.0))) (+ (* c t) (* i y)))) (if (< t -7.633533346031584e-308) (- (* x (- (* z y) (* a t))) (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j))) (if (< t 1.0535888557455487e-139) (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (/ (* j (- (pow (* c t) 2.0) (pow (* i y) 2.0))) (+ (* c t) (* i y)))) (- (* x (- (* z y) (* a t))) (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j)))))))

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