| Alternative 1 | |
|---|---|
| Accuracy | 33.5% |
| Cost | 3304 |

(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(+
(-
(+
(+
(-
(* (- (* x y) (* z t)) (- (* a b) (* c i)))
(* (- (* x j) (* z k)) (- (* y0 b) (* y1 i))))
(* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a))))
(* (- (* t j) (* y k)) (- (* y4 b) (* y5 i))))
(* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a))))
(* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y y3) (* t y2)))
(t_2 (- (* x y2) (* z y3)))
(t_3 (* y0 t_2)))
(if (<= y1 -1.2e+291)
(* y2 (+ (* x (- (* c y0) (* a y1))) (* a (* t y5))))
(if (<= y1 -1.9e+179)
(* y4 (* y1 (- (* k y2) (* j y3))))
(if (<= y1 -3.1e+19)
(* y3 (* j (- (* y0 y5) (* y1 y4))))
(if (<= y1 -1.12e-35)
(* c (+ t_3 (* y4 t_1)))
(if (<= y1 4.2e-273)
(*
j
(+
(+ (* t (- (* b y4) (* i y5))) (* y0 (- (* y3 y5) (* x b))))
(* y1 (- (* x i) (* y3 y4)))))
(if (<= y1 2.4e-99)
(* y0 (* c t_2))
(if (<= y1 0.00047)
(* y4 (* t (- (* b j) (* c y2))))
(if (<= y1 4.1e+58)
(* z (* c (- (* t i) (* y0 y3))))
(if (<= y1 4.7e+104)
(* x (* j (- (* i y1) (* b y0))))
(if (<= y1 1.5e+148)
(*
y4
(+
(-
(* b (- (* t j) (* y k)))
(* y1 (- (* j y3) (* k y2))))
(* c t_1)))
(if (<= y1 3e+211)
(* c t_3)
(if (<= y1 8.2e+244)
(* k (* y (- (* i y5) (* b y4))))
(* y2 (* y1 (- (* k y4) (* x a))))))))))))))))))double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y * y3) - (t * y2);
double t_2 = (x * y2) - (z * y3);
double t_3 = y0 * t_2;
double tmp;
if (y1 <= -1.2e+291) {
tmp = y2 * ((x * ((c * y0) - (a * y1))) + (a * (t * y5)));
} else if (y1 <= -1.9e+179) {
tmp = y4 * (y1 * ((k * y2) - (j * y3)));
} else if (y1 <= -3.1e+19) {
tmp = y3 * (j * ((y0 * y5) - (y1 * y4)));
} else if (y1 <= -1.12e-35) {
tmp = c * (t_3 + (y4 * t_1));
} else if (y1 <= 4.2e-273) {
tmp = j * (((t * ((b * y4) - (i * y5))) + (y0 * ((y3 * y5) - (x * b)))) + (y1 * ((x * i) - (y3 * y4))));
} else if (y1 <= 2.4e-99) {
tmp = y0 * (c * t_2);
} else if (y1 <= 0.00047) {
tmp = y4 * (t * ((b * j) - (c * y2)));
} else if (y1 <= 4.1e+58) {
tmp = z * (c * ((t * i) - (y0 * y3)));
} else if (y1 <= 4.7e+104) {
tmp = x * (j * ((i * y1) - (b * y0)));
} else if (y1 <= 1.5e+148) {
tmp = y4 * (((b * ((t * j) - (y * k))) - (y1 * ((j * y3) - (k * y2)))) + (c * t_1));
} else if (y1 <= 3e+211) {
tmp = c * t_3;
} else if (y1 <= 8.2e+244) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else {
tmp = y2 * (y1 * ((k * y4) - (x * a)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
end function
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = (y * y3) - (t * y2)
t_2 = (x * y2) - (z * y3)
t_3 = y0 * t_2
if (y1 <= (-1.2d+291)) then
tmp = y2 * ((x * ((c * y0) - (a * y1))) + (a * (t * y5)))
else if (y1 <= (-1.9d+179)) then
tmp = y4 * (y1 * ((k * y2) - (j * y3)))
else if (y1 <= (-3.1d+19)) then
tmp = y3 * (j * ((y0 * y5) - (y1 * y4)))
else if (y1 <= (-1.12d-35)) then
tmp = c * (t_3 + (y4 * t_1))
else if (y1 <= 4.2d-273) then
tmp = j * (((t * ((b * y4) - (i * y5))) + (y0 * ((y3 * y5) - (x * b)))) + (y1 * ((x * i) - (y3 * y4))))
else if (y1 <= 2.4d-99) then
tmp = y0 * (c * t_2)
else if (y1 <= 0.00047d0) then
tmp = y4 * (t * ((b * j) - (c * y2)))
else if (y1 <= 4.1d+58) then
tmp = z * (c * ((t * i) - (y0 * y3)))
else if (y1 <= 4.7d+104) then
tmp = x * (j * ((i * y1) - (b * y0)))
else if (y1 <= 1.5d+148) then
tmp = y4 * (((b * ((t * j) - (y * k))) - (y1 * ((j * y3) - (k * y2)))) + (c * t_1))
else if (y1 <= 3d+211) then
tmp = c * t_3
else if (y1 <= 8.2d+244) then
tmp = k * (y * ((i * y5) - (b * y4)))
else
tmp = y2 * (y1 * ((k * y4) - (x * a)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y * y3) - (t * y2);
double t_2 = (x * y2) - (z * y3);
double t_3 = y0 * t_2;
double tmp;
if (y1 <= -1.2e+291) {
tmp = y2 * ((x * ((c * y0) - (a * y1))) + (a * (t * y5)));
} else if (y1 <= -1.9e+179) {
tmp = y4 * (y1 * ((k * y2) - (j * y3)));
} else if (y1 <= -3.1e+19) {
tmp = y3 * (j * ((y0 * y5) - (y1 * y4)));
} else if (y1 <= -1.12e-35) {
tmp = c * (t_3 + (y4 * t_1));
} else if (y1 <= 4.2e-273) {
tmp = j * (((t * ((b * y4) - (i * y5))) + (y0 * ((y3 * y5) - (x * b)))) + (y1 * ((x * i) - (y3 * y4))));
} else if (y1 <= 2.4e-99) {
tmp = y0 * (c * t_2);
} else if (y1 <= 0.00047) {
tmp = y4 * (t * ((b * j) - (c * y2)));
} else if (y1 <= 4.1e+58) {
tmp = z * (c * ((t * i) - (y0 * y3)));
} else if (y1 <= 4.7e+104) {
tmp = x * (j * ((i * y1) - (b * y0)));
} else if (y1 <= 1.5e+148) {
tmp = y4 * (((b * ((t * j) - (y * k))) - (y1 * ((j * y3) - (k * y2)))) + (c * t_1));
} else if (y1 <= 3e+211) {
tmp = c * t_3;
} else if (y1 <= 8.2e+244) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else {
tmp = y2 * (y1 * ((k * y4) - (x * a)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y * y3) - (t * y2) t_2 = (x * y2) - (z * y3) t_3 = y0 * t_2 tmp = 0 if y1 <= -1.2e+291: tmp = y2 * ((x * ((c * y0) - (a * y1))) + (a * (t * y5))) elif y1 <= -1.9e+179: tmp = y4 * (y1 * ((k * y2) - (j * y3))) elif y1 <= -3.1e+19: tmp = y3 * (j * ((y0 * y5) - (y1 * y4))) elif y1 <= -1.12e-35: tmp = c * (t_3 + (y4 * t_1)) elif y1 <= 4.2e-273: tmp = j * (((t * ((b * y4) - (i * y5))) + (y0 * ((y3 * y5) - (x * b)))) + (y1 * ((x * i) - (y3 * y4)))) elif y1 <= 2.4e-99: tmp = y0 * (c * t_2) elif y1 <= 0.00047: tmp = y4 * (t * ((b * j) - (c * y2))) elif y1 <= 4.1e+58: tmp = z * (c * ((t * i) - (y0 * y3))) elif y1 <= 4.7e+104: tmp = x * (j * ((i * y1) - (b * y0))) elif y1 <= 1.5e+148: tmp = y4 * (((b * ((t * j) - (y * k))) - (y1 * ((j * y3) - (k * y2)))) + (c * t_1)) elif y1 <= 3e+211: tmp = c * t_3 elif y1 <= 8.2e+244: tmp = k * (y * ((i * y5) - (b * y4))) else: tmp = y2 * (y1 * ((k * y4) - (x * a))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(y0 * b) - Float64(y1 * i)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(y0 * c) - Float64(y1 * a)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(y4 * c) - Float64(y5 * a)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0)))) end
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y * y3) - Float64(t * y2)) t_2 = Float64(Float64(x * y2) - Float64(z * y3)) t_3 = Float64(y0 * t_2) tmp = 0.0 if (y1 <= -1.2e+291) tmp = Float64(y2 * Float64(Float64(x * Float64(Float64(c * y0) - Float64(a * y1))) + Float64(a * Float64(t * y5)))); elseif (y1 <= -1.9e+179) tmp = Float64(y4 * Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))); elseif (y1 <= -3.1e+19) tmp = Float64(y3 * Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4)))); elseif (y1 <= -1.12e-35) tmp = Float64(c * Float64(t_3 + Float64(y4 * t_1))); elseif (y1 <= 4.2e-273) tmp = Float64(j * Float64(Float64(Float64(t * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))) + Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4))))); elseif (y1 <= 2.4e-99) tmp = Float64(y0 * Float64(c * t_2)); elseif (y1 <= 0.00047) tmp = Float64(y4 * Float64(t * Float64(Float64(b * j) - Float64(c * y2)))); elseif (y1 <= 4.1e+58) tmp = Float64(z * Float64(c * Float64(Float64(t * i) - Float64(y0 * y3)))); elseif (y1 <= 4.7e+104) tmp = Float64(x * Float64(j * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (y1 <= 1.5e+148) tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) - Float64(y1 * Float64(Float64(j * y3) - Float64(k * y2)))) + Float64(c * t_1))); elseif (y1 <= 3e+211) tmp = Float64(c * t_3); elseif (y1 <= 8.2e+244) tmp = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))); else tmp = Float64(y2 * Float64(y1 * Float64(Float64(k * y4) - Float64(x * a)))); end return tmp end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0))); end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y * y3) - (t * y2); t_2 = (x * y2) - (z * y3); t_3 = y0 * t_2; tmp = 0.0; if (y1 <= -1.2e+291) tmp = y2 * ((x * ((c * y0) - (a * y1))) + (a * (t * y5))); elseif (y1 <= -1.9e+179) tmp = y4 * (y1 * ((k * y2) - (j * y3))); elseif (y1 <= -3.1e+19) tmp = y3 * (j * ((y0 * y5) - (y1 * y4))); elseif (y1 <= -1.12e-35) tmp = c * (t_3 + (y4 * t_1)); elseif (y1 <= 4.2e-273) tmp = j * (((t * ((b * y4) - (i * y5))) + (y0 * ((y3 * y5) - (x * b)))) + (y1 * ((x * i) - (y3 * y4)))); elseif (y1 <= 2.4e-99) tmp = y0 * (c * t_2); elseif (y1 <= 0.00047) tmp = y4 * (t * ((b * j) - (c * y2))); elseif (y1 <= 4.1e+58) tmp = z * (c * ((t * i) - (y0 * y3))); elseif (y1 <= 4.7e+104) tmp = x * (j * ((i * y1) - (b * y0))); elseif (y1 <= 1.5e+148) tmp = y4 * (((b * ((t * j) - (y * k))) - (y1 * ((j * y3) - (k * y2)))) + (c * t_1)); elseif (y1 <= 3e+211) tmp = c * t_3; elseif (y1 <= 8.2e+244) tmp = k * (y * ((i * y5) - (b * y4))); else tmp = y2 * (y1 * ((k * y4) - (x * a))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y0 * t$95$2), $MachinePrecision]}, If[LessEqual[y1, -1.2e+291], N[(y2 * N[(N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(a * N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.9e+179], N[(y4 * N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -3.1e+19], N[(y3 * N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.12e-35], N[(c * N[(t$95$3 + N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 4.2e-273], N[(j * N[(N[(N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.4e-99], N[(y0 * N[(c * t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 0.00047], N[(y4 * N[(t * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 4.1e+58], N[(z * N[(c * N[(N[(t * i), $MachinePrecision] - N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 4.7e+104], N[(x * N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.5e+148], N[(y4 * N[(N[(N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y1 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 3e+211], N[(c * t$95$3), $MachinePrecision], If[LessEqual[y1, 8.2e+244], N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y2 * N[(y1 * N[(N[(k * y4), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]
\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\begin{array}{l}
t_1 := y \cdot y3 - t \cdot y2\\
t_2 := x \cdot y2 - z \cdot y3\\
t_3 := y0 \cdot t_2\\
\mathbf{if}\;y1 \leq -1.2 \cdot 10^{+291}:\\
\;\;\;\;y2 \cdot \left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + a \cdot \left(t \cdot y5\right)\right)\\
\mathbf{elif}\;y1 \leq -1.9 \cdot 10^{+179}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\mathbf{elif}\;y1 \leq -3.1 \cdot 10^{+19}:\\
\;\;\;\;y3 \cdot \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq -1.12 \cdot 10^{-35}:\\
\;\;\;\;c \cdot \left(t_3 + y4 \cdot t_1\right)\\
\mathbf{elif}\;y1 \leq 4.2 \cdot 10^{-273}:\\
\;\;\;\;j \cdot \left(\left(t \cdot \left(b \cdot y4 - i \cdot y5\right) + y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right) + y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq 2.4 \cdot 10^{-99}:\\
\;\;\;\;y0 \cdot \left(c \cdot t_2\right)\\
\mathbf{elif}\;y1 \leq 0.00047:\\
\;\;\;\;y4 \cdot \left(t \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq 4.1 \cdot 10^{+58}:\\
\;\;\;\;z \cdot \left(c \cdot \left(t \cdot i - y0 \cdot y3\right)\right)\\
\mathbf{elif}\;y1 \leq 4.7 \cdot 10^{+104}:\\
\;\;\;\;x \cdot \left(j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y1 \leq 1.5 \cdot 10^{+148}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) - y1 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) + c \cdot t_1\right)\\
\mathbf{elif}\;y1 \leq 3 \cdot 10^{+211}:\\
\;\;\;\;c \cdot t_3\\
\mathbf{elif}\;y1 \leq 8.2 \cdot 10^{+244}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y2 \cdot \left(y1 \cdot \left(k \cdot y4 - x \cdot a\right)\right)\\
\end{array}
Herbie found 41 alternatives:
| Alternative | Accuracy | Speedup |
|---|
Results
| Original | 30.1% |
|---|---|
| Target | 27.9% |
| Herbie | 33.5% |
if y1 < -1.2e291Initial program 16.7%
Simplified16.7%
[Start]16.7% | \[ \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\] |
|---|---|
associate-+l- [=>]16.7% | \[ \color{blue}{\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(\left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right) - \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\right)}
\] |
Taylor expanded in y2 around inf 66.7%
Taylor expanded in k around 0 92.2%
Taylor expanded in y4 around 0 92.2%
Simplified92.2%
[Start]92.2% | \[ \left(\left(c \cdot y0 - y1 \cdot a\right) \cdot x - -1 \cdot \left(a \cdot \left(t \cdot y5\right)\right)\right) \cdot y2
\] |
|---|---|
mul-1-neg [=>]92.2% | \[ \left(\left(c \cdot y0 - y1 \cdot a\right) \cdot x - \color{blue}{\left(-a \cdot \left(t \cdot y5\right)\right)}\right) \cdot y2
\] |
*-commutative [=>]92.2% | \[ \left(\left(c \cdot y0 - y1 \cdot a\right) \cdot x - \left(-a \cdot \color{blue}{\left(y5 \cdot t\right)}\right)\right) \cdot y2
\] |
if -1.2e291 < y1 < -1.9e179Initial program 11.5%
Simplified11.5%
[Start]11.5% | \[ \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\] |
|---|---|
associate-+l- [=>]11.5% | \[ \color{blue}{\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(\left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right) - \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\right)}
\] |
Taylor expanded in y4 around inf 58.0%
Taylor expanded in y1 around inf 65.6%
if -1.9e179 < y1 < -3.1e19Initial program 22.6%
Simplified29.0%
[Start]22.6% | \[ \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\] |
|---|---|
+-commutative [=>]22.6% | \[ \color{blue}{\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) + \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)}
\] |
fma-def [=>]22.6% | \[ \color{blue}{\mathsf{fma}\left(k \cdot y2 - j \cdot y3, y4 \cdot y1 - y5 \cdot y0, \left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)}
\] |
*-commutative [=>]22.6% | \[ \mathsf{fma}\left(k \cdot y2 - j \cdot y3, \color{blue}{y1 \cdot y4} - y5 \cdot y0, \left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)
\] |
*-commutative [=>]22.6% | \[ \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y1 \cdot y4 - \color{blue}{y0 \cdot y5}, \left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)
\] |
Taylor expanded in j around inf 45.3%
Taylor expanded in y3 around inf 49.6%
Simplified49.6%
[Start]49.6% | \[ -1 \cdot \left(y3 \cdot \left(j \cdot \left(y4 \cdot y1 - y0 \cdot y5\right)\right)\right)
\] |
|---|---|
associate-*r* [=>]49.6% | \[ \color{blue}{\left(-1 \cdot y3\right) \cdot \left(j \cdot \left(y4 \cdot y1 - y0 \cdot y5\right)\right)}
\] |
neg-mul-1 [<=]49.6% | \[ \color{blue}{\left(-y3\right)} \cdot \left(j \cdot \left(y4 \cdot y1 - y0 \cdot y5\right)\right)
\] |
*-commutative [=>]49.6% | \[ \left(-y3\right) \cdot \left(j \cdot \left(y4 \cdot y1 - \color{blue}{y5 \cdot y0}\right)\right)
\] |
if -3.1e19 < y1 < -1.12e-35Initial program 36.4%
Simplified36.4%
[Start]36.4% | \[ \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\] |
|---|---|
associate-+l- [=>]36.4% | \[ \color{blue}{\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(\left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right) - \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\right)}
\] |
Taylor expanded in c around inf 63.8%
Taylor expanded in i around 0 72.9%
if -1.12e-35 < y1 < 4.2000000000000004e-273Initial program 38.4%
Simplified38.4%
[Start]38.4% | \[ \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\] |
|---|---|
+-commutative [=>]38.4% | \[ \color{blue}{\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) + \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)}
\] |
fma-def [=>]38.4% | \[ \color{blue}{\mathsf{fma}\left(k \cdot y2 - j \cdot y3, y4 \cdot y1 - y5 \cdot y0, \left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)}
\] |
*-commutative [=>]38.4% | \[ \mathsf{fma}\left(k \cdot y2 - j \cdot y3, \color{blue}{y1 \cdot y4} - y5 \cdot y0, \left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)
\] |
*-commutative [=>]38.4% | \[ \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y1 \cdot y4 - \color{blue}{y0 \cdot y5}, \left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)
\] |
Taylor expanded in j around inf 47.7%
Taylor expanded in y1 around 0 59.5%
Simplified63.8%
[Start]59.5% | \[ \left(\left(y0 \cdot \left(y3 \cdot y5\right) + t \cdot \left(y4 \cdot b - i \cdot y5\right)\right) - y0 \cdot \left(b \cdot x\right)\right) \cdot j + \left(-1 \cdot \left(y4 \cdot y3\right) - -1 \cdot \left(i \cdot x\right)\right) \cdot \left(y1 \cdot j\right)
\] |
|---|---|
associate-*r* [=>]63.7% | \[ \left(\left(y0 \cdot \left(y3 \cdot y5\right) + t \cdot \left(y4 \cdot b - i \cdot y5\right)\right) - y0 \cdot \left(b \cdot x\right)\right) \cdot j + \color{blue}{\left(\left(-1 \cdot \left(y4 \cdot y3\right) - -1 \cdot \left(i \cdot x\right)\right) \cdot y1\right) \cdot j}
\] |
distribute-rgt-out [=>]63.8% | \[ \color{blue}{j \cdot \left(\left(\left(y0 \cdot \left(y3 \cdot y5\right) + t \cdot \left(y4 \cdot b - i \cdot y5\right)\right) - y0 \cdot \left(b \cdot x\right)\right) + \left(-1 \cdot \left(y4 \cdot y3\right) - -1 \cdot \left(i \cdot x\right)\right) \cdot y1\right)}
\] |
if 4.2000000000000004e-273 < y1 < 2.4e-99Initial program 24.4%
Simplified24.4%
[Start]24.4% | \[ \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\] |
|---|---|
associate-+l- [=>]24.4% | \[ \color{blue}{\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(\left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right) - \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\right)}
\] |
Taylor expanded in c around inf 44.7%
Taylor expanded in y0 around inf 50.6%
Simplified50.6%
[Start]50.6% | \[ c \cdot \left(y0 \cdot \left(y2 \cdot x - y3 \cdot z\right)\right)
\] |
|---|---|
*-commutative [=>]50.6% | \[ c \cdot \left(y0 \cdot \left(\color{blue}{x \cdot y2} - y3 \cdot z\right)\right)
\] |
*-commutative [<=]50.6% | \[ c \cdot \left(y0 \cdot \left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right)
\] |
*-commutative [=>]50.6% | \[ c \cdot \left(y0 \cdot \left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right)
\] |
Taylor expanded in c around 0 50.6%
Simplified52.8%
[Start]50.6% | \[ c \cdot \left(y0 \cdot \left(y2 \cdot x - y3 \cdot z\right)\right)
\] |
|---|---|
*-commutative [=>]50.6% | \[ c \cdot \left(y0 \cdot \left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right)
\] |
*-commutative [=>]50.6% | \[ \color{blue}{\left(y0 \cdot \left(y2 \cdot x - z \cdot y3\right)\right) \cdot c}
\] |
associate-*l* [=>]52.8% | \[ \color{blue}{y0 \cdot \left(\left(y2 \cdot x - z \cdot y3\right) \cdot c\right)}
\] |
*-commutative [=>]52.8% | \[ y0 \cdot \left(\left(\color{blue}{x \cdot y2} - z \cdot y3\right) \cdot c\right)
\] |
*-commutative [<=]52.8% | \[ y0 \cdot \left(\left(x \cdot y2 - \color{blue}{y3 \cdot z}\right) \cdot c\right)
\] |
if 2.4e-99 < y1 < 4.69999999999999986e-4Initial program 17.2%
Simplified17.2%
[Start]17.2% | \[ \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\] |
|---|---|
associate-+l- [=>]17.2% | \[ \color{blue}{\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(\left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right) - \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\right)}
\] |
Taylor expanded in y4 around inf 23.3%
Taylor expanded in t around inf 45.8%
if 4.69999999999999986e-4 < y1 < 4.1e58Initial program 15.7%
Simplified15.8%
[Start]15.7% | \[ \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\] |
|---|---|
associate-+l- [=>]15.8% | \[ \color{blue}{\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(\left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right) - \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\right)}
\] |
Taylor expanded in c around inf 31.9%
Taylor expanded in z around inf 58.6%
Simplified58.6%
[Start]58.6% | \[ c \cdot \left(\left(-1 \cdot \left(y0 \cdot y3\right) + i \cdot t\right) \cdot z\right)
\] |
|---|---|
associate-*r* [=>]58.6% | \[ \color{blue}{\left(c \cdot \left(-1 \cdot \left(y0 \cdot y3\right) + i \cdot t\right)\right) \cdot z}
\] |
+-commutative [=>]58.6% | \[ \left(c \cdot \color{blue}{\left(i \cdot t + -1 \cdot \left(y0 \cdot y3\right)\right)}\right) \cdot z
\] |
mul-1-neg [=>]58.6% | \[ \left(c \cdot \left(i \cdot t + \color{blue}{\left(-y0 \cdot y3\right)}\right)\right) \cdot z
\] |
unsub-neg [=>]58.6% | \[ \left(c \cdot \color{blue}{\left(i \cdot t - y0 \cdot y3\right)}\right) \cdot z
\] |
*-commutative [=>]58.6% | \[ \left(c \cdot \left(\color{blue}{t \cdot i} - y0 \cdot y3\right)\right) \cdot z
\] |
if 4.1e58 < y1 < 4.70000000000000017e104Initial program 49.8%
Simplified49.8%
[Start]49.8% | \[ \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\] |
|---|---|
+-commutative [=>]49.8% | \[ \color{blue}{\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) + \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)}
\] |
fma-def [=>]49.8% | \[ \color{blue}{\mathsf{fma}\left(k \cdot y2 - j \cdot y3, y4 \cdot y1 - y5 \cdot y0, \left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)}
\] |
*-commutative [=>]49.8% | \[ \mathsf{fma}\left(k \cdot y2 - j \cdot y3, \color{blue}{y1 \cdot y4} - y5 \cdot y0, \left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)
\] |
*-commutative [=>]49.8% | \[ \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y1 \cdot y4 - \color{blue}{y0 \cdot y5}, \left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)
\] |
Taylor expanded in j around inf 40.8%
Taylor expanded in x around inf 60.6%
Simplified60.7%
[Start]60.6% | \[ j \cdot \left(\left(y1 \cdot i - y0 \cdot b\right) \cdot x\right)
\] |
|---|---|
associate-*r* [=>]60.7% | \[ \color{blue}{\left(j \cdot \left(y1 \cdot i - y0 \cdot b\right)\right) \cdot x}
\] |
*-commutative [=>]60.7% | \[ \color{blue}{x \cdot \left(j \cdot \left(y1 \cdot i - y0 \cdot b\right)\right)}
\] |
*-commutative [=>]60.7% | \[ x \cdot \left(j \cdot \left(\color{blue}{i \cdot y1} - y0 \cdot b\right)\right)
\] |
*-commutative [=>]60.7% | \[ x \cdot \left(j \cdot \left(i \cdot y1 - \color{blue}{b \cdot y0}\right)\right)
\] |
if 4.70000000000000017e104 < y1 < 1.50000000000000007e148Initial program 15.4%
Simplified15.4%
[Start]15.4% | \[ \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\] |
|---|---|
associate-+l- [=>]15.4% | \[ \color{blue}{\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(\left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right) - \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\right)}
\] |
Taylor expanded in y4 around inf 70.1%
if 1.50000000000000007e148 < y1 < 3e211Initial program 0.0%
Simplified0.0%
[Start]0.0% | \[ \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\] |
|---|---|
associate-+l- [=>]0.0% | \[ \color{blue}{\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(\left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right) - \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\right)}
\] |
Taylor expanded in c around inf 27.4%
Taylor expanded in y0 around inf 82.0%
Simplified82.0%
[Start]82.0% | \[ c \cdot \left(y0 \cdot \left(y2 \cdot x - y3 \cdot z\right)\right)
\] |
|---|---|
*-commutative [=>]82.0% | \[ c \cdot \left(y0 \cdot \left(\color{blue}{x \cdot y2} - y3 \cdot z\right)\right)
\] |
*-commutative [<=]82.0% | \[ c \cdot \left(y0 \cdot \left(\color{blue}{y2 \cdot x} - y3 \cdot z\right)\right)
\] |
*-commutative [=>]82.0% | \[ c \cdot \left(y0 \cdot \left(y2 \cdot x - \color{blue}{z \cdot y3}\right)\right)
\] |
if 3e211 < y1 < 8.19999999999999985e244Initial program 12.5%
Simplified12.5%
[Start]12.5% | \[ \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\] |
|---|---|
+-commutative [=>]12.5% | \[ \color{blue}{\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) + \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)}
\] |
fma-def [=>]12.5% | \[ \color{blue}{\mathsf{fma}\left(k \cdot y2 - j \cdot y3, y4 \cdot y1 - y5 \cdot y0, \left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)}
\] |
*-commutative [=>]12.5% | \[ \mathsf{fma}\left(k \cdot y2 - j \cdot y3, \color{blue}{y1 \cdot y4} - y5 \cdot y0, \left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)
\] |
*-commutative [=>]12.5% | \[ \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y1 \cdot y4 - \color{blue}{y0 \cdot y5}, \left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)
\] |
Taylor expanded in y around inf 13.1%
Simplified13.1%
[Start]13.1% | \[ y \cdot \left(-1 \cdot \left(k \cdot \left(y4 \cdot b - i \cdot y5\right)\right) + \left(\left(a \cdot b - c \cdot i\right) \cdot x + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)
\] |
|---|---|
mul-1-neg [=>]13.1% | \[ y \cdot \left(\color{blue}{\left(-k \cdot \left(y4 \cdot b - i \cdot y5\right)\right)} + \left(\left(a \cdot b - c \cdot i\right) \cdot x + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)
\] |
Taylor expanded in k around inf 62.6%
if 8.19999999999999985e244 < y1 Initial program 27.1%
Simplified27.1%
[Start]27.1% | \[ \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\] |
|---|---|
associate-+l- [=>]27.1% | \[ \color{blue}{\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(\left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right) - \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\right)}
\] |
Taylor expanded in y2 around inf 38.3%
Taylor expanded in y1 around inf 55.7%
Simplified64.2%
[Start]55.7% | \[ y1 \cdot \left(\left(-1 \cdot \left(a \cdot x\right) + k \cdot y4\right) \cdot y2\right)
\] |
|---|---|
associate-*r* [=>]64.2% | \[ \color{blue}{\left(y1 \cdot \left(-1 \cdot \left(a \cdot x\right) + k \cdot y4\right)\right) \cdot y2}
\] |
+-commutative [=>]64.2% | \[ \left(y1 \cdot \color{blue}{\left(k \cdot y4 + -1 \cdot \left(a \cdot x\right)\right)}\right) \cdot y2
\] |
mul-1-neg [=>]64.2% | \[ \left(y1 \cdot \left(k \cdot y4 + \color{blue}{\left(-a \cdot x\right)}\right)\right) \cdot y2
\] |
unsub-neg [=>]64.2% | \[ \left(y1 \cdot \color{blue}{\left(k \cdot y4 - a \cdot x\right)}\right) \cdot y2
\] |
*-commutative [=>]64.2% | \[ \left(y1 \cdot \left(\color{blue}{y4 \cdot k} - a \cdot x\right)\right) \cdot y2
\] |
Final simplification60.7%
| Alternative 1 | |
|---|---|
| Accuracy | 33.5% |
| Cost | 3304 |
| Alternative 2 | |
|---|---|
| Accuracy | 53.5% |
| Cost | 12228 |
| Alternative 3 | |
|---|---|
| Accuracy | 53.5% |
| Cost | 12228 |
| Alternative 4 | |
|---|---|
| Accuracy | 33.2% |
| Cost | 3436 |
| Alternative 5 | |
|---|---|
| Accuracy | 32.9% |
| Cost | 3436 |
| Alternative 6 | |
|---|---|
| Accuracy | 33.2% |
| Cost | 3436 |
| Alternative 7 | |
|---|---|
| Accuracy | 35.8% |
| Cost | 3304 |
| Alternative 8 | |
|---|---|
| Accuracy | 35.5% |
| Cost | 3040 |
| Alternative 9 | |
|---|---|
| Accuracy | 33.9% |
| Cost | 2776 |
| Alternative 10 | |
|---|---|
| Accuracy | 36.5% |
| Cost | 2776 |
| Alternative 11 | |
|---|---|
| Accuracy | 37.8% |
| Cost | 2776 |
| Alternative 12 | |
|---|---|
| Accuracy | 37.3% |
| Cost | 2776 |
| Alternative 13 | |
|---|---|
| Accuracy | 36.6% |
| Cost | 2776 |
| Alternative 14 | |
|---|---|
| Accuracy | 33.9% |
| Cost | 2532 |
| Alternative 15 | |
|---|---|
| Accuracy | 32.4% |
| Cost | 2512 |
| Alternative 16 | |
|---|---|
| Accuracy | 28.8% |
| Cost | 1892 |
| Alternative 17 | |
|---|---|
| Accuracy | 31.1% |
| Cost | 1892 |
| Alternative 18 | |
|---|---|
| Accuracy | 32.3% |
| Cost | 1892 |
| Alternative 19 | |
|---|---|
| Accuracy | 20.9% |
| Cost | 1832 |
| Alternative 20 | |
|---|---|
| Accuracy | 20.9% |
| Cost | 1832 |
| Alternative 21 | |
|---|---|
| Accuracy | 30.5% |
| Cost | 1760 |
| Alternative 22 | |
|---|---|
| Accuracy | 30.9% |
| Cost | 1760 |
| Alternative 23 | |
|---|---|
| Accuracy | 27.9% |
| Cost | 1628 |
| Alternative 24 | |
|---|---|
| Accuracy | 29.2% |
| Cost | 1628 |
| Alternative 25 | |
|---|---|
| Accuracy | 31.2% |
| Cost | 1628 |
| Alternative 26 | |
|---|---|
| Accuracy | 31.3% |
| Cost | 1628 |
| Alternative 27 | |
|---|---|
| Accuracy | 21.6% |
| Cost | 1568 |
| Alternative 28 | |
|---|---|
| Accuracy | 26.3% |
| Cost | 1496 |
| Alternative 29 | |
|---|---|
| Accuracy | 28.2% |
| Cost | 1496 |
| Alternative 30 | |
|---|---|
| Accuracy | 24.8% |
| Cost | 1364 |
| Alternative 31 | |
|---|---|
| Accuracy | 32.1% |
| Cost | 1364 |
| Alternative 32 | |
|---|---|
| Accuracy | 24.9% |
| Cost | 1232 |
| Alternative 33 | |
|---|---|
| Accuracy | 21.2% |
| Cost | 1040 |
| Alternative 34 | |
|---|---|
| Accuracy | 20.8% |
| Cost | 976 |
| Alternative 35 | |
|---|---|
| Accuracy | 21.0% |
| Cost | 976 |
| Alternative 36 | |
|---|---|
| Accuracy | 21.4% |
| Cost | 844 |
| Alternative 37 | |
|---|---|
| Accuracy | 20.9% |
| Cost | 844 |
| Alternative 38 | |
|---|---|
| Accuracy | 20.4% |
| Cost | 844 |
| Alternative 39 | |
|---|---|
| Accuracy | 20.7% |
| Cost | 844 |
| Alternative 40 | |
|---|---|
| Accuracy | 20.8% |
| Cost | 713 |
| Alternative 41 | |
|---|---|
| Accuracy | 16.5% |
| Cost | 448 |
herbie shell --seed 2023165
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:name "Linear.Matrix:det44 from linear-1.19.1.3"
:precision binary64
:herbie-target
(if (< y4 -7.206256231996481e+60) (- (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))))) (- (/ (- (* y2 t) (* y3 y)) (/ 1.0 (- (* y4 c) (* y5 a)))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (if (< y4 -3.364603505246317e-66) (+ (- (- (- (* (* t c) (* i z)) (* (* a t) (* b z))) (* (* y c) (* i x))) (* (- (* b y0) (* i y1)) (- (* j x) (* k z)))) (- (* (- (* y0 c) (* a y1)) (- (* x y2) (* z y3))) (- (* (- (* t y2) (* y y3)) (- (* y4 c) (* a y5))) (* (- (* y1 y4) (* y5 y0)) (- (* k y2) (* j y3)))))) (if (< y4 -1.2000065055686116e-105) (+ (+ (- (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))) (* (* y3 y) (- (* y5 a) (* y4 c)))) (+ (* (* y5 a) (* t y2)) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))) (- (* (- (* b y0) (* i y1)) (- (* j x) (* k z))) (* (- (* y x) (* z t)) (- (* b a) (* i c)))))) (if (< y4 6.718963124057495e-279) (+ (- (- (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k))) (* (* y5 t) (* i j))) (- (* (- (* y2 t) (* y3 y)) (- (* y4 c) (* y5 a))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))) (if (< y4 4.77962681403792e-222) (+ (+ (- (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))) (* (* y3 y) (- (* y5 a) (* y4 c)))) (+ (* (* y5 a) (* t y2)) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))) (- (* (- (* b y0) (* i y1)) (- (* j x) (* k z))) (* (- (* y x) (* z t)) (- (* b a) (* i c)))))) (if (< y4 2.2852241541266835e-175) (+ (- (- (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k))) (* (* y5 t) (* i j))) (- (* (- (* y2 t) (* y3 y)) (- (* y4 c) (* y5 a))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))) (+ (- (+ (+ (- (* (- (* x y) (* z t)) (- (* a b) (* c i))) (- (* k (* i (* z y1))) (+ (* j (* i (* x y1))) (* y0 (* k (* z b)))))) (- (* z (* y3 (* a y1))) (+ (* y2 (* x (* a y1))) (* y0 (* z (* c y3)))))) (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i)))) (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a)))) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))))))))
(+ (- (+ (+ (- (* (- (* x y) (* z t)) (- (* a b) (* c i))) (* (- (* x j) (* z k)) (- (* y0 b) (* y1 i)))) (* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a)))) (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i)))) (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a)))) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))