Linear.Matrix:det33 from linear-1.19.1.3

Percentage Accurate: 73.1% → 79.8%
Time: 36.1s
Alternatives: 33
Speedup: 0.5×

Specification

?
\[\begin{array}{l} \\ \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) \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)))))
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)));
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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
    code = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)))
end function
public static 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)));
}
def code(x, y, z, t, a, b, c, i, j):
	return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)))
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 tmp = code(x, y, z, t, a, b, c, i, j)
	tmp = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)));
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]
\begin{array}{l}

\\
\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)
\end{array}

Sampling outcomes in binary64 precision:

Local Percentage Accuracy vs ?

The average percentage accuracy by input value. Horizontal axis shows value of an input variable; the variable is choosen in the title. Vertical axis is accuracy; higher is better. Red represent the original program, while blue represents Herbie's suggestion. These can be toggled with buttons below the plot. The line is an average while dots represent individual samples.

Accuracy vs Speed?

Herbie found 33 alternatives:

AlternativeAccuracySpeedup
The accuracy (vertical axis) and speed (horizontal axis) of each alternatives. Up and to the right is better. The red square shows the initial program, and each blue circle shows an alternative.The line shows the best available speed-accuracy tradeoffs.

Initial Program: 73.1% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \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) \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)))))
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)));
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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
    code = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)))
end function
public static 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)));
}
def code(x, y, z, t, a, b, c, i, j):
	return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)))
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 tmp = code(x, y, z, t, a, b, c, i, j)
	tmp = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)));
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]
\begin{array}{l}

\\
\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)
\end{array}

Alternative 1: 79.8% accurate, 0.2× speedup?

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

\\
\begin{array}{l}
t_1 := x \cdot \left(y \cdot z - t \cdot a\right)\\
t_2 := \left(t\_1 + b \cdot \left(a \cdot i - z \cdot c\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\
\mathbf{if}\;t\_2 \leq 5 \cdot 10^{+295}:\\
\;\;\;\;t\_2\\

\mathbf{else}:\\
\;\;\;\;i \cdot \left(a \cdot b + \left(\frac{\mathsf{fma}\left(c, t \cdot j - z \cdot b, t\_1\right)}{i} - y \cdot j\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 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)))) < 4.99999999999999991e295

    1. Initial program 91.6%

      \[\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. Add Preprocessing

    if 4.99999999999999991e295 < (+.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 38.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. Step-by-step derivation
      1. +-commutative38.7%

        \[\leadsto \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)} \]
      2. fma-define42.5%

        \[\leadsto \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)} \]
      3. *-commutative42.5%

        \[\leadsto \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) \]
      4. *-commutative42.5%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv42.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub42.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg42.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg42.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative42.5%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative42.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out42.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg42.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative42.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative42.5%

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

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

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

      \[\leadsto \color{blue}{\left(\left(j \cdot y - \frac{\mathsf{fma}\left(c, j \cdot t - b \cdot z, x \cdot \left(y \cdot z - t \cdot a\right)\right)}{i}\right) - b \cdot a\right) \cdot \left(-i\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification82.6%

    \[\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 5 \cdot 10^{+295}:\\ \;\;\;\;\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{else}:\\ \;\;\;\;i \cdot \left(a \cdot b + \left(\frac{\mathsf{fma}\left(c, t \cdot j - z \cdot b, x \cdot \left(y \cdot z - t \cdot a\right)\right)}{i} - y \cdot j\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 2: 82.0% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \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 \infty:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(c \cdot \left(\frac{x \cdot y}{c} - b\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1
         (+
          (+ (* x (- (* y z) (* t a))) (* b (- (* a i) (* z c))))
          (* j (- (* t c) (* y i))))))
   (if (<= t_1 INFINITY) t_1 (* z (* c (- (/ (* x y) c) b))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = ((x * ((y * z) - (t * a))) + (b * ((a * i) - (z * c)))) + (j * ((t * c) - (y * i)));
	double tmp;
	if (t_1 <= ((double) INFINITY)) {
		tmp = t_1;
	} else {
		tmp = z * (c * (((x * y) / c) - b));
	}
	return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = ((x * ((y * z) - (t * a))) + (b * ((a * i) - (z * c)))) + (j * ((t * c) - (y * i)));
	double tmp;
	if (t_1 <= Double.POSITIVE_INFINITY) {
		tmp = t_1;
	} else {
		tmp = z * (c * (((x * y) / c) - b));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = ((x * ((y * z) - (t * a))) + (b * ((a * i) - (z * c)))) + (j * ((t * c) - (y * i)))
	tmp = 0
	if t_1 <= math.inf:
		tmp = t_1
	else:
		tmp = z * (c * (((x * y) / c) - b))
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) + Float64(b * Float64(Float64(a * i) - Float64(z * c)))) + Float64(j * Float64(Float64(t * c) - Float64(y * i))))
	tmp = 0.0
	if (t_1 <= Inf)
		tmp = t_1;
	else
		tmp = Float64(z * Float64(c * Float64(Float64(Float64(x * y) / c) - b)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = ((x * ((y * z) - (t * a))) + (b * ((a * i) - (z * c)))) + (j * ((t * c) - (y * i)));
	tmp = 0.0;
	if (t_1 <= Inf)
		tmp = t_1;
	else
		tmp = z * (c * (((x * y) / c) - b));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(z * N[(c * N[(N[(N[(x * y), $MachinePrecision] / c), $MachinePrecision] - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\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 \infty:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;z \cdot \left(c \cdot \left(\frac{x \cdot y}{c} - b\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 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 89.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. Add Preprocessing

    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))))

    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. Step-by-step derivation
      1. +-commutative0.0%

        \[\leadsto \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)} \]
      2. fma-define7.1%

        \[\leadsto \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)} \]
      3. *-commutative7.1%

        \[\leadsto \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) \]
      4. *-commutative7.1%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv7.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub7.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg7.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg7.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative7.1%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative7.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out7.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg7.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative7.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative7.1%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 32.2%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*30.4%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*30.4%

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

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*34.0%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in37.5%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg37.5%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg37.5%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative37.5%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative37.5%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified37.5%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in z around inf 51.0%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
    9. Step-by-step derivation
      1. *-commutative51.0%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) \]
    10. Simplified51.0%

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x - b \cdot c\right)} \]
    11. Taylor expanded in c around inf 52.7%

      \[\leadsto z \cdot \color{blue}{\left(c \cdot \left(\frac{x \cdot y}{c} - b\right)\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification81.4%

    \[\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:\\ \;\;\;\;\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{else}:\\ \;\;\;\;z \cdot \left(c \cdot \left(\frac{x \cdot y}{c} - b\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 3: 50.3% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \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)\\ t_3 := z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{if}\;z \leq -1.6 \cdot 10^{+102}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;z \leq -5 \cdot 10^{+40}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -10600000000000:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;z \leq -4.9 \cdot 10^{-119}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;z \leq -4.1 \cdot 10^{-206}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;z \leq 5 \cdot 10^{-260}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 1.5 \cdot 10^{-211}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;z \leq 1.45 \cdot 10^{-174}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;z \leq 2.2 \cdot 10^{+16}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;z \leq 3.8 \cdot 10^{+147}:\\ \;\;\;\;t\_2\\ \mathbf{else}:\\ \;\;\;\;t\_3\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* j (- (* t c) (* y i))))
        (t_2 (* b (- (* a i) (* z c))))
        (t_3 (* z (- (* x y) (* b c)))))
   (if (<= z -1.6e+102)
     t_3
     (if (<= z -5e+40)
       t_1
       (if (<= z -10600000000000.0)
         t_3
         (if (<= z -4.9e-119)
           (* y (- (* x z) (* i j)))
           (if (<= z -4.1e-206)
             t_2
             (if (<= z 5e-260)
               t_1
               (if (<= z 1.5e-211)
                 (* a (- (* b i) (* x t)))
                 (if (<= z 1.45e-174)
                   (* i (- (* a b) (* y j)))
                   (if (<= z 2.2e+16)
                     (* t (- (* c j) (* x a)))
                     (if (<= z 3.8e+147) t_2 t_3))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = j * ((t * c) - (y * i));
	double t_2 = b * ((a * i) - (z * c));
	double t_3 = z * ((x * y) - (b * c));
	double tmp;
	if (z <= -1.6e+102) {
		tmp = t_3;
	} else if (z <= -5e+40) {
		tmp = t_1;
	} else if (z <= -10600000000000.0) {
		tmp = t_3;
	} else if (z <= -4.9e-119) {
		tmp = y * ((x * z) - (i * j));
	} else if (z <= -4.1e-206) {
		tmp = t_2;
	} else if (z <= 5e-260) {
		tmp = t_1;
	} else if (z <= 1.5e-211) {
		tmp = a * ((b * i) - (x * t));
	} else if (z <= 1.45e-174) {
		tmp = i * ((a * b) - (y * j));
	} else if (z <= 2.2e+16) {
		tmp = t * ((c * j) - (x * a));
	} else if (z <= 3.8e+147) {
		tmp = t_2;
	} else {
		tmp = t_3;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = j * ((t * c) - (y * i))
    t_2 = b * ((a * i) - (z * c))
    t_3 = z * ((x * y) - (b * c))
    if (z <= (-1.6d+102)) then
        tmp = t_3
    else if (z <= (-5d+40)) then
        tmp = t_1
    else if (z <= (-10600000000000.0d0)) then
        tmp = t_3
    else if (z <= (-4.9d-119)) then
        tmp = y * ((x * z) - (i * j))
    else if (z <= (-4.1d-206)) then
        tmp = t_2
    else if (z <= 5d-260) then
        tmp = t_1
    else if (z <= 1.5d-211) then
        tmp = a * ((b * i) - (x * t))
    else if (z <= 1.45d-174) then
        tmp = i * ((a * b) - (y * j))
    else if (z <= 2.2d+16) then
        tmp = t * ((c * j) - (x * a))
    else if (z <= 3.8d+147) then
        tmp = t_2
    else
        tmp = t_3
    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 t_1 = j * ((t * c) - (y * i));
	double t_2 = b * ((a * i) - (z * c));
	double t_3 = z * ((x * y) - (b * c));
	double tmp;
	if (z <= -1.6e+102) {
		tmp = t_3;
	} else if (z <= -5e+40) {
		tmp = t_1;
	} else if (z <= -10600000000000.0) {
		tmp = t_3;
	} else if (z <= -4.9e-119) {
		tmp = y * ((x * z) - (i * j));
	} else if (z <= -4.1e-206) {
		tmp = t_2;
	} else if (z <= 5e-260) {
		tmp = t_1;
	} else if (z <= 1.5e-211) {
		tmp = a * ((b * i) - (x * t));
	} else if (z <= 1.45e-174) {
		tmp = i * ((a * b) - (y * j));
	} else if (z <= 2.2e+16) {
		tmp = t * ((c * j) - (x * a));
	} else if (z <= 3.8e+147) {
		tmp = t_2;
	} else {
		tmp = t_3;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = j * ((t * c) - (y * i))
	t_2 = b * ((a * i) - (z * c))
	t_3 = z * ((x * y) - (b * c))
	tmp = 0
	if z <= -1.6e+102:
		tmp = t_3
	elif z <= -5e+40:
		tmp = t_1
	elif z <= -10600000000000.0:
		tmp = t_3
	elif z <= -4.9e-119:
		tmp = y * ((x * z) - (i * j))
	elif z <= -4.1e-206:
		tmp = t_2
	elif z <= 5e-260:
		tmp = t_1
	elif z <= 1.5e-211:
		tmp = a * ((b * i) - (x * t))
	elif z <= 1.45e-174:
		tmp = i * ((a * b) - (y * j))
	elif z <= 2.2e+16:
		tmp = t * ((c * j) - (x * a))
	elif z <= 3.8e+147:
		tmp = t_2
	else:
		tmp = t_3
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(j * Float64(Float64(t * c) - Float64(y * i)))
	t_2 = Float64(b * Float64(Float64(a * i) - Float64(z * c)))
	t_3 = Float64(z * Float64(Float64(x * y) - Float64(b * c)))
	tmp = 0.0
	if (z <= -1.6e+102)
		tmp = t_3;
	elseif (z <= -5e+40)
		tmp = t_1;
	elseif (z <= -10600000000000.0)
		tmp = t_3;
	elseif (z <= -4.9e-119)
		tmp = Float64(y * Float64(Float64(x * z) - Float64(i * j)));
	elseif (z <= -4.1e-206)
		tmp = t_2;
	elseif (z <= 5e-260)
		tmp = t_1;
	elseif (z <= 1.5e-211)
		tmp = Float64(a * Float64(Float64(b * i) - Float64(x * t)));
	elseif (z <= 1.45e-174)
		tmp = Float64(i * Float64(Float64(a * b) - Float64(y * j)));
	elseif (z <= 2.2e+16)
		tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a)));
	elseif (z <= 3.8e+147)
		tmp = t_2;
	else
		tmp = t_3;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = j * ((t * c) - (y * i));
	t_2 = b * ((a * i) - (z * c));
	t_3 = z * ((x * y) - (b * c));
	tmp = 0.0;
	if (z <= -1.6e+102)
		tmp = t_3;
	elseif (z <= -5e+40)
		tmp = t_1;
	elseif (z <= -10600000000000.0)
		tmp = t_3;
	elseif (z <= -4.9e-119)
		tmp = y * ((x * z) - (i * j));
	elseif (z <= -4.1e-206)
		tmp = t_2;
	elseif (z <= 5e-260)
		tmp = t_1;
	elseif (z <= 1.5e-211)
		tmp = a * ((b * i) - (x * t));
	elseif (z <= 1.45e-174)
		tmp = i * ((a * b) - (y * j));
	elseif (z <= 2.2e+16)
		tmp = t * ((c * j) - (x * a));
	elseif (z <= 3.8e+147)
		tmp = t_2;
	else
		tmp = t_3;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.6e+102], t$95$3, If[LessEqual[z, -5e+40], t$95$1, If[LessEqual[z, -10600000000000.0], t$95$3, If[LessEqual[z, -4.9e-119], N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -4.1e-206], t$95$2, If[LessEqual[z, 5e-260], t$95$1, If[LessEqual[z, 1.5e-211], N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.45e-174], N[(i * N[(N[(a * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.2e+16], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.8e+147], t$95$2, t$95$3]]]]]]]]]]]]]
\begin{array}{l}

\\
\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)\\
t_3 := z \cdot \left(x \cdot y - b \cdot c\right)\\
\mathbf{if}\;z \leq -1.6 \cdot 10^{+102}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;z \leq -5 \cdot 10^{+40}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq -10600000000000:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;z \leq -4.9 \cdot 10^{-119}:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\

\mathbf{elif}\;z \leq -4.1 \cdot 10^{-206}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;z \leq 5 \cdot 10^{-260}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq 1.5 \cdot 10^{-211}:\\
\;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\

\mathbf{elif}\;z \leq 1.45 \cdot 10^{-174}:\\
\;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\

\mathbf{elif}\;z \leq 2.2 \cdot 10^{+16}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\

\mathbf{elif}\;z \leq 3.8 \cdot 10^{+147}:\\
\;\;\;\;t\_2\\

\mathbf{else}:\\
\;\;\;\;t\_3\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if z < -1.6e102 or -5.00000000000000003e40 < z < -1.06e13 or 3.7999999999999997e147 < z

    1. Initial program 56.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. Step-by-step derivation
      1. +-commutative56.0%

        \[\leadsto \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)} \]
      2. fma-define59.7%

        \[\leadsto \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)} \]
      3. *-commutative59.7%

        \[\leadsto \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) \]
      4. *-commutative59.7%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub59.7%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative59.7%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative59.7%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 51.3%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*48.8%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*48.8%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative48.8%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*51.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in52.5%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg52.5%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg52.5%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative52.5%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative52.5%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified52.5%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in z around inf 73.3%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
    9. Step-by-step derivation
      1. *-commutative73.3%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) \]
    10. Simplified73.3%

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x - b \cdot c\right)} \]

    if -1.6e102 < z < -5.00000000000000003e40 or -4.10000000000000016e-206 < z < 5.0000000000000003e-260

    1. Initial program 70.8%

      \[\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. Add Preprocessing
    3. Taylor expanded in t around inf 66.4%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in a around 0 66.4%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]

    if -1.06e13 < z < -4.9e-119

    1. Initial program 84.1%

      \[\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. Step-by-step derivation
      1. +-commutative84.1%

        \[\leadsto \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)} \]
      2. fma-define84.1%

        \[\leadsto \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)} \]
      3. *-commutative84.1%

        \[\leadsto \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) \]
      4. *-commutative84.1%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative84.1%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative84.1%

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

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

      \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)} \]
    6. Step-by-step derivation
      1. +-commutative61.9%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} \]
      2. mul-1-neg61.9%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) \]
      3. unsub-neg61.9%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} \]
      4. *-commutative61.9%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) \]
    7. Simplified61.9%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right)} \]

    if -4.9e-119 < z < -4.10000000000000016e-206 or 2.2e16 < z < 3.7999999999999997e147

    1. Initial program 73.1%

      \[\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. Step-by-step derivation
      1. +-commutative73.1%

        \[\leadsto \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)} \]
      2. fma-define75.0%

        \[\leadsto \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)} \]
      3. *-commutative75.0%

        \[\leadsto \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) \]
      4. *-commutative75.0%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv75.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub75.0%

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out75.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg75.0%

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

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

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 74.9%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*74.8%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*74.8%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative74.8%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*74.7%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in76.7%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg76.7%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg76.7%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative76.7%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative76.7%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified76.7%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in b around inf 64.1%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i - c \cdot z\right)} \]
    9. Step-by-step derivation
      1. *-commutative64.1%

        \[\leadsto b \cdot \left(\color{blue}{i \cdot a} - c \cdot z\right) \]
      2. *-commutative64.1%

        \[\leadsto b \cdot \left(i \cdot a - \color{blue}{z \cdot c}\right) \]
    10. Simplified64.1%

      \[\leadsto \color{blue}{b \cdot \left(i \cdot a - z \cdot c\right)} \]

    if 5.0000000000000003e-260 < z < 1.50000000000000002e-211

    1. Initial program 88.9%

      \[\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. Add Preprocessing
    3. Taylor expanded in a around -inf 100.0%

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

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right)} \]
    5. Step-by-step derivation
      1. associate-*r*76.5%

        \[\leadsto \color{blue}{\left(-1 \cdot a\right) \cdot \left(t \cdot x - b \cdot i\right)} \]
      2. neg-mul-176.5%

        \[\leadsto \color{blue}{\left(-a\right)} \cdot \left(t \cdot x - b \cdot i\right) \]
      3. *-commutative76.5%

        \[\leadsto \left(-a\right) \cdot \left(\color{blue}{x \cdot t} - b \cdot i\right) \]
      4. *-commutative76.5%

        \[\leadsto \left(-a\right) \cdot \left(x \cdot t - \color{blue}{i \cdot b}\right) \]
    6. Simplified76.5%

      \[\leadsto \color{blue}{\left(-a\right) \cdot \left(x \cdot t - i \cdot b\right)} \]

    if 1.50000000000000002e-211 < z < 1.45000000000000005e-174

    1. Initial program 30.6%

      \[\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. Add Preprocessing
    3. Taylor expanded in a around -inf 86.5%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in t around 0 85.6%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + a \cdot \left(b \cdot i\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg85.6%

        \[\leadsto \color{blue}{\left(-i \cdot \left(j \cdot y\right)\right)} + a \cdot \left(b \cdot i\right) \]
      2. *-commutative85.6%

        \[\leadsto \left(-\color{blue}{\left(j \cdot y\right) \cdot i}\right) + a \cdot \left(b \cdot i\right) \]
      3. distribute-lft-neg-in85.6%

        \[\leadsto \color{blue}{\left(-j \cdot y\right) \cdot i} + a \cdot \left(b \cdot i\right) \]
      4. mul-1-neg85.6%

        \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right)\right)} \cdot i + a \cdot \left(b \cdot i\right) \]
      5. associate-*r*85.8%

        \[\leadsto \left(-1 \cdot \left(j \cdot y\right)\right) \cdot i + \color{blue}{\left(a \cdot b\right) \cdot i} \]
      6. distribute-rgt-in85.8%

        \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) + a \cdot b\right)} \]
      7. +-commutative85.8%

        \[\leadsto i \cdot \color{blue}{\left(a \cdot b + -1 \cdot \left(j \cdot y\right)\right)} \]
      8. mul-1-neg85.8%

        \[\leadsto i \cdot \left(a \cdot b + \color{blue}{\left(-j \cdot y\right)}\right) \]
      9. unsub-neg85.8%

        \[\leadsto i \cdot \color{blue}{\left(a \cdot b - j \cdot y\right)} \]
      10. *-commutative85.8%

        \[\leadsto i \cdot \left(a \cdot b - \color{blue}{y \cdot j}\right) \]
    6. Simplified85.8%

      \[\leadsto \color{blue}{i \cdot \left(a \cdot b - y \cdot j\right)} \]

    if 1.45000000000000005e-174 < z < 2.2e16

    1. Initial program 86.3%

      \[\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. Step-by-step derivation
      1. +-commutative86.3%

        \[\leadsto \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)} \]
      2. fma-define86.3%

        \[\leadsto \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)} \]
      3. *-commutative86.3%

        \[\leadsto \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) \]
      4. *-commutative86.3%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative86.3%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative86.3%

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

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

      \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} \]
    6. Step-by-step derivation
      1. +-commutative68.9%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} \]
      2. mul-1-neg68.9%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) \]
      3. unsub-neg68.9%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} \]
      4. *-commutative68.9%

        \[\leadsto t \cdot \left(\color{blue}{j \cdot c} - a \cdot x\right) \]
    7. Simplified68.9%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot c - a \cdot x\right)} \]
  3. Recombined 7 regimes into one program.
  4. Final simplification68.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -1.6 \cdot 10^{+102}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq -5 \cdot 10^{+40}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;z \leq -10600000000000:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq -4.9 \cdot 10^{-119}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;z \leq -4.1 \cdot 10^{-206}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;z \leq 5 \cdot 10^{-260}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;z \leq 1.5 \cdot 10^{-211}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;z \leq 1.45 \cdot 10^{-174}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;z \leq 2.2 \cdot 10^{+16}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;z \leq 3.8 \cdot 10^{+147}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 4: 50.2% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{if}\;z \leq -5.1 \cdot 10^{+101}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;z \leq -6.8 \cdot 10^{+39}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;z \leq -5900000000000:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;z \leq -1.75 \cdot 10^{-118}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;z \leq -1.1 \cdot 10^{-206}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 3 \cdot 10^{-261}:\\ \;\;\;\;j \cdot \left(i \cdot \left(\frac{t \cdot c}{i} - y\right)\right)\\ \mathbf{elif}\;z \leq 1.55 \cdot 10^{-211}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;z \leq 1.9 \cdot 10^{-175}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;z \leq 2.4 \cdot 10^{+16}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;z \leq 3.8 \cdot 10^{+147}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* b (- (* a i) (* z c)))) (t_2 (* z (- (* x y) (* b c)))))
   (if (<= z -5.1e+101)
     t_2
     (if (<= z -6.8e+39)
       (* j (- (* t c) (* y i)))
       (if (<= z -5900000000000.0)
         t_2
         (if (<= z -1.75e-118)
           (* y (- (* x z) (* i j)))
           (if (<= z -1.1e-206)
             t_1
             (if (<= z 3e-261)
               (* j (* i (- (/ (* t c) i) y)))
               (if (<= z 1.55e-211)
                 (* a (- (* b i) (* x t)))
                 (if (<= z 1.9e-175)
                   (* i (- (* a b) (* y j)))
                   (if (<= z 2.4e+16)
                     (* t (- (* c j) (* x a)))
                     (if (<= z 3.8e+147) t_1 t_2))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = b * ((a * i) - (z * c));
	double t_2 = z * ((x * y) - (b * c));
	double tmp;
	if (z <= -5.1e+101) {
		tmp = t_2;
	} else if (z <= -6.8e+39) {
		tmp = j * ((t * c) - (y * i));
	} else if (z <= -5900000000000.0) {
		tmp = t_2;
	} else if (z <= -1.75e-118) {
		tmp = y * ((x * z) - (i * j));
	} else if (z <= -1.1e-206) {
		tmp = t_1;
	} else if (z <= 3e-261) {
		tmp = j * (i * (((t * c) / i) - y));
	} else if (z <= 1.55e-211) {
		tmp = a * ((b * i) - (x * t));
	} else if (z <= 1.9e-175) {
		tmp = i * ((a * b) - (y * j));
	} else if (z <= 2.4e+16) {
		tmp = t * ((c * j) - (x * a));
	} else if (z <= 3.8e+147) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = b * ((a * i) - (z * c))
    t_2 = z * ((x * y) - (b * c))
    if (z <= (-5.1d+101)) then
        tmp = t_2
    else if (z <= (-6.8d+39)) then
        tmp = j * ((t * c) - (y * i))
    else if (z <= (-5900000000000.0d0)) then
        tmp = t_2
    else if (z <= (-1.75d-118)) then
        tmp = y * ((x * z) - (i * j))
    else if (z <= (-1.1d-206)) then
        tmp = t_1
    else if (z <= 3d-261) then
        tmp = j * (i * (((t * c) / i) - y))
    else if (z <= 1.55d-211) then
        tmp = a * ((b * i) - (x * t))
    else if (z <= 1.9d-175) then
        tmp = i * ((a * b) - (y * j))
    else if (z <= 2.4d+16) then
        tmp = t * ((c * j) - (x * a))
    else if (z <= 3.8d+147) then
        tmp = t_1
    else
        tmp = t_2
    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 t_1 = b * ((a * i) - (z * c));
	double t_2 = z * ((x * y) - (b * c));
	double tmp;
	if (z <= -5.1e+101) {
		tmp = t_2;
	} else if (z <= -6.8e+39) {
		tmp = j * ((t * c) - (y * i));
	} else if (z <= -5900000000000.0) {
		tmp = t_2;
	} else if (z <= -1.75e-118) {
		tmp = y * ((x * z) - (i * j));
	} else if (z <= -1.1e-206) {
		tmp = t_1;
	} else if (z <= 3e-261) {
		tmp = j * (i * (((t * c) / i) - y));
	} else if (z <= 1.55e-211) {
		tmp = a * ((b * i) - (x * t));
	} else if (z <= 1.9e-175) {
		tmp = i * ((a * b) - (y * j));
	} else if (z <= 2.4e+16) {
		tmp = t * ((c * j) - (x * a));
	} else if (z <= 3.8e+147) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = b * ((a * i) - (z * c))
	t_2 = z * ((x * y) - (b * c))
	tmp = 0
	if z <= -5.1e+101:
		tmp = t_2
	elif z <= -6.8e+39:
		tmp = j * ((t * c) - (y * i))
	elif z <= -5900000000000.0:
		tmp = t_2
	elif z <= -1.75e-118:
		tmp = y * ((x * z) - (i * j))
	elif z <= -1.1e-206:
		tmp = t_1
	elif z <= 3e-261:
		tmp = j * (i * (((t * c) / i) - y))
	elif z <= 1.55e-211:
		tmp = a * ((b * i) - (x * t))
	elif z <= 1.9e-175:
		tmp = i * ((a * b) - (y * j))
	elif z <= 2.4e+16:
		tmp = t * ((c * j) - (x * a))
	elif z <= 3.8e+147:
		tmp = t_1
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(b * Float64(Float64(a * i) - Float64(z * c)))
	t_2 = Float64(z * Float64(Float64(x * y) - Float64(b * c)))
	tmp = 0.0
	if (z <= -5.1e+101)
		tmp = t_2;
	elseif (z <= -6.8e+39)
		tmp = Float64(j * Float64(Float64(t * c) - Float64(y * i)));
	elseif (z <= -5900000000000.0)
		tmp = t_2;
	elseif (z <= -1.75e-118)
		tmp = Float64(y * Float64(Float64(x * z) - Float64(i * j)));
	elseif (z <= -1.1e-206)
		tmp = t_1;
	elseif (z <= 3e-261)
		tmp = Float64(j * Float64(i * Float64(Float64(Float64(t * c) / i) - y)));
	elseif (z <= 1.55e-211)
		tmp = Float64(a * Float64(Float64(b * i) - Float64(x * t)));
	elseif (z <= 1.9e-175)
		tmp = Float64(i * Float64(Float64(a * b) - Float64(y * j)));
	elseif (z <= 2.4e+16)
		tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a)));
	elseif (z <= 3.8e+147)
		tmp = t_1;
	else
		tmp = t_2;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = b * ((a * i) - (z * c));
	t_2 = z * ((x * y) - (b * c));
	tmp = 0.0;
	if (z <= -5.1e+101)
		tmp = t_2;
	elseif (z <= -6.8e+39)
		tmp = j * ((t * c) - (y * i));
	elseif (z <= -5900000000000.0)
		tmp = t_2;
	elseif (z <= -1.75e-118)
		tmp = y * ((x * z) - (i * j));
	elseif (z <= -1.1e-206)
		tmp = t_1;
	elseif (z <= 3e-261)
		tmp = j * (i * (((t * c) / i) - y));
	elseif (z <= 1.55e-211)
		tmp = a * ((b * i) - (x * t));
	elseif (z <= 1.9e-175)
		tmp = i * ((a * b) - (y * j));
	elseif (z <= 2.4e+16)
		tmp = t * ((c * j) - (x * a));
	elseif (z <= 3.8e+147)
		tmp = t_1;
	else
		tmp = t_2;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -5.1e+101], t$95$2, If[LessEqual[z, -6.8e+39], N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -5900000000000.0], t$95$2, If[LessEqual[z, -1.75e-118], N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.1e-206], t$95$1, If[LessEqual[z, 3e-261], N[(j * N[(i * N[(N[(N[(t * c), $MachinePrecision] / i), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.55e-211], N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.9e-175], N[(i * N[(N[(a * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.4e+16], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.8e+147], t$95$1, t$95$2]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\
t_2 := z \cdot \left(x \cdot y - b \cdot c\right)\\
\mathbf{if}\;z \leq -5.1 \cdot 10^{+101}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;z \leq -6.8 \cdot 10^{+39}:\\
\;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\

\mathbf{elif}\;z \leq -5900000000000:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;z \leq -1.75 \cdot 10^{-118}:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\

\mathbf{elif}\;z \leq -1.1 \cdot 10^{-206}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq 3 \cdot 10^{-261}:\\
\;\;\;\;j \cdot \left(i \cdot \left(\frac{t \cdot c}{i} - y\right)\right)\\

\mathbf{elif}\;z \leq 1.55 \cdot 10^{-211}:\\
\;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\

\mathbf{elif}\;z \leq 1.9 \cdot 10^{-175}:\\
\;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\

\mathbf{elif}\;z \leq 2.4 \cdot 10^{+16}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\

\mathbf{elif}\;z \leq 3.8 \cdot 10^{+147}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;t\_2\\


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if z < -5.09999999999999995e101 or -6.7999999999999998e39 < z < -5.9e12 or 3.7999999999999997e147 < z

    1. Initial program 56.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. Step-by-step derivation
      1. +-commutative56.0%

        \[\leadsto \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)} \]
      2. fma-define59.7%

        \[\leadsto \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)} \]
      3. *-commutative59.7%

        \[\leadsto \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) \]
      4. *-commutative59.7%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub59.7%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative59.7%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative59.7%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 51.3%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*48.8%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*48.8%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative48.8%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*51.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in52.5%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg52.5%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg52.5%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative52.5%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative52.5%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified52.5%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in z around inf 73.3%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
    9. Step-by-step derivation
      1. *-commutative73.3%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) \]
    10. Simplified73.3%

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x - b \cdot c\right)} \]

    if -5.09999999999999995e101 < z < -6.7999999999999998e39

    1. Initial program 37.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. Add Preprocessing
    3. Taylor expanded in t around inf 87.6%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in a around 0 75.2%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]

    if -5.9e12 < z < -1.75e-118

    1. Initial program 84.1%

      \[\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. Step-by-step derivation
      1. +-commutative84.1%

        \[\leadsto \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)} \]
      2. fma-define84.1%

        \[\leadsto \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)} \]
      3. *-commutative84.1%

        \[\leadsto \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) \]
      4. *-commutative84.1%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative84.1%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative84.1%

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

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

      \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)} \]
    6. Step-by-step derivation
      1. +-commutative61.9%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} \]
      2. mul-1-neg61.9%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) \]
      3. unsub-neg61.9%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} \]
      4. *-commutative61.9%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) \]
    7. Simplified61.9%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right)} \]

    if -1.75e-118 < z < -1.0999999999999999e-206 or 2.4e16 < z < 3.7999999999999997e147

    1. Initial program 73.1%

      \[\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. Step-by-step derivation
      1. +-commutative73.1%

        \[\leadsto \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)} \]
      2. fma-define75.0%

        \[\leadsto \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)} \]
      3. *-commutative75.0%

        \[\leadsto \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) \]
      4. *-commutative75.0%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv75.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub75.0%

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out75.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg75.0%

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

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

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 74.9%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*74.8%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*74.8%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative74.8%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*74.7%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in76.7%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg76.7%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg76.7%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative76.7%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative76.7%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified76.7%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in b around inf 64.1%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i - c \cdot z\right)} \]
    9. Step-by-step derivation
      1. *-commutative64.1%

        \[\leadsto b \cdot \left(\color{blue}{i \cdot a} - c \cdot z\right) \]
      2. *-commutative64.1%

        \[\leadsto b \cdot \left(i \cdot a - \color{blue}{z \cdot c}\right) \]
    10. Simplified64.1%

      \[\leadsto \color{blue}{b \cdot \left(i \cdot a - z \cdot c\right)} \]

    if -1.0999999999999999e-206 < z < 3.0000000000000001e-261

    1. Initial program 78.9%

      \[\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. Add Preprocessing
    3. Taylor expanded in t around inf 61.3%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in a around 0 64.3%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
    5. Taylor expanded in i around inf 64.5%

      \[\leadsto j \cdot \color{blue}{\left(i \cdot \left(\frac{c \cdot t}{i} - y\right)\right)} \]

    if 3.0000000000000001e-261 < z < 1.54999999999999998e-211

    1. Initial program 88.9%

      \[\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. Add Preprocessing
    3. Taylor expanded in a around -inf 100.0%

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

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right)} \]
    5. Step-by-step derivation
      1. associate-*r*76.5%

        \[\leadsto \color{blue}{\left(-1 \cdot a\right) \cdot \left(t \cdot x - b \cdot i\right)} \]
      2. neg-mul-176.5%

        \[\leadsto \color{blue}{\left(-a\right)} \cdot \left(t \cdot x - b \cdot i\right) \]
      3. *-commutative76.5%

        \[\leadsto \left(-a\right) \cdot \left(\color{blue}{x \cdot t} - b \cdot i\right) \]
      4. *-commutative76.5%

        \[\leadsto \left(-a\right) \cdot \left(x \cdot t - \color{blue}{i \cdot b}\right) \]
    6. Simplified76.5%

      \[\leadsto \color{blue}{\left(-a\right) \cdot \left(x \cdot t - i \cdot b\right)} \]

    if 1.54999999999999998e-211 < z < 1.9e-175

    1. Initial program 30.6%

      \[\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. Add Preprocessing
    3. Taylor expanded in a around -inf 86.5%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in t around 0 85.6%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + a \cdot \left(b \cdot i\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg85.6%

        \[\leadsto \color{blue}{\left(-i \cdot \left(j \cdot y\right)\right)} + a \cdot \left(b \cdot i\right) \]
      2. *-commutative85.6%

        \[\leadsto \left(-\color{blue}{\left(j \cdot y\right) \cdot i}\right) + a \cdot \left(b \cdot i\right) \]
      3. distribute-lft-neg-in85.6%

        \[\leadsto \color{blue}{\left(-j \cdot y\right) \cdot i} + a \cdot \left(b \cdot i\right) \]
      4. mul-1-neg85.6%

        \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right)\right)} \cdot i + a \cdot \left(b \cdot i\right) \]
      5. associate-*r*85.8%

        \[\leadsto \left(-1 \cdot \left(j \cdot y\right)\right) \cdot i + \color{blue}{\left(a \cdot b\right) \cdot i} \]
      6. distribute-rgt-in85.8%

        \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) + a \cdot b\right)} \]
      7. +-commutative85.8%

        \[\leadsto i \cdot \color{blue}{\left(a \cdot b + -1 \cdot \left(j \cdot y\right)\right)} \]
      8. mul-1-neg85.8%

        \[\leadsto i \cdot \left(a \cdot b + \color{blue}{\left(-j \cdot y\right)}\right) \]
      9. unsub-neg85.8%

        \[\leadsto i \cdot \color{blue}{\left(a \cdot b - j \cdot y\right)} \]
      10. *-commutative85.8%

        \[\leadsto i \cdot \left(a \cdot b - \color{blue}{y \cdot j}\right) \]
    6. Simplified85.8%

      \[\leadsto \color{blue}{i \cdot \left(a \cdot b - y \cdot j\right)} \]

    if 1.9e-175 < z < 2.4e16

    1. Initial program 86.3%

      \[\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. Step-by-step derivation
      1. +-commutative86.3%

        \[\leadsto \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)} \]
      2. fma-define86.3%

        \[\leadsto \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)} \]
      3. *-commutative86.3%

        \[\leadsto \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) \]
      4. *-commutative86.3%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative86.3%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative86.3%

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

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

      \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} \]
    6. Step-by-step derivation
      1. +-commutative68.9%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} \]
      2. mul-1-neg68.9%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) \]
      3. unsub-neg68.9%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} \]
      4. *-commutative68.9%

        \[\leadsto t \cdot \left(\color{blue}{j \cdot c} - a \cdot x\right) \]
    7. Simplified68.9%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot c - a \cdot x\right)} \]
  3. Recombined 8 regimes into one program.
  4. Final simplification68.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -5.1 \cdot 10^{+101}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq -6.8 \cdot 10^{+39}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;z \leq -5900000000000:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq -1.75 \cdot 10^{-118}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;z \leq -1.1 \cdot 10^{-206}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;z \leq 3 \cdot 10^{-261}:\\ \;\;\;\;j \cdot \left(i \cdot \left(\frac{t \cdot c}{i} - y\right)\right)\\ \mathbf{elif}\;z \leq 1.55 \cdot 10^{-211}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;z \leq 1.9 \cdot 10^{-175}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;z \leq 2.4 \cdot 10^{+16}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;z \leq 3.8 \cdot 10^{+147}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 5: 50.1% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{if}\;z \leq -2.25 \cdot 10^{+102}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -1.65 \cdot 10^{+43}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;z \leq -9000000000000:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -4 \cdot 10^{-118}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;z \leq -1.02 \cdot 10^{-206}:\\ \;\;\;\;\left(b \cdot i\right) \cdot \left(a - \frac{z \cdot c}{i}\right)\\ \mathbf{elif}\;z \leq 8.5 \cdot 10^{-261}:\\ \;\;\;\;j \cdot \left(i \cdot \left(\frac{t \cdot c}{i} - y\right)\right)\\ \mathbf{elif}\;z \leq 1.5 \cdot 10^{-211}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;z \leq 4.2 \cdot 10^{-168}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;z \leq 2.55 \cdot 10^{+16}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;z \leq 3.8 \cdot 10^{+147}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* z (- (* x y) (* b c)))))
   (if (<= z -2.25e+102)
     t_1
     (if (<= z -1.65e+43)
       (* j (- (* t c) (* y i)))
       (if (<= z -9000000000000.0)
         t_1
         (if (<= z -4e-118)
           (* y (- (* x z) (* i j)))
           (if (<= z -1.02e-206)
             (* (* b i) (- a (/ (* z c) i)))
             (if (<= z 8.5e-261)
               (* j (* i (- (/ (* t c) i) y)))
               (if (<= z 1.5e-211)
                 (* a (- (* b i) (* x t)))
                 (if (<= z 4.2e-168)
                   (* i (- (* a b) (* y j)))
                   (if (<= z 2.55e+16)
                     (* t (- (* c j) (* x a)))
                     (if (<= z 3.8e+147)
                       (* b (- (* a i) (* z c)))
                       t_1))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = z * ((x * y) - (b * c));
	double tmp;
	if (z <= -2.25e+102) {
		tmp = t_1;
	} else if (z <= -1.65e+43) {
		tmp = j * ((t * c) - (y * i));
	} else if (z <= -9000000000000.0) {
		tmp = t_1;
	} else if (z <= -4e-118) {
		tmp = y * ((x * z) - (i * j));
	} else if (z <= -1.02e-206) {
		tmp = (b * i) * (a - ((z * c) / i));
	} else if (z <= 8.5e-261) {
		tmp = j * (i * (((t * c) / i) - y));
	} else if (z <= 1.5e-211) {
		tmp = a * ((b * i) - (x * t));
	} else if (z <= 4.2e-168) {
		tmp = i * ((a * b) - (y * j));
	} else if (z <= 2.55e+16) {
		tmp = t * ((c * j) - (x * a));
	} else if (z <= 3.8e+147) {
		tmp = b * ((a * i) - (z * c));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: tmp
    t_1 = z * ((x * y) - (b * c))
    if (z <= (-2.25d+102)) then
        tmp = t_1
    else if (z <= (-1.65d+43)) then
        tmp = j * ((t * c) - (y * i))
    else if (z <= (-9000000000000.0d0)) then
        tmp = t_1
    else if (z <= (-4d-118)) then
        tmp = y * ((x * z) - (i * j))
    else if (z <= (-1.02d-206)) then
        tmp = (b * i) * (a - ((z * c) / i))
    else if (z <= 8.5d-261) then
        tmp = j * (i * (((t * c) / i) - y))
    else if (z <= 1.5d-211) then
        tmp = a * ((b * i) - (x * t))
    else if (z <= 4.2d-168) then
        tmp = i * ((a * b) - (y * j))
    else if (z <= 2.55d+16) then
        tmp = t * ((c * j) - (x * a))
    else if (z <= 3.8d+147) then
        tmp = b * ((a * i) - (z * c))
    else
        tmp = t_1
    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 t_1 = z * ((x * y) - (b * c));
	double tmp;
	if (z <= -2.25e+102) {
		tmp = t_1;
	} else if (z <= -1.65e+43) {
		tmp = j * ((t * c) - (y * i));
	} else if (z <= -9000000000000.0) {
		tmp = t_1;
	} else if (z <= -4e-118) {
		tmp = y * ((x * z) - (i * j));
	} else if (z <= -1.02e-206) {
		tmp = (b * i) * (a - ((z * c) / i));
	} else if (z <= 8.5e-261) {
		tmp = j * (i * (((t * c) / i) - y));
	} else if (z <= 1.5e-211) {
		tmp = a * ((b * i) - (x * t));
	} else if (z <= 4.2e-168) {
		tmp = i * ((a * b) - (y * j));
	} else if (z <= 2.55e+16) {
		tmp = t * ((c * j) - (x * a));
	} else if (z <= 3.8e+147) {
		tmp = b * ((a * i) - (z * c));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = z * ((x * y) - (b * c))
	tmp = 0
	if z <= -2.25e+102:
		tmp = t_1
	elif z <= -1.65e+43:
		tmp = j * ((t * c) - (y * i))
	elif z <= -9000000000000.0:
		tmp = t_1
	elif z <= -4e-118:
		tmp = y * ((x * z) - (i * j))
	elif z <= -1.02e-206:
		tmp = (b * i) * (a - ((z * c) / i))
	elif z <= 8.5e-261:
		tmp = j * (i * (((t * c) / i) - y))
	elif z <= 1.5e-211:
		tmp = a * ((b * i) - (x * t))
	elif z <= 4.2e-168:
		tmp = i * ((a * b) - (y * j))
	elif z <= 2.55e+16:
		tmp = t * ((c * j) - (x * a))
	elif z <= 3.8e+147:
		tmp = b * ((a * i) - (z * c))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(z * Float64(Float64(x * y) - Float64(b * c)))
	tmp = 0.0
	if (z <= -2.25e+102)
		tmp = t_1;
	elseif (z <= -1.65e+43)
		tmp = Float64(j * Float64(Float64(t * c) - Float64(y * i)));
	elseif (z <= -9000000000000.0)
		tmp = t_1;
	elseif (z <= -4e-118)
		tmp = Float64(y * Float64(Float64(x * z) - Float64(i * j)));
	elseif (z <= -1.02e-206)
		tmp = Float64(Float64(b * i) * Float64(a - Float64(Float64(z * c) / i)));
	elseif (z <= 8.5e-261)
		tmp = Float64(j * Float64(i * Float64(Float64(Float64(t * c) / i) - y)));
	elseif (z <= 1.5e-211)
		tmp = Float64(a * Float64(Float64(b * i) - Float64(x * t)));
	elseif (z <= 4.2e-168)
		tmp = Float64(i * Float64(Float64(a * b) - Float64(y * j)));
	elseif (z <= 2.55e+16)
		tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a)));
	elseif (z <= 3.8e+147)
		tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c)));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = z * ((x * y) - (b * c));
	tmp = 0.0;
	if (z <= -2.25e+102)
		tmp = t_1;
	elseif (z <= -1.65e+43)
		tmp = j * ((t * c) - (y * i));
	elseif (z <= -9000000000000.0)
		tmp = t_1;
	elseif (z <= -4e-118)
		tmp = y * ((x * z) - (i * j));
	elseif (z <= -1.02e-206)
		tmp = (b * i) * (a - ((z * c) / i));
	elseif (z <= 8.5e-261)
		tmp = j * (i * (((t * c) / i) - y));
	elseif (z <= 1.5e-211)
		tmp = a * ((b * i) - (x * t));
	elseif (z <= 4.2e-168)
		tmp = i * ((a * b) - (y * j));
	elseif (z <= 2.55e+16)
		tmp = t * ((c * j) - (x * a));
	elseif (z <= 3.8e+147)
		tmp = b * ((a * i) - (z * c));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -2.25e+102], t$95$1, If[LessEqual[z, -1.65e+43], N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -9000000000000.0], t$95$1, If[LessEqual[z, -4e-118], N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.02e-206], N[(N[(b * i), $MachinePrecision] * N[(a - N[(N[(z * c), $MachinePrecision] / i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 8.5e-261], N[(j * N[(i * N[(N[(N[(t * c), $MachinePrecision] / i), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.5e-211], N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4.2e-168], N[(i * N[(N[(a * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.55e+16], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.8e+147], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := z \cdot \left(x \cdot y - b \cdot c\right)\\
\mathbf{if}\;z \leq -2.25 \cdot 10^{+102}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq -1.65 \cdot 10^{+43}:\\
\;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\

\mathbf{elif}\;z \leq -9000000000000:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq -4 \cdot 10^{-118}:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\

\mathbf{elif}\;z \leq -1.02 \cdot 10^{-206}:\\
\;\;\;\;\left(b \cdot i\right) \cdot \left(a - \frac{z \cdot c}{i}\right)\\

\mathbf{elif}\;z \leq 8.5 \cdot 10^{-261}:\\
\;\;\;\;j \cdot \left(i \cdot \left(\frac{t \cdot c}{i} - y\right)\right)\\

\mathbf{elif}\;z \leq 1.5 \cdot 10^{-211}:\\
\;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\

\mathbf{elif}\;z \leq 4.2 \cdot 10^{-168}:\\
\;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\

\mathbf{elif}\;z \leq 2.55 \cdot 10^{+16}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\

\mathbf{elif}\;z \leq 3.8 \cdot 10^{+147}:\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 9 regimes
  2. if z < -2.2500000000000001e102 or -1.6500000000000001e43 < z < -9e12 or 3.7999999999999997e147 < z

    1. Initial program 56.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. Step-by-step derivation
      1. +-commutative56.0%

        \[\leadsto \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)} \]
      2. fma-define59.7%

        \[\leadsto \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)} \]
      3. *-commutative59.7%

        \[\leadsto \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) \]
      4. *-commutative59.7%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub59.7%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative59.7%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative59.7%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 51.3%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*48.8%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*48.8%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative48.8%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*51.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in52.5%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg52.5%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg52.5%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative52.5%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative52.5%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified52.5%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in z around inf 73.3%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
    9. Step-by-step derivation
      1. *-commutative73.3%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) \]
    10. Simplified73.3%

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x - b \cdot c\right)} \]

    if -2.2500000000000001e102 < z < -1.6500000000000001e43

    1. Initial program 37.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. Add Preprocessing
    3. Taylor expanded in t around inf 87.6%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in a around 0 75.2%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]

    if -9e12 < z < -3.99999999999999994e-118

    1. Initial program 84.1%

      \[\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. Step-by-step derivation
      1. +-commutative84.1%

        \[\leadsto \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)} \]
      2. fma-define84.1%

        \[\leadsto \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)} \]
      3. *-commutative84.1%

        \[\leadsto \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) \]
      4. *-commutative84.1%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative84.1%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative84.1%

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

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

      \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)} \]
    6. Step-by-step derivation
      1. +-commutative61.9%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} \]
      2. mul-1-neg61.9%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) \]
      3. unsub-neg61.9%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} \]
      4. *-commutative61.9%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) \]
    7. Simplified61.9%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right)} \]

    if -3.99999999999999994e-118 < z < -1.0200000000000001e-206

    1. Initial program 72.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. Step-by-step derivation
      1. +-commutative72.7%

        \[\leadsto \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)} \]
      2. fma-define72.7%

        \[\leadsto \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)} \]
      3. *-commutative72.7%

        \[\leadsto \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) \]
      4. *-commutative72.7%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv72.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub72.7%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg72.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative72.7%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative72.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out72.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg72.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative72.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative72.7%

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

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

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

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

      \[\leadsto \color{blue}{b \cdot \left(i \cdot \left(a + -1 \cdot \frac{c \cdot z}{i}\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*51.2%

        \[\leadsto \color{blue}{\left(b \cdot i\right) \cdot \left(a + -1 \cdot \frac{c \cdot z}{i}\right)} \]
      2. *-commutative51.2%

        \[\leadsto \color{blue}{\left(i \cdot b\right)} \cdot \left(a + -1 \cdot \frac{c \cdot z}{i}\right) \]
      3. mul-1-neg51.2%

        \[\leadsto \left(i \cdot b\right) \cdot \left(a + \color{blue}{\left(-\frac{c \cdot z}{i}\right)}\right) \]
      4. unsub-neg51.2%

        \[\leadsto \left(i \cdot b\right) \cdot \color{blue}{\left(a - \frac{c \cdot z}{i}\right)} \]
      5. *-commutative51.2%

        \[\leadsto \left(i \cdot b\right) \cdot \left(a - \frac{\color{blue}{z \cdot c}}{i}\right) \]
    9. Simplified51.2%

      \[\leadsto \color{blue}{\left(i \cdot b\right) \cdot \left(a - \frac{z \cdot c}{i}\right)} \]

    if -1.0200000000000001e-206 < z < 8.4999999999999996e-261

    1. Initial program 78.9%

      \[\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. Add Preprocessing
    3. Taylor expanded in t around inf 61.3%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in a around 0 64.3%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
    5. Taylor expanded in i around inf 64.5%

      \[\leadsto j \cdot \color{blue}{\left(i \cdot \left(\frac{c \cdot t}{i} - y\right)\right)} \]

    if 8.4999999999999996e-261 < z < 1.50000000000000002e-211

    1. Initial program 88.9%

      \[\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. Add Preprocessing
    3. Taylor expanded in a around -inf 100.0%

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

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right)} \]
    5. Step-by-step derivation
      1. associate-*r*76.5%

        \[\leadsto \color{blue}{\left(-1 \cdot a\right) \cdot \left(t \cdot x - b \cdot i\right)} \]
      2. neg-mul-176.5%

        \[\leadsto \color{blue}{\left(-a\right)} \cdot \left(t \cdot x - b \cdot i\right) \]
      3. *-commutative76.5%

        \[\leadsto \left(-a\right) \cdot \left(\color{blue}{x \cdot t} - b \cdot i\right) \]
      4. *-commutative76.5%

        \[\leadsto \left(-a\right) \cdot \left(x \cdot t - \color{blue}{i \cdot b}\right) \]
    6. Simplified76.5%

      \[\leadsto \color{blue}{\left(-a\right) \cdot \left(x \cdot t - i \cdot b\right)} \]

    if 1.50000000000000002e-211 < z < 4.19999999999999988e-168

    1. Initial program 30.6%

      \[\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. Add Preprocessing
    3. Taylor expanded in a around -inf 86.5%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in t around 0 85.6%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + a \cdot \left(b \cdot i\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg85.6%

        \[\leadsto \color{blue}{\left(-i \cdot \left(j \cdot y\right)\right)} + a \cdot \left(b \cdot i\right) \]
      2. *-commutative85.6%

        \[\leadsto \left(-\color{blue}{\left(j \cdot y\right) \cdot i}\right) + a \cdot \left(b \cdot i\right) \]
      3. distribute-lft-neg-in85.6%

        \[\leadsto \color{blue}{\left(-j \cdot y\right) \cdot i} + a \cdot \left(b \cdot i\right) \]
      4. mul-1-neg85.6%

        \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right)\right)} \cdot i + a \cdot \left(b \cdot i\right) \]
      5. associate-*r*85.8%

        \[\leadsto \left(-1 \cdot \left(j \cdot y\right)\right) \cdot i + \color{blue}{\left(a \cdot b\right) \cdot i} \]
      6. distribute-rgt-in85.8%

        \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) + a \cdot b\right)} \]
      7. +-commutative85.8%

        \[\leadsto i \cdot \color{blue}{\left(a \cdot b + -1 \cdot \left(j \cdot y\right)\right)} \]
      8. mul-1-neg85.8%

        \[\leadsto i \cdot \left(a \cdot b + \color{blue}{\left(-j \cdot y\right)}\right) \]
      9. unsub-neg85.8%

        \[\leadsto i \cdot \color{blue}{\left(a \cdot b - j \cdot y\right)} \]
      10. *-commutative85.8%

        \[\leadsto i \cdot \left(a \cdot b - \color{blue}{y \cdot j}\right) \]
    6. Simplified85.8%

      \[\leadsto \color{blue}{i \cdot \left(a \cdot b - y \cdot j\right)} \]

    if 4.19999999999999988e-168 < z < 2.55e16

    1. Initial program 86.3%

      \[\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. Step-by-step derivation
      1. +-commutative86.3%

        \[\leadsto \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)} \]
      2. fma-define86.3%

        \[\leadsto \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)} \]
      3. *-commutative86.3%

        \[\leadsto \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) \]
      4. *-commutative86.3%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative86.3%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative86.3%

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

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

      \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} \]
    6. Step-by-step derivation
      1. +-commutative68.9%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} \]
      2. mul-1-neg68.9%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) \]
      3. unsub-neg68.9%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} \]
      4. *-commutative68.9%

        \[\leadsto t \cdot \left(\color{blue}{j \cdot c} - a \cdot x\right) \]
    7. Simplified68.9%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot c - a \cdot x\right)} \]

    if 2.55e16 < z < 3.7999999999999997e147

    1. Initial program 73.3%

      \[\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. Step-by-step derivation
      1. +-commutative73.3%

        \[\leadsto \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)} \]
      2. fma-define76.3%

        \[\leadsto \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)} \]
      3. *-commutative76.3%

        \[\leadsto \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) \]
      4. *-commutative76.3%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative76.3%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative76.3%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 81.6%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*81.6%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*81.6%

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

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*81.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in84.4%

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

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

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg84.4%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative84.4%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative84.4%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified84.4%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in b around inf 71.1%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i - c \cdot z\right)} \]
    9. Step-by-step derivation
      1. *-commutative71.1%

        \[\leadsto b \cdot \left(\color{blue}{i \cdot a} - c \cdot z\right) \]
      2. *-commutative71.1%

        \[\leadsto b \cdot \left(i \cdot a - \color{blue}{z \cdot c}\right) \]
    10. Simplified71.1%

      \[\leadsto \color{blue}{b \cdot \left(i \cdot a - z \cdot c\right)} \]
  3. Recombined 9 regimes into one program.
  4. Final simplification68.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -2.25 \cdot 10^{+102}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq -1.65 \cdot 10^{+43}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;z \leq -9000000000000:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq -4 \cdot 10^{-118}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;z \leq -1.02 \cdot 10^{-206}:\\ \;\;\;\;\left(b \cdot i\right) \cdot \left(a - \frac{z \cdot c}{i}\right)\\ \mathbf{elif}\;z \leq 8.5 \cdot 10^{-261}:\\ \;\;\;\;j \cdot \left(i \cdot \left(\frac{t \cdot c}{i} - y\right)\right)\\ \mathbf{elif}\;z \leq 1.5 \cdot 10^{-211}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;z \leq 4.2 \cdot 10^{-168}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;z \leq 2.55 \cdot 10^{+16}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;z \leq 3.8 \cdot 10^{+147}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 6: 50.0% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{if}\;z \leq -1.55 \cdot 10^{+101}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -6.6 \cdot 10^{+40}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;z \leq -11200000000000:\\ \;\;\;\;x \cdot \left(y \cdot z\right) - b \cdot \left(z \cdot c\right)\\ \mathbf{elif}\;z \leq -4.6 \cdot 10^{-118}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;z \leq -3 \cdot 10^{-206}:\\ \;\;\;\;\left(b \cdot i\right) \cdot \left(a - \frac{z \cdot c}{i}\right)\\ \mathbf{elif}\;z \leq 1.6 \cdot 10^{-260}:\\ \;\;\;\;j \cdot \left(i \cdot \left(\frac{t \cdot c}{i} - y\right)\right)\\ \mathbf{elif}\;z \leq 1.75 \cdot 10^{-211}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;z \leq 1.9 \cdot 10^{-162}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;z \leq 2.2 \cdot 10^{+16}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;z \leq 4.4 \cdot 10^{+147}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* z (- (* x y) (* b c)))))
   (if (<= z -1.55e+101)
     t_1
     (if (<= z -6.6e+40)
       (* j (- (* t c) (* y i)))
       (if (<= z -11200000000000.0)
         (- (* x (* y z)) (* b (* z c)))
         (if (<= z -4.6e-118)
           (* y (- (* x z) (* i j)))
           (if (<= z -3e-206)
             (* (* b i) (- a (/ (* z c) i)))
             (if (<= z 1.6e-260)
               (* j (* i (- (/ (* t c) i) y)))
               (if (<= z 1.75e-211)
                 (* a (- (* b i) (* x t)))
                 (if (<= z 1.9e-162)
                   (* i (- (* a b) (* y j)))
                   (if (<= z 2.2e+16)
                     (* t (- (* c j) (* x a)))
                     (if (<= z 4.4e+147)
                       (* b (- (* a i) (* z c)))
                       t_1))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = z * ((x * y) - (b * c));
	double tmp;
	if (z <= -1.55e+101) {
		tmp = t_1;
	} else if (z <= -6.6e+40) {
		tmp = j * ((t * c) - (y * i));
	} else if (z <= -11200000000000.0) {
		tmp = (x * (y * z)) - (b * (z * c));
	} else if (z <= -4.6e-118) {
		tmp = y * ((x * z) - (i * j));
	} else if (z <= -3e-206) {
		tmp = (b * i) * (a - ((z * c) / i));
	} else if (z <= 1.6e-260) {
		tmp = j * (i * (((t * c) / i) - y));
	} else if (z <= 1.75e-211) {
		tmp = a * ((b * i) - (x * t));
	} else if (z <= 1.9e-162) {
		tmp = i * ((a * b) - (y * j));
	} else if (z <= 2.2e+16) {
		tmp = t * ((c * j) - (x * a));
	} else if (z <= 4.4e+147) {
		tmp = b * ((a * i) - (z * c));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: tmp
    t_1 = z * ((x * y) - (b * c))
    if (z <= (-1.55d+101)) then
        tmp = t_1
    else if (z <= (-6.6d+40)) then
        tmp = j * ((t * c) - (y * i))
    else if (z <= (-11200000000000.0d0)) then
        tmp = (x * (y * z)) - (b * (z * c))
    else if (z <= (-4.6d-118)) then
        tmp = y * ((x * z) - (i * j))
    else if (z <= (-3d-206)) then
        tmp = (b * i) * (a - ((z * c) / i))
    else if (z <= 1.6d-260) then
        tmp = j * (i * (((t * c) / i) - y))
    else if (z <= 1.75d-211) then
        tmp = a * ((b * i) - (x * t))
    else if (z <= 1.9d-162) then
        tmp = i * ((a * b) - (y * j))
    else if (z <= 2.2d+16) then
        tmp = t * ((c * j) - (x * a))
    else if (z <= 4.4d+147) then
        tmp = b * ((a * i) - (z * c))
    else
        tmp = t_1
    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 t_1 = z * ((x * y) - (b * c));
	double tmp;
	if (z <= -1.55e+101) {
		tmp = t_1;
	} else if (z <= -6.6e+40) {
		tmp = j * ((t * c) - (y * i));
	} else if (z <= -11200000000000.0) {
		tmp = (x * (y * z)) - (b * (z * c));
	} else if (z <= -4.6e-118) {
		tmp = y * ((x * z) - (i * j));
	} else if (z <= -3e-206) {
		tmp = (b * i) * (a - ((z * c) / i));
	} else if (z <= 1.6e-260) {
		tmp = j * (i * (((t * c) / i) - y));
	} else if (z <= 1.75e-211) {
		tmp = a * ((b * i) - (x * t));
	} else if (z <= 1.9e-162) {
		tmp = i * ((a * b) - (y * j));
	} else if (z <= 2.2e+16) {
		tmp = t * ((c * j) - (x * a));
	} else if (z <= 4.4e+147) {
		tmp = b * ((a * i) - (z * c));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = z * ((x * y) - (b * c))
	tmp = 0
	if z <= -1.55e+101:
		tmp = t_1
	elif z <= -6.6e+40:
		tmp = j * ((t * c) - (y * i))
	elif z <= -11200000000000.0:
		tmp = (x * (y * z)) - (b * (z * c))
	elif z <= -4.6e-118:
		tmp = y * ((x * z) - (i * j))
	elif z <= -3e-206:
		tmp = (b * i) * (a - ((z * c) / i))
	elif z <= 1.6e-260:
		tmp = j * (i * (((t * c) / i) - y))
	elif z <= 1.75e-211:
		tmp = a * ((b * i) - (x * t))
	elif z <= 1.9e-162:
		tmp = i * ((a * b) - (y * j))
	elif z <= 2.2e+16:
		tmp = t * ((c * j) - (x * a))
	elif z <= 4.4e+147:
		tmp = b * ((a * i) - (z * c))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(z * Float64(Float64(x * y) - Float64(b * c)))
	tmp = 0.0
	if (z <= -1.55e+101)
		tmp = t_1;
	elseif (z <= -6.6e+40)
		tmp = Float64(j * Float64(Float64(t * c) - Float64(y * i)));
	elseif (z <= -11200000000000.0)
		tmp = Float64(Float64(x * Float64(y * z)) - Float64(b * Float64(z * c)));
	elseif (z <= -4.6e-118)
		tmp = Float64(y * Float64(Float64(x * z) - Float64(i * j)));
	elseif (z <= -3e-206)
		tmp = Float64(Float64(b * i) * Float64(a - Float64(Float64(z * c) / i)));
	elseif (z <= 1.6e-260)
		tmp = Float64(j * Float64(i * Float64(Float64(Float64(t * c) / i) - y)));
	elseif (z <= 1.75e-211)
		tmp = Float64(a * Float64(Float64(b * i) - Float64(x * t)));
	elseif (z <= 1.9e-162)
		tmp = Float64(i * Float64(Float64(a * b) - Float64(y * j)));
	elseif (z <= 2.2e+16)
		tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a)));
	elseif (z <= 4.4e+147)
		tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c)));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = z * ((x * y) - (b * c));
	tmp = 0.0;
	if (z <= -1.55e+101)
		tmp = t_1;
	elseif (z <= -6.6e+40)
		tmp = j * ((t * c) - (y * i));
	elseif (z <= -11200000000000.0)
		tmp = (x * (y * z)) - (b * (z * c));
	elseif (z <= -4.6e-118)
		tmp = y * ((x * z) - (i * j));
	elseif (z <= -3e-206)
		tmp = (b * i) * (a - ((z * c) / i));
	elseif (z <= 1.6e-260)
		tmp = j * (i * (((t * c) / i) - y));
	elseif (z <= 1.75e-211)
		tmp = a * ((b * i) - (x * t));
	elseif (z <= 1.9e-162)
		tmp = i * ((a * b) - (y * j));
	elseif (z <= 2.2e+16)
		tmp = t * ((c * j) - (x * a));
	elseif (z <= 4.4e+147)
		tmp = b * ((a * i) - (z * c));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.55e+101], t$95$1, If[LessEqual[z, -6.6e+40], N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -11200000000000.0], N[(N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision] - N[(b * N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -4.6e-118], N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -3e-206], N[(N[(b * i), $MachinePrecision] * N[(a - N[(N[(z * c), $MachinePrecision] / i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.6e-260], N[(j * N[(i * N[(N[(N[(t * c), $MachinePrecision] / i), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.75e-211], N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.9e-162], N[(i * N[(N[(a * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.2e+16], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4.4e+147], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := z \cdot \left(x \cdot y - b \cdot c\right)\\
\mathbf{if}\;z \leq -1.55 \cdot 10^{+101}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq -6.6 \cdot 10^{+40}:\\
\;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\

\mathbf{elif}\;z \leq -11200000000000:\\
\;\;\;\;x \cdot \left(y \cdot z\right) - b \cdot \left(z \cdot c\right)\\

\mathbf{elif}\;z \leq -4.6 \cdot 10^{-118}:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\

\mathbf{elif}\;z \leq -3 \cdot 10^{-206}:\\
\;\;\;\;\left(b \cdot i\right) \cdot \left(a - \frac{z \cdot c}{i}\right)\\

\mathbf{elif}\;z \leq 1.6 \cdot 10^{-260}:\\
\;\;\;\;j \cdot \left(i \cdot \left(\frac{t \cdot c}{i} - y\right)\right)\\

\mathbf{elif}\;z \leq 1.75 \cdot 10^{-211}:\\
\;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\

\mathbf{elif}\;z \leq 1.9 \cdot 10^{-162}:\\
\;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\

\mathbf{elif}\;z \leq 2.2 \cdot 10^{+16}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\

\mathbf{elif}\;z \leq 4.4 \cdot 10^{+147}:\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 10 regimes
  2. if z < -1.55e101 or 4.4000000000000003e147 < z

    1. Initial program 51.9%

      \[\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. Step-by-step derivation
      1. +-commutative51.9%

        \[\leadsto \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)} \]
      2. fma-define56.0%

        \[\leadsto \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)} \]
      3. *-commutative56.0%

        \[\leadsto \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) \]
      4. *-commutative56.0%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv56.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub56.0%

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out56.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg56.0%

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

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

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 49.3%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*45.2%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*45.2%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative45.2%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*47.9%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in49.3%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg49.3%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg49.3%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative49.3%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative49.3%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified49.3%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in z around inf 74.1%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
    9. Step-by-step derivation
      1. *-commutative74.1%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) \]
    10. Simplified74.1%

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x - b \cdot c\right)} \]

    if -1.55e101 < z < -6.5999999999999997e40

    1. Initial program 37.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. Add Preprocessing
    3. Taylor expanded in t around inf 87.6%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in a around 0 75.2%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]

    if -6.5999999999999997e40 < z < -1.12e13

    1. Initial program 88.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. Step-by-step derivation
      1. +-commutative88.7%

        \[\leadsto \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)} \]
      2. fma-define88.7%

        \[\leadsto \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)} \]
      3. *-commutative88.7%

        \[\leadsto \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) \]
      4. *-commutative88.7%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv88.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub88.7%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg88.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative88.7%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative88.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out88.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg88.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative88.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative88.7%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 67.1%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*78.2%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*78.2%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative78.2%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*78.2%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in78.2%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg78.2%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg78.2%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative78.2%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative78.2%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified78.2%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in i around 0 67.1%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z\right) - b \cdot \left(c \cdot z\right)} \]

    if -1.12e13 < z < -4.60000000000000042e-118

    1. Initial program 84.1%

      \[\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. Step-by-step derivation
      1. +-commutative84.1%

        \[\leadsto \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)} \]
      2. fma-define84.1%

        \[\leadsto \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)} \]
      3. *-commutative84.1%

        \[\leadsto \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) \]
      4. *-commutative84.1%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative84.1%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative84.1%

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

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

      \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)} \]
    6. Step-by-step derivation
      1. +-commutative61.9%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} \]
      2. mul-1-neg61.9%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) \]
      3. unsub-neg61.9%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} \]
      4. *-commutative61.9%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) \]
    7. Simplified61.9%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right)} \]

    if -4.60000000000000042e-118 < z < -3.0000000000000002e-206

    1. Initial program 72.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. Step-by-step derivation
      1. +-commutative72.7%

        \[\leadsto \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)} \]
      2. fma-define72.7%

        \[\leadsto \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)} \]
      3. *-commutative72.7%

        \[\leadsto \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) \]
      4. *-commutative72.7%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv72.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub72.7%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg72.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative72.7%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative72.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out72.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg72.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative72.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative72.7%

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

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

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

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

      \[\leadsto \color{blue}{b \cdot \left(i \cdot \left(a + -1 \cdot \frac{c \cdot z}{i}\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*51.2%

        \[\leadsto \color{blue}{\left(b \cdot i\right) \cdot \left(a + -1 \cdot \frac{c \cdot z}{i}\right)} \]
      2. *-commutative51.2%

        \[\leadsto \color{blue}{\left(i \cdot b\right)} \cdot \left(a + -1 \cdot \frac{c \cdot z}{i}\right) \]
      3. mul-1-neg51.2%

        \[\leadsto \left(i \cdot b\right) \cdot \left(a + \color{blue}{\left(-\frac{c \cdot z}{i}\right)}\right) \]
      4. unsub-neg51.2%

        \[\leadsto \left(i \cdot b\right) \cdot \color{blue}{\left(a - \frac{c \cdot z}{i}\right)} \]
      5. *-commutative51.2%

        \[\leadsto \left(i \cdot b\right) \cdot \left(a - \frac{\color{blue}{z \cdot c}}{i}\right) \]
    9. Simplified51.2%

      \[\leadsto \color{blue}{\left(i \cdot b\right) \cdot \left(a - \frac{z \cdot c}{i}\right)} \]

    if -3.0000000000000002e-206 < z < 1.59999999999999997e-260

    1. Initial program 78.9%

      \[\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. Add Preprocessing
    3. Taylor expanded in t around inf 61.3%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in a around 0 64.3%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
    5. Taylor expanded in i around inf 64.5%

      \[\leadsto j \cdot \color{blue}{\left(i \cdot \left(\frac{c \cdot t}{i} - y\right)\right)} \]

    if 1.59999999999999997e-260 < z < 1.75e-211

    1. Initial program 88.9%

      \[\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. Add Preprocessing
    3. Taylor expanded in a around -inf 100.0%

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

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right)} \]
    5. Step-by-step derivation
      1. associate-*r*76.5%

        \[\leadsto \color{blue}{\left(-1 \cdot a\right) \cdot \left(t \cdot x - b \cdot i\right)} \]
      2. neg-mul-176.5%

        \[\leadsto \color{blue}{\left(-a\right)} \cdot \left(t \cdot x - b \cdot i\right) \]
      3. *-commutative76.5%

        \[\leadsto \left(-a\right) \cdot \left(\color{blue}{x \cdot t} - b \cdot i\right) \]
      4. *-commutative76.5%

        \[\leadsto \left(-a\right) \cdot \left(x \cdot t - \color{blue}{i \cdot b}\right) \]
    6. Simplified76.5%

      \[\leadsto \color{blue}{\left(-a\right) \cdot \left(x \cdot t - i \cdot b\right)} \]

    if 1.75e-211 < z < 1.90000000000000002e-162

    1. Initial program 30.6%

      \[\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. Add Preprocessing
    3. Taylor expanded in a around -inf 86.5%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in t around 0 85.6%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + a \cdot \left(b \cdot i\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg85.6%

        \[\leadsto \color{blue}{\left(-i \cdot \left(j \cdot y\right)\right)} + a \cdot \left(b \cdot i\right) \]
      2. *-commutative85.6%

        \[\leadsto \left(-\color{blue}{\left(j \cdot y\right) \cdot i}\right) + a \cdot \left(b \cdot i\right) \]
      3. distribute-lft-neg-in85.6%

        \[\leadsto \color{blue}{\left(-j \cdot y\right) \cdot i} + a \cdot \left(b \cdot i\right) \]
      4. mul-1-neg85.6%

        \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right)\right)} \cdot i + a \cdot \left(b \cdot i\right) \]
      5. associate-*r*85.8%

        \[\leadsto \left(-1 \cdot \left(j \cdot y\right)\right) \cdot i + \color{blue}{\left(a \cdot b\right) \cdot i} \]
      6. distribute-rgt-in85.8%

        \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) + a \cdot b\right)} \]
      7. +-commutative85.8%

        \[\leadsto i \cdot \color{blue}{\left(a \cdot b + -1 \cdot \left(j \cdot y\right)\right)} \]
      8. mul-1-neg85.8%

        \[\leadsto i \cdot \left(a \cdot b + \color{blue}{\left(-j \cdot y\right)}\right) \]
      9. unsub-neg85.8%

        \[\leadsto i \cdot \color{blue}{\left(a \cdot b - j \cdot y\right)} \]
      10. *-commutative85.8%

        \[\leadsto i \cdot \left(a \cdot b - \color{blue}{y \cdot j}\right) \]
    6. Simplified85.8%

      \[\leadsto \color{blue}{i \cdot \left(a \cdot b - y \cdot j\right)} \]

    if 1.90000000000000002e-162 < z < 2.2e16

    1. Initial program 86.3%

      \[\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. Step-by-step derivation
      1. +-commutative86.3%

        \[\leadsto \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)} \]
      2. fma-define86.3%

        \[\leadsto \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)} \]
      3. *-commutative86.3%

        \[\leadsto \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) \]
      4. *-commutative86.3%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative86.3%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative86.3%

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

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

      \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} \]
    6. Step-by-step derivation
      1. +-commutative68.9%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} \]
      2. mul-1-neg68.9%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) \]
      3. unsub-neg68.9%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} \]
      4. *-commutative68.9%

        \[\leadsto t \cdot \left(\color{blue}{j \cdot c} - a \cdot x\right) \]
    7. Simplified68.9%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot c - a \cdot x\right)} \]

    if 2.2e16 < z < 4.4000000000000003e147

    1. Initial program 73.3%

      \[\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. Step-by-step derivation
      1. +-commutative73.3%

        \[\leadsto \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)} \]
      2. fma-define76.3%

        \[\leadsto \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)} \]
      3. *-commutative76.3%

        \[\leadsto \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) \]
      4. *-commutative76.3%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative76.3%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative76.3%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 81.6%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*81.6%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*81.6%

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

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*81.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in84.4%

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

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

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg84.4%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative84.4%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative84.4%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified84.4%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in b around inf 71.1%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i - c \cdot z\right)} \]
    9. Step-by-step derivation
      1. *-commutative71.1%

        \[\leadsto b \cdot \left(\color{blue}{i \cdot a} - c \cdot z\right) \]
      2. *-commutative71.1%

        \[\leadsto b \cdot \left(i \cdot a - \color{blue}{z \cdot c}\right) \]
    10. Simplified71.1%

      \[\leadsto \color{blue}{b \cdot \left(i \cdot a - z \cdot c\right)} \]
  3. Recombined 10 regimes into one program.
  4. Final simplification68.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -1.55 \cdot 10^{+101}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq -6.6 \cdot 10^{+40}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;z \leq -11200000000000:\\ \;\;\;\;x \cdot \left(y \cdot z\right) - b \cdot \left(z \cdot c\right)\\ \mathbf{elif}\;z \leq -4.6 \cdot 10^{-118}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;z \leq -3 \cdot 10^{-206}:\\ \;\;\;\;\left(b \cdot i\right) \cdot \left(a - \frac{z \cdot c}{i}\right)\\ \mathbf{elif}\;z \leq 1.6 \cdot 10^{-260}:\\ \;\;\;\;j \cdot \left(i \cdot \left(\frac{t \cdot c}{i} - y\right)\right)\\ \mathbf{elif}\;z \leq 1.75 \cdot 10^{-211}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;z \leq 1.9 \cdot 10^{-162}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;z \leq 2.2 \cdot 10^{+16}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;z \leq 4.4 \cdot 10^{+147}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 7: 51.3% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(x \cdot z - i \cdot j\right)\\ t_2 := b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{if}\;c \leq -8.5 \cdot 10^{+100}:\\ \;\;\;\;c \cdot \left(t \cdot \left(j - b \cdot \frac{z}{t}\right)\right)\\ \mathbf{elif}\;c \leq -1.05 \cdot 10^{-91}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;c \leq -7.7 \cdot 10^{-112}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq -6 \cdot 10^{-172}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;c \leq -1.3 \cdot 10^{-243}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq 4.8 \cdot 10^{-261}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;c \leq 8.8 \cdot 10^{-184}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq 7.6 \cdot 10^{-153}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;c \leq 10^{-6}:\\ \;\;\;\;i \cdot \left(y \cdot \left(x \cdot \frac{z}{i} - j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* y (- (* x z) (* i j)))) (t_2 (* b (- (* a i) (* z c)))))
   (if (<= c -8.5e+100)
     (* c (* t (- j (* b (/ z t)))))
     (if (<= c -1.05e-91)
       t_2
       (if (<= c -7.7e-112)
         t_1
         (if (<= c -6e-172)
           (* a (- (* b i) (* x t)))
           (if (<= c -1.3e-243)
             t_1
             (if (<= c 4.8e-261)
               (* i (- (* a b) (* y j)))
               (if (<= c 8.8e-184)
                 t_1
                 (if (<= c 7.6e-153)
                   t_2
                   (if (<= c 1e-6)
                     (* i (* y (- (* x (/ z i)) j)))
                     (* c (- (* t j) (* z b))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = y * ((x * z) - (i * j));
	double t_2 = b * ((a * i) - (z * c));
	double tmp;
	if (c <= -8.5e+100) {
		tmp = c * (t * (j - (b * (z / t))));
	} else if (c <= -1.05e-91) {
		tmp = t_2;
	} else if (c <= -7.7e-112) {
		tmp = t_1;
	} else if (c <= -6e-172) {
		tmp = a * ((b * i) - (x * t));
	} else if (c <= -1.3e-243) {
		tmp = t_1;
	} else if (c <= 4.8e-261) {
		tmp = i * ((a * b) - (y * j));
	} else if (c <= 8.8e-184) {
		tmp = t_1;
	} else if (c <= 7.6e-153) {
		tmp = t_2;
	} else if (c <= 1e-6) {
		tmp = i * (y * ((x * (z / i)) - j));
	} else {
		tmp = c * ((t * j) - (z * b));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = y * ((x * z) - (i * j))
    t_2 = b * ((a * i) - (z * c))
    if (c <= (-8.5d+100)) then
        tmp = c * (t * (j - (b * (z / t))))
    else if (c <= (-1.05d-91)) then
        tmp = t_2
    else if (c <= (-7.7d-112)) then
        tmp = t_1
    else if (c <= (-6d-172)) then
        tmp = a * ((b * i) - (x * t))
    else if (c <= (-1.3d-243)) then
        tmp = t_1
    else if (c <= 4.8d-261) then
        tmp = i * ((a * b) - (y * j))
    else if (c <= 8.8d-184) then
        tmp = t_1
    else if (c <= 7.6d-153) then
        tmp = t_2
    else if (c <= 1d-6) then
        tmp = i * (y * ((x * (z / i)) - j))
    else
        tmp = c * ((t * j) - (z * b))
    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 t_1 = y * ((x * z) - (i * j));
	double t_2 = b * ((a * i) - (z * c));
	double tmp;
	if (c <= -8.5e+100) {
		tmp = c * (t * (j - (b * (z / t))));
	} else if (c <= -1.05e-91) {
		tmp = t_2;
	} else if (c <= -7.7e-112) {
		tmp = t_1;
	} else if (c <= -6e-172) {
		tmp = a * ((b * i) - (x * t));
	} else if (c <= -1.3e-243) {
		tmp = t_1;
	} else if (c <= 4.8e-261) {
		tmp = i * ((a * b) - (y * j));
	} else if (c <= 8.8e-184) {
		tmp = t_1;
	} else if (c <= 7.6e-153) {
		tmp = t_2;
	} else if (c <= 1e-6) {
		tmp = i * (y * ((x * (z / i)) - j));
	} else {
		tmp = c * ((t * j) - (z * b));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = y * ((x * z) - (i * j))
	t_2 = b * ((a * i) - (z * c))
	tmp = 0
	if c <= -8.5e+100:
		tmp = c * (t * (j - (b * (z / t))))
	elif c <= -1.05e-91:
		tmp = t_2
	elif c <= -7.7e-112:
		tmp = t_1
	elif c <= -6e-172:
		tmp = a * ((b * i) - (x * t))
	elif c <= -1.3e-243:
		tmp = t_1
	elif c <= 4.8e-261:
		tmp = i * ((a * b) - (y * j))
	elif c <= 8.8e-184:
		tmp = t_1
	elif c <= 7.6e-153:
		tmp = t_2
	elif c <= 1e-6:
		tmp = i * (y * ((x * (z / i)) - j))
	else:
		tmp = c * ((t * j) - (z * b))
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(y * Float64(Float64(x * z) - Float64(i * j)))
	t_2 = Float64(b * Float64(Float64(a * i) - Float64(z * c)))
	tmp = 0.0
	if (c <= -8.5e+100)
		tmp = Float64(c * Float64(t * Float64(j - Float64(b * Float64(z / t)))));
	elseif (c <= -1.05e-91)
		tmp = t_2;
	elseif (c <= -7.7e-112)
		tmp = t_1;
	elseif (c <= -6e-172)
		tmp = Float64(a * Float64(Float64(b * i) - Float64(x * t)));
	elseif (c <= -1.3e-243)
		tmp = t_1;
	elseif (c <= 4.8e-261)
		tmp = Float64(i * Float64(Float64(a * b) - Float64(y * j)));
	elseif (c <= 8.8e-184)
		tmp = t_1;
	elseif (c <= 7.6e-153)
		tmp = t_2;
	elseif (c <= 1e-6)
		tmp = Float64(i * Float64(y * Float64(Float64(x * Float64(z / i)) - j)));
	else
		tmp = Float64(c * Float64(Float64(t * j) - Float64(z * b)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = y * ((x * z) - (i * j));
	t_2 = b * ((a * i) - (z * c));
	tmp = 0.0;
	if (c <= -8.5e+100)
		tmp = c * (t * (j - (b * (z / t))));
	elseif (c <= -1.05e-91)
		tmp = t_2;
	elseif (c <= -7.7e-112)
		tmp = t_1;
	elseif (c <= -6e-172)
		tmp = a * ((b * i) - (x * t));
	elseif (c <= -1.3e-243)
		tmp = t_1;
	elseif (c <= 4.8e-261)
		tmp = i * ((a * b) - (y * j));
	elseif (c <= 8.8e-184)
		tmp = t_1;
	elseif (c <= 7.6e-153)
		tmp = t_2;
	elseif (c <= 1e-6)
		tmp = i * (y * ((x * (z / i)) - j));
	else
		tmp = c * ((t * j) - (z * b));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -8.5e+100], N[(c * N[(t * N[(j - N[(b * N[(z / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -1.05e-91], t$95$2, If[LessEqual[c, -7.7e-112], t$95$1, If[LessEqual[c, -6e-172], N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -1.3e-243], t$95$1, If[LessEqual[c, 4.8e-261], N[(i * N[(N[(a * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 8.8e-184], t$95$1, If[LessEqual[c, 7.6e-153], t$95$2, If[LessEqual[c, 1e-6], N[(i * N[(y * N[(N[(x * N[(z / i), $MachinePrecision]), $MachinePrecision] - j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y \cdot \left(x \cdot z - i \cdot j\right)\\
t_2 := b \cdot \left(a \cdot i - z \cdot c\right)\\
\mathbf{if}\;c \leq -8.5 \cdot 10^{+100}:\\
\;\;\;\;c \cdot \left(t \cdot \left(j - b \cdot \frac{z}{t}\right)\right)\\

\mathbf{elif}\;c \leq -1.05 \cdot 10^{-91}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;c \leq -7.7 \cdot 10^{-112}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;c \leq -6 \cdot 10^{-172}:\\
\;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\

\mathbf{elif}\;c \leq -1.3 \cdot 10^{-243}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;c \leq 4.8 \cdot 10^{-261}:\\
\;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\

\mathbf{elif}\;c \leq 8.8 \cdot 10^{-184}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;c \leq 7.6 \cdot 10^{-153}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;c \leq 10^{-6}:\\
\;\;\;\;i \cdot \left(y \cdot \left(x \cdot \frac{z}{i} - j\right)\right)\\

\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if c < -8.50000000000000043e100

    1. Initial program 62.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. Step-by-step derivation
      1. +-commutative62.0%

        \[\leadsto \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)} \]
      2. fma-define64.6%

        \[\leadsto \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)} \]
      3. *-commutative64.6%

        \[\leadsto \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) \]
      4. *-commutative64.6%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv64.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub64.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg64.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg64.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative64.6%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative64.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out64.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg64.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative64.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative64.6%

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

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

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t - b \cdot z\right)} \]
    6. Taylor expanded in t around inf 69.8%

      \[\leadsto c \cdot \color{blue}{\left(t \cdot \left(j + -1 \cdot \frac{b \cdot z}{t}\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-neg69.8%

        \[\leadsto c \cdot \left(t \cdot \left(j + \color{blue}{\left(-\frac{b \cdot z}{t}\right)}\right)\right) \]
      2. unsub-neg69.8%

        \[\leadsto c \cdot \left(t \cdot \color{blue}{\left(j - \frac{b \cdot z}{t}\right)}\right) \]
      3. associate-/l*69.7%

        \[\leadsto c \cdot \left(t \cdot \left(j - \color{blue}{b \cdot \frac{z}{t}}\right)\right) \]
    8. Simplified69.7%

      \[\leadsto c \cdot \color{blue}{\left(t \cdot \left(j - b \cdot \frac{z}{t}\right)\right)} \]

    if -8.50000000000000043e100 < c < -1.05e-91 or 8.79999999999999967e-184 < c < 7.60000000000000046e-153

    1. Initial program 70.1%

      \[\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. Step-by-step derivation
      1. +-commutative70.1%

        \[\leadsto \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)} \]
      2. fma-define72.6%

        \[\leadsto \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)} \]
      3. *-commutative72.6%

        \[\leadsto \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) \]
      4. *-commutative72.6%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv72.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub72.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg72.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg72.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative72.6%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative72.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out72.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg72.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative72.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative72.6%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 58.4%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*60.6%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*60.6%

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

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*65.6%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in65.6%

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

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

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

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

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative65.6%

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

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in b around inf 62.1%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i - c \cdot z\right)} \]
    9. Step-by-step derivation
      1. *-commutative62.1%

        \[\leadsto b \cdot \left(\color{blue}{i \cdot a} - c \cdot z\right) \]
      2. *-commutative62.1%

        \[\leadsto b \cdot \left(i \cdot a - \color{blue}{z \cdot c}\right) \]
    10. Simplified62.1%

      \[\leadsto \color{blue}{b \cdot \left(i \cdot a - z \cdot c\right)} \]

    if -1.05e-91 < c < -7.69999999999999959e-112 or -5.99999999999999967e-172 < c < -1.2999999999999999e-243 or 4.80000000000000028e-261 < c < 8.79999999999999967e-184

    1. Initial program 84.2%

      \[\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. Step-by-step derivation
      1. +-commutative84.2%

        \[\leadsto \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)} \]
      2. fma-define84.2%

        \[\leadsto \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)} \]
      3. *-commutative84.2%

        \[\leadsto \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) \]
      4. *-commutative84.2%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv84.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub84.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg84.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg84.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative84.2%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative84.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out84.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg84.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative84.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative84.2%

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

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

      \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)} \]
    6. Step-by-step derivation
      1. +-commutative69.1%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} \]
      2. mul-1-neg69.1%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) \]
      3. unsub-neg69.1%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} \]
      4. *-commutative69.1%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) \]
    7. Simplified69.1%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right)} \]

    if -7.69999999999999959e-112 < c < -5.99999999999999967e-172

    1. Initial program 63.1%

      \[\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. Add Preprocessing
    3. Taylor expanded in a around -inf 84.9%

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

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right)} \]
    5. Step-by-step derivation
      1. associate-*r*92.3%

        \[\leadsto \color{blue}{\left(-1 \cdot a\right) \cdot \left(t \cdot x - b \cdot i\right)} \]
      2. neg-mul-192.3%

        \[\leadsto \color{blue}{\left(-a\right)} \cdot \left(t \cdot x - b \cdot i\right) \]
      3. *-commutative92.3%

        \[\leadsto \left(-a\right) \cdot \left(\color{blue}{x \cdot t} - b \cdot i\right) \]
      4. *-commutative92.3%

        \[\leadsto \left(-a\right) \cdot \left(x \cdot t - \color{blue}{i \cdot b}\right) \]
    6. Simplified92.3%

      \[\leadsto \color{blue}{\left(-a\right) \cdot \left(x \cdot t - i \cdot b\right)} \]

    if -1.2999999999999999e-243 < c < 4.80000000000000028e-261

    1. Initial program 83.3%

      \[\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. Add Preprocessing
    3. Taylor expanded in a around -inf 70.4%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in t around 0 57.8%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + a \cdot \left(b \cdot i\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg57.8%

        \[\leadsto \color{blue}{\left(-i \cdot \left(j \cdot y\right)\right)} + a \cdot \left(b \cdot i\right) \]
      2. *-commutative57.8%

        \[\leadsto \left(-\color{blue}{\left(j \cdot y\right) \cdot i}\right) + a \cdot \left(b \cdot i\right) \]
      3. distribute-lft-neg-in57.8%

        \[\leadsto \color{blue}{\left(-j \cdot y\right) \cdot i} + a \cdot \left(b \cdot i\right) \]
      4. mul-1-neg57.8%

        \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right)\right)} \cdot i + a \cdot \left(b \cdot i\right) \]
      5. associate-*r*64.1%

        \[\leadsto \left(-1 \cdot \left(j \cdot y\right)\right) \cdot i + \color{blue}{\left(a \cdot b\right) \cdot i} \]
      6. distribute-rgt-in64.1%

        \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) + a \cdot b\right)} \]
      7. +-commutative64.1%

        \[\leadsto i \cdot \color{blue}{\left(a \cdot b + -1 \cdot \left(j \cdot y\right)\right)} \]
      8. mul-1-neg64.1%

        \[\leadsto i \cdot \left(a \cdot b + \color{blue}{\left(-j \cdot y\right)}\right) \]
      9. unsub-neg64.1%

        \[\leadsto i \cdot \color{blue}{\left(a \cdot b - j \cdot y\right)} \]
      10. *-commutative64.1%

        \[\leadsto i \cdot \left(a \cdot b - \color{blue}{y \cdot j}\right) \]
    6. Simplified64.1%

      \[\leadsto \color{blue}{i \cdot \left(a \cdot b - y \cdot j\right)} \]

    if 7.60000000000000046e-153 < c < 9.99999999999999955e-7

    1. Initial program 69.2%

      \[\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. Step-by-step derivation
      1. +-commutative69.2%

        \[\leadsto \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)} \]
      2. fma-define73.7%

        \[\leadsto \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)} \]
      3. *-commutative73.7%

        \[\leadsto \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) \]
      4. *-commutative73.7%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv73.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub73.7%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg73.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative73.7%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative73.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out73.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg73.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative73.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative73.7%

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

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

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

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

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(y \cdot \left(j - \frac{x \cdot z}{i}\right)\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*65.1%

        \[\leadsto \color{blue}{\left(-1 \cdot i\right) \cdot \left(y \cdot \left(j - \frac{x \cdot z}{i}\right)\right)} \]
      2. neg-mul-165.1%

        \[\leadsto \color{blue}{\left(-i\right)} \cdot \left(y \cdot \left(j - \frac{x \cdot z}{i}\right)\right) \]
      3. associate-/l*69.4%

        \[\leadsto \left(-i\right) \cdot \left(y \cdot \left(j - \color{blue}{x \cdot \frac{z}{i}}\right)\right) \]
    9. Simplified69.4%

      \[\leadsto \color{blue}{\left(-i\right) \cdot \left(y \cdot \left(j - x \cdot \frac{z}{i}\right)\right)} \]

    if 9.99999999999999955e-7 < c

    1. Initial program 60.4%

      \[\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. Step-by-step derivation
      1. +-commutative60.4%

        \[\leadsto \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)} \]
      2. fma-define61.9%

        \[\leadsto \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)} \]
      3. *-commutative61.9%

        \[\leadsto \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) \]
      4. *-commutative61.9%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv61.9%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg61.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg61.9%

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

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative61.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out61.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg61.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative61.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative61.9%

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

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

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t - b \cdot z\right)} \]
  3. Recombined 7 regimes into one program.
  4. Final simplification67.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -8.5 \cdot 10^{+100}:\\ \;\;\;\;c \cdot \left(t \cdot \left(j - b \cdot \frac{z}{t}\right)\right)\\ \mathbf{elif}\;c \leq -1.05 \cdot 10^{-91}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;c \leq -7.7 \cdot 10^{-112}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;c \leq -6 \cdot 10^{-172}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;c \leq -1.3 \cdot 10^{-243}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;c \leq 4.8 \cdot 10^{-261}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;c \leq 8.8 \cdot 10^{-184}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;c \leq 7.6 \cdot 10^{-153}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;c \leq 10^{-6}:\\ \;\;\;\;i \cdot \left(y \cdot \left(x \cdot \frac{z}{i} - j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 8: 49.9% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \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)\\ t_3 := z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{if}\;z \leq -3.4 \cdot 10^{+101}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;z \leq -2 \cdot 10^{+41}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -9600000000000:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;z \leq -2.85 \cdot 10^{-117}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;z \leq -1.1 \cdot 10^{-206}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;z \leq 9.6 \cdot 10^{-285}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 4.4 \cdot 10^{-172}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;z \leq 2.8 \cdot 10^{+16}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;z \leq 3.9 \cdot 10^{+147}:\\ \;\;\;\;t\_2\\ \mathbf{else}:\\ \;\;\;\;t\_3\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* j (- (* t c) (* y i))))
        (t_2 (* b (- (* a i) (* z c))))
        (t_3 (* z (- (* x y) (* b c)))))
   (if (<= z -3.4e+101)
     t_3
     (if (<= z -2e+41)
       t_1
       (if (<= z -9600000000000.0)
         t_3
         (if (<= z -2.85e-117)
           (* y (- (* x z) (* i j)))
           (if (<= z -1.1e-206)
             t_2
             (if (<= z 9.6e-285)
               t_1
               (if (<= z 4.4e-172)
                 (* i (- (* a b) (* y j)))
                 (if (<= z 2.8e+16)
                   (* t (- (* c j) (* x a)))
                   (if (<= z 3.9e+147) t_2 t_3)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = j * ((t * c) - (y * i));
	double t_2 = b * ((a * i) - (z * c));
	double t_3 = z * ((x * y) - (b * c));
	double tmp;
	if (z <= -3.4e+101) {
		tmp = t_3;
	} else if (z <= -2e+41) {
		tmp = t_1;
	} else if (z <= -9600000000000.0) {
		tmp = t_3;
	} else if (z <= -2.85e-117) {
		tmp = y * ((x * z) - (i * j));
	} else if (z <= -1.1e-206) {
		tmp = t_2;
	} else if (z <= 9.6e-285) {
		tmp = t_1;
	} else if (z <= 4.4e-172) {
		tmp = i * ((a * b) - (y * j));
	} else if (z <= 2.8e+16) {
		tmp = t * ((c * j) - (x * a));
	} else if (z <= 3.9e+147) {
		tmp = t_2;
	} else {
		tmp = t_3;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = j * ((t * c) - (y * i))
    t_2 = b * ((a * i) - (z * c))
    t_3 = z * ((x * y) - (b * c))
    if (z <= (-3.4d+101)) then
        tmp = t_3
    else if (z <= (-2d+41)) then
        tmp = t_1
    else if (z <= (-9600000000000.0d0)) then
        tmp = t_3
    else if (z <= (-2.85d-117)) then
        tmp = y * ((x * z) - (i * j))
    else if (z <= (-1.1d-206)) then
        tmp = t_2
    else if (z <= 9.6d-285) then
        tmp = t_1
    else if (z <= 4.4d-172) then
        tmp = i * ((a * b) - (y * j))
    else if (z <= 2.8d+16) then
        tmp = t * ((c * j) - (x * a))
    else if (z <= 3.9d+147) then
        tmp = t_2
    else
        tmp = t_3
    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 t_1 = j * ((t * c) - (y * i));
	double t_2 = b * ((a * i) - (z * c));
	double t_3 = z * ((x * y) - (b * c));
	double tmp;
	if (z <= -3.4e+101) {
		tmp = t_3;
	} else if (z <= -2e+41) {
		tmp = t_1;
	} else if (z <= -9600000000000.0) {
		tmp = t_3;
	} else if (z <= -2.85e-117) {
		tmp = y * ((x * z) - (i * j));
	} else if (z <= -1.1e-206) {
		tmp = t_2;
	} else if (z <= 9.6e-285) {
		tmp = t_1;
	} else if (z <= 4.4e-172) {
		tmp = i * ((a * b) - (y * j));
	} else if (z <= 2.8e+16) {
		tmp = t * ((c * j) - (x * a));
	} else if (z <= 3.9e+147) {
		tmp = t_2;
	} else {
		tmp = t_3;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = j * ((t * c) - (y * i))
	t_2 = b * ((a * i) - (z * c))
	t_3 = z * ((x * y) - (b * c))
	tmp = 0
	if z <= -3.4e+101:
		tmp = t_3
	elif z <= -2e+41:
		tmp = t_1
	elif z <= -9600000000000.0:
		tmp = t_3
	elif z <= -2.85e-117:
		tmp = y * ((x * z) - (i * j))
	elif z <= -1.1e-206:
		tmp = t_2
	elif z <= 9.6e-285:
		tmp = t_1
	elif z <= 4.4e-172:
		tmp = i * ((a * b) - (y * j))
	elif z <= 2.8e+16:
		tmp = t * ((c * j) - (x * a))
	elif z <= 3.9e+147:
		tmp = t_2
	else:
		tmp = t_3
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(j * Float64(Float64(t * c) - Float64(y * i)))
	t_2 = Float64(b * Float64(Float64(a * i) - Float64(z * c)))
	t_3 = Float64(z * Float64(Float64(x * y) - Float64(b * c)))
	tmp = 0.0
	if (z <= -3.4e+101)
		tmp = t_3;
	elseif (z <= -2e+41)
		tmp = t_1;
	elseif (z <= -9600000000000.0)
		tmp = t_3;
	elseif (z <= -2.85e-117)
		tmp = Float64(y * Float64(Float64(x * z) - Float64(i * j)));
	elseif (z <= -1.1e-206)
		tmp = t_2;
	elseif (z <= 9.6e-285)
		tmp = t_1;
	elseif (z <= 4.4e-172)
		tmp = Float64(i * Float64(Float64(a * b) - Float64(y * j)));
	elseif (z <= 2.8e+16)
		tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a)));
	elseif (z <= 3.9e+147)
		tmp = t_2;
	else
		tmp = t_3;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = j * ((t * c) - (y * i));
	t_2 = b * ((a * i) - (z * c));
	t_3 = z * ((x * y) - (b * c));
	tmp = 0.0;
	if (z <= -3.4e+101)
		tmp = t_3;
	elseif (z <= -2e+41)
		tmp = t_1;
	elseif (z <= -9600000000000.0)
		tmp = t_3;
	elseif (z <= -2.85e-117)
		tmp = y * ((x * z) - (i * j));
	elseif (z <= -1.1e-206)
		tmp = t_2;
	elseif (z <= 9.6e-285)
		tmp = t_1;
	elseif (z <= 4.4e-172)
		tmp = i * ((a * b) - (y * j));
	elseif (z <= 2.8e+16)
		tmp = t * ((c * j) - (x * a));
	elseif (z <= 3.9e+147)
		tmp = t_2;
	else
		tmp = t_3;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -3.4e+101], t$95$3, If[LessEqual[z, -2e+41], t$95$1, If[LessEqual[z, -9600000000000.0], t$95$3, If[LessEqual[z, -2.85e-117], N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.1e-206], t$95$2, If[LessEqual[z, 9.6e-285], t$95$1, If[LessEqual[z, 4.4e-172], N[(i * N[(N[(a * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.8e+16], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.9e+147], t$95$2, t$95$3]]]]]]]]]]]]
\begin{array}{l}

\\
\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)\\
t_3 := z \cdot \left(x \cdot y - b \cdot c\right)\\
\mathbf{if}\;z \leq -3.4 \cdot 10^{+101}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;z \leq -2 \cdot 10^{+41}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq -9600000000000:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;z \leq -2.85 \cdot 10^{-117}:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\

\mathbf{elif}\;z \leq -1.1 \cdot 10^{-206}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;z \leq 9.6 \cdot 10^{-285}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq 4.4 \cdot 10^{-172}:\\
\;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\

\mathbf{elif}\;z \leq 2.8 \cdot 10^{+16}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\

\mathbf{elif}\;z \leq 3.9 \cdot 10^{+147}:\\
\;\;\;\;t\_2\\

\mathbf{else}:\\
\;\;\;\;t\_3\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if z < -3.40000000000000017e101 or -2.00000000000000001e41 < z < -9.6e12 or 3.90000000000000016e147 < z

    1. Initial program 56.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. Step-by-step derivation
      1. +-commutative56.0%

        \[\leadsto \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)} \]
      2. fma-define59.7%

        \[\leadsto \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)} \]
      3. *-commutative59.7%

        \[\leadsto \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) \]
      4. *-commutative59.7%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub59.7%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative59.7%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative59.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative59.7%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 51.3%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*48.8%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*48.8%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative48.8%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*51.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in52.5%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg52.5%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg52.5%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative52.5%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative52.5%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified52.5%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in z around inf 73.3%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
    9. Step-by-step derivation
      1. *-commutative73.3%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) \]
    10. Simplified73.3%

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x - b \cdot c\right)} \]

    if -3.40000000000000017e101 < z < -2.00000000000000001e41 or -1.0999999999999999e-206 < z < 9.6000000000000001e-285

    1. Initial program 64.8%

      \[\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. Add Preprocessing
    3. Taylor expanded in t around inf 68.1%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in a around 0 68.2%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]

    if -9.6e12 < z < -2.85e-117

    1. Initial program 84.1%

      \[\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. Step-by-step derivation
      1. +-commutative84.1%

        \[\leadsto \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)} \]
      2. fma-define84.1%

        \[\leadsto \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)} \]
      3. *-commutative84.1%

        \[\leadsto \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) \]
      4. *-commutative84.1%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative84.1%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative84.1%

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

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

      \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)} \]
    6. Step-by-step derivation
      1. +-commutative61.9%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} \]
      2. mul-1-neg61.9%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) \]
      3. unsub-neg61.9%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} \]
      4. *-commutative61.9%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) \]
    7. Simplified61.9%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right)} \]

    if -2.85e-117 < z < -1.0999999999999999e-206 or 2.8e16 < z < 3.90000000000000016e147

    1. Initial program 73.1%

      \[\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. Step-by-step derivation
      1. +-commutative73.1%

        \[\leadsto \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)} \]
      2. fma-define75.0%

        \[\leadsto \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)} \]
      3. *-commutative75.0%

        \[\leadsto \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) \]
      4. *-commutative75.0%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv75.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub75.0%

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out75.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg75.0%

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

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

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 74.9%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*74.8%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*74.8%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative74.8%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*74.7%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in76.7%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg76.7%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg76.7%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative76.7%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative76.7%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified76.7%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in b around inf 64.1%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i - c \cdot z\right)} \]
    9. Step-by-step derivation
      1. *-commutative64.1%

        \[\leadsto b \cdot \left(\color{blue}{i \cdot a} - c \cdot z\right) \]
      2. *-commutative64.1%

        \[\leadsto b \cdot \left(i \cdot a - \color{blue}{z \cdot c}\right) \]
    10. Simplified64.1%

      \[\leadsto \color{blue}{b \cdot \left(i \cdot a - z \cdot c\right)} \]

    if 9.6000000000000001e-285 < z < 4.40000000000000018e-172

    1. Initial program 74.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. Add Preprocessing
    3. Taylor expanded in a around -inf 95.7%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in t around 0 70.0%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + a \cdot \left(b \cdot i\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg70.0%

        \[\leadsto \color{blue}{\left(-i \cdot \left(j \cdot y\right)\right)} + a \cdot \left(b \cdot i\right) \]
      2. *-commutative70.0%

        \[\leadsto \left(-\color{blue}{\left(j \cdot y\right) \cdot i}\right) + a \cdot \left(b \cdot i\right) \]
      3. distribute-lft-neg-in70.0%

        \[\leadsto \color{blue}{\left(-j \cdot y\right) \cdot i} + a \cdot \left(b \cdot i\right) \]
      4. mul-1-neg70.0%

        \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right)\right)} \cdot i + a \cdot \left(b \cdot i\right) \]
      5. associate-*r*70.0%

        \[\leadsto \left(-1 \cdot \left(j \cdot y\right)\right) \cdot i + \color{blue}{\left(a \cdot b\right) \cdot i} \]
      6. distribute-rgt-in70.0%

        \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) + a \cdot b\right)} \]
      7. +-commutative70.0%

        \[\leadsto i \cdot \color{blue}{\left(a \cdot b + -1 \cdot \left(j \cdot y\right)\right)} \]
      8. mul-1-neg70.0%

        \[\leadsto i \cdot \left(a \cdot b + \color{blue}{\left(-j \cdot y\right)}\right) \]
      9. unsub-neg70.0%

        \[\leadsto i \cdot \color{blue}{\left(a \cdot b - j \cdot y\right)} \]
      10. *-commutative70.0%

        \[\leadsto i \cdot \left(a \cdot b - \color{blue}{y \cdot j}\right) \]
    6. Simplified70.0%

      \[\leadsto \color{blue}{i \cdot \left(a \cdot b - y \cdot j\right)} \]

    if 4.40000000000000018e-172 < z < 2.8e16

    1. Initial program 86.3%

      \[\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. Step-by-step derivation
      1. +-commutative86.3%

        \[\leadsto \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)} \]
      2. fma-define86.3%

        \[\leadsto \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)} \]
      3. *-commutative86.3%

        \[\leadsto \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) \]
      4. *-commutative86.3%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative86.3%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative86.3%

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

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

      \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} \]
    6. Step-by-step derivation
      1. +-commutative68.9%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} \]
      2. mul-1-neg68.9%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) \]
      3. unsub-neg68.9%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} \]
      4. *-commutative68.9%

        \[\leadsto t \cdot \left(\color{blue}{j \cdot c} - a \cdot x\right) \]
    7. Simplified68.9%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot c - a \cdot x\right)} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification68.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -3.4 \cdot 10^{+101}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq -2 \cdot 10^{+41}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;z \leq -9600000000000:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq -2.85 \cdot 10^{-117}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;z \leq -1.1 \cdot 10^{-206}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;z \leq 9.6 \cdot 10^{-285}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;z \leq 4.4 \cdot 10^{-172}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;z \leq 2.8 \cdot 10^{+16}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;z \leq 3.9 \cdot 10^{+147}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 9: 58.4% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(b \cdot i - x \cdot t\right)\\ t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_3 := t\_2 - a \cdot \left(x \cdot t\right)\\ t_4 := x \cdot y - b \cdot c\\ \mathbf{if}\;z \leq -9 \cdot 10^{+103}:\\ \;\;\;\;z \cdot t\_4\\ \mathbf{elif}\;z \leq -9.2 \cdot 10^{+39}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;z \leq -8.1 \cdot 10^{+15}:\\ \;\;\;\;x \cdot \left(y \cdot z\right) - b \cdot \left(z \cdot c\right)\\ \mathbf{elif}\;z \leq 7.5 \cdot 10^{-263}:\\ \;\;\;\;t\_2 + b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;z \leq 1.22 \cdot 10^{-183}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) + t\_1\\ \mathbf{elif}\;z \leq 3.7 \cdot 10^{-155}:\\ \;\;\;\;t\_1 - i \cdot \left(y \cdot j\right)\\ \mathbf{elif}\;z \leq 3.5 \cdot 10^{+16}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;z \leq 3.9 \cdot 10^{+147}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot i\right) \cdot \frac{t\_4}{i}\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* a (- (* b i) (* x t))))
        (t_2 (* j (- (* t c) (* y i))))
        (t_3 (- t_2 (* a (* x t))))
        (t_4 (- (* x y) (* b c))))
   (if (<= z -9e+103)
     (* z t_4)
     (if (<= z -9.2e+39)
       t_3
       (if (<= z -8.1e+15)
         (- (* x (* y z)) (* b (* z c)))
         (if (<= z 7.5e-263)
           (+ t_2 (* b (* a i)))
           (if (<= z 1.22e-183)
             (+ (* c (* t j)) t_1)
             (if (<= z 3.7e-155)
               (- t_1 (* i (* y j)))
               (if (<= z 3.5e+16)
                 t_3
                 (if (<= z 3.9e+147)
                   (* b (- (* a i) (* z c)))
                   (* (* z i) (/ t_4 i))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = a * ((b * i) - (x * t));
	double t_2 = j * ((t * c) - (y * i));
	double t_3 = t_2 - (a * (x * t));
	double t_4 = (x * y) - (b * c);
	double tmp;
	if (z <= -9e+103) {
		tmp = z * t_4;
	} else if (z <= -9.2e+39) {
		tmp = t_3;
	} else if (z <= -8.1e+15) {
		tmp = (x * (y * z)) - (b * (z * c));
	} else if (z <= 7.5e-263) {
		tmp = t_2 + (b * (a * i));
	} else if (z <= 1.22e-183) {
		tmp = (c * (t * j)) + t_1;
	} else if (z <= 3.7e-155) {
		tmp = t_1 - (i * (y * j));
	} else if (z <= 3.5e+16) {
		tmp = t_3;
	} else if (z <= 3.9e+147) {
		tmp = b * ((a * i) - (z * c));
	} else {
		tmp = (z * i) * (t_4 / i);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: tmp
    t_1 = a * ((b * i) - (x * t))
    t_2 = j * ((t * c) - (y * i))
    t_3 = t_2 - (a * (x * t))
    t_4 = (x * y) - (b * c)
    if (z <= (-9d+103)) then
        tmp = z * t_4
    else if (z <= (-9.2d+39)) then
        tmp = t_3
    else if (z <= (-8.1d+15)) then
        tmp = (x * (y * z)) - (b * (z * c))
    else if (z <= 7.5d-263) then
        tmp = t_2 + (b * (a * i))
    else if (z <= 1.22d-183) then
        tmp = (c * (t * j)) + t_1
    else if (z <= 3.7d-155) then
        tmp = t_1 - (i * (y * j))
    else if (z <= 3.5d+16) then
        tmp = t_3
    else if (z <= 3.9d+147) then
        tmp = b * ((a * i) - (z * c))
    else
        tmp = (z * i) * (t_4 / i)
    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 t_1 = a * ((b * i) - (x * t));
	double t_2 = j * ((t * c) - (y * i));
	double t_3 = t_2 - (a * (x * t));
	double t_4 = (x * y) - (b * c);
	double tmp;
	if (z <= -9e+103) {
		tmp = z * t_4;
	} else if (z <= -9.2e+39) {
		tmp = t_3;
	} else if (z <= -8.1e+15) {
		tmp = (x * (y * z)) - (b * (z * c));
	} else if (z <= 7.5e-263) {
		tmp = t_2 + (b * (a * i));
	} else if (z <= 1.22e-183) {
		tmp = (c * (t * j)) + t_1;
	} else if (z <= 3.7e-155) {
		tmp = t_1 - (i * (y * j));
	} else if (z <= 3.5e+16) {
		tmp = t_3;
	} else if (z <= 3.9e+147) {
		tmp = b * ((a * i) - (z * c));
	} else {
		tmp = (z * i) * (t_4 / i);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = a * ((b * i) - (x * t))
	t_2 = j * ((t * c) - (y * i))
	t_3 = t_2 - (a * (x * t))
	t_4 = (x * y) - (b * c)
	tmp = 0
	if z <= -9e+103:
		tmp = z * t_4
	elif z <= -9.2e+39:
		tmp = t_3
	elif z <= -8.1e+15:
		tmp = (x * (y * z)) - (b * (z * c))
	elif z <= 7.5e-263:
		tmp = t_2 + (b * (a * i))
	elif z <= 1.22e-183:
		tmp = (c * (t * j)) + t_1
	elif z <= 3.7e-155:
		tmp = t_1 - (i * (y * j))
	elif z <= 3.5e+16:
		tmp = t_3
	elif z <= 3.9e+147:
		tmp = b * ((a * i) - (z * c))
	else:
		tmp = (z * i) * (t_4 / i)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(a * Float64(Float64(b * i) - Float64(x * t)))
	t_2 = Float64(j * Float64(Float64(t * c) - Float64(y * i)))
	t_3 = Float64(t_2 - Float64(a * Float64(x * t)))
	t_4 = Float64(Float64(x * y) - Float64(b * c))
	tmp = 0.0
	if (z <= -9e+103)
		tmp = Float64(z * t_4);
	elseif (z <= -9.2e+39)
		tmp = t_3;
	elseif (z <= -8.1e+15)
		tmp = Float64(Float64(x * Float64(y * z)) - Float64(b * Float64(z * c)));
	elseif (z <= 7.5e-263)
		tmp = Float64(t_2 + Float64(b * Float64(a * i)));
	elseif (z <= 1.22e-183)
		tmp = Float64(Float64(c * Float64(t * j)) + t_1);
	elseif (z <= 3.7e-155)
		tmp = Float64(t_1 - Float64(i * Float64(y * j)));
	elseif (z <= 3.5e+16)
		tmp = t_3;
	elseif (z <= 3.9e+147)
		tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c)));
	else
		tmp = Float64(Float64(z * i) * Float64(t_4 / i));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = a * ((b * i) - (x * t));
	t_2 = j * ((t * c) - (y * i));
	t_3 = t_2 - (a * (x * t));
	t_4 = (x * y) - (b * c);
	tmp = 0.0;
	if (z <= -9e+103)
		tmp = z * t_4;
	elseif (z <= -9.2e+39)
		tmp = t_3;
	elseif (z <= -8.1e+15)
		tmp = (x * (y * z)) - (b * (z * c));
	elseif (z <= 7.5e-263)
		tmp = t_2 + (b * (a * i));
	elseif (z <= 1.22e-183)
		tmp = (c * (t * j)) + t_1;
	elseif (z <= 3.7e-155)
		tmp = t_1 - (i * (y * j));
	elseif (z <= 3.5e+16)
		tmp = t_3;
	elseif (z <= 3.9e+147)
		tmp = b * ((a * i) - (z * c));
	else
		tmp = (z * i) * (t_4 / i);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(t$95$2 - N[(a * N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -9e+103], N[(z * t$95$4), $MachinePrecision], If[LessEqual[z, -9.2e+39], t$95$3, If[LessEqual[z, -8.1e+15], N[(N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision] - N[(b * N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 7.5e-263], N[(t$95$2 + N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.22e-183], N[(N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision], If[LessEqual[z, 3.7e-155], N[(t$95$1 - N[(i * N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.5e+16], t$95$3, If[LessEqual[z, 3.9e+147], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(z * i), $MachinePrecision] * N[(t$95$4 / i), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(b \cdot i - x \cdot t\right)\\
t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\
t_3 := t\_2 - a \cdot \left(x \cdot t\right)\\
t_4 := x \cdot y - b \cdot c\\
\mathbf{if}\;z \leq -9 \cdot 10^{+103}:\\
\;\;\;\;z \cdot t\_4\\

\mathbf{elif}\;z \leq -9.2 \cdot 10^{+39}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;z \leq -8.1 \cdot 10^{+15}:\\
\;\;\;\;x \cdot \left(y \cdot z\right) - b \cdot \left(z \cdot c\right)\\

\mathbf{elif}\;z \leq 7.5 \cdot 10^{-263}:\\
\;\;\;\;t\_2 + b \cdot \left(a \cdot i\right)\\

\mathbf{elif}\;z \leq 1.22 \cdot 10^{-183}:\\
\;\;\;\;c \cdot \left(t \cdot j\right) + t\_1\\

\mathbf{elif}\;z \leq 3.7 \cdot 10^{-155}:\\
\;\;\;\;t\_1 - i \cdot \left(y \cdot j\right)\\

\mathbf{elif}\;z \leq 3.5 \cdot 10^{+16}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;z \leq 3.9 \cdot 10^{+147}:\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\

\mathbf{else}:\\
\;\;\;\;\left(z \cdot i\right) \cdot \frac{t\_4}{i}\\


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if z < -9.00000000000000002e103

    1. Initial program 58.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. Step-by-step derivation
      1. +-commutative58.7%

        \[\leadsto \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)} \]
      2. fma-define61.2%

        \[\leadsto \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)} \]
      3. *-commutative61.2%

        \[\leadsto \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) \]
      4. *-commutative61.2%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv61.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub61.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg61.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg61.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative61.2%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative61.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out61.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg61.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative61.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative61.2%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 51.6%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*46.5%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*46.5%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative46.5%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*46.6%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in49.0%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg49.0%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg49.0%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative49.0%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative49.0%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified49.0%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in z around inf 73.3%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
    9. Step-by-step derivation
      1. *-commutative73.3%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) \]
    10. Simplified73.3%

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x - b \cdot c\right)} \]

    if -9.00000000000000002e103 < z < -9.20000000000000047e39 or 3.7e-155 < z < 3.5e16

    1. Initial program 81.1%

      \[\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. Add Preprocessing
    3. Taylor expanded in t around inf 81.8%

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

    if -9.20000000000000047e39 < z < -8.1e15

    1. Initial program 87.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. Step-by-step derivation
      1. +-commutative87.5%

        \[\leadsto \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)} \]
      2. fma-define87.5%

        \[\leadsto \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)} \]
      3. *-commutative87.5%

        \[\leadsto \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) \]
      4. *-commutative87.5%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv87.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub87.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg87.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg87.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative87.5%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative87.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out87.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg87.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative87.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative87.5%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 75.1%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*87.6%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*87.6%

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

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*87.6%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in87.6%

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

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

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

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

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative87.6%

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

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in i around 0 75.1%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z\right) - b \cdot \left(c \cdot z\right)} \]

    if -8.1e15 < z < 7.50000000000000044e-263

    1. Initial program 79.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. Add Preprocessing
    3. Taylor expanded in i around inf 67.4%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot i\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Step-by-step derivation
      1. *-commutative67.4%

        \[\leadsto \color{blue}{\left(b \cdot i\right) \cdot a} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-*r*69.8%

        \[\leadsto \color{blue}{b \cdot \left(i \cdot a\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    5. Simplified69.8%

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

    if 7.50000000000000044e-263 < z < 1.21999999999999992e-183

    1. Initial program 65.3%

      \[\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. Add Preprocessing
    3. Taylor expanded in a around -inf 93.2%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in y around 0 93.0%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right) + c \cdot \left(j \cdot t\right)} \]
    5. Step-by-step derivation
      1. neg-mul-193.0%

        \[\leadsto \color{blue}{\left(-a \cdot \left(t \cdot x - b \cdot i\right)\right)} + c \cdot \left(j \cdot t\right) \]
      2. +-commutative93.0%

        \[\leadsto \color{blue}{c \cdot \left(j \cdot t\right) + \left(-a \cdot \left(t \cdot x - b \cdot i\right)\right)} \]
      3. unsub-neg93.0%

        \[\leadsto \color{blue}{c \cdot \left(j \cdot t\right) - a \cdot \left(t \cdot x - b \cdot i\right)} \]
      4. *-commutative93.0%

        \[\leadsto c \cdot \color{blue}{\left(t \cdot j\right)} - a \cdot \left(t \cdot x - b \cdot i\right) \]
      5. *-commutative93.0%

        \[\leadsto c \cdot \left(t \cdot j\right) - a \cdot \left(\color{blue}{x \cdot t} - b \cdot i\right) \]
      6. *-commutative93.0%

        \[\leadsto c \cdot \left(t \cdot j\right) - a \cdot \left(x \cdot t - \color{blue}{i \cdot b}\right) \]
    6. Simplified93.0%

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

    if 1.21999999999999992e-183 < z < 3.7e-155

    1. Initial program 40.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. Add Preprocessing
    3. Taylor expanded in a around -inf 60.0%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in c around 0 80.0%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right) + -1 \cdot \left(i \cdot \left(j \cdot y\right)\right)} \]
    5. Step-by-step derivation
      1. neg-mul-180.0%

        \[\leadsto \color{blue}{\left(-a \cdot \left(t \cdot x - b \cdot i\right)\right)} + -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) \]
      2. +-commutative80.0%

        \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + \left(-a \cdot \left(t \cdot x - b \cdot i\right)\right)} \]
      3. unsub-neg80.0%

        \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) - a \cdot \left(t \cdot x - b \cdot i\right)} \]
      4. mul-1-neg80.0%

        \[\leadsto \color{blue}{\left(-i \cdot \left(j \cdot y\right)\right)} - a \cdot \left(t \cdot x - b \cdot i\right) \]
      5. distribute-rgt-neg-in80.0%

        \[\leadsto \color{blue}{i \cdot \left(-j \cdot y\right)} - a \cdot \left(t \cdot x - b \cdot i\right) \]
      6. distribute-rgt-neg-in80.0%

        \[\leadsto i \cdot \color{blue}{\left(j \cdot \left(-y\right)\right)} - a \cdot \left(t \cdot x - b \cdot i\right) \]
      7. *-commutative80.0%

        \[\leadsto i \cdot \left(j \cdot \left(-y\right)\right) - a \cdot \left(\color{blue}{x \cdot t} - b \cdot i\right) \]
      8. *-commutative80.0%

        \[\leadsto i \cdot \left(j \cdot \left(-y\right)\right) - a \cdot \left(x \cdot t - \color{blue}{i \cdot b}\right) \]
    6. Simplified80.0%

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

    if 3.5e16 < z < 3.90000000000000016e147

    1. Initial program 73.3%

      \[\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. Step-by-step derivation
      1. +-commutative73.3%

        \[\leadsto \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)} \]
      2. fma-define76.3%

        \[\leadsto \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)} \]
      3. *-commutative76.3%

        \[\leadsto \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) \]
      4. *-commutative76.3%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative76.3%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative76.3%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 81.6%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*81.6%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*81.6%

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

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*81.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in84.4%

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

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

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg84.4%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative84.4%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative84.4%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified84.4%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in b around inf 71.1%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i - c \cdot z\right)} \]
    9. Step-by-step derivation
      1. *-commutative71.1%

        \[\leadsto b \cdot \left(\color{blue}{i \cdot a} - c \cdot z\right) \]
      2. *-commutative71.1%

        \[\leadsto b \cdot \left(i \cdot a - \color{blue}{z \cdot c}\right) \]
    10. Simplified71.1%

      \[\leadsto \color{blue}{b \cdot \left(i \cdot a - z \cdot c\right)} \]

    if 3.90000000000000016e147 < z

    1. Initial program 40.9%

      \[\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. Step-by-step derivation
      1. +-commutative40.9%

        \[\leadsto \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)} \]
      2. fma-define47.6%

        \[\leadsto \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)} \]
      3. *-commutative47.6%

        \[\leadsto \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) \]
      4. *-commutative47.6%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative47.6%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative47.6%

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

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

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

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

      \[\leadsto \color{blue}{i \cdot \left(z \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*71.1%

        \[\leadsto \color{blue}{\left(i \cdot z\right) \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right)} \]
      2. *-commutative71.1%

        \[\leadsto \color{blue}{\left(z \cdot i\right)} \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right) \]
      3. +-commutative71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \color{blue}{\left(\frac{x \cdot y}{i} + -1 \cdot \frac{b \cdot c}{i}\right)} \]
      4. mul-1-neg71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \left(\frac{x \cdot y}{i} + \color{blue}{\left(-\frac{b \cdot c}{i}\right)}\right) \]
      5. unsub-neg71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \color{blue}{\left(\frac{x \cdot y}{i} - \frac{b \cdot c}{i}\right)} \]
      6. associate-/l*71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \left(\color{blue}{x \cdot \frac{y}{i}} - \frac{b \cdot c}{i}\right) \]
      7. associate-/l*67.9%

        \[\leadsto \left(z \cdot i\right) \cdot \left(x \cdot \frac{y}{i} - \color{blue}{b \cdot \frac{c}{i}}\right) \]
    9. Simplified67.9%

      \[\leadsto \color{blue}{\left(z \cdot i\right) \cdot \left(x \cdot \frac{y}{i} - b \cdot \frac{c}{i}\right)} \]
    10. Taylor expanded in z around 0 71.0%

      \[\leadsto \color{blue}{i \cdot \left(z \cdot \left(\frac{x \cdot y}{i} - \frac{b \cdot c}{i}\right)\right)} \]
    11. Step-by-step derivation
      1. div-sub74.3%

        \[\leadsto i \cdot \left(z \cdot \color{blue}{\frac{x \cdot y - b \cdot c}{i}}\right) \]
      2. associate-*r*74.4%

        \[\leadsto \color{blue}{\left(i \cdot z\right) \cdot \frac{x \cdot y - b \cdot c}{i}} \]
      3. *-commutative74.4%

        \[\leadsto \color{blue}{\left(z \cdot i\right)} \cdot \frac{x \cdot y - b \cdot c}{i} \]
      4. *-commutative74.4%

        \[\leadsto \left(z \cdot i\right) \cdot \frac{\color{blue}{y \cdot x} - b \cdot c}{i} \]
    12. Simplified74.4%

      \[\leadsto \color{blue}{\left(z \cdot i\right) \cdot \frac{y \cdot x - b \cdot c}{i}} \]
  3. Recombined 8 regimes into one program.
  4. Final simplification74.7%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -9 \cdot 10^{+103}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq -9.2 \cdot 10^{+39}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) - a \cdot \left(x \cdot t\right)\\ \mathbf{elif}\;z \leq -8.1 \cdot 10^{+15}:\\ \;\;\;\;x \cdot \left(y \cdot z\right) - b \cdot \left(z \cdot c\right)\\ \mathbf{elif}\;z \leq 7.5 \cdot 10^{-263}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;z \leq 1.22 \cdot 10^{-183}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) + a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;z \leq 3.7 \cdot 10^{-155}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right) - i \cdot \left(y \cdot j\right)\\ \mathbf{elif}\;z \leq 3.5 \cdot 10^{+16}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) - a \cdot \left(x \cdot t\right)\\ \mathbf{elif}\;z \leq 3.9 \cdot 10^{+147}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot i\right) \cdot \frac{x \cdot y - b \cdot c}{i}\\ \end{array} \]
  5. Add Preprocessing

Alternative 10: 56.0% accurate, 0.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_2 := t\_1 + a \cdot \left(b \cdot i\right)\\ t_3 := x \cdot y - b \cdot c\\ t_4 := z \cdot t\_3\\ \mathbf{if}\;z \leq -2.2 \cdot 10^{+101}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;z \leq -3.6 \cdot 10^{+24}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;z \leq -1.15 \cdot 10^{+16}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;z \leq -4 \cdot 10^{-192}:\\ \;\;\;\;t\_1 + b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;z \leq 1.45 \cdot 10^{-162}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;z \leq 3.3 \cdot 10^{+16}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;z \leq 3.9 \cdot 10^{+147}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot i\right) \cdot \frac{t\_3}{i}\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* j (- (* t c) (* y i))))
        (t_2 (+ t_1 (* a (* b i))))
        (t_3 (- (* x y) (* b c)))
        (t_4 (* z t_3)))
   (if (<= z -2.2e+101)
     t_4
     (if (<= z -3.6e+24)
       t_2
       (if (<= z -1.15e+16)
         t_4
         (if (<= z -4e-192)
           (+ t_1 (* b (* a i)))
           (if (<= z 1.45e-162)
             t_2
             (if (<= z 3.3e+16)
               (* t (- (* c j) (* x a)))
               (if (<= z 3.9e+147)
                 (* b (- (* a i) (* z c)))
                 (* (* z i) (/ t_3 i)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = j * ((t * c) - (y * i));
	double t_2 = t_1 + (a * (b * i));
	double t_3 = (x * y) - (b * c);
	double t_4 = z * t_3;
	double tmp;
	if (z <= -2.2e+101) {
		tmp = t_4;
	} else if (z <= -3.6e+24) {
		tmp = t_2;
	} else if (z <= -1.15e+16) {
		tmp = t_4;
	} else if (z <= -4e-192) {
		tmp = t_1 + (b * (a * i));
	} else if (z <= 1.45e-162) {
		tmp = t_2;
	} else if (z <= 3.3e+16) {
		tmp = t * ((c * j) - (x * a));
	} else if (z <= 3.9e+147) {
		tmp = b * ((a * i) - (z * c));
	} else {
		tmp = (z * i) * (t_3 / i);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: tmp
    t_1 = j * ((t * c) - (y * i))
    t_2 = t_1 + (a * (b * i))
    t_3 = (x * y) - (b * c)
    t_4 = z * t_3
    if (z <= (-2.2d+101)) then
        tmp = t_4
    else if (z <= (-3.6d+24)) then
        tmp = t_2
    else if (z <= (-1.15d+16)) then
        tmp = t_4
    else if (z <= (-4d-192)) then
        tmp = t_1 + (b * (a * i))
    else if (z <= 1.45d-162) then
        tmp = t_2
    else if (z <= 3.3d+16) then
        tmp = t * ((c * j) - (x * a))
    else if (z <= 3.9d+147) then
        tmp = b * ((a * i) - (z * c))
    else
        tmp = (z * i) * (t_3 / i)
    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 t_1 = j * ((t * c) - (y * i));
	double t_2 = t_1 + (a * (b * i));
	double t_3 = (x * y) - (b * c);
	double t_4 = z * t_3;
	double tmp;
	if (z <= -2.2e+101) {
		tmp = t_4;
	} else if (z <= -3.6e+24) {
		tmp = t_2;
	} else if (z <= -1.15e+16) {
		tmp = t_4;
	} else if (z <= -4e-192) {
		tmp = t_1 + (b * (a * i));
	} else if (z <= 1.45e-162) {
		tmp = t_2;
	} else if (z <= 3.3e+16) {
		tmp = t * ((c * j) - (x * a));
	} else if (z <= 3.9e+147) {
		tmp = b * ((a * i) - (z * c));
	} else {
		tmp = (z * i) * (t_3 / i);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = j * ((t * c) - (y * i))
	t_2 = t_1 + (a * (b * i))
	t_3 = (x * y) - (b * c)
	t_4 = z * t_3
	tmp = 0
	if z <= -2.2e+101:
		tmp = t_4
	elif z <= -3.6e+24:
		tmp = t_2
	elif z <= -1.15e+16:
		tmp = t_4
	elif z <= -4e-192:
		tmp = t_1 + (b * (a * i))
	elif z <= 1.45e-162:
		tmp = t_2
	elif z <= 3.3e+16:
		tmp = t * ((c * j) - (x * a))
	elif z <= 3.9e+147:
		tmp = b * ((a * i) - (z * c))
	else:
		tmp = (z * i) * (t_3 / i)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(j * Float64(Float64(t * c) - Float64(y * i)))
	t_2 = Float64(t_1 + Float64(a * Float64(b * i)))
	t_3 = Float64(Float64(x * y) - Float64(b * c))
	t_4 = Float64(z * t_3)
	tmp = 0.0
	if (z <= -2.2e+101)
		tmp = t_4;
	elseif (z <= -3.6e+24)
		tmp = t_2;
	elseif (z <= -1.15e+16)
		tmp = t_4;
	elseif (z <= -4e-192)
		tmp = Float64(t_1 + Float64(b * Float64(a * i)));
	elseif (z <= 1.45e-162)
		tmp = t_2;
	elseif (z <= 3.3e+16)
		tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a)));
	elseif (z <= 3.9e+147)
		tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c)));
	else
		tmp = Float64(Float64(z * i) * Float64(t_3 / i));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = j * ((t * c) - (y * i));
	t_2 = t_1 + (a * (b * i));
	t_3 = (x * y) - (b * c);
	t_4 = z * t_3;
	tmp = 0.0;
	if (z <= -2.2e+101)
		tmp = t_4;
	elseif (z <= -3.6e+24)
		tmp = t_2;
	elseif (z <= -1.15e+16)
		tmp = t_4;
	elseif (z <= -4e-192)
		tmp = t_1 + (b * (a * i));
	elseif (z <= 1.45e-162)
		tmp = t_2;
	elseif (z <= 3.3e+16)
		tmp = t * ((c * j) - (x * a));
	elseif (z <= 3.9e+147)
		tmp = b * ((a * i) - (z * c));
	else
		tmp = (z * i) * (t_3 / i);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(t$95$1 + N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(z * t$95$3), $MachinePrecision]}, If[LessEqual[z, -2.2e+101], t$95$4, If[LessEqual[z, -3.6e+24], t$95$2, If[LessEqual[z, -1.15e+16], t$95$4, If[LessEqual[z, -4e-192], N[(t$95$1 + N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.45e-162], t$95$2, If[LessEqual[z, 3.3e+16], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.9e+147], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(z * i), $MachinePrecision] * N[(t$95$3 / i), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot c - y \cdot i\right)\\
t_2 := t\_1 + a \cdot \left(b \cdot i\right)\\
t_3 := x \cdot y - b \cdot c\\
t_4 := z \cdot t\_3\\
\mathbf{if}\;z \leq -2.2 \cdot 10^{+101}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;z \leq -3.6 \cdot 10^{+24}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;z \leq -1.15 \cdot 10^{+16}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;z \leq -4 \cdot 10^{-192}:\\
\;\;\;\;t\_1 + b \cdot \left(a \cdot i\right)\\

\mathbf{elif}\;z \leq 1.45 \cdot 10^{-162}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;z \leq 3.3 \cdot 10^{+16}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\

\mathbf{elif}\;z \leq 3.9 \cdot 10^{+147}:\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\

\mathbf{else}:\\
\;\;\;\;\left(z \cdot i\right) \cdot \frac{t\_3}{i}\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if z < -2.2000000000000001e101 or -3.59999999999999983e24 < z < -1.15e16

    1. Initial program 61.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. Step-by-step derivation
      1. +-commutative61.0%

        \[\leadsto \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)} \]
      2. fma-define63.2%

        \[\leadsto \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)} \]
      3. *-commutative63.2%

        \[\leadsto \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) \]
      4. *-commutative63.2%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative63.2%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative63.2%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 54.7%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*52.3%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*52.3%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative52.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*52.4%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in54.6%

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

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

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

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

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative54.6%

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

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in z around inf 76.2%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
    9. Step-by-step derivation
      1. *-commutative76.2%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) \]
    10. Simplified76.2%

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x - b \cdot c\right)} \]

    if -2.2000000000000001e101 < z < -3.59999999999999983e24 or -4.0000000000000004e-192 < z < 1.4500000000000001e-162

    1. Initial program 70.6%

      \[\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. Add Preprocessing
    3. Taylor expanded in i around inf 72.7%

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

    if -1.15e16 < z < -4.0000000000000004e-192

    1. Initial program 81.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. Add Preprocessing
    3. Taylor expanded in i around inf 63.3%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot i\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Step-by-step derivation
      1. *-commutative63.3%

        \[\leadsto \color{blue}{\left(b \cdot i\right) \cdot a} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-*r*67.5%

        \[\leadsto \color{blue}{b \cdot \left(i \cdot a\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    5. Simplified67.5%

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

    if 1.4500000000000001e-162 < z < 3.3e16

    1. Initial program 86.3%

      \[\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. Step-by-step derivation
      1. +-commutative86.3%

        \[\leadsto \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)} \]
      2. fma-define86.3%

        \[\leadsto \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)} \]
      3. *-commutative86.3%

        \[\leadsto \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) \]
      4. *-commutative86.3%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative86.3%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative86.3%

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

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

      \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} \]
    6. Step-by-step derivation
      1. +-commutative68.9%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} \]
      2. mul-1-neg68.9%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) \]
      3. unsub-neg68.9%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} \]
      4. *-commutative68.9%

        \[\leadsto t \cdot \left(\color{blue}{j \cdot c} - a \cdot x\right) \]
    7. Simplified68.9%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot c - a \cdot x\right)} \]

    if 3.3e16 < z < 3.90000000000000016e147

    1. Initial program 73.3%

      \[\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. Step-by-step derivation
      1. +-commutative73.3%

        \[\leadsto \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)} \]
      2. fma-define76.3%

        \[\leadsto \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)} \]
      3. *-commutative76.3%

        \[\leadsto \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) \]
      4. *-commutative76.3%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative76.3%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative76.3%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 81.6%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*81.6%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*81.6%

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

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*81.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in84.4%

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

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

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg84.4%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative84.4%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative84.4%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified84.4%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in b around inf 71.1%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i - c \cdot z\right)} \]
    9. Step-by-step derivation
      1. *-commutative71.1%

        \[\leadsto b \cdot \left(\color{blue}{i \cdot a} - c \cdot z\right) \]
      2. *-commutative71.1%

        \[\leadsto b \cdot \left(i \cdot a - \color{blue}{z \cdot c}\right) \]
    10. Simplified71.1%

      \[\leadsto \color{blue}{b \cdot \left(i \cdot a - z \cdot c\right)} \]

    if 3.90000000000000016e147 < z

    1. Initial program 40.9%

      \[\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. Step-by-step derivation
      1. +-commutative40.9%

        \[\leadsto \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)} \]
      2. fma-define47.6%

        \[\leadsto \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)} \]
      3. *-commutative47.6%

        \[\leadsto \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) \]
      4. *-commutative47.6%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative47.6%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative47.6%

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

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

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

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

      \[\leadsto \color{blue}{i \cdot \left(z \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*71.1%

        \[\leadsto \color{blue}{\left(i \cdot z\right) \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right)} \]
      2. *-commutative71.1%

        \[\leadsto \color{blue}{\left(z \cdot i\right)} \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right) \]
      3. +-commutative71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \color{blue}{\left(\frac{x \cdot y}{i} + -1 \cdot \frac{b \cdot c}{i}\right)} \]
      4. mul-1-neg71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \left(\frac{x \cdot y}{i} + \color{blue}{\left(-\frac{b \cdot c}{i}\right)}\right) \]
      5. unsub-neg71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \color{blue}{\left(\frac{x \cdot y}{i} - \frac{b \cdot c}{i}\right)} \]
      6. associate-/l*71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \left(\color{blue}{x \cdot \frac{y}{i}} - \frac{b \cdot c}{i}\right) \]
      7. associate-/l*67.9%

        \[\leadsto \left(z \cdot i\right) \cdot \left(x \cdot \frac{y}{i} - \color{blue}{b \cdot \frac{c}{i}}\right) \]
    9. Simplified67.9%

      \[\leadsto \color{blue}{\left(z \cdot i\right) \cdot \left(x \cdot \frac{y}{i} - b \cdot \frac{c}{i}\right)} \]
    10. Taylor expanded in z around 0 71.0%

      \[\leadsto \color{blue}{i \cdot \left(z \cdot \left(\frac{x \cdot y}{i} - \frac{b \cdot c}{i}\right)\right)} \]
    11. Step-by-step derivation
      1. div-sub74.3%

        \[\leadsto i \cdot \left(z \cdot \color{blue}{\frac{x \cdot y - b \cdot c}{i}}\right) \]
      2. associate-*r*74.4%

        \[\leadsto \color{blue}{\left(i \cdot z\right) \cdot \frac{x \cdot y - b \cdot c}{i}} \]
      3. *-commutative74.4%

        \[\leadsto \color{blue}{\left(z \cdot i\right)} \cdot \frac{x \cdot y - b \cdot c}{i} \]
      4. *-commutative74.4%

        \[\leadsto \left(z \cdot i\right) \cdot \frac{\color{blue}{y \cdot x} - b \cdot c}{i} \]
    12. Simplified74.4%

      \[\leadsto \color{blue}{\left(z \cdot i\right) \cdot \frac{y \cdot x - b \cdot c}{i}} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification71.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -2.2 \cdot 10^{+101}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq -3.6 \cdot 10^{+24}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;z \leq -1.15 \cdot 10^{+16}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq -4 \cdot 10^{-192}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;z \leq 1.45 \cdot 10^{-162}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;z \leq 3.3 \cdot 10^{+16}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;z \leq 3.9 \cdot 10^{+147}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot i\right) \cdot \frac{x \cdot y - b \cdot c}{i}\\ \end{array} \]
  5. Add Preprocessing

Alternative 11: 56.4% accurate, 0.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_2 := x \cdot y - b \cdot c\\ t_3 := z \cdot t\_2\\ \mathbf{if}\;z \leq -1.25 \cdot 10^{+103}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;z \leq -1.15 \cdot 10^{+25}:\\ \;\;\;\;t\_1 + a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;z \leq -66000000000000:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;z \leq 2 \cdot 10^{-263}:\\ \;\;\;\;t\_1 + b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;z \leq 3.4 \cdot 10^{-161}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) + a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;z \leq 2 \cdot 10^{+16}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;z \leq 3.9 \cdot 10^{+147}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot i\right) \cdot \frac{t\_2}{i}\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* j (- (* t c) (* y i))))
        (t_2 (- (* x y) (* b c)))
        (t_3 (* z t_2)))
   (if (<= z -1.25e+103)
     t_3
     (if (<= z -1.15e+25)
       (+ t_1 (* a (* b i)))
       (if (<= z -66000000000000.0)
         t_3
         (if (<= z 2e-263)
           (+ t_1 (* b (* a i)))
           (if (<= z 3.4e-161)
             (+ (* c (* t j)) (* a (- (* b i) (* x t))))
             (if (<= z 2e+16)
               (* t (- (* c j) (* x a)))
               (if (<= z 3.9e+147)
                 (* b (- (* a i) (* z c)))
                 (* (* z i) (/ t_2 i)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = j * ((t * c) - (y * i));
	double t_2 = (x * y) - (b * c);
	double t_3 = z * t_2;
	double tmp;
	if (z <= -1.25e+103) {
		tmp = t_3;
	} else if (z <= -1.15e+25) {
		tmp = t_1 + (a * (b * i));
	} else if (z <= -66000000000000.0) {
		tmp = t_3;
	} else if (z <= 2e-263) {
		tmp = t_1 + (b * (a * i));
	} else if (z <= 3.4e-161) {
		tmp = (c * (t * j)) + (a * ((b * i) - (x * t)));
	} else if (z <= 2e+16) {
		tmp = t * ((c * j) - (x * a));
	} else if (z <= 3.9e+147) {
		tmp = b * ((a * i) - (z * c));
	} else {
		tmp = (z * i) * (t_2 / i);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = j * ((t * c) - (y * i))
    t_2 = (x * y) - (b * c)
    t_3 = z * t_2
    if (z <= (-1.25d+103)) then
        tmp = t_3
    else if (z <= (-1.15d+25)) then
        tmp = t_1 + (a * (b * i))
    else if (z <= (-66000000000000.0d0)) then
        tmp = t_3
    else if (z <= 2d-263) then
        tmp = t_1 + (b * (a * i))
    else if (z <= 3.4d-161) then
        tmp = (c * (t * j)) + (a * ((b * i) - (x * t)))
    else if (z <= 2d+16) then
        tmp = t * ((c * j) - (x * a))
    else if (z <= 3.9d+147) then
        tmp = b * ((a * i) - (z * c))
    else
        tmp = (z * i) * (t_2 / i)
    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 t_1 = j * ((t * c) - (y * i));
	double t_2 = (x * y) - (b * c);
	double t_3 = z * t_2;
	double tmp;
	if (z <= -1.25e+103) {
		tmp = t_3;
	} else if (z <= -1.15e+25) {
		tmp = t_1 + (a * (b * i));
	} else if (z <= -66000000000000.0) {
		tmp = t_3;
	} else if (z <= 2e-263) {
		tmp = t_1 + (b * (a * i));
	} else if (z <= 3.4e-161) {
		tmp = (c * (t * j)) + (a * ((b * i) - (x * t)));
	} else if (z <= 2e+16) {
		tmp = t * ((c * j) - (x * a));
	} else if (z <= 3.9e+147) {
		tmp = b * ((a * i) - (z * c));
	} else {
		tmp = (z * i) * (t_2 / i);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = j * ((t * c) - (y * i))
	t_2 = (x * y) - (b * c)
	t_3 = z * t_2
	tmp = 0
	if z <= -1.25e+103:
		tmp = t_3
	elif z <= -1.15e+25:
		tmp = t_1 + (a * (b * i))
	elif z <= -66000000000000.0:
		tmp = t_3
	elif z <= 2e-263:
		tmp = t_1 + (b * (a * i))
	elif z <= 3.4e-161:
		tmp = (c * (t * j)) + (a * ((b * i) - (x * t)))
	elif z <= 2e+16:
		tmp = t * ((c * j) - (x * a))
	elif z <= 3.9e+147:
		tmp = b * ((a * i) - (z * c))
	else:
		tmp = (z * i) * (t_2 / i)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(j * Float64(Float64(t * c) - Float64(y * i)))
	t_2 = Float64(Float64(x * y) - Float64(b * c))
	t_3 = Float64(z * t_2)
	tmp = 0.0
	if (z <= -1.25e+103)
		tmp = t_3;
	elseif (z <= -1.15e+25)
		tmp = Float64(t_1 + Float64(a * Float64(b * i)));
	elseif (z <= -66000000000000.0)
		tmp = t_3;
	elseif (z <= 2e-263)
		tmp = Float64(t_1 + Float64(b * Float64(a * i)));
	elseif (z <= 3.4e-161)
		tmp = Float64(Float64(c * Float64(t * j)) + Float64(a * Float64(Float64(b * i) - Float64(x * t))));
	elseif (z <= 2e+16)
		tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a)));
	elseif (z <= 3.9e+147)
		tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c)));
	else
		tmp = Float64(Float64(z * i) * Float64(t_2 / i));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = j * ((t * c) - (y * i));
	t_2 = (x * y) - (b * c);
	t_3 = z * t_2;
	tmp = 0.0;
	if (z <= -1.25e+103)
		tmp = t_3;
	elseif (z <= -1.15e+25)
		tmp = t_1 + (a * (b * i));
	elseif (z <= -66000000000000.0)
		tmp = t_3;
	elseif (z <= 2e-263)
		tmp = t_1 + (b * (a * i));
	elseif (z <= 3.4e-161)
		tmp = (c * (t * j)) + (a * ((b * i) - (x * t)));
	elseif (z <= 2e+16)
		tmp = t * ((c * j) - (x * a));
	elseif (z <= 3.9e+147)
		tmp = b * ((a * i) - (z * c));
	else
		tmp = (z * i) * (t_2 / i);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(z * t$95$2), $MachinePrecision]}, If[LessEqual[z, -1.25e+103], t$95$3, If[LessEqual[z, -1.15e+25], N[(t$95$1 + N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -66000000000000.0], t$95$3, If[LessEqual[z, 2e-263], N[(t$95$1 + N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.4e-161], N[(N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision] + N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2e+16], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.9e+147], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(z * i), $MachinePrecision] * N[(t$95$2 / i), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot c - y \cdot i\right)\\
t_2 := x \cdot y - b \cdot c\\
t_3 := z \cdot t\_2\\
\mathbf{if}\;z \leq -1.25 \cdot 10^{+103}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;z \leq -1.15 \cdot 10^{+25}:\\
\;\;\;\;t\_1 + a \cdot \left(b \cdot i\right)\\

\mathbf{elif}\;z \leq -66000000000000:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;z \leq 2 \cdot 10^{-263}:\\
\;\;\;\;t\_1 + b \cdot \left(a \cdot i\right)\\

\mathbf{elif}\;z \leq 3.4 \cdot 10^{-161}:\\
\;\;\;\;c \cdot \left(t \cdot j\right) + a \cdot \left(b \cdot i - x \cdot t\right)\\

\mathbf{elif}\;z \leq 2 \cdot 10^{+16}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\

\mathbf{elif}\;z \leq 3.9 \cdot 10^{+147}:\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\

\mathbf{else}:\\
\;\;\;\;\left(z \cdot i\right) \cdot \frac{t\_2}{i}\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if z < -1.25e103 or -1.1499999999999999e25 < z < -6.6e13

    1. Initial program 61.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. Step-by-step derivation
      1. +-commutative61.0%

        \[\leadsto \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)} \]
      2. fma-define63.2%

        \[\leadsto \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)} \]
      3. *-commutative63.2%

        \[\leadsto \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) \]
      4. *-commutative63.2%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative63.2%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative63.2%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 54.7%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*52.3%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*52.3%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative52.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*52.4%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in54.6%

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

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

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

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

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative54.6%

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

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in z around inf 76.2%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
    9. Step-by-step derivation
      1. *-commutative76.2%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) \]
    10. Simplified76.2%

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x - b \cdot c\right)} \]

    if -1.25e103 < z < -1.1499999999999999e25

    1. Initial program 58.3%

      \[\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. Add Preprocessing
    3. Taylor expanded in i around inf 66.9%

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

    if -6.6e13 < z < 2e-263

    1. Initial program 79.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. Add Preprocessing
    3. Taylor expanded in i around inf 67.4%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot i\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Step-by-step derivation
      1. *-commutative67.4%

        \[\leadsto \color{blue}{\left(b \cdot i\right) \cdot a} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-*r*69.8%

        \[\leadsto \color{blue}{b \cdot \left(i \cdot a\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    5. Simplified69.8%

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

    if 2e-263 < z < 3.39999999999999982e-161

    1. Initial program 63.4%

      \[\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. Add Preprocessing
    3. Taylor expanded in a around -inf 94.1%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in y around 0 81.9%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right) + c \cdot \left(j \cdot t\right)} \]
    5. Step-by-step derivation
      1. neg-mul-181.9%

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

        \[\leadsto \color{blue}{c \cdot \left(j \cdot t\right) + \left(-a \cdot \left(t \cdot x - b \cdot i\right)\right)} \]
      3. unsub-neg81.9%

        \[\leadsto \color{blue}{c \cdot \left(j \cdot t\right) - a \cdot \left(t \cdot x - b \cdot i\right)} \]
      4. *-commutative81.9%

        \[\leadsto c \cdot \color{blue}{\left(t \cdot j\right)} - a \cdot \left(t \cdot x - b \cdot i\right) \]
      5. *-commutative81.9%

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

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

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

    if 3.39999999999999982e-161 < z < 2e16

    1. Initial program 86.3%

      \[\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. Step-by-step derivation
      1. +-commutative86.3%

        \[\leadsto \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)} \]
      2. fma-define86.3%

        \[\leadsto \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)} \]
      3. *-commutative86.3%

        \[\leadsto \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) \]
      4. *-commutative86.3%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative86.3%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative86.3%

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

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

      \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} \]
    6. Step-by-step derivation
      1. +-commutative68.9%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} \]
      2. mul-1-neg68.9%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) \]
      3. unsub-neg68.9%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} \]
      4. *-commutative68.9%

        \[\leadsto t \cdot \left(\color{blue}{j \cdot c} - a \cdot x\right) \]
    7. Simplified68.9%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot c - a \cdot x\right)} \]

    if 2e16 < z < 3.90000000000000016e147

    1. Initial program 73.3%

      \[\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. Step-by-step derivation
      1. +-commutative73.3%

        \[\leadsto \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)} \]
      2. fma-define76.3%

        \[\leadsto \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)} \]
      3. *-commutative76.3%

        \[\leadsto \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) \]
      4. *-commutative76.3%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative76.3%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative76.3%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 81.6%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*81.6%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*81.6%

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

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*81.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in84.4%

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

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

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg84.4%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative84.4%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative84.4%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified84.4%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in b around inf 71.1%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i - c \cdot z\right)} \]
    9. Step-by-step derivation
      1. *-commutative71.1%

        \[\leadsto b \cdot \left(\color{blue}{i \cdot a} - c \cdot z\right) \]
      2. *-commutative71.1%

        \[\leadsto b \cdot \left(i \cdot a - \color{blue}{z \cdot c}\right) \]
    10. Simplified71.1%

      \[\leadsto \color{blue}{b \cdot \left(i \cdot a - z \cdot c\right)} \]

    if 3.90000000000000016e147 < z

    1. Initial program 40.9%

      \[\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. Step-by-step derivation
      1. +-commutative40.9%

        \[\leadsto \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)} \]
      2. fma-define47.6%

        \[\leadsto \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)} \]
      3. *-commutative47.6%

        \[\leadsto \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) \]
      4. *-commutative47.6%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative47.6%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative47.6%

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

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

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

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

      \[\leadsto \color{blue}{i \cdot \left(z \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*71.1%

        \[\leadsto \color{blue}{\left(i \cdot z\right) \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right)} \]
      2. *-commutative71.1%

        \[\leadsto \color{blue}{\left(z \cdot i\right)} \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right) \]
      3. +-commutative71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \color{blue}{\left(\frac{x \cdot y}{i} + -1 \cdot \frac{b \cdot c}{i}\right)} \]
      4. mul-1-neg71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \left(\frac{x \cdot y}{i} + \color{blue}{\left(-\frac{b \cdot c}{i}\right)}\right) \]
      5. unsub-neg71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \color{blue}{\left(\frac{x \cdot y}{i} - \frac{b \cdot c}{i}\right)} \]
      6. associate-/l*71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \left(\color{blue}{x \cdot \frac{y}{i}} - \frac{b \cdot c}{i}\right) \]
      7. associate-/l*67.9%

        \[\leadsto \left(z \cdot i\right) \cdot \left(x \cdot \frac{y}{i} - \color{blue}{b \cdot \frac{c}{i}}\right) \]
    9. Simplified67.9%

      \[\leadsto \color{blue}{\left(z \cdot i\right) \cdot \left(x \cdot \frac{y}{i} - b \cdot \frac{c}{i}\right)} \]
    10. Taylor expanded in z around 0 71.0%

      \[\leadsto \color{blue}{i \cdot \left(z \cdot \left(\frac{x \cdot y}{i} - \frac{b \cdot c}{i}\right)\right)} \]
    11. Step-by-step derivation
      1. div-sub74.3%

        \[\leadsto i \cdot \left(z \cdot \color{blue}{\frac{x \cdot y - b \cdot c}{i}}\right) \]
      2. associate-*r*74.4%

        \[\leadsto \color{blue}{\left(i \cdot z\right) \cdot \frac{x \cdot y - b \cdot c}{i}} \]
      3. *-commutative74.4%

        \[\leadsto \color{blue}{\left(z \cdot i\right)} \cdot \frac{x \cdot y - b \cdot c}{i} \]
      4. *-commutative74.4%

        \[\leadsto \left(z \cdot i\right) \cdot \frac{\color{blue}{y \cdot x} - b \cdot c}{i} \]
    12. Simplified74.4%

      \[\leadsto \color{blue}{\left(z \cdot i\right) \cdot \frac{y \cdot x - b \cdot c}{i}} \]
  3. Recombined 7 regimes into one program.
  4. Final simplification72.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -1.25 \cdot 10^{+103}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq -1.15 \cdot 10^{+25}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;z \leq -66000000000000:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq 2 \cdot 10^{-263}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;z \leq 3.4 \cdot 10^{-161}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) + a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;z \leq 2 \cdot 10^{+16}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;z \leq 3.9 \cdot 10^{+147}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot i\right) \cdot \frac{x \cdot y - b \cdot c}{i}\\ \end{array} \]
  5. Add Preprocessing

Alternative 12: 57.5% accurate, 0.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_2 := x \cdot y - b \cdot c\\ t_3 := z \cdot t\_2\\ \mathbf{if}\;z \leq -2 \cdot 10^{+103}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;z \leq -3.7 \cdot 10^{+24}:\\ \;\;\;\;t\_1 + a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;z \leq -3.9 \cdot 10^{+14}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;z \leq 1.1 \cdot 10^{-262}:\\ \;\;\;\;t\_1 + b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;z \leq 2.85 \cdot 10^{-161}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) + a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;z \leq 2.4 \cdot 10^{+16}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) - c \cdot \left(z \cdot b\right)\\ \mathbf{elif}\;z \leq 3.8 \cdot 10^{+147}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot i\right) \cdot \frac{t\_2}{i}\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* j (- (* t c) (* y i))))
        (t_2 (- (* x y) (* b c)))
        (t_3 (* z t_2)))
   (if (<= z -2e+103)
     t_3
     (if (<= z -3.7e+24)
       (+ t_1 (* a (* b i)))
       (if (<= z -3.9e+14)
         t_3
         (if (<= z 1.1e-262)
           (+ t_1 (* b (* a i)))
           (if (<= z 2.85e-161)
             (+ (* c (* t j)) (* a (- (* b i) (* x t))))
             (if (<= z 2.4e+16)
               (- (* t (- (* c j) (* x a))) (* c (* z b)))
               (if (<= z 3.8e+147)
                 (* b (- (* a i) (* z c)))
                 (* (* z i) (/ t_2 i)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = j * ((t * c) - (y * i));
	double t_2 = (x * y) - (b * c);
	double t_3 = z * t_2;
	double tmp;
	if (z <= -2e+103) {
		tmp = t_3;
	} else if (z <= -3.7e+24) {
		tmp = t_1 + (a * (b * i));
	} else if (z <= -3.9e+14) {
		tmp = t_3;
	} else if (z <= 1.1e-262) {
		tmp = t_1 + (b * (a * i));
	} else if (z <= 2.85e-161) {
		tmp = (c * (t * j)) + (a * ((b * i) - (x * t)));
	} else if (z <= 2.4e+16) {
		tmp = (t * ((c * j) - (x * a))) - (c * (z * b));
	} else if (z <= 3.8e+147) {
		tmp = b * ((a * i) - (z * c));
	} else {
		tmp = (z * i) * (t_2 / i);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = j * ((t * c) - (y * i))
    t_2 = (x * y) - (b * c)
    t_3 = z * t_2
    if (z <= (-2d+103)) then
        tmp = t_3
    else if (z <= (-3.7d+24)) then
        tmp = t_1 + (a * (b * i))
    else if (z <= (-3.9d+14)) then
        tmp = t_3
    else if (z <= 1.1d-262) then
        tmp = t_1 + (b * (a * i))
    else if (z <= 2.85d-161) then
        tmp = (c * (t * j)) + (a * ((b * i) - (x * t)))
    else if (z <= 2.4d+16) then
        tmp = (t * ((c * j) - (x * a))) - (c * (z * b))
    else if (z <= 3.8d+147) then
        tmp = b * ((a * i) - (z * c))
    else
        tmp = (z * i) * (t_2 / i)
    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 t_1 = j * ((t * c) - (y * i));
	double t_2 = (x * y) - (b * c);
	double t_3 = z * t_2;
	double tmp;
	if (z <= -2e+103) {
		tmp = t_3;
	} else if (z <= -3.7e+24) {
		tmp = t_1 + (a * (b * i));
	} else if (z <= -3.9e+14) {
		tmp = t_3;
	} else if (z <= 1.1e-262) {
		tmp = t_1 + (b * (a * i));
	} else if (z <= 2.85e-161) {
		tmp = (c * (t * j)) + (a * ((b * i) - (x * t)));
	} else if (z <= 2.4e+16) {
		tmp = (t * ((c * j) - (x * a))) - (c * (z * b));
	} else if (z <= 3.8e+147) {
		tmp = b * ((a * i) - (z * c));
	} else {
		tmp = (z * i) * (t_2 / i);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = j * ((t * c) - (y * i))
	t_2 = (x * y) - (b * c)
	t_3 = z * t_2
	tmp = 0
	if z <= -2e+103:
		tmp = t_3
	elif z <= -3.7e+24:
		tmp = t_1 + (a * (b * i))
	elif z <= -3.9e+14:
		tmp = t_3
	elif z <= 1.1e-262:
		tmp = t_1 + (b * (a * i))
	elif z <= 2.85e-161:
		tmp = (c * (t * j)) + (a * ((b * i) - (x * t)))
	elif z <= 2.4e+16:
		tmp = (t * ((c * j) - (x * a))) - (c * (z * b))
	elif z <= 3.8e+147:
		tmp = b * ((a * i) - (z * c))
	else:
		tmp = (z * i) * (t_2 / i)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(j * Float64(Float64(t * c) - Float64(y * i)))
	t_2 = Float64(Float64(x * y) - Float64(b * c))
	t_3 = Float64(z * t_2)
	tmp = 0.0
	if (z <= -2e+103)
		tmp = t_3;
	elseif (z <= -3.7e+24)
		tmp = Float64(t_1 + Float64(a * Float64(b * i)));
	elseif (z <= -3.9e+14)
		tmp = t_3;
	elseif (z <= 1.1e-262)
		tmp = Float64(t_1 + Float64(b * Float64(a * i)));
	elseif (z <= 2.85e-161)
		tmp = Float64(Float64(c * Float64(t * j)) + Float64(a * Float64(Float64(b * i) - Float64(x * t))));
	elseif (z <= 2.4e+16)
		tmp = Float64(Float64(t * Float64(Float64(c * j) - Float64(x * a))) - Float64(c * Float64(z * b)));
	elseif (z <= 3.8e+147)
		tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c)));
	else
		tmp = Float64(Float64(z * i) * Float64(t_2 / i));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = j * ((t * c) - (y * i));
	t_2 = (x * y) - (b * c);
	t_3 = z * t_2;
	tmp = 0.0;
	if (z <= -2e+103)
		tmp = t_3;
	elseif (z <= -3.7e+24)
		tmp = t_1 + (a * (b * i));
	elseif (z <= -3.9e+14)
		tmp = t_3;
	elseif (z <= 1.1e-262)
		tmp = t_1 + (b * (a * i));
	elseif (z <= 2.85e-161)
		tmp = (c * (t * j)) + (a * ((b * i) - (x * t)));
	elseif (z <= 2.4e+16)
		tmp = (t * ((c * j) - (x * a))) - (c * (z * b));
	elseif (z <= 3.8e+147)
		tmp = b * ((a * i) - (z * c));
	else
		tmp = (z * i) * (t_2 / i);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(z * t$95$2), $MachinePrecision]}, If[LessEqual[z, -2e+103], t$95$3, If[LessEqual[z, -3.7e+24], N[(t$95$1 + N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -3.9e+14], t$95$3, If[LessEqual[z, 1.1e-262], N[(t$95$1 + N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.85e-161], N[(N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision] + N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.4e+16], N[(N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.8e+147], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(z * i), $MachinePrecision] * N[(t$95$2 / i), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot c - y \cdot i\right)\\
t_2 := x \cdot y - b \cdot c\\
t_3 := z \cdot t\_2\\
\mathbf{if}\;z \leq -2 \cdot 10^{+103}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;z \leq -3.7 \cdot 10^{+24}:\\
\;\;\;\;t\_1 + a \cdot \left(b \cdot i\right)\\

\mathbf{elif}\;z \leq -3.9 \cdot 10^{+14}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;z \leq 1.1 \cdot 10^{-262}:\\
\;\;\;\;t\_1 + b \cdot \left(a \cdot i\right)\\

\mathbf{elif}\;z \leq 2.85 \cdot 10^{-161}:\\
\;\;\;\;c \cdot \left(t \cdot j\right) + a \cdot \left(b \cdot i - x \cdot t\right)\\

\mathbf{elif}\;z \leq 2.4 \cdot 10^{+16}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) - c \cdot \left(z \cdot b\right)\\

\mathbf{elif}\;z \leq 3.8 \cdot 10^{+147}:\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\

\mathbf{else}:\\
\;\;\;\;\left(z \cdot i\right) \cdot \frac{t\_2}{i}\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if z < -2e103 or -3.69999999999999999e24 < z < -3.9e14

    1. Initial program 61.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. Step-by-step derivation
      1. +-commutative61.0%

        \[\leadsto \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)} \]
      2. fma-define63.2%

        \[\leadsto \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)} \]
      3. *-commutative63.2%

        \[\leadsto \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) \]
      4. *-commutative63.2%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative63.2%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative63.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative63.2%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 54.7%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*52.3%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*52.3%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative52.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*52.4%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in54.6%

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

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

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

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

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative54.6%

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

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in z around inf 76.2%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
    9. Step-by-step derivation
      1. *-commutative76.2%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) \]
    10. Simplified76.2%

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x - b \cdot c\right)} \]

    if -2e103 < z < -3.69999999999999999e24

    1. Initial program 58.3%

      \[\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. Add Preprocessing
    3. Taylor expanded in i around inf 66.9%

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

    if -3.9e14 < z < 1.09999999999999994e-262

    1. Initial program 79.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. Add Preprocessing
    3. Taylor expanded in i around inf 67.4%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot i\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Step-by-step derivation
      1. *-commutative67.4%

        \[\leadsto \color{blue}{\left(b \cdot i\right) \cdot a} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-*r*69.8%

        \[\leadsto \color{blue}{b \cdot \left(i \cdot a\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    5. Simplified69.8%

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

    if 1.09999999999999994e-262 < z < 2.85000000000000011e-161

    1. Initial program 63.4%

      \[\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. Add Preprocessing
    3. Taylor expanded in a around -inf 94.1%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in y around 0 81.9%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right) + c \cdot \left(j \cdot t\right)} \]
    5. Step-by-step derivation
      1. neg-mul-181.9%

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

        \[\leadsto \color{blue}{c \cdot \left(j \cdot t\right) + \left(-a \cdot \left(t \cdot x - b \cdot i\right)\right)} \]
      3. unsub-neg81.9%

        \[\leadsto \color{blue}{c \cdot \left(j \cdot t\right) - a \cdot \left(t \cdot x - b \cdot i\right)} \]
      4. *-commutative81.9%

        \[\leadsto c \cdot \color{blue}{\left(t \cdot j\right)} - a \cdot \left(t \cdot x - b \cdot i\right) \]
      5. *-commutative81.9%

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

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

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

    if 2.85000000000000011e-161 < z < 2.4e16

    1. Initial program 86.3%

      \[\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. Step-by-step derivation
      1. +-commutative86.3%

        \[\leadsto \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)} \]
      2. fma-define86.3%

        \[\leadsto \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)} \]
      3. *-commutative86.3%

        \[\leadsto \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) \]
      4. *-commutative86.3%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative86.3%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative86.3%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 62.5%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. *-commutative62.5%

        \[\leadsto \left(-1 \cdot \left(a \cdot \color{blue}{\left(x \cdot t\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*65.1%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(a \cdot x\right) \cdot t\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. associate-*l*65.1%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right) \cdot t} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*73.2%

        \[\leadsto \left(\left(-1 \cdot \left(a \cdot x\right)\right) \cdot t + \color{blue}{\left(c \cdot j\right) \cdot t}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in75.9%

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

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg75.9%

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

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

        \[\leadsto t \cdot \left(\color{blue}{j \cdot c} - a \cdot x\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative75.9%

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

      \[\leadsto \color{blue}{t \cdot \left(j \cdot c - a \cdot x\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in c around inf 76.0%

      \[\leadsto t \cdot \left(j \cdot c - a \cdot x\right) - \color{blue}{b \cdot \left(c \cdot z\right)} \]
    9. Step-by-step derivation
      1. *-commutative76.0%

        \[\leadsto t \cdot \left(j \cdot c - a \cdot x\right) - \color{blue}{\left(c \cdot z\right) \cdot b} \]
      2. associate-*l*76.0%

        \[\leadsto t \cdot \left(j \cdot c - a \cdot x\right) - \color{blue}{c \cdot \left(z \cdot b\right)} \]
      3. *-commutative76.0%

        \[\leadsto t \cdot \left(j \cdot c - a \cdot x\right) - c \cdot \color{blue}{\left(b \cdot z\right)} \]
    10. Simplified76.0%

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

    if 2.4e16 < z < 3.7999999999999997e147

    1. Initial program 73.3%

      \[\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. Step-by-step derivation
      1. +-commutative73.3%

        \[\leadsto \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)} \]
      2. fma-define76.3%

        \[\leadsto \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)} \]
      3. *-commutative76.3%

        \[\leadsto \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) \]
      4. *-commutative76.3%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative76.3%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative76.3%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 81.6%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*81.6%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*81.6%

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

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*81.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in84.4%

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

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

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg84.4%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative84.4%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative84.4%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified84.4%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in b around inf 71.1%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i - c \cdot z\right)} \]
    9. Step-by-step derivation
      1. *-commutative71.1%

        \[\leadsto b \cdot \left(\color{blue}{i \cdot a} - c \cdot z\right) \]
      2. *-commutative71.1%

        \[\leadsto b \cdot \left(i \cdot a - \color{blue}{z \cdot c}\right) \]
    10. Simplified71.1%

      \[\leadsto \color{blue}{b \cdot \left(i \cdot a - z \cdot c\right)} \]

    if 3.7999999999999997e147 < z

    1. Initial program 40.9%

      \[\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. Step-by-step derivation
      1. +-commutative40.9%

        \[\leadsto \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)} \]
      2. fma-define47.6%

        \[\leadsto \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)} \]
      3. *-commutative47.6%

        \[\leadsto \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) \]
      4. *-commutative47.6%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative47.6%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative47.6%

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

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

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

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

      \[\leadsto \color{blue}{i \cdot \left(z \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*71.1%

        \[\leadsto \color{blue}{\left(i \cdot z\right) \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right)} \]
      2. *-commutative71.1%

        \[\leadsto \color{blue}{\left(z \cdot i\right)} \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right) \]
      3. +-commutative71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \color{blue}{\left(\frac{x \cdot y}{i} + -1 \cdot \frac{b \cdot c}{i}\right)} \]
      4. mul-1-neg71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \left(\frac{x \cdot y}{i} + \color{blue}{\left(-\frac{b \cdot c}{i}\right)}\right) \]
      5. unsub-neg71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \color{blue}{\left(\frac{x \cdot y}{i} - \frac{b \cdot c}{i}\right)} \]
      6. associate-/l*71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \left(\color{blue}{x \cdot \frac{y}{i}} - \frac{b \cdot c}{i}\right) \]
      7. associate-/l*67.9%

        \[\leadsto \left(z \cdot i\right) \cdot \left(x \cdot \frac{y}{i} - \color{blue}{b \cdot \frac{c}{i}}\right) \]
    9. Simplified67.9%

      \[\leadsto \color{blue}{\left(z \cdot i\right) \cdot \left(x \cdot \frac{y}{i} - b \cdot \frac{c}{i}\right)} \]
    10. Taylor expanded in z around 0 71.0%

      \[\leadsto \color{blue}{i \cdot \left(z \cdot \left(\frac{x \cdot y}{i} - \frac{b \cdot c}{i}\right)\right)} \]
    11. Step-by-step derivation
      1. div-sub74.3%

        \[\leadsto i \cdot \left(z \cdot \color{blue}{\frac{x \cdot y - b \cdot c}{i}}\right) \]
      2. associate-*r*74.4%

        \[\leadsto \color{blue}{\left(i \cdot z\right) \cdot \frac{x \cdot y - b \cdot c}{i}} \]
      3. *-commutative74.4%

        \[\leadsto \color{blue}{\left(z \cdot i\right)} \cdot \frac{x \cdot y - b \cdot c}{i} \]
      4. *-commutative74.4%

        \[\leadsto \left(z \cdot i\right) \cdot \frac{\color{blue}{y \cdot x} - b \cdot c}{i} \]
    12. Simplified74.4%

      \[\leadsto \color{blue}{\left(z \cdot i\right) \cdot \frac{y \cdot x - b \cdot c}{i}} \]
  3. Recombined 7 regimes into one program.
  4. Final simplification73.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -2 \cdot 10^{+103}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq -3.7 \cdot 10^{+24}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;z \leq -3.9 \cdot 10^{+14}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq 1.1 \cdot 10^{-262}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;z \leq 2.85 \cdot 10^{-161}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) + a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;z \leq 2.4 \cdot 10^{+16}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) - c \cdot \left(z \cdot b\right)\\ \mathbf{elif}\;z \leq 3.8 \cdot 10^{+147}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot i\right) \cdot \frac{x \cdot y - b \cdot c}{i}\\ \end{array} \]
  5. Add Preprocessing

Alternative 13: 57.6% accurate, 0.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(b \cdot i - x \cdot t\right) - i \cdot \left(y \cdot j\right)\\ t_2 := x \cdot y - b \cdot c\\ t_3 := z \cdot t\_2\\ \mathbf{if}\;z \leq -3.15 \cdot 10^{+103}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;z \leq -1.2 \cdot 10^{+28}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -3.5 \cdot 10^{+14}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;z \leq 1.25 \cdot 10^{-220}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;z \leq 1.25 \cdot 10^{-163}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 3.2 \cdot 10^{+16}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) - c \cdot \left(z \cdot b\right)\\ \mathbf{elif}\;z \leq 5.4 \cdot 10^{+147}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot i\right) \cdot \frac{t\_2}{i}\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (- (* a (- (* b i) (* x t))) (* i (* y j))))
        (t_2 (- (* x y) (* b c)))
        (t_3 (* z t_2)))
   (if (<= z -3.15e+103)
     t_3
     (if (<= z -1.2e+28)
       t_1
       (if (<= z -3.5e+14)
         t_3
         (if (<= z 1.25e-220)
           (+ (* j (- (* t c) (* y i))) (* b (* a i)))
           (if (<= z 1.25e-163)
             t_1
             (if (<= z 3.2e+16)
               (- (* t (- (* c j) (* x a))) (* c (* z b)))
               (if (<= z 5.4e+147)
                 (* b (- (* a i) (* z c)))
                 (* (* z i) (/ t_2 i)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = (a * ((b * i) - (x * t))) - (i * (y * j));
	double t_2 = (x * y) - (b * c);
	double t_3 = z * t_2;
	double tmp;
	if (z <= -3.15e+103) {
		tmp = t_3;
	} else if (z <= -1.2e+28) {
		tmp = t_1;
	} else if (z <= -3.5e+14) {
		tmp = t_3;
	} else if (z <= 1.25e-220) {
		tmp = (j * ((t * c) - (y * i))) + (b * (a * i));
	} else if (z <= 1.25e-163) {
		tmp = t_1;
	} else if (z <= 3.2e+16) {
		tmp = (t * ((c * j) - (x * a))) - (c * (z * b));
	} else if (z <= 5.4e+147) {
		tmp = b * ((a * i) - (z * c));
	} else {
		tmp = (z * i) * (t_2 / i);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = (a * ((b * i) - (x * t))) - (i * (y * j))
    t_2 = (x * y) - (b * c)
    t_3 = z * t_2
    if (z <= (-3.15d+103)) then
        tmp = t_3
    else if (z <= (-1.2d+28)) then
        tmp = t_1
    else if (z <= (-3.5d+14)) then
        tmp = t_3
    else if (z <= 1.25d-220) then
        tmp = (j * ((t * c) - (y * i))) + (b * (a * i))
    else if (z <= 1.25d-163) then
        tmp = t_1
    else if (z <= 3.2d+16) then
        tmp = (t * ((c * j) - (x * a))) - (c * (z * b))
    else if (z <= 5.4d+147) then
        tmp = b * ((a * i) - (z * c))
    else
        tmp = (z * i) * (t_2 / i)
    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 t_1 = (a * ((b * i) - (x * t))) - (i * (y * j));
	double t_2 = (x * y) - (b * c);
	double t_3 = z * t_2;
	double tmp;
	if (z <= -3.15e+103) {
		tmp = t_3;
	} else if (z <= -1.2e+28) {
		tmp = t_1;
	} else if (z <= -3.5e+14) {
		tmp = t_3;
	} else if (z <= 1.25e-220) {
		tmp = (j * ((t * c) - (y * i))) + (b * (a * i));
	} else if (z <= 1.25e-163) {
		tmp = t_1;
	} else if (z <= 3.2e+16) {
		tmp = (t * ((c * j) - (x * a))) - (c * (z * b));
	} else if (z <= 5.4e+147) {
		tmp = b * ((a * i) - (z * c));
	} else {
		tmp = (z * i) * (t_2 / i);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = (a * ((b * i) - (x * t))) - (i * (y * j))
	t_2 = (x * y) - (b * c)
	t_3 = z * t_2
	tmp = 0
	if z <= -3.15e+103:
		tmp = t_3
	elif z <= -1.2e+28:
		tmp = t_1
	elif z <= -3.5e+14:
		tmp = t_3
	elif z <= 1.25e-220:
		tmp = (j * ((t * c) - (y * i))) + (b * (a * i))
	elif z <= 1.25e-163:
		tmp = t_1
	elif z <= 3.2e+16:
		tmp = (t * ((c * j) - (x * a))) - (c * (z * b))
	elif z <= 5.4e+147:
		tmp = b * ((a * i) - (z * c))
	else:
		tmp = (z * i) * (t_2 / i)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(Float64(a * Float64(Float64(b * i) - Float64(x * t))) - Float64(i * Float64(y * j)))
	t_2 = Float64(Float64(x * y) - Float64(b * c))
	t_3 = Float64(z * t_2)
	tmp = 0.0
	if (z <= -3.15e+103)
		tmp = t_3;
	elseif (z <= -1.2e+28)
		tmp = t_1;
	elseif (z <= -3.5e+14)
		tmp = t_3;
	elseif (z <= 1.25e-220)
		tmp = Float64(Float64(j * Float64(Float64(t * c) - Float64(y * i))) + Float64(b * Float64(a * i)));
	elseif (z <= 1.25e-163)
		tmp = t_1;
	elseif (z <= 3.2e+16)
		tmp = Float64(Float64(t * Float64(Float64(c * j) - Float64(x * a))) - Float64(c * Float64(z * b)));
	elseif (z <= 5.4e+147)
		tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c)));
	else
		tmp = Float64(Float64(z * i) * Float64(t_2 / i));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = (a * ((b * i) - (x * t))) - (i * (y * j));
	t_2 = (x * y) - (b * c);
	t_3 = z * t_2;
	tmp = 0.0;
	if (z <= -3.15e+103)
		tmp = t_3;
	elseif (z <= -1.2e+28)
		tmp = t_1;
	elseif (z <= -3.5e+14)
		tmp = t_3;
	elseif (z <= 1.25e-220)
		tmp = (j * ((t * c) - (y * i))) + (b * (a * i));
	elseif (z <= 1.25e-163)
		tmp = t_1;
	elseif (z <= 3.2e+16)
		tmp = (t * ((c * j) - (x * a))) - (c * (z * b));
	elseif (z <= 5.4e+147)
		tmp = b * ((a * i) - (z * c));
	else
		tmp = (z * i) * (t_2 / i);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(i * N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(z * t$95$2), $MachinePrecision]}, If[LessEqual[z, -3.15e+103], t$95$3, If[LessEqual[z, -1.2e+28], t$95$1, If[LessEqual[z, -3.5e+14], t$95$3, If[LessEqual[z, 1.25e-220], N[(N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.25e-163], t$95$1, If[LessEqual[z, 3.2e+16], N[(N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 5.4e+147], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(z * i), $MachinePrecision] * N[(t$95$2 / i), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(b \cdot i - x \cdot t\right) - i \cdot \left(y \cdot j\right)\\
t_2 := x \cdot y - b \cdot c\\
t_3 := z \cdot t\_2\\
\mathbf{if}\;z \leq -3.15 \cdot 10^{+103}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;z \leq -1.2 \cdot 10^{+28}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq -3.5 \cdot 10^{+14}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;z \leq 1.25 \cdot 10^{-220}:\\
\;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + b \cdot \left(a \cdot i\right)\\

\mathbf{elif}\;z \leq 1.25 \cdot 10^{-163}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq 3.2 \cdot 10^{+16}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) - c \cdot \left(z \cdot b\right)\\

\mathbf{elif}\;z \leq 5.4 \cdot 10^{+147}:\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\

\mathbf{else}:\\
\;\;\;\;\left(z \cdot i\right) \cdot \frac{t\_2}{i}\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if z < -3.14999999999999985e103 or -1.19999999999999991e28 < z < -3.5e14

    1. Initial program 61.9%

      \[\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. Step-by-step derivation
      1. +-commutative61.9%

        \[\leadsto \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)} \]
      2. fma-define64.0%

        \[\leadsto \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)} \]
      3. *-commutative64.0%

        \[\leadsto \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) \]
      4. *-commutative64.0%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv64.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub64.0%

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out64.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg64.0%

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

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

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 53.5%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*51.2%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*51.2%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative51.2%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*51.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in53.4%

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

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

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg53.4%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative53.4%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative53.4%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified53.4%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in z around inf 74.6%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
    9. Step-by-step derivation
      1. *-commutative74.6%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) \]
    10. Simplified74.6%

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x - b \cdot c\right)} \]

    if -3.14999999999999985e103 < z < -1.19999999999999991e28 or 1.25e-220 < z < 1.24999999999999994e-163

    1. Initial program 45.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. Add Preprocessing
    3. Taylor expanded in a around -inf 85.3%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in c around 0 80.2%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right) + -1 \cdot \left(i \cdot \left(j \cdot y\right)\right)} \]
    5. Step-by-step derivation
      1. neg-mul-180.2%

        \[\leadsto \color{blue}{\left(-a \cdot \left(t \cdot x - b \cdot i\right)\right)} + -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) \]
      2. +-commutative80.2%

        \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + \left(-a \cdot \left(t \cdot x - b \cdot i\right)\right)} \]
      3. unsub-neg80.2%

        \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) - a \cdot \left(t \cdot x - b \cdot i\right)} \]
      4. mul-1-neg80.2%

        \[\leadsto \color{blue}{\left(-i \cdot \left(j \cdot y\right)\right)} - a \cdot \left(t \cdot x - b \cdot i\right) \]
      5. distribute-rgt-neg-in80.2%

        \[\leadsto \color{blue}{i \cdot \left(-j \cdot y\right)} - a \cdot \left(t \cdot x - b \cdot i\right) \]
      6. distribute-rgt-neg-in80.2%

        \[\leadsto i \cdot \color{blue}{\left(j \cdot \left(-y\right)\right)} - a \cdot \left(t \cdot x - b \cdot i\right) \]
      7. *-commutative80.2%

        \[\leadsto i \cdot \left(j \cdot \left(-y\right)\right) - a \cdot \left(\color{blue}{x \cdot t} - b \cdot i\right) \]
      8. *-commutative80.2%

        \[\leadsto i \cdot \left(j \cdot \left(-y\right)\right) - a \cdot \left(x \cdot t - \color{blue}{i \cdot b}\right) \]
    6. Simplified80.2%

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

    if -3.5e14 < z < 1.25e-220

    1. Initial program 81.3%

      \[\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. Add Preprocessing
    3. Taylor expanded in i around inf 68.0%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot i\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Step-by-step derivation
      1. *-commutative68.0%

        \[\leadsto \color{blue}{\left(b \cdot i\right) \cdot a} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-*r*70.2%

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

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

    if 1.24999999999999994e-163 < z < 3.2e16

    1. Initial program 86.3%

      \[\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. Step-by-step derivation
      1. +-commutative86.3%

        \[\leadsto \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)} \]
      2. fma-define86.3%

        \[\leadsto \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)} \]
      3. *-commutative86.3%

        \[\leadsto \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) \]
      4. *-commutative86.3%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative86.3%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative86.3%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 62.5%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. *-commutative62.5%

        \[\leadsto \left(-1 \cdot \left(a \cdot \color{blue}{\left(x \cdot t\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*65.1%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(a \cdot x\right) \cdot t\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. associate-*l*65.1%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right) \cdot t} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*73.2%

        \[\leadsto \left(\left(-1 \cdot \left(a \cdot x\right)\right) \cdot t + \color{blue}{\left(c \cdot j\right) \cdot t}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in75.9%

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

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg75.9%

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

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

        \[\leadsto t \cdot \left(\color{blue}{j \cdot c} - a \cdot x\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative75.9%

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

      \[\leadsto \color{blue}{t \cdot \left(j \cdot c - a \cdot x\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in c around inf 76.0%

      \[\leadsto t \cdot \left(j \cdot c - a \cdot x\right) - \color{blue}{b \cdot \left(c \cdot z\right)} \]
    9. Step-by-step derivation
      1. *-commutative76.0%

        \[\leadsto t \cdot \left(j \cdot c - a \cdot x\right) - \color{blue}{\left(c \cdot z\right) \cdot b} \]
      2. associate-*l*76.0%

        \[\leadsto t \cdot \left(j \cdot c - a \cdot x\right) - \color{blue}{c \cdot \left(z \cdot b\right)} \]
      3. *-commutative76.0%

        \[\leadsto t \cdot \left(j \cdot c - a \cdot x\right) - c \cdot \color{blue}{\left(b \cdot z\right)} \]
    10. Simplified76.0%

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

    if 3.2e16 < z < 5.39999999999999995e147

    1. Initial program 73.3%

      \[\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. Step-by-step derivation
      1. +-commutative73.3%

        \[\leadsto \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)} \]
      2. fma-define76.3%

        \[\leadsto \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)} \]
      3. *-commutative76.3%

        \[\leadsto \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) \]
      4. *-commutative76.3%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative76.3%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative76.3%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 81.6%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*81.6%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*81.6%

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

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*81.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in84.4%

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

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

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg84.4%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative84.4%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative84.4%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified84.4%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in b around inf 71.1%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i - c \cdot z\right)} \]
    9. Step-by-step derivation
      1. *-commutative71.1%

        \[\leadsto b \cdot \left(\color{blue}{i \cdot a} - c \cdot z\right) \]
      2. *-commutative71.1%

        \[\leadsto b \cdot \left(i \cdot a - \color{blue}{z \cdot c}\right) \]
    10. Simplified71.1%

      \[\leadsto \color{blue}{b \cdot \left(i \cdot a - z \cdot c\right)} \]

    if 5.39999999999999995e147 < z

    1. Initial program 40.9%

      \[\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. Step-by-step derivation
      1. +-commutative40.9%

        \[\leadsto \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)} \]
      2. fma-define47.6%

        \[\leadsto \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)} \]
      3. *-commutative47.6%

        \[\leadsto \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) \]
      4. *-commutative47.6%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative47.6%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative47.6%

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

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

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

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

      \[\leadsto \color{blue}{i \cdot \left(z \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*71.1%

        \[\leadsto \color{blue}{\left(i \cdot z\right) \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right)} \]
      2. *-commutative71.1%

        \[\leadsto \color{blue}{\left(z \cdot i\right)} \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right) \]
      3. +-commutative71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \color{blue}{\left(\frac{x \cdot y}{i} + -1 \cdot \frac{b \cdot c}{i}\right)} \]
      4. mul-1-neg71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \left(\frac{x \cdot y}{i} + \color{blue}{\left(-\frac{b \cdot c}{i}\right)}\right) \]
      5. unsub-neg71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \color{blue}{\left(\frac{x \cdot y}{i} - \frac{b \cdot c}{i}\right)} \]
      6. associate-/l*71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \left(\color{blue}{x \cdot \frac{y}{i}} - \frac{b \cdot c}{i}\right) \]
      7. associate-/l*67.9%

        \[\leadsto \left(z \cdot i\right) \cdot \left(x \cdot \frac{y}{i} - \color{blue}{b \cdot \frac{c}{i}}\right) \]
    9. Simplified67.9%

      \[\leadsto \color{blue}{\left(z \cdot i\right) \cdot \left(x \cdot \frac{y}{i} - b \cdot \frac{c}{i}\right)} \]
    10. Taylor expanded in z around 0 71.0%

      \[\leadsto \color{blue}{i \cdot \left(z \cdot \left(\frac{x \cdot y}{i} - \frac{b \cdot c}{i}\right)\right)} \]
    11. Step-by-step derivation
      1. div-sub74.3%

        \[\leadsto i \cdot \left(z \cdot \color{blue}{\frac{x \cdot y - b \cdot c}{i}}\right) \]
      2. associate-*r*74.4%

        \[\leadsto \color{blue}{\left(i \cdot z\right) \cdot \frac{x \cdot y - b \cdot c}{i}} \]
      3. *-commutative74.4%

        \[\leadsto \color{blue}{\left(z \cdot i\right)} \cdot \frac{x \cdot y - b \cdot c}{i} \]
      4. *-commutative74.4%

        \[\leadsto \left(z \cdot i\right) \cdot \frac{\color{blue}{y \cdot x} - b \cdot c}{i} \]
    12. Simplified74.4%

      \[\leadsto \color{blue}{\left(z \cdot i\right) \cdot \frac{y \cdot x - b \cdot c}{i}} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification73.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -3.15 \cdot 10^{+103}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq -1.2 \cdot 10^{+28}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right) - i \cdot \left(y \cdot j\right)\\ \mathbf{elif}\;z \leq -3.5 \cdot 10^{+14}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq 1.25 \cdot 10^{-220}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;z \leq 1.25 \cdot 10^{-163}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right) - i \cdot \left(y \cdot j\right)\\ \mathbf{elif}\;z \leq 3.2 \cdot 10^{+16}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) - c \cdot \left(z \cdot b\right)\\ \mathbf{elif}\;z \leq 5.4 \cdot 10^{+147}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot i\right) \cdot \frac{x \cdot y - b \cdot c}{i}\\ \end{array} \]
  5. Add Preprocessing

Alternative 14: 51.6% accurate, 0.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(x \cdot z - i \cdot j\right)\\ t_2 := i \cdot \left(a \cdot b - y \cdot j\right)\\ t_3 := c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{if}\;c \leq -8.5 \cdot 10^{+101}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;c \leq -3.3 \cdot 10^{-93}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;c \leq -1.32 \cdot 10^{-111}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq -3.4 \cdot 10^{-165}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;c \leq -8.5 \cdot 10^{-241}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq 7 \cdot 10^{-263}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;c \leq 2.65 \cdot 10^{-6}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;t\_3\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* y (- (* x z) (* i j))))
        (t_2 (* i (- (* a b) (* y j))))
        (t_3 (* c (- (* t j) (* z b)))))
   (if (<= c -8.5e+101)
     t_3
     (if (<= c -3.3e-93)
       (* b (- (* a i) (* z c)))
       (if (<= c -1.32e-111)
         t_1
         (if (<= c -3.4e-165)
           t_2
           (if (<= c -8.5e-241)
             t_1
             (if (<= c 7e-263) t_2 (if (<= c 2.65e-6) t_1 t_3)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = y * ((x * z) - (i * j));
	double t_2 = i * ((a * b) - (y * j));
	double t_3 = c * ((t * j) - (z * b));
	double tmp;
	if (c <= -8.5e+101) {
		tmp = t_3;
	} else if (c <= -3.3e-93) {
		tmp = b * ((a * i) - (z * c));
	} else if (c <= -1.32e-111) {
		tmp = t_1;
	} else if (c <= -3.4e-165) {
		tmp = t_2;
	} else if (c <= -8.5e-241) {
		tmp = t_1;
	} else if (c <= 7e-263) {
		tmp = t_2;
	} else if (c <= 2.65e-6) {
		tmp = t_1;
	} else {
		tmp = t_3;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = y * ((x * z) - (i * j))
    t_2 = i * ((a * b) - (y * j))
    t_3 = c * ((t * j) - (z * b))
    if (c <= (-8.5d+101)) then
        tmp = t_3
    else if (c <= (-3.3d-93)) then
        tmp = b * ((a * i) - (z * c))
    else if (c <= (-1.32d-111)) then
        tmp = t_1
    else if (c <= (-3.4d-165)) then
        tmp = t_2
    else if (c <= (-8.5d-241)) then
        tmp = t_1
    else if (c <= 7d-263) then
        tmp = t_2
    else if (c <= 2.65d-6) then
        tmp = t_1
    else
        tmp = t_3
    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 t_1 = y * ((x * z) - (i * j));
	double t_2 = i * ((a * b) - (y * j));
	double t_3 = c * ((t * j) - (z * b));
	double tmp;
	if (c <= -8.5e+101) {
		tmp = t_3;
	} else if (c <= -3.3e-93) {
		tmp = b * ((a * i) - (z * c));
	} else if (c <= -1.32e-111) {
		tmp = t_1;
	} else if (c <= -3.4e-165) {
		tmp = t_2;
	} else if (c <= -8.5e-241) {
		tmp = t_1;
	} else if (c <= 7e-263) {
		tmp = t_2;
	} else if (c <= 2.65e-6) {
		tmp = t_1;
	} else {
		tmp = t_3;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = y * ((x * z) - (i * j))
	t_2 = i * ((a * b) - (y * j))
	t_3 = c * ((t * j) - (z * b))
	tmp = 0
	if c <= -8.5e+101:
		tmp = t_3
	elif c <= -3.3e-93:
		tmp = b * ((a * i) - (z * c))
	elif c <= -1.32e-111:
		tmp = t_1
	elif c <= -3.4e-165:
		tmp = t_2
	elif c <= -8.5e-241:
		tmp = t_1
	elif c <= 7e-263:
		tmp = t_2
	elif c <= 2.65e-6:
		tmp = t_1
	else:
		tmp = t_3
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(y * Float64(Float64(x * z) - Float64(i * j)))
	t_2 = Float64(i * Float64(Float64(a * b) - Float64(y * j)))
	t_3 = Float64(c * Float64(Float64(t * j) - Float64(z * b)))
	tmp = 0.0
	if (c <= -8.5e+101)
		tmp = t_3;
	elseif (c <= -3.3e-93)
		tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c)));
	elseif (c <= -1.32e-111)
		tmp = t_1;
	elseif (c <= -3.4e-165)
		tmp = t_2;
	elseif (c <= -8.5e-241)
		tmp = t_1;
	elseif (c <= 7e-263)
		tmp = t_2;
	elseif (c <= 2.65e-6)
		tmp = t_1;
	else
		tmp = t_3;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = y * ((x * z) - (i * j));
	t_2 = i * ((a * b) - (y * j));
	t_3 = c * ((t * j) - (z * b));
	tmp = 0.0;
	if (c <= -8.5e+101)
		tmp = t_3;
	elseif (c <= -3.3e-93)
		tmp = b * ((a * i) - (z * c));
	elseif (c <= -1.32e-111)
		tmp = t_1;
	elseif (c <= -3.4e-165)
		tmp = t_2;
	elseif (c <= -8.5e-241)
		tmp = t_1;
	elseif (c <= 7e-263)
		tmp = t_2;
	elseif (c <= 2.65e-6)
		tmp = t_1;
	else
		tmp = t_3;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(i * N[(N[(a * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -8.5e+101], t$95$3, If[LessEqual[c, -3.3e-93], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -1.32e-111], t$95$1, If[LessEqual[c, -3.4e-165], t$95$2, If[LessEqual[c, -8.5e-241], t$95$1, If[LessEqual[c, 7e-263], t$95$2, If[LessEqual[c, 2.65e-6], t$95$1, t$95$3]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y \cdot \left(x \cdot z - i \cdot j\right)\\
t_2 := i \cdot \left(a \cdot b - y \cdot j\right)\\
t_3 := c \cdot \left(t \cdot j - z \cdot b\right)\\
\mathbf{if}\;c \leq -8.5 \cdot 10^{+101}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;c \leq -3.3 \cdot 10^{-93}:\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\

\mathbf{elif}\;c \leq -1.32 \cdot 10^{-111}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;c \leq -3.4 \cdot 10^{-165}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;c \leq -8.5 \cdot 10^{-241}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;c \leq 7 \cdot 10^{-263}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;c \leq 2.65 \cdot 10^{-6}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;t\_3\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if c < -8.5000000000000001e101 or 2.65e-6 < c

    1. Initial program 61.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. Step-by-step derivation
      1. +-commutative61.0%

        \[\leadsto \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)} \]
      2. fma-define62.9%

        \[\leadsto \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)} \]
      3. *-commutative62.9%

        \[\leadsto \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) \]
      4. *-commutative62.9%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv62.9%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg62.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg62.9%

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

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative62.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out62.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg62.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative62.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative62.9%

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

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

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t - b \cdot z\right)} \]

    if -8.5000000000000001e101 < c < -3.3000000000000001e-93

    1. Initial program 68.9%

      \[\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. Step-by-step derivation
      1. +-commutative68.9%

        \[\leadsto \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)} \]
      2. fma-define72.0%

        \[\leadsto \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)} \]
      3. *-commutative72.0%

        \[\leadsto \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) \]
      4. *-commutative72.0%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv72.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub72.0%

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out72.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg72.0%

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

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

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 51.2%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*53.9%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*53.9%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative53.9%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*60.1%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in60.1%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg60.1%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg60.1%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative60.1%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative60.1%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified60.1%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in b around inf 58.8%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i - c \cdot z\right)} \]
    9. Step-by-step derivation
      1. *-commutative58.8%

        \[\leadsto b \cdot \left(\color{blue}{i \cdot a} - c \cdot z\right) \]
      2. *-commutative58.8%

        \[\leadsto b \cdot \left(i \cdot a - \color{blue}{z \cdot c}\right) \]
    10. Simplified58.8%

      \[\leadsto \color{blue}{b \cdot \left(i \cdot a - z \cdot c\right)} \]

    if -3.3000000000000001e-93 < c < -1.32e-111 or -3.4e-165 < c < -8.49999999999999974e-241 or 6.99999999999999938e-263 < c < 2.65e-6

    1. Initial program 78.6%

      \[\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. Step-by-step derivation
      1. +-commutative78.6%

        \[\leadsto \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)} \]
      2. fma-define80.0%

        \[\leadsto \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)} \]
      3. *-commutative80.0%

        \[\leadsto \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) \]
      4. *-commutative80.0%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv80.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub80.0%

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out80.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg80.0%

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

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

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

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

      \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)} \]
    6. Step-by-step derivation
      1. +-commutative62.1%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} \]
      2. mul-1-neg62.1%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) \]
      3. unsub-neg62.1%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} \]
      4. *-commutative62.1%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) \]
    7. Simplified62.1%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right)} \]

    if -1.32e-111 < c < -3.4e-165 or -8.49999999999999974e-241 < c < 6.99999999999999938e-263

    1. Initial program 77.2%

      \[\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. Add Preprocessing
    3. Taylor expanded in a around -inf 74.8%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in t around 0 58.7%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + a \cdot \left(b \cdot i\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg58.7%

        \[\leadsto \color{blue}{\left(-i \cdot \left(j \cdot y\right)\right)} + a \cdot \left(b \cdot i\right) \]
      2. *-commutative58.7%

        \[\leadsto \left(-\color{blue}{\left(j \cdot y\right) \cdot i}\right) + a \cdot \left(b \cdot i\right) \]
      3. distribute-lft-neg-in58.7%

        \[\leadsto \color{blue}{\left(-j \cdot y\right) \cdot i} + a \cdot \left(b \cdot i\right) \]
      4. mul-1-neg58.7%

        \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right)\right)} \cdot i + a \cdot \left(b \cdot i\right) \]
      5. associate-*r*63.1%

        \[\leadsto \left(-1 \cdot \left(j \cdot y\right)\right) \cdot i + \color{blue}{\left(a \cdot b\right) \cdot i} \]
      6. distribute-rgt-in63.1%

        \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) + a \cdot b\right)} \]
      7. +-commutative63.1%

        \[\leadsto i \cdot \color{blue}{\left(a \cdot b + -1 \cdot \left(j \cdot y\right)\right)} \]
      8. mul-1-neg63.1%

        \[\leadsto i \cdot \left(a \cdot b + \color{blue}{\left(-j \cdot y\right)}\right) \]
      9. unsub-neg63.1%

        \[\leadsto i \cdot \color{blue}{\left(a \cdot b - j \cdot y\right)} \]
      10. *-commutative63.1%

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

      \[\leadsto \color{blue}{i \cdot \left(a \cdot b - y \cdot j\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification63.7%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -8.5 \cdot 10^{+101}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{elif}\;c \leq -3.3 \cdot 10^{-93}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;c \leq -1.32 \cdot 10^{-111}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;c \leq -3.4 \cdot 10^{-165}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;c \leq -8.5 \cdot 10^{-241}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;c \leq 7 \cdot 10^{-263}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;c \leq 2.65 \cdot 10^{-6}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 15: 63.1% accurate, 0.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(x \cdot z - i \cdot j\right) - b \cdot \left(z \cdot c - a \cdot i\right)\\ t_2 := x \cdot y - b \cdot c\\ t_3 := z \cdot t\_2\\ \mathbf{if}\;z \leq -4.6 \cdot 10^{+113}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;z \leq -1.35 \cdot 10^{-25}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + t\_3\\ \mathbf{elif}\;z \leq -5.5 \cdot 10^{-290}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 2.2 \cdot 10^{-89}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;z \leq 6.6 \cdot 10^{+152}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot i\right) \cdot \frac{t\_2}{i}\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (- (* y (- (* x z) (* i j))) (* b (- (* z c) (* a i)))))
        (t_2 (- (* x y) (* b c)))
        (t_3 (* z t_2)))
   (if (<= z -4.6e+113)
     t_3
     (if (<= z -1.35e-25)
       (+ (* j (- (* t c) (* y i))) t_3)
       (if (<= z -5.5e-290)
         t_1
         (if (<= z 2.2e-89)
           (+ (* t (- (* c j) (* x a))) (* b (- (* a i) (* z c))))
           (if (<= z 6.6e+152) t_1 (* (* z i) (/ t_2 i)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = (y * ((x * z) - (i * j))) - (b * ((z * c) - (a * i)));
	double t_2 = (x * y) - (b * c);
	double t_3 = z * t_2;
	double tmp;
	if (z <= -4.6e+113) {
		tmp = t_3;
	} else if (z <= -1.35e-25) {
		tmp = (j * ((t * c) - (y * i))) + t_3;
	} else if (z <= -5.5e-290) {
		tmp = t_1;
	} else if (z <= 2.2e-89) {
		tmp = (t * ((c * j) - (x * a))) + (b * ((a * i) - (z * c)));
	} else if (z <= 6.6e+152) {
		tmp = t_1;
	} else {
		tmp = (z * i) * (t_2 / i);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = (y * ((x * z) - (i * j))) - (b * ((z * c) - (a * i)))
    t_2 = (x * y) - (b * c)
    t_3 = z * t_2
    if (z <= (-4.6d+113)) then
        tmp = t_3
    else if (z <= (-1.35d-25)) then
        tmp = (j * ((t * c) - (y * i))) + t_3
    else if (z <= (-5.5d-290)) then
        tmp = t_1
    else if (z <= 2.2d-89) then
        tmp = (t * ((c * j) - (x * a))) + (b * ((a * i) - (z * c)))
    else if (z <= 6.6d+152) then
        tmp = t_1
    else
        tmp = (z * i) * (t_2 / i)
    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 t_1 = (y * ((x * z) - (i * j))) - (b * ((z * c) - (a * i)));
	double t_2 = (x * y) - (b * c);
	double t_3 = z * t_2;
	double tmp;
	if (z <= -4.6e+113) {
		tmp = t_3;
	} else if (z <= -1.35e-25) {
		tmp = (j * ((t * c) - (y * i))) + t_3;
	} else if (z <= -5.5e-290) {
		tmp = t_1;
	} else if (z <= 2.2e-89) {
		tmp = (t * ((c * j) - (x * a))) + (b * ((a * i) - (z * c)));
	} else if (z <= 6.6e+152) {
		tmp = t_1;
	} else {
		tmp = (z * i) * (t_2 / i);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = (y * ((x * z) - (i * j))) - (b * ((z * c) - (a * i)))
	t_2 = (x * y) - (b * c)
	t_3 = z * t_2
	tmp = 0
	if z <= -4.6e+113:
		tmp = t_3
	elif z <= -1.35e-25:
		tmp = (j * ((t * c) - (y * i))) + t_3
	elif z <= -5.5e-290:
		tmp = t_1
	elif z <= 2.2e-89:
		tmp = (t * ((c * j) - (x * a))) + (b * ((a * i) - (z * c)))
	elif z <= 6.6e+152:
		tmp = t_1
	else:
		tmp = (z * i) * (t_2 / i)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(Float64(y * Float64(Float64(x * z) - Float64(i * j))) - Float64(b * Float64(Float64(z * c) - Float64(a * i))))
	t_2 = Float64(Float64(x * y) - Float64(b * c))
	t_3 = Float64(z * t_2)
	tmp = 0.0
	if (z <= -4.6e+113)
		tmp = t_3;
	elseif (z <= -1.35e-25)
		tmp = Float64(Float64(j * Float64(Float64(t * c) - Float64(y * i))) + t_3);
	elseif (z <= -5.5e-290)
		tmp = t_1;
	elseif (z <= 2.2e-89)
		tmp = Float64(Float64(t * Float64(Float64(c * j) - Float64(x * a))) + Float64(b * Float64(Float64(a * i) - Float64(z * c))));
	elseif (z <= 6.6e+152)
		tmp = t_1;
	else
		tmp = Float64(Float64(z * i) * Float64(t_2 / i));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = (y * ((x * z) - (i * j))) - (b * ((z * c) - (a * i)));
	t_2 = (x * y) - (b * c);
	t_3 = z * t_2;
	tmp = 0.0;
	if (z <= -4.6e+113)
		tmp = t_3;
	elseif (z <= -1.35e-25)
		tmp = (j * ((t * c) - (y * i))) + t_3;
	elseif (z <= -5.5e-290)
		tmp = t_1;
	elseif (z <= 2.2e-89)
		tmp = (t * ((c * j) - (x * a))) + (b * ((a * i) - (z * c)));
	elseif (z <= 6.6e+152)
		tmp = t_1;
	else
		tmp = (z * i) * (t_2 / i);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(z * c), $MachinePrecision] - N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(z * t$95$2), $MachinePrecision]}, If[LessEqual[z, -4.6e+113], t$95$3, If[LessEqual[z, -1.35e-25], N[(N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$3), $MachinePrecision], If[LessEqual[z, -5.5e-290], t$95$1, If[LessEqual[z, 2.2e-89], N[(N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 6.6e+152], t$95$1, N[(N[(z * i), $MachinePrecision] * N[(t$95$2 / i), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y \cdot \left(x \cdot z - i \cdot j\right) - b \cdot \left(z \cdot c - a \cdot i\right)\\
t_2 := x \cdot y - b \cdot c\\
t_3 := z \cdot t\_2\\
\mathbf{if}\;z \leq -4.6 \cdot 10^{+113}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;z \leq -1.35 \cdot 10^{-25}:\\
\;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + t\_3\\

\mathbf{elif}\;z \leq -5.5 \cdot 10^{-290}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq 2.2 \cdot 10^{-89}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\

\mathbf{elif}\;z \leq 6.6 \cdot 10^{+152}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;\left(z \cdot i\right) \cdot \frac{t\_2}{i}\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if z < -4.59999999999999993e113

    1. Initial program 60.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. Step-by-step derivation
      1. +-commutative60.5%

        \[\leadsto \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)} \]
      2. fma-define63.1%

        \[\leadsto \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)} \]
      3. *-commutative63.1%

        \[\leadsto \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) \]
      4. *-commutative63.1%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv63.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub63.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg63.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg63.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative63.1%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative63.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out63.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg63.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative63.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative63.1%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 52.9%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*47.4%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*47.4%

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

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*47.5%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in50.1%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg50.1%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg50.1%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative50.1%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative50.1%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified50.1%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in z around inf 73.8%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
    9. Step-by-step derivation
      1. *-commutative73.8%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) \]
    10. Simplified73.8%

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x - b \cdot c\right)} \]

    if -4.59999999999999993e113 < z < -1.35000000000000008e-25

    1. Initial program 73.6%

      \[\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. Add Preprocessing
    3. Taylor expanded in z around inf 80.1%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Step-by-step derivation
      1. *-commutative80.1%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. *-commutative80.1%

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

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

    if -1.35000000000000008e-25 < z < -5.5e-290 or 2.20000000000000012e-89 < z < 6.6000000000000003e152

    1. Initial program 76.2%

      \[\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. Step-by-step derivation
      1. +-commutative76.2%

        \[\leadsto \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)} \]
      2. fma-define77.1%

        \[\leadsto \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)} \]
      3. *-commutative77.1%

        \[\leadsto \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) \]
      4. *-commutative77.1%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv77.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub77.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg77.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg77.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative77.1%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative77.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out77.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg77.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative77.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative77.1%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 74.9%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*76.6%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*76.6%

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

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*76.5%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in77.5%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg77.5%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg77.5%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative77.5%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative77.5%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified77.5%

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

    if -5.5e-290 < z < 2.20000000000000012e-89

    1. Initial program 77.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. Step-by-step derivation
      1. +-commutative77.0%

        \[\leadsto \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)} \]
      2. fma-define77.0%

        \[\leadsto \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)} \]
      3. *-commutative77.0%

        \[\leadsto \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) \]
      4. *-commutative77.0%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv77.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub77.0%

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out77.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg77.0%

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

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

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 65.8%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. *-commutative65.8%

        \[\leadsto \left(-1 \cdot \left(a \cdot \color{blue}{\left(x \cdot t\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*69.5%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(a \cdot x\right) \cdot t\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. associate-*l*69.5%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right) \cdot t} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*75.2%

        \[\leadsto \left(\left(-1 \cdot \left(a \cdot x\right)\right) \cdot t + \color{blue}{\left(c \cdot j\right) \cdot t}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in77.1%

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

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg77.1%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg77.1%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative77.1%

        \[\leadsto t \cdot \left(\color{blue}{j \cdot c} - a \cdot x\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative77.1%

        \[\leadsto t \cdot \left(j \cdot c - a \cdot x\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified77.1%

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

    if 6.6000000000000003e152 < z

    1. Initial program 42.3%

      \[\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. Step-by-step derivation
      1. +-commutative42.3%

        \[\leadsto \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)} \]
      2. fma-define49.2%

        \[\leadsto \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)} \]
      3. *-commutative49.2%

        \[\leadsto \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) \]
      4. *-commutative49.2%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv49.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub49.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg49.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg49.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative49.2%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative49.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out49.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg49.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative49.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative49.2%

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

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

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

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

      \[\leadsto \color{blue}{i \cdot \left(z \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*73.5%

        \[\leadsto \color{blue}{\left(i \cdot z\right) \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right)} \]
      2. *-commutative73.5%

        \[\leadsto \color{blue}{\left(z \cdot i\right)} \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right) \]
      3. +-commutative73.5%

        \[\leadsto \left(z \cdot i\right) \cdot \color{blue}{\left(\frac{x \cdot y}{i} + -1 \cdot \frac{b \cdot c}{i}\right)} \]
      4. mul-1-neg73.5%

        \[\leadsto \left(z \cdot i\right) \cdot \left(\frac{x \cdot y}{i} + \color{blue}{\left(-\frac{b \cdot c}{i}\right)}\right) \]
      5. unsub-neg73.5%

        \[\leadsto \left(z \cdot i\right) \cdot \color{blue}{\left(\frac{x \cdot y}{i} - \frac{b \cdot c}{i}\right)} \]
      6. associate-/l*73.5%

        \[\leadsto \left(z \cdot i\right) \cdot \left(\color{blue}{x \cdot \frac{y}{i}} - \frac{b \cdot c}{i}\right) \]
      7. associate-/l*70.2%

        \[\leadsto \left(z \cdot i\right) \cdot \left(x \cdot \frac{y}{i} - \color{blue}{b \cdot \frac{c}{i}}\right) \]
    9. Simplified70.2%

      \[\leadsto \color{blue}{\left(z \cdot i\right) \cdot \left(x \cdot \frac{y}{i} - b \cdot \frac{c}{i}\right)} \]
    10. Taylor expanded in z around 0 73.5%

      \[\leadsto \color{blue}{i \cdot \left(z \cdot \left(\frac{x \cdot y}{i} - \frac{b \cdot c}{i}\right)\right)} \]
    11. Step-by-step derivation
      1. div-sub76.9%

        \[\leadsto i \cdot \left(z \cdot \color{blue}{\frac{x \cdot y - b \cdot c}{i}}\right) \]
      2. associate-*r*77.0%

        \[\leadsto \color{blue}{\left(i \cdot z\right) \cdot \frac{x \cdot y - b \cdot c}{i}} \]
      3. *-commutative77.0%

        \[\leadsto \color{blue}{\left(z \cdot i\right)} \cdot \frac{x \cdot y - b \cdot c}{i} \]
      4. *-commutative77.0%

        \[\leadsto \left(z \cdot i\right) \cdot \frac{\color{blue}{y \cdot x} - b \cdot c}{i} \]
    12. Simplified77.0%

      \[\leadsto \color{blue}{\left(z \cdot i\right) \cdot \frac{y \cdot x - b \cdot c}{i}} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification77.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -4.6 \cdot 10^{+113}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq -1.35 \cdot 10^{-25}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq -5.5 \cdot 10^{-290}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right) - b \cdot \left(z \cdot c - a \cdot i\right)\\ \mathbf{elif}\;z \leq 2.2 \cdot 10^{-89}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;z \leq 6.6 \cdot 10^{+152}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right) - b \cdot \left(z \cdot c - a \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot i\right) \cdot \frac{x \cdot y - b \cdot c}{i}\\ \end{array} \]
  5. Add Preprocessing

Alternative 16: 64.7% accurate, 0.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(x \cdot z - i \cdot j\right) - b \cdot \left(z \cdot c - a \cdot i\right)\\ t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\ t_3 := x \cdot y - b \cdot c\\ t_4 := z \cdot t\_3\\ \mathbf{if}\;z \leq -6.8 \cdot 10^{+113}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;z \leq -1.7 \cdot 10^{-24}:\\ \;\;\;\;t\_2 + t\_4\\ \mathbf{elif}\;z \leq 1.01 \cdot 10^{-306}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 2.7:\\ \;\;\;\;t\_2 + a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;z \leq 2.05 \cdot 10^{+152}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot i\right) \cdot \frac{t\_3}{i}\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (- (* y (- (* x z) (* i j))) (* b (- (* z c) (* a i)))))
        (t_2 (* j (- (* t c) (* y i))))
        (t_3 (- (* x y) (* b c)))
        (t_4 (* z t_3)))
   (if (<= z -6.8e+113)
     t_4
     (if (<= z -1.7e-24)
       (+ t_2 t_4)
       (if (<= z 1.01e-306)
         t_1
         (if (<= z 2.7)
           (+ t_2 (* a (- (* b i) (* x t))))
           (if (<= z 2.05e+152) t_1 (* (* z i) (/ t_3 i)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = (y * ((x * z) - (i * j))) - (b * ((z * c) - (a * i)));
	double t_2 = j * ((t * c) - (y * i));
	double t_3 = (x * y) - (b * c);
	double t_4 = z * t_3;
	double tmp;
	if (z <= -6.8e+113) {
		tmp = t_4;
	} else if (z <= -1.7e-24) {
		tmp = t_2 + t_4;
	} else if (z <= 1.01e-306) {
		tmp = t_1;
	} else if (z <= 2.7) {
		tmp = t_2 + (a * ((b * i) - (x * t)));
	} else if (z <= 2.05e+152) {
		tmp = t_1;
	} else {
		tmp = (z * i) * (t_3 / i);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: tmp
    t_1 = (y * ((x * z) - (i * j))) - (b * ((z * c) - (a * i)))
    t_2 = j * ((t * c) - (y * i))
    t_3 = (x * y) - (b * c)
    t_4 = z * t_3
    if (z <= (-6.8d+113)) then
        tmp = t_4
    else if (z <= (-1.7d-24)) then
        tmp = t_2 + t_4
    else if (z <= 1.01d-306) then
        tmp = t_1
    else if (z <= 2.7d0) then
        tmp = t_2 + (a * ((b * i) - (x * t)))
    else if (z <= 2.05d+152) then
        tmp = t_1
    else
        tmp = (z * i) * (t_3 / i)
    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 t_1 = (y * ((x * z) - (i * j))) - (b * ((z * c) - (a * i)));
	double t_2 = j * ((t * c) - (y * i));
	double t_3 = (x * y) - (b * c);
	double t_4 = z * t_3;
	double tmp;
	if (z <= -6.8e+113) {
		tmp = t_4;
	} else if (z <= -1.7e-24) {
		tmp = t_2 + t_4;
	} else if (z <= 1.01e-306) {
		tmp = t_1;
	} else if (z <= 2.7) {
		tmp = t_2 + (a * ((b * i) - (x * t)));
	} else if (z <= 2.05e+152) {
		tmp = t_1;
	} else {
		tmp = (z * i) * (t_3 / i);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = (y * ((x * z) - (i * j))) - (b * ((z * c) - (a * i)))
	t_2 = j * ((t * c) - (y * i))
	t_3 = (x * y) - (b * c)
	t_4 = z * t_3
	tmp = 0
	if z <= -6.8e+113:
		tmp = t_4
	elif z <= -1.7e-24:
		tmp = t_2 + t_4
	elif z <= 1.01e-306:
		tmp = t_1
	elif z <= 2.7:
		tmp = t_2 + (a * ((b * i) - (x * t)))
	elif z <= 2.05e+152:
		tmp = t_1
	else:
		tmp = (z * i) * (t_3 / i)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(Float64(y * Float64(Float64(x * z) - Float64(i * j))) - Float64(b * Float64(Float64(z * c) - Float64(a * i))))
	t_2 = Float64(j * Float64(Float64(t * c) - Float64(y * i)))
	t_3 = Float64(Float64(x * y) - Float64(b * c))
	t_4 = Float64(z * t_3)
	tmp = 0.0
	if (z <= -6.8e+113)
		tmp = t_4;
	elseif (z <= -1.7e-24)
		tmp = Float64(t_2 + t_4);
	elseif (z <= 1.01e-306)
		tmp = t_1;
	elseif (z <= 2.7)
		tmp = Float64(t_2 + Float64(a * Float64(Float64(b * i) - Float64(x * t))));
	elseif (z <= 2.05e+152)
		tmp = t_1;
	else
		tmp = Float64(Float64(z * i) * Float64(t_3 / i));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = (y * ((x * z) - (i * j))) - (b * ((z * c) - (a * i)));
	t_2 = j * ((t * c) - (y * i));
	t_3 = (x * y) - (b * c);
	t_4 = z * t_3;
	tmp = 0.0;
	if (z <= -6.8e+113)
		tmp = t_4;
	elseif (z <= -1.7e-24)
		tmp = t_2 + t_4;
	elseif (z <= 1.01e-306)
		tmp = t_1;
	elseif (z <= 2.7)
		tmp = t_2 + (a * ((b * i) - (x * t)));
	elseif (z <= 2.05e+152)
		tmp = t_1;
	else
		tmp = (z * i) * (t_3 / i);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(z * c), $MachinePrecision] - N[(a * i), $MachinePrecision]), $MachinePrecision]), $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[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(z * t$95$3), $MachinePrecision]}, If[LessEqual[z, -6.8e+113], t$95$4, If[LessEqual[z, -1.7e-24], N[(t$95$2 + t$95$4), $MachinePrecision], If[LessEqual[z, 1.01e-306], t$95$1, If[LessEqual[z, 2.7], N[(t$95$2 + N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.05e+152], t$95$1, N[(N[(z * i), $MachinePrecision] * N[(t$95$3 / i), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y \cdot \left(x \cdot z - i \cdot j\right) - b \cdot \left(z \cdot c - a \cdot i\right)\\
t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\
t_3 := x \cdot y - b \cdot c\\
t_4 := z \cdot t\_3\\
\mathbf{if}\;z \leq -6.8 \cdot 10^{+113}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;z \leq -1.7 \cdot 10^{-24}:\\
\;\;\;\;t\_2 + t\_4\\

\mathbf{elif}\;z \leq 1.01 \cdot 10^{-306}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq 2.7:\\
\;\;\;\;t\_2 + a \cdot \left(b \cdot i - x \cdot t\right)\\

\mathbf{elif}\;z \leq 2.05 \cdot 10^{+152}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;\left(z \cdot i\right) \cdot \frac{t\_3}{i}\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if z < -6.80000000000000038e113

    1. Initial program 60.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. Step-by-step derivation
      1. +-commutative60.5%

        \[\leadsto \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)} \]
      2. fma-define63.1%

        \[\leadsto \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)} \]
      3. *-commutative63.1%

        \[\leadsto \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) \]
      4. *-commutative63.1%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv63.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub63.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg63.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg63.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative63.1%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative63.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out63.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg63.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative63.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative63.1%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 52.9%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*47.4%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*47.4%

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

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*47.5%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in50.1%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg50.1%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg50.1%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative50.1%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative50.1%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified50.1%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in z around inf 73.8%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
    9. Step-by-step derivation
      1. *-commutative73.8%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) \]
    10. Simplified73.8%

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x - b \cdot c\right)} \]

    if -6.80000000000000038e113 < z < -1.69999999999999996e-24

    1. Initial program 73.6%

      \[\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. Add Preprocessing
    3. Taylor expanded in z around inf 80.1%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Step-by-step derivation
      1. *-commutative80.1%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. *-commutative80.1%

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

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

    if -1.69999999999999996e-24 < z < 1.00999999999999994e-306 or 2.7000000000000002 < z < 2.0499999999999999e152

    1. Initial program 74.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. Step-by-step derivation
      1. +-commutative74.5%

        \[\leadsto \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)} \]
      2. fma-define75.6%

        \[\leadsto \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)} \]
      3. *-commutative75.6%

        \[\leadsto \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) \]
      4. *-commutative75.6%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv75.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub75.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg75.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg75.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative75.6%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative75.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out75.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg75.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative75.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative75.6%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 75.5%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*76.4%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*76.4%

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

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*76.4%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in77.4%

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

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

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg77.4%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative77.4%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative77.4%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified77.4%

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

    if 1.00999999999999994e-306 < z < 2.7000000000000002

    1. Initial program 79.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. Add Preprocessing
    3. Taylor expanded in a around -inf 86.3%

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

    if 2.0499999999999999e152 < z

    1. Initial program 42.3%

      \[\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. Step-by-step derivation
      1. +-commutative42.3%

        \[\leadsto \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)} \]
      2. fma-define49.2%

        \[\leadsto \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)} \]
      3. *-commutative49.2%

        \[\leadsto \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) \]
      4. *-commutative49.2%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv49.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub49.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg49.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg49.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative49.2%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative49.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out49.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg49.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative49.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative49.2%

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

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

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

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

      \[\leadsto \color{blue}{i \cdot \left(z \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*73.5%

        \[\leadsto \color{blue}{\left(i \cdot z\right) \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right)} \]
      2. *-commutative73.5%

        \[\leadsto \color{blue}{\left(z \cdot i\right)} \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right) \]
      3. +-commutative73.5%

        \[\leadsto \left(z \cdot i\right) \cdot \color{blue}{\left(\frac{x \cdot y}{i} + -1 \cdot \frac{b \cdot c}{i}\right)} \]
      4. mul-1-neg73.5%

        \[\leadsto \left(z \cdot i\right) \cdot \left(\frac{x \cdot y}{i} + \color{blue}{\left(-\frac{b \cdot c}{i}\right)}\right) \]
      5. unsub-neg73.5%

        \[\leadsto \left(z \cdot i\right) \cdot \color{blue}{\left(\frac{x \cdot y}{i} - \frac{b \cdot c}{i}\right)} \]
      6. associate-/l*73.5%

        \[\leadsto \left(z \cdot i\right) \cdot \left(\color{blue}{x \cdot \frac{y}{i}} - \frac{b \cdot c}{i}\right) \]
      7. associate-/l*70.2%

        \[\leadsto \left(z \cdot i\right) \cdot \left(x \cdot \frac{y}{i} - \color{blue}{b \cdot \frac{c}{i}}\right) \]
    9. Simplified70.2%

      \[\leadsto \color{blue}{\left(z \cdot i\right) \cdot \left(x \cdot \frac{y}{i} - b \cdot \frac{c}{i}\right)} \]
    10. Taylor expanded in z around 0 73.5%

      \[\leadsto \color{blue}{i \cdot \left(z \cdot \left(\frac{x \cdot y}{i} - \frac{b \cdot c}{i}\right)\right)} \]
    11. Step-by-step derivation
      1. div-sub76.9%

        \[\leadsto i \cdot \left(z \cdot \color{blue}{\frac{x \cdot y - b \cdot c}{i}}\right) \]
      2. associate-*r*77.0%

        \[\leadsto \color{blue}{\left(i \cdot z\right) \cdot \frac{x \cdot y - b \cdot c}{i}} \]
      3. *-commutative77.0%

        \[\leadsto \color{blue}{\left(z \cdot i\right)} \cdot \frac{x \cdot y - b \cdot c}{i} \]
      4. *-commutative77.0%

        \[\leadsto \left(z \cdot i\right) \cdot \frac{\color{blue}{y \cdot x} - b \cdot c}{i} \]
    12. Simplified77.0%

      \[\leadsto \color{blue}{\left(z \cdot i\right) \cdot \frac{y \cdot x - b \cdot c}{i}} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification79.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -6.8 \cdot 10^{+113}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq -1.7 \cdot 10^{-24}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq 1.01 \cdot 10^{-306}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right) - b \cdot \left(z \cdot c - a \cdot i\right)\\ \mathbf{elif}\;z \leq 2.7:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;z \leq 2.05 \cdot 10^{+152}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right) - b \cdot \left(z \cdot c - a \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot i\right) \cdot \frac{x \cdot y - b \cdot c}{i}\\ \end{array} \]
  5. Add Preprocessing

Alternative 17: 67.3% accurate, 0.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{if}\;b \leq -1.06 \cdot 10^{+96}:\\ \;\;\;\;t \cdot \left(c \cdot j\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;b \leq -2.5 \cdot 10^{-165}:\\ \;\;\;\;t\_1 + a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;b \leq 1.95 \cdot 10^{-150}:\\ \;\;\;\;t\_1 + \left(x \cdot \left(y \cdot z - t \cdot a\right) - c \cdot \left(z \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right) - b \cdot \left(z \cdot c - a \cdot i\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* j (- (* t c) (* y i)))))
   (if (<= b -1.06e+96)
     (+ (* t (* c j)) (* b (- (* a i) (* z c))))
     (if (<= b -2.5e-165)
       (+ t_1 (* a (- (* b i) (* x t))))
       (if (<= b 1.95e-150)
         (+ t_1 (- (* x (- (* y z) (* t a))) (* c (* z b))))
         (- (* y (- (* x z) (* i j))) (* b (- (* z c) (* a i)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = j * ((t * c) - (y * i));
	double tmp;
	if (b <= -1.06e+96) {
		tmp = (t * (c * j)) + (b * ((a * i) - (z * c)));
	} else if (b <= -2.5e-165) {
		tmp = t_1 + (a * ((b * i) - (x * t)));
	} else if (b <= 1.95e-150) {
		tmp = t_1 + ((x * ((y * z) - (t * a))) - (c * (z * b)));
	} else {
		tmp = (y * ((x * z) - (i * j))) - (b * ((z * c) - (a * i)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: tmp
    t_1 = j * ((t * c) - (y * i))
    if (b <= (-1.06d+96)) then
        tmp = (t * (c * j)) + (b * ((a * i) - (z * c)))
    else if (b <= (-2.5d-165)) then
        tmp = t_1 + (a * ((b * i) - (x * t)))
    else if (b <= 1.95d-150) then
        tmp = t_1 + ((x * ((y * z) - (t * a))) - (c * (z * b)))
    else
        tmp = (y * ((x * z) - (i * j))) - (b * ((z * c) - (a * i)))
    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 t_1 = j * ((t * c) - (y * i));
	double tmp;
	if (b <= -1.06e+96) {
		tmp = (t * (c * j)) + (b * ((a * i) - (z * c)));
	} else if (b <= -2.5e-165) {
		tmp = t_1 + (a * ((b * i) - (x * t)));
	} else if (b <= 1.95e-150) {
		tmp = t_1 + ((x * ((y * z) - (t * a))) - (c * (z * b)));
	} else {
		tmp = (y * ((x * z) - (i * j))) - (b * ((z * c) - (a * i)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = j * ((t * c) - (y * i))
	tmp = 0
	if b <= -1.06e+96:
		tmp = (t * (c * j)) + (b * ((a * i) - (z * c)))
	elif b <= -2.5e-165:
		tmp = t_1 + (a * ((b * i) - (x * t)))
	elif b <= 1.95e-150:
		tmp = t_1 + ((x * ((y * z) - (t * a))) - (c * (z * b)))
	else:
		tmp = (y * ((x * z) - (i * j))) - (b * ((z * c) - (a * i)))
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(j * Float64(Float64(t * c) - Float64(y * i)))
	tmp = 0.0
	if (b <= -1.06e+96)
		tmp = Float64(Float64(t * Float64(c * j)) + Float64(b * Float64(Float64(a * i) - Float64(z * c))));
	elseif (b <= -2.5e-165)
		tmp = Float64(t_1 + Float64(a * Float64(Float64(b * i) - Float64(x * t))));
	elseif (b <= 1.95e-150)
		tmp = Float64(t_1 + Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(c * Float64(z * b))));
	else
		tmp = Float64(Float64(y * Float64(Float64(x * z) - Float64(i * j))) - Float64(b * Float64(Float64(z * c) - Float64(a * i))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = j * ((t * c) - (y * i));
	tmp = 0.0;
	if (b <= -1.06e+96)
		tmp = (t * (c * j)) + (b * ((a * i) - (z * c)));
	elseif (b <= -2.5e-165)
		tmp = t_1 + (a * ((b * i) - (x * t)));
	elseif (b <= 1.95e-150)
		tmp = t_1 + ((x * ((y * z) - (t * a))) - (c * (z * b)));
	else
		tmp = (y * ((x * z) - (i * j))) - (b * ((z * c) - (a * i)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -1.06e+96], N[(N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -2.5e-165], N[(t$95$1 + N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.95e-150], N[(t$95$1 + N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(z * c), $MachinePrecision] - N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot c - y \cdot i\right)\\
\mathbf{if}\;b \leq -1.06 \cdot 10^{+96}:\\
\;\;\;\;t \cdot \left(c \cdot j\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\

\mathbf{elif}\;b \leq -2.5 \cdot 10^{-165}:\\
\;\;\;\;t\_1 + a \cdot \left(b \cdot i - x \cdot t\right)\\

\mathbf{elif}\;b \leq 1.95 \cdot 10^{-150}:\\
\;\;\;\;t\_1 + \left(x \cdot \left(y \cdot z - t \cdot a\right) - c \cdot \left(z \cdot b\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if b < -1.06e96

    1. Initial program 67.4%

      \[\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. Step-by-step derivation
      1. +-commutative67.4%

        \[\leadsto \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)} \]
      2. fma-define67.4%

        \[\leadsto \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)} \]
      3. *-commutative67.4%

        \[\leadsto \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) \]
      4. *-commutative67.4%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv67.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub67.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg67.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg67.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative67.4%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative67.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out67.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg67.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative67.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative67.4%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 73.2%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. *-commutative73.2%

        \[\leadsto \left(-1 \cdot \left(a \cdot \color{blue}{\left(x \cdot t\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*75.1%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(a \cdot x\right) \cdot t\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. associate-*l*75.1%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right) \cdot t} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*74.9%

        \[\leadsto \left(\left(-1 \cdot \left(a \cdot x\right)\right) \cdot t + \color{blue}{\left(c \cdot j\right) \cdot t}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in74.9%

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

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg74.9%

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

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

        \[\leadsto t \cdot \left(\color{blue}{j \cdot c} - a \cdot x\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative74.9%

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

      \[\leadsto \color{blue}{t \cdot \left(j \cdot c - a \cdot x\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in j around inf 77.0%

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t\right)} - b \cdot \left(c \cdot z - i \cdot a\right) \]
    9. Step-by-step derivation
      1. associate-*r*76.9%

        \[\leadsto \color{blue}{\left(c \cdot j\right) \cdot t} - b \cdot \left(c \cdot z - i \cdot a\right) \]
      2. *-commutative76.9%

        \[\leadsto \color{blue}{t \cdot \left(c \cdot j\right)} - b \cdot \left(c \cdot z - i \cdot a\right) \]
    10. Simplified76.9%

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

    if -1.06e96 < b < -2.4999999999999999e-165

    1. Initial program 81.4%

      \[\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. Add Preprocessing
    3. Taylor expanded in a around -inf 77.8%

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

    if -2.4999999999999999e-165 < b < 1.9500000000000001e-150

    1. Initial program 67.4%

      \[\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. Add Preprocessing
    3. Taylor expanded in c around inf 78.1%

      \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \color{blue}{b \cdot \left(c \cdot z\right)}\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Step-by-step derivation
      1. *-commutative58.3%

        \[\leadsto t \cdot \left(j \cdot c - a \cdot x\right) - \color{blue}{\left(c \cdot z\right) \cdot b} \]
      2. associate-*l*63.6%

        \[\leadsto t \cdot \left(j \cdot c - a \cdot x\right) - \color{blue}{c \cdot \left(z \cdot b\right)} \]
      3. *-commutative63.6%

        \[\leadsto t \cdot \left(j \cdot c - a \cdot x\right) - c \cdot \color{blue}{\left(b \cdot z\right)} \]
    5. Simplified86.9%

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

    if 1.9500000000000001e-150 < b

    1. Initial program 67.1%

      \[\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. Step-by-step derivation
      1. +-commutative67.1%

        \[\leadsto \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)} \]
      2. fma-define70.1%

        \[\leadsto \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)} \]
      3. *-commutative70.1%

        \[\leadsto \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) \]
      4. *-commutative70.1%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv70.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub70.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg70.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg70.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative70.1%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative70.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out70.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg70.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative70.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative70.1%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 68.2%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*69.1%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*69.1%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative69.1%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*71.1%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in73.1%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg73.1%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg73.1%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative73.1%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative73.1%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified73.1%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.06 \cdot 10^{+96}:\\ \;\;\;\;t \cdot \left(c \cdot j\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;b \leq -2.5 \cdot 10^{-165}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;b \leq 1.95 \cdot 10^{-150}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - c \cdot \left(z \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right) - b \cdot \left(z \cdot c - a \cdot i\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 18: 63.4% accurate, 0.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(t \cdot c - y \cdot i\right) + z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{if}\;y \leq -5.5 \cdot 10^{+156}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;y \leq -2.8 \cdot 10^{-36}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 5 \cdot 10^{-182}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) + a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;y \leq 10^{-73}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) - c \cdot \left(z \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (+ (* j (- (* t c) (* y i))) (* z (- (* x y) (* b c))))))
   (if (<= y -5.5e+156)
     (* y (- (* x z) (* i j)))
     (if (<= y -2.8e-36)
       t_1
       (if (<= y 5e-182)
         (+ (* c (* t j)) (* a (- (* b i) (* x t))))
         (if (<= y 1e-73) (- (* t (- (* c j) (* x a))) (* c (* z b))) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = (j * ((t * c) - (y * i))) + (z * ((x * y) - (b * c)));
	double tmp;
	if (y <= -5.5e+156) {
		tmp = y * ((x * z) - (i * j));
	} else if (y <= -2.8e-36) {
		tmp = t_1;
	} else if (y <= 5e-182) {
		tmp = (c * (t * j)) + (a * ((b * i) - (x * t)));
	} else if (y <= 1e-73) {
		tmp = (t * ((c * j) - (x * a))) - (c * (z * b));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: tmp
    t_1 = (j * ((t * c) - (y * i))) + (z * ((x * y) - (b * c)))
    if (y <= (-5.5d+156)) then
        tmp = y * ((x * z) - (i * j))
    else if (y <= (-2.8d-36)) then
        tmp = t_1
    else if (y <= 5d-182) then
        tmp = (c * (t * j)) + (a * ((b * i) - (x * t)))
    else if (y <= 1d-73) then
        tmp = (t * ((c * j) - (x * a))) - (c * (z * b))
    else
        tmp = t_1
    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 t_1 = (j * ((t * c) - (y * i))) + (z * ((x * y) - (b * c)));
	double tmp;
	if (y <= -5.5e+156) {
		tmp = y * ((x * z) - (i * j));
	} else if (y <= -2.8e-36) {
		tmp = t_1;
	} else if (y <= 5e-182) {
		tmp = (c * (t * j)) + (a * ((b * i) - (x * t)));
	} else if (y <= 1e-73) {
		tmp = (t * ((c * j) - (x * a))) - (c * (z * b));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = (j * ((t * c) - (y * i))) + (z * ((x * y) - (b * c)))
	tmp = 0
	if y <= -5.5e+156:
		tmp = y * ((x * z) - (i * j))
	elif y <= -2.8e-36:
		tmp = t_1
	elif y <= 5e-182:
		tmp = (c * (t * j)) + (a * ((b * i) - (x * t)))
	elif y <= 1e-73:
		tmp = (t * ((c * j) - (x * a))) - (c * (z * b))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(Float64(j * Float64(Float64(t * c) - Float64(y * i))) + Float64(z * Float64(Float64(x * y) - Float64(b * c))))
	tmp = 0.0
	if (y <= -5.5e+156)
		tmp = Float64(y * Float64(Float64(x * z) - Float64(i * j)));
	elseif (y <= -2.8e-36)
		tmp = t_1;
	elseif (y <= 5e-182)
		tmp = Float64(Float64(c * Float64(t * j)) + Float64(a * Float64(Float64(b * i) - Float64(x * t))));
	elseif (y <= 1e-73)
		tmp = Float64(Float64(t * Float64(Float64(c * j) - Float64(x * a))) - Float64(c * Float64(z * b)));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = (j * ((t * c) - (y * i))) + (z * ((x * y) - (b * c)));
	tmp = 0.0;
	if (y <= -5.5e+156)
		tmp = y * ((x * z) - (i * j));
	elseif (y <= -2.8e-36)
		tmp = t_1;
	elseif (y <= 5e-182)
		tmp = (c * (t * j)) + (a * ((b * i) - (x * t)));
	elseif (y <= 1e-73)
		tmp = (t * ((c * j) - (x * a))) - (c * (z * b));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -5.5e+156], N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -2.8e-36], t$95$1, If[LessEqual[y, 5e-182], N[(N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision] + N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1e-73], N[(N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot c - y \cdot i\right) + z \cdot \left(x \cdot y - b \cdot c\right)\\
\mathbf{if}\;y \leq -5.5 \cdot 10^{+156}:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\

\mathbf{elif}\;y \leq -2.8 \cdot 10^{-36}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y \leq 5 \cdot 10^{-182}:\\
\;\;\;\;c \cdot \left(t \cdot j\right) + a \cdot \left(b \cdot i - x \cdot t\right)\\

\mathbf{elif}\;y \leq 10^{-73}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) - c \cdot \left(z \cdot b\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if y < -5.5000000000000003e156

    1. Initial program 53.1%

      \[\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. Step-by-step derivation
      1. +-commutative53.1%

        \[\leadsto \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)} \]
      2. fma-define53.1%

        \[\leadsto \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)} \]
      3. *-commutative53.1%

        \[\leadsto \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) \]
      4. *-commutative53.1%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv53.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub53.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg53.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg53.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative53.1%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative53.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out53.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg53.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative53.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative53.1%

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

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

      \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)} \]
    6. Step-by-step derivation
      1. +-commutative82.4%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} \]
      2. mul-1-neg82.4%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) \]
      3. unsub-neg82.4%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} \]
      4. *-commutative82.4%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) \]
    7. Simplified82.4%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right)} \]

    if -5.5000000000000003e156 < y < -2.8000000000000001e-36 or 9.99999999999999997e-74 < y

    1. Initial program 63.6%

      \[\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. Add Preprocessing
    3. Taylor expanded in z around inf 69.9%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Step-by-step derivation
      1. *-commutative69.9%

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

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

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

    if -2.8000000000000001e-36 < y < 5.00000000000000024e-182

    1. Initial program 81.1%

      \[\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. Add Preprocessing
    3. Taylor expanded in a around -inf 72.9%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in y around 0 67.6%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right) + c \cdot \left(j \cdot t\right)} \]
    5. Step-by-step derivation
      1. neg-mul-167.6%

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

        \[\leadsto \color{blue}{c \cdot \left(j \cdot t\right) + \left(-a \cdot \left(t \cdot x - b \cdot i\right)\right)} \]
      3. unsub-neg67.6%

        \[\leadsto \color{blue}{c \cdot \left(j \cdot t\right) - a \cdot \left(t \cdot x - b \cdot i\right)} \]
      4. *-commutative67.6%

        \[\leadsto c \cdot \color{blue}{\left(t \cdot j\right)} - a \cdot \left(t \cdot x - b \cdot i\right) \]
      5. *-commutative67.6%

        \[\leadsto c \cdot \left(t \cdot j\right) - a \cdot \left(\color{blue}{x \cdot t} - b \cdot i\right) \]
      6. *-commutative67.6%

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

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

    if 5.00000000000000024e-182 < y < 9.99999999999999997e-74

    1. Initial program 84.1%

      \[\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. Step-by-step derivation
      1. +-commutative84.1%

        \[\leadsto \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)} \]
      2. fma-define84.1%

        \[\leadsto \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)} \]
      3. *-commutative84.1%

        \[\leadsto \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) \]
      4. *-commutative84.1%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative84.1%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative84.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative84.1%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 60.7%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. *-commutative60.7%

        \[\leadsto \left(-1 \cdot \left(a \cdot \color{blue}{\left(x \cdot t\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*68.5%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(a \cdot x\right) \cdot t\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. associate-*l*68.5%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right) \cdot t} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*80.5%

        \[\leadsto \left(\left(-1 \cdot \left(a \cdot x\right)\right) \cdot t + \color{blue}{\left(c \cdot j\right) \cdot t}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in80.5%

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

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg80.5%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg80.5%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative80.5%

        \[\leadsto t \cdot \left(\color{blue}{j \cdot c} - a \cdot x\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative80.5%

        \[\leadsto t \cdot \left(j \cdot c - a \cdot x\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified80.5%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot c - a \cdot x\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in c around inf 80.8%

      \[\leadsto t \cdot \left(j \cdot c - a \cdot x\right) - \color{blue}{b \cdot \left(c \cdot z\right)} \]
    9. Step-by-step derivation
      1. *-commutative80.8%

        \[\leadsto t \cdot \left(j \cdot c - a \cdot x\right) - \color{blue}{\left(c \cdot z\right) \cdot b} \]
      2. associate-*l*80.6%

        \[\leadsto t \cdot \left(j \cdot c - a \cdot x\right) - \color{blue}{c \cdot \left(z \cdot b\right)} \]
      3. *-commutative80.6%

        \[\leadsto t \cdot \left(j \cdot c - a \cdot x\right) - c \cdot \color{blue}{\left(b \cdot z\right)} \]
    10. Simplified80.6%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -5.5 \cdot 10^{+156}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;y \leq -2.8 \cdot 10^{-36}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;y \leq 5 \cdot 10^{-182}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) + a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;y \leq 10^{-73}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) - c \cdot \left(z \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + z \cdot \left(x \cdot y - b \cdot c\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 19: 68.1% accurate, 0.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -1.42 \cdot 10^{+154}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;y \leq -8.5 \cdot 10^{-34} \lor \neg \left(y \leq 7.5 \cdot 10^{-67}\right):\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (<= y -1.42e+154)
   (* y (- (* x z) (* i j)))
   (if (or (<= y -8.5e-34) (not (<= y 7.5e-67)))
     (+ (* j (- (* t c) (* y i))) (* z (- (* x y) (* b c))))
     (+ (* t (- (* c j) (* x a))) (* b (- (* a i) (* z c)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (y <= -1.42e+154) {
		tmp = y * ((x * z) - (i * j));
	} else if ((y <= -8.5e-34) || !(y <= 7.5e-67)) {
		tmp = (j * ((t * c) - (y * i))) + (z * ((x * y) - (b * c)));
	} else {
		tmp = (t * ((c * j) - (x * a))) + (b * ((a * i) - (z * c)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: tmp
    if (y <= (-1.42d+154)) then
        tmp = y * ((x * z) - (i * j))
    else if ((y <= (-8.5d-34)) .or. (.not. (y <= 7.5d-67))) then
        tmp = (j * ((t * c) - (y * i))) + (z * ((x * y) - (b * c)))
    else
        tmp = (t * ((c * j) - (x * a))) + (b * ((a * i) - (z * c)))
    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 tmp;
	if (y <= -1.42e+154) {
		tmp = y * ((x * z) - (i * j));
	} else if ((y <= -8.5e-34) || !(y <= 7.5e-67)) {
		tmp = (j * ((t * c) - (y * i))) + (z * ((x * y) - (b * c)));
	} else {
		tmp = (t * ((c * j) - (x * a))) + (b * ((a * i) - (z * c)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if y <= -1.42e+154:
		tmp = y * ((x * z) - (i * j))
	elif (y <= -8.5e-34) or not (y <= 7.5e-67):
		tmp = (j * ((t * c) - (y * i))) + (z * ((x * y) - (b * c)))
	else:
		tmp = (t * ((c * j) - (x * a))) + (b * ((a * i) - (z * c)))
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if (y <= -1.42e+154)
		tmp = Float64(y * Float64(Float64(x * z) - Float64(i * j)));
	elseif ((y <= -8.5e-34) || !(y <= 7.5e-67))
		tmp = Float64(Float64(j * Float64(Float64(t * c) - Float64(y * i))) + Float64(z * Float64(Float64(x * y) - Float64(b * c))));
	else
		tmp = Float64(Float64(t * Float64(Float64(c * j) - Float64(x * a))) + Float64(b * Float64(Float64(a * i) - Float64(z * c))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if (y <= -1.42e+154)
		tmp = y * ((x * z) - (i * j));
	elseif ((y <= -8.5e-34) || ~((y <= 7.5e-67)))
		tmp = (j * ((t * c) - (y * i))) + (z * ((x * y) - (b * c)));
	else
		tmp = (t * ((c * j) - (x * a))) + (b * ((a * i) - (z * c)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[y, -1.42e+154], N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[y, -8.5e-34], N[Not[LessEqual[y, 7.5e-67]], $MachinePrecision]], N[(N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.42 \cdot 10^{+154}:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\

\mathbf{elif}\;y \leq -8.5 \cdot 10^{-34} \lor \neg \left(y \leq 7.5 \cdot 10^{-67}\right):\\
\;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + z \cdot \left(x \cdot y - b \cdot c\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if y < -1.42e154

    1. Initial program 53.1%

      \[\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. Step-by-step derivation
      1. +-commutative53.1%

        \[\leadsto \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)} \]
      2. fma-define53.1%

        \[\leadsto \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)} \]
      3. *-commutative53.1%

        \[\leadsto \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) \]
      4. *-commutative53.1%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv53.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub53.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg53.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg53.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative53.1%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative53.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out53.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg53.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative53.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative53.1%

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

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

      \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)} \]
    6. Step-by-step derivation
      1. +-commutative82.4%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} \]
      2. mul-1-neg82.4%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) \]
      3. unsub-neg82.4%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} \]
      4. *-commutative82.4%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) \]
    7. Simplified82.4%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right)} \]

    if -1.42e154 < y < -8.5000000000000001e-34 or 7.5000000000000005e-67 < y

    1. Initial program 64.2%

      \[\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. Add Preprocessing
    3. Taylor expanded in z around inf 69.6%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Step-by-step derivation
      1. *-commutative69.6%

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

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

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

    if -8.5000000000000001e-34 < y < 7.5000000000000005e-67

    1. Initial program 81.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. Step-by-step derivation
      1. +-commutative81.0%

        \[\leadsto \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)} \]
      2. fma-define82.9%

        \[\leadsto \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)} \]
      3. *-commutative82.9%

        \[\leadsto \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) \]
      4. *-commutative82.9%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv82.9%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg82.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg82.9%

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

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative82.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out82.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg82.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative82.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative82.9%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 69.7%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. *-commutative69.7%

        \[\leadsto \left(-1 \cdot \left(a \cdot \color{blue}{\left(x \cdot t\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*71.4%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(a \cdot x\right) \cdot t\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. associate-*l*71.4%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right) \cdot t} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*74.0%

        \[\leadsto \left(\left(-1 \cdot \left(a \cdot x\right)\right) \cdot t + \color{blue}{\left(c \cdot j\right) \cdot t}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in74.9%

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

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg74.9%

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

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

        \[\leadsto t \cdot \left(\color{blue}{j \cdot c} - a \cdot x\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative74.9%

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1.42 \cdot 10^{+154}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;y \leq -8.5 \cdot 10^{-34} \lor \neg \left(y \leq 7.5 \cdot 10^{-67}\right):\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 20: 55.9% accurate, 0.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot y - b \cdot c\\ \mathbf{if}\;z \leq -1.05 \cdot 10^{+101}:\\ \;\;\;\;z \cdot t\_1\\ \mathbf{elif}\;z \leq 4 \cdot 10^{-170}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;z \leq 3.3 \cdot 10^{+16}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;z \leq 3.8 \cdot 10^{+147}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot i\right) \cdot \frac{t\_1}{i}\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (- (* x y) (* b c))))
   (if (<= z -1.05e+101)
     (* z t_1)
     (if (<= z 4e-170)
       (+ (* j (- (* t c) (* y i))) (* a (* b i)))
       (if (<= z 3.3e+16)
         (* t (- (* c j) (* x a)))
         (if (<= z 3.8e+147)
           (* b (- (* a i) (* z c)))
           (* (* z i) (/ t_1 i))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = (x * y) - (b * c);
	double tmp;
	if (z <= -1.05e+101) {
		tmp = z * t_1;
	} else if (z <= 4e-170) {
		tmp = (j * ((t * c) - (y * i))) + (a * (b * i));
	} else if (z <= 3.3e+16) {
		tmp = t * ((c * j) - (x * a));
	} else if (z <= 3.8e+147) {
		tmp = b * ((a * i) - (z * c));
	} else {
		tmp = (z * i) * (t_1 / i);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: tmp
    t_1 = (x * y) - (b * c)
    if (z <= (-1.05d+101)) then
        tmp = z * t_1
    else if (z <= 4d-170) then
        tmp = (j * ((t * c) - (y * i))) + (a * (b * i))
    else if (z <= 3.3d+16) then
        tmp = t * ((c * j) - (x * a))
    else if (z <= 3.8d+147) then
        tmp = b * ((a * i) - (z * c))
    else
        tmp = (z * i) * (t_1 / i)
    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 t_1 = (x * y) - (b * c);
	double tmp;
	if (z <= -1.05e+101) {
		tmp = z * t_1;
	} else if (z <= 4e-170) {
		tmp = (j * ((t * c) - (y * i))) + (a * (b * i));
	} else if (z <= 3.3e+16) {
		tmp = t * ((c * j) - (x * a));
	} else if (z <= 3.8e+147) {
		tmp = b * ((a * i) - (z * c));
	} else {
		tmp = (z * i) * (t_1 / i);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = (x * y) - (b * c)
	tmp = 0
	if z <= -1.05e+101:
		tmp = z * t_1
	elif z <= 4e-170:
		tmp = (j * ((t * c) - (y * i))) + (a * (b * i))
	elif z <= 3.3e+16:
		tmp = t * ((c * j) - (x * a))
	elif z <= 3.8e+147:
		tmp = b * ((a * i) - (z * c))
	else:
		tmp = (z * i) * (t_1 / i)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(Float64(x * y) - Float64(b * c))
	tmp = 0.0
	if (z <= -1.05e+101)
		tmp = Float64(z * t_1);
	elseif (z <= 4e-170)
		tmp = Float64(Float64(j * Float64(Float64(t * c) - Float64(y * i))) + Float64(a * Float64(b * i)));
	elseif (z <= 3.3e+16)
		tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a)));
	elseif (z <= 3.8e+147)
		tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c)));
	else
		tmp = Float64(Float64(z * i) * Float64(t_1 / i));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = (x * y) - (b * c);
	tmp = 0.0;
	if (z <= -1.05e+101)
		tmp = z * t_1;
	elseif (z <= 4e-170)
		tmp = (j * ((t * c) - (y * i))) + (a * (b * i));
	elseif (z <= 3.3e+16)
		tmp = t * ((c * j) - (x * a));
	elseif (z <= 3.8e+147)
		tmp = b * ((a * i) - (z * c));
	else
		tmp = (z * i) * (t_1 / i);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.05e+101], N[(z * t$95$1), $MachinePrecision], If[LessEqual[z, 4e-170], N[(N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.3e+16], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.8e+147], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(z * i), $MachinePrecision] * N[(t$95$1 / i), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := x \cdot y - b \cdot c\\
\mathbf{if}\;z \leq -1.05 \cdot 10^{+101}:\\
\;\;\;\;z \cdot t\_1\\

\mathbf{elif}\;z \leq 4 \cdot 10^{-170}:\\
\;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + a \cdot \left(b \cdot i\right)\\

\mathbf{elif}\;z \leq 3.3 \cdot 10^{+16}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\

\mathbf{elif}\;z \leq 3.8 \cdot 10^{+147}:\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\

\mathbf{else}:\\
\;\;\;\;\left(z \cdot i\right) \cdot \frac{t\_1}{i}\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if z < -1.05e101

    1. Initial program 59.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. Step-by-step derivation
      1. +-commutative59.7%

        \[\leadsto \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)} \]
      2. fma-define62.1%

        \[\leadsto \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)} \]
      3. *-commutative62.1%

        \[\leadsto \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) \]
      4. *-commutative62.1%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv62.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub62.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg62.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg62.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative62.1%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative62.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out62.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg62.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative62.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative62.1%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 52.7%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*47.8%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*47.8%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative47.8%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*47.8%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in50.2%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg50.2%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg50.2%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative50.2%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative50.2%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified50.2%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in z around inf 73.9%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
    9. Step-by-step derivation
      1. *-commutative73.9%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) \]
    10. Simplified73.9%

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x - b \cdot c\right)} \]

    if -1.05e101 < z < 3.99999999999999993e-170

    1. Initial program 75.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. Add Preprocessing
    3. Taylor expanded in i around inf 66.4%

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

    if 3.99999999999999993e-170 < z < 3.3e16

    1. Initial program 86.3%

      \[\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. Step-by-step derivation
      1. +-commutative86.3%

        \[\leadsto \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)} \]
      2. fma-define86.3%

        \[\leadsto \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)} \]
      3. *-commutative86.3%

        \[\leadsto \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) \]
      4. *-commutative86.3%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative86.3%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative86.3%

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

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

      \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} \]
    6. Step-by-step derivation
      1. +-commutative68.9%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} \]
      2. mul-1-neg68.9%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) \]
      3. unsub-neg68.9%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} \]
      4. *-commutative68.9%

        \[\leadsto t \cdot \left(\color{blue}{j \cdot c} - a \cdot x\right) \]
    7. Simplified68.9%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot c - a \cdot x\right)} \]

    if 3.3e16 < z < 3.7999999999999997e147

    1. Initial program 73.3%

      \[\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. Step-by-step derivation
      1. +-commutative73.3%

        \[\leadsto \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)} \]
      2. fma-define76.3%

        \[\leadsto \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)} \]
      3. *-commutative76.3%

        \[\leadsto \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) \]
      4. *-commutative76.3%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative76.3%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative76.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative76.3%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 81.6%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*81.6%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*81.6%

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

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*81.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in84.4%

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

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

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg84.4%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative84.4%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative84.4%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified84.4%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in b around inf 71.1%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i - c \cdot z\right)} \]
    9. Step-by-step derivation
      1. *-commutative71.1%

        \[\leadsto b \cdot \left(\color{blue}{i \cdot a} - c \cdot z\right) \]
      2. *-commutative71.1%

        \[\leadsto b \cdot \left(i \cdot a - \color{blue}{z \cdot c}\right) \]
    10. Simplified71.1%

      \[\leadsto \color{blue}{b \cdot \left(i \cdot a - z \cdot c\right)} \]

    if 3.7999999999999997e147 < z

    1. Initial program 40.9%

      \[\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. Step-by-step derivation
      1. +-commutative40.9%

        \[\leadsto \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)} \]
      2. fma-define47.6%

        \[\leadsto \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)} \]
      3. *-commutative47.6%

        \[\leadsto \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) \]
      4. *-commutative47.6%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative47.6%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative47.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative47.6%

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

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

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

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

      \[\leadsto \color{blue}{i \cdot \left(z \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*71.1%

        \[\leadsto \color{blue}{\left(i \cdot z\right) \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right)} \]
      2. *-commutative71.1%

        \[\leadsto \color{blue}{\left(z \cdot i\right)} \cdot \left(-1 \cdot \frac{b \cdot c}{i} + \frac{x \cdot y}{i}\right) \]
      3. +-commutative71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \color{blue}{\left(\frac{x \cdot y}{i} + -1 \cdot \frac{b \cdot c}{i}\right)} \]
      4. mul-1-neg71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \left(\frac{x \cdot y}{i} + \color{blue}{\left(-\frac{b \cdot c}{i}\right)}\right) \]
      5. unsub-neg71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \color{blue}{\left(\frac{x \cdot y}{i} - \frac{b \cdot c}{i}\right)} \]
      6. associate-/l*71.1%

        \[\leadsto \left(z \cdot i\right) \cdot \left(\color{blue}{x \cdot \frac{y}{i}} - \frac{b \cdot c}{i}\right) \]
      7. associate-/l*67.9%

        \[\leadsto \left(z \cdot i\right) \cdot \left(x \cdot \frac{y}{i} - \color{blue}{b \cdot \frac{c}{i}}\right) \]
    9. Simplified67.9%

      \[\leadsto \color{blue}{\left(z \cdot i\right) \cdot \left(x \cdot \frac{y}{i} - b \cdot \frac{c}{i}\right)} \]
    10. Taylor expanded in z around 0 71.0%

      \[\leadsto \color{blue}{i \cdot \left(z \cdot \left(\frac{x \cdot y}{i} - \frac{b \cdot c}{i}\right)\right)} \]
    11. Step-by-step derivation
      1. div-sub74.3%

        \[\leadsto i \cdot \left(z \cdot \color{blue}{\frac{x \cdot y - b \cdot c}{i}}\right) \]
      2. associate-*r*74.4%

        \[\leadsto \color{blue}{\left(i \cdot z\right) \cdot \frac{x \cdot y - b \cdot c}{i}} \]
      3. *-commutative74.4%

        \[\leadsto \color{blue}{\left(z \cdot i\right)} \cdot \frac{x \cdot y - b \cdot c}{i} \]
      4. *-commutative74.4%

        \[\leadsto \left(z \cdot i\right) \cdot \frac{\color{blue}{y \cdot x} - b \cdot c}{i} \]
    12. Simplified74.4%

      \[\leadsto \color{blue}{\left(z \cdot i\right) \cdot \frac{y \cdot x - b \cdot c}{i}} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification69.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -1.05 \cdot 10^{+101}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq 4 \cdot 10^{-170}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;z \leq 3.3 \cdot 10^{+16}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;z \leq 3.8 \cdot 10^{+147}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot i\right) \cdot \frac{x \cdot y - b \cdot c}{i}\\ \end{array} \]
  5. Add Preprocessing

Alternative 21: 29.2% accurate, 0.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;j \leq -1.25 \cdot 10^{+46}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;j \leq -1.85 \cdot 10^{-196}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;j \leq -8.5 \cdot 10^{-267}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;j \leq 3.6 \cdot 10^{-26}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;j \leq 2.3 \cdot 10^{+235}:\\ \;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (<= j -1.25e+46)
   (* t (* c j))
   (if (<= j -1.85e-196)
     (* a (* b i))
     (if (<= j -8.5e-267)
       (* x (* y z))
       (if (<= j 3.6e-26)
         (* y (* x z))
         (if (<= j 2.3e+235) (* j (* y (- i))) (* j (* t c))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (j <= -1.25e+46) {
		tmp = t * (c * j);
	} else if (j <= -1.85e-196) {
		tmp = a * (b * i);
	} else if (j <= -8.5e-267) {
		tmp = x * (y * z);
	} else if (j <= 3.6e-26) {
		tmp = y * (x * z);
	} else if (j <= 2.3e+235) {
		tmp = j * (y * -i);
	} else {
		tmp = j * (t * c);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: tmp
    if (j <= (-1.25d+46)) then
        tmp = t * (c * j)
    else if (j <= (-1.85d-196)) then
        tmp = a * (b * i)
    else if (j <= (-8.5d-267)) then
        tmp = x * (y * z)
    else if (j <= 3.6d-26) then
        tmp = y * (x * z)
    else if (j <= 2.3d+235) then
        tmp = j * (y * -i)
    else
        tmp = j * (t * c)
    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 tmp;
	if (j <= -1.25e+46) {
		tmp = t * (c * j);
	} else if (j <= -1.85e-196) {
		tmp = a * (b * i);
	} else if (j <= -8.5e-267) {
		tmp = x * (y * z);
	} else if (j <= 3.6e-26) {
		tmp = y * (x * z);
	} else if (j <= 2.3e+235) {
		tmp = j * (y * -i);
	} else {
		tmp = j * (t * c);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if j <= -1.25e+46:
		tmp = t * (c * j)
	elif j <= -1.85e-196:
		tmp = a * (b * i)
	elif j <= -8.5e-267:
		tmp = x * (y * z)
	elif j <= 3.6e-26:
		tmp = y * (x * z)
	elif j <= 2.3e+235:
		tmp = j * (y * -i)
	else:
		tmp = j * (t * c)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if (j <= -1.25e+46)
		tmp = Float64(t * Float64(c * j));
	elseif (j <= -1.85e-196)
		tmp = Float64(a * Float64(b * i));
	elseif (j <= -8.5e-267)
		tmp = Float64(x * Float64(y * z));
	elseif (j <= 3.6e-26)
		tmp = Float64(y * Float64(x * z));
	elseif (j <= 2.3e+235)
		tmp = Float64(j * Float64(y * Float64(-i)));
	else
		tmp = Float64(j * Float64(t * c));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if (j <= -1.25e+46)
		tmp = t * (c * j);
	elseif (j <= -1.85e-196)
		tmp = a * (b * i);
	elseif (j <= -8.5e-267)
		tmp = x * (y * z);
	elseif (j <= 3.6e-26)
		tmp = y * (x * z);
	elseif (j <= 2.3e+235)
		tmp = j * (y * -i);
	else
		tmp = j * (t * c);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[j, -1.25e+46], N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.85e-196], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -8.5e-267], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.6e-26], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.3e+235], N[(j * N[(y * (-i)), $MachinePrecision]), $MachinePrecision], N[(j * N[(t * c), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;j \leq -1.25 \cdot 10^{+46}:\\
\;\;\;\;t \cdot \left(c \cdot j\right)\\

\mathbf{elif}\;j \leq -1.85 \cdot 10^{-196}:\\
\;\;\;\;a \cdot \left(b \cdot i\right)\\

\mathbf{elif}\;j \leq -8.5 \cdot 10^{-267}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\

\mathbf{elif}\;j \leq 3.6 \cdot 10^{-26}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\

\mathbf{elif}\;j \leq 2.3 \cdot 10^{+235}:\\
\;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\

\mathbf{else}:\\
\;\;\;\;j \cdot \left(t \cdot c\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if j < -1.2500000000000001e46

    1. Initial program 72.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. Add Preprocessing
    3. Taylor expanded in t around inf 74.9%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in a around 0 68.1%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
    5. Taylor expanded in c around inf 46.8%

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t\right)} \]
    6. Step-by-step derivation
      1. *-commutative46.8%

        \[\leadsto \color{blue}{\left(j \cdot t\right) \cdot c} \]
      2. *-commutative46.8%

        \[\leadsto \color{blue}{\left(t \cdot j\right)} \cdot c \]
      3. associate-*r*49.0%

        \[\leadsto \color{blue}{t \cdot \left(j \cdot c\right)} \]
    7. Simplified49.0%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot c\right)} \]

    if -1.2500000000000001e46 < j < -1.85000000000000005e-196

    1. Initial program 57.4%

      \[\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. Add Preprocessing
    3. Taylor expanded in a around -inf 47.3%

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

      \[\leadsto \color{blue}{a \cdot \left(b \cdot i\right)} \]
    5. Step-by-step derivation
      1. *-commutative36.5%

        \[\leadsto a \cdot \color{blue}{\left(i \cdot b\right)} \]
    6. Simplified36.5%

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b\right)} \]

    if -1.85000000000000005e-196 < j < -8.49999999999999987e-267

    1. Initial program 68.8%

      \[\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. Step-by-step derivation
      1. +-commutative68.8%

        \[\leadsto \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)} \]
      2. fma-define68.8%

        \[\leadsto \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)} \]
      3. *-commutative68.8%

        \[\leadsto \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) \]
      4. *-commutative68.8%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv68.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub68.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg68.8%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative68.8%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative68.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out68.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg68.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative68.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative68.8%

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

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

      \[\leadsto \color{blue}{x \cdot \left(-1 \cdot \left(a \cdot t\right) + y \cdot z\right)} \]
    6. Taylor expanded in a around 0 38.0%

      \[\leadsto x \cdot \color{blue}{\left(y \cdot z\right)} \]

    if -8.49999999999999987e-267 < j < 3.6000000000000001e-26

    1. Initial program 69.2%

      \[\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. Step-by-step derivation
      1. +-commutative69.2%

        \[\leadsto \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)} \]
      2. fma-define69.2%

        \[\leadsto \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)} \]
      3. *-commutative69.2%

        \[\leadsto \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) \]
      4. *-commutative69.2%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv69.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub69.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg69.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg69.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative69.2%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative69.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out69.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg69.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative69.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative69.2%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 61.4%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*61.4%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*61.4%

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

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*61.5%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in61.5%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg61.5%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg61.5%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative61.5%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative61.5%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified61.5%

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

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
    9. Step-by-step derivation
      1. *-commutative56.2%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) \]
    10. Simplified56.2%

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x - b \cdot c\right)} \]
    11. Taylor expanded in y around inf 37.5%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z\right)} \]
    12. Step-by-step derivation
      1. associate-*r*37.5%

        \[\leadsto \color{blue}{\left(x \cdot y\right) \cdot z} \]
      2. *-commutative37.5%

        \[\leadsto \color{blue}{\left(y \cdot x\right)} \cdot z \]
      3. associate-*r*40.3%

        \[\leadsto \color{blue}{y \cdot \left(x \cdot z\right)} \]
    13. Simplified40.3%

      \[\leadsto \color{blue}{y \cdot \left(x \cdot z\right)} \]

    if 3.6000000000000001e-26 < j < 2.3e235

    1. Initial program 74.8%

      \[\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. Add Preprocessing
    3. Taylor expanded in t around inf 62.6%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in a around 0 56.5%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
    5. Taylor expanded in c around 0 47.2%

      \[\leadsto j \cdot \color{blue}{\left(-1 \cdot \left(i \cdot y\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg47.2%

        \[\leadsto j \cdot \color{blue}{\left(-i \cdot y\right)} \]
      2. distribute-lft-neg-out47.2%

        \[\leadsto j \cdot \color{blue}{\left(\left(-i\right) \cdot y\right)} \]
      3. *-commutative47.2%

        \[\leadsto j \cdot \color{blue}{\left(y \cdot \left(-i\right)\right)} \]
    7. Simplified47.2%

      \[\leadsto j \cdot \color{blue}{\left(y \cdot \left(-i\right)\right)} \]

    if 2.3e235 < j

    1. Initial program 82.3%

      \[\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. Add Preprocessing
    3. Taylor expanded in t around inf 54.0%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in a around 0 59.9%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
    5. Taylor expanded in c around inf 48.5%

      \[\leadsto j \cdot \color{blue}{\left(c \cdot t\right)} \]
    6. Step-by-step derivation
      1. *-commutative48.5%

        \[\leadsto j \cdot \color{blue}{\left(t \cdot c\right)} \]
    7. Simplified48.5%

      \[\leadsto j \cdot \color{blue}{\left(t \cdot c\right)} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification43.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -1.25 \cdot 10^{+46}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;j \leq -1.85 \cdot 10^{-196}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;j \leq -8.5 \cdot 10^{-267}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;j \leq 3.6 \cdot 10^{-26}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;j \leq 2.3 \cdot 10^{+235}:\\ \;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 22: 29.5% accurate, 0.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;j \leq -1 \cdot 10^{+49}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;j \leq -1.15 \cdot 10^{-173}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;j \leq -1.22 \cdot 10^{-275}:\\ \;\;\;\;x \cdot \left(t \cdot \left(-a\right)\right)\\ \mathbf{elif}\;j \leq 3.6 \cdot 10^{-26}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;j \leq 6.5 \cdot 10^{+234}:\\ \;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (<= j -1e+49)
   (* t (* c j))
   (if (<= j -1.15e-173)
     (* a (* b i))
     (if (<= j -1.22e-275)
       (* x (* t (- a)))
       (if (<= j 3.6e-26)
         (* y (* x z))
         (if (<= j 6.5e+234) (* j (* y (- i))) (* j (* t c))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (j <= -1e+49) {
		tmp = t * (c * j);
	} else if (j <= -1.15e-173) {
		tmp = a * (b * i);
	} else if (j <= -1.22e-275) {
		tmp = x * (t * -a);
	} else if (j <= 3.6e-26) {
		tmp = y * (x * z);
	} else if (j <= 6.5e+234) {
		tmp = j * (y * -i);
	} else {
		tmp = j * (t * c);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: tmp
    if (j <= (-1d+49)) then
        tmp = t * (c * j)
    else if (j <= (-1.15d-173)) then
        tmp = a * (b * i)
    else if (j <= (-1.22d-275)) then
        tmp = x * (t * -a)
    else if (j <= 3.6d-26) then
        tmp = y * (x * z)
    else if (j <= 6.5d+234) then
        tmp = j * (y * -i)
    else
        tmp = j * (t * c)
    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 tmp;
	if (j <= -1e+49) {
		tmp = t * (c * j);
	} else if (j <= -1.15e-173) {
		tmp = a * (b * i);
	} else if (j <= -1.22e-275) {
		tmp = x * (t * -a);
	} else if (j <= 3.6e-26) {
		tmp = y * (x * z);
	} else if (j <= 6.5e+234) {
		tmp = j * (y * -i);
	} else {
		tmp = j * (t * c);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if j <= -1e+49:
		tmp = t * (c * j)
	elif j <= -1.15e-173:
		tmp = a * (b * i)
	elif j <= -1.22e-275:
		tmp = x * (t * -a)
	elif j <= 3.6e-26:
		tmp = y * (x * z)
	elif j <= 6.5e+234:
		tmp = j * (y * -i)
	else:
		tmp = j * (t * c)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if (j <= -1e+49)
		tmp = Float64(t * Float64(c * j));
	elseif (j <= -1.15e-173)
		tmp = Float64(a * Float64(b * i));
	elseif (j <= -1.22e-275)
		tmp = Float64(x * Float64(t * Float64(-a)));
	elseif (j <= 3.6e-26)
		tmp = Float64(y * Float64(x * z));
	elseif (j <= 6.5e+234)
		tmp = Float64(j * Float64(y * Float64(-i)));
	else
		tmp = Float64(j * Float64(t * c));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if (j <= -1e+49)
		tmp = t * (c * j);
	elseif (j <= -1.15e-173)
		tmp = a * (b * i);
	elseif (j <= -1.22e-275)
		tmp = x * (t * -a);
	elseif (j <= 3.6e-26)
		tmp = y * (x * z);
	elseif (j <= 6.5e+234)
		tmp = j * (y * -i);
	else
		tmp = j * (t * c);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[j, -1e+49], N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.15e-173], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.22e-275], N[(x * N[(t * (-a)), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.6e-26], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 6.5e+234], N[(j * N[(y * (-i)), $MachinePrecision]), $MachinePrecision], N[(j * N[(t * c), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;j \leq -1 \cdot 10^{+49}:\\
\;\;\;\;t \cdot \left(c \cdot j\right)\\

\mathbf{elif}\;j \leq -1.15 \cdot 10^{-173}:\\
\;\;\;\;a \cdot \left(b \cdot i\right)\\

\mathbf{elif}\;j \leq -1.22 \cdot 10^{-275}:\\
\;\;\;\;x \cdot \left(t \cdot \left(-a\right)\right)\\

\mathbf{elif}\;j \leq 3.6 \cdot 10^{-26}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\

\mathbf{elif}\;j \leq 6.5 \cdot 10^{+234}:\\
\;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\

\mathbf{else}:\\
\;\;\;\;j \cdot \left(t \cdot c\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if j < -9.99999999999999946e48

    1. Initial program 72.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. Add Preprocessing
    3. Taylor expanded in t around inf 74.9%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in a around 0 68.1%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
    5. Taylor expanded in c around inf 46.8%

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t\right)} \]
    6. Step-by-step derivation
      1. *-commutative46.8%

        \[\leadsto \color{blue}{\left(j \cdot t\right) \cdot c} \]
      2. *-commutative46.8%

        \[\leadsto \color{blue}{\left(t \cdot j\right)} \cdot c \]
      3. associate-*r*49.0%

        \[\leadsto \color{blue}{t \cdot \left(j \cdot c\right)} \]
    7. Simplified49.0%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot c\right)} \]

    if -9.99999999999999946e48 < j < -1.14999999999999994e-173

    1. Initial program 56.6%

      \[\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. Add Preprocessing
    3. Taylor expanded in a around -inf 45.9%

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

      \[\leadsto \color{blue}{a \cdot \left(b \cdot i\right)} \]
    5. Step-by-step derivation
      1. *-commutative36.6%

        \[\leadsto a \cdot \color{blue}{\left(i \cdot b\right)} \]
    6. Simplified36.6%

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b\right)} \]

    if -1.14999999999999994e-173 < j < -1.21999999999999995e-275

    1. Initial program 72.6%

      \[\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. Step-by-step derivation
      1. +-commutative72.6%

        \[\leadsto \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)} \]
      2. fma-define72.6%

        \[\leadsto \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)} \]
      3. *-commutative72.6%

        \[\leadsto \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) \]
      4. *-commutative72.6%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv72.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub72.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg72.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg72.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative72.6%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative72.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out72.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg72.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative72.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative72.6%

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

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

      \[\leadsto \color{blue}{x \cdot \left(-1 \cdot \left(a \cdot t\right) + y \cdot z\right)} \]
    6. Taylor expanded in a around inf 33.5%

      \[\leadsto x \cdot \color{blue}{\left(-1 \cdot \left(a \cdot t\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-neg33.5%

        \[\leadsto x \cdot \color{blue}{\left(-a \cdot t\right)} \]
      2. distribute-rgt-neg-in33.5%

        \[\leadsto x \cdot \color{blue}{\left(a \cdot \left(-t\right)\right)} \]
    8. Simplified33.5%

      \[\leadsto x \cdot \color{blue}{\left(a \cdot \left(-t\right)\right)} \]

    if -1.21999999999999995e-275 < j < 3.6000000000000001e-26

    1. Initial program 67.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. Step-by-step derivation
      1. +-commutative67.7%

        \[\leadsto \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)} \]
      2. fma-define67.7%

        \[\leadsto \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)} \]
      3. *-commutative67.7%

        \[\leadsto \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) \]
      4. *-commutative67.7%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv67.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub67.7%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg67.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative67.7%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative67.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out67.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg67.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative67.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative67.7%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 61.2%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*61.2%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*61.2%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative61.2%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*61.2%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in61.2%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg61.2%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg61.2%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative61.2%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative61.2%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified61.2%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in z around inf 55.7%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
    9. Step-by-step derivation
      1. *-commutative55.7%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) \]
    10. Simplified55.7%

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x - b \cdot c\right)} \]
    11. Taylor expanded in y around inf 39.2%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z\right)} \]
    12. Step-by-step derivation
      1. associate-*r*39.1%

        \[\leadsto \color{blue}{\left(x \cdot y\right) \cdot z} \]
      2. *-commutative39.1%

        \[\leadsto \color{blue}{\left(y \cdot x\right)} \cdot z \]
      3. associate-*r*42.1%

        \[\leadsto \color{blue}{y \cdot \left(x \cdot z\right)} \]
    13. Simplified42.1%

      \[\leadsto \color{blue}{y \cdot \left(x \cdot z\right)} \]

    if 3.6000000000000001e-26 < j < 6.4999999999999995e234

    1. Initial program 74.8%

      \[\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. Add Preprocessing
    3. Taylor expanded in t around inf 62.6%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in a around 0 56.5%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
    5. Taylor expanded in c around 0 47.2%

      \[\leadsto j \cdot \color{blue}{\left(-1 \cdot \left(i \cdot y\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg47.2%

        \[\leadsto j \cdot \color{blue}{\left(-i \cdot y\right)} \]
      2. distribute-lft-neg-out47.2%

        \[\leadsto j \cdot \color{blue}{\left(\left(-i\right) \cdot y\right)} \]
      3. *-commutative47.2%

        \[\leadsto j \cdot \color{blue}{\left(y \cdot \left(-i\right)\right)} \]
    7. Simplified47.2%

      \[\leadsto j \cdot \color{blue}{\left(y \cdot \left(-i\right)\right)} \]

    if 6.4999999999999995e234 < j

    1. Initial program 82.3%

      \[\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. Add Preprocessing
    3. Taylor expanded in t around inf 54.0%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in a around 0 59.9%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
    5. Taylor expanded in c around inf 48.5%

      \[\leadsto j \cdot \color{blue}{\left(c \cdot t\right)} \]
    6. Step-by-step derivation
      1. *-commutative48.5%

        \[\leadsto j \cdot \color{blue}{\left(t \cdot c\right)} \]
    7. Simplified48.5%

      \[\leadsto j \cdot \color{blue}{\left(t \cdot c\right)} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification43.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -1 \cdot 10^{+49}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;j \leq -1.15 \cdot 10^{-173}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;j \leq -1.22 \cdot 10^{-275}:\\ \;\;\;\;x \cdot \left(t \cdot \left(-a\right)\right)\\ \mathbf{elif}\;j \leq 3.6 \cdot 10^{-26}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;j \leq 6.5 \cdot 10^{+234}:\\ \;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 23: 29.3% accurate, 0.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;j \leq -2.4 \cdot 10^{+45}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;j \leq -8.5 \cdot 10^{-193}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;j \leq -6.2 \cdot 10^{-279}:\\ \;\;\;\;b \cdot \left(z \cdot \left(-c\right)\right)\\ \mathbf{elif}\;j \leq 3.5 \cdot 10^{-26}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;j \leq 2 \cdot 10^{+238}:\\ \;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (<= j -2.4e+45)
   (* t (* c j))
   (if (<= j -8.5e-193)
     (* a (* b i))
     (if (<= j -6.2e-279)
       (* b (* z (- c)))
       (if (<= j 3.5e-26)
         (* y (* x z))
         (if (<= j 2e+238) (* j (* y (- i))) (* j (* t c))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (j <= -2.4e+45) {
		tmp = t * (c * j);
	} else if (j <= -8.5e-193) {
		tmp = a * (b * i);
	} else if (j <= -6.2e-279) {
		tmp = b * (z * -c);
	} else if (j <= 3.5e-26) {
		tmp = y * (x * z);
	} else if (j <= 2e+238) {
		tmp = j * (y * -i);
	} else {
		tmp = j * (t * c);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: tmp
    if (j <= (-2.4d+45)) then
        tmp = t * (c * j)
    else if (j <= (-8.5d-193)) then
        tmp = a * (b * i)
    else if (j <= (-6.2d-279)) then
        tmp = b * (z * -c)
    else if (j <= 3.5d-26) then
        tmp = y * (x * z)
    else if (j <= 2d+238) then
        tmp = j * (y * -i)
    else
        tmp = j * (t * c)
    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 tmp;
	if (j <= -2.4e+45) {
		tmp = t * (c * j);
	} else if (j <= -8.5e-193) {
		tmp = a * (b * i);
	} else if (j <= -6.2e-279) {
		tmp = b * (z * -c);
	} else if (j <= 3.5e-26) {
		tmp = y * (x * z);
	} else if (j <= 2e+238) {
		tmp = j * (y * -i);
	} else {
		tmp = j * (t * c);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if j <= -2.4e+45:
		tmp = t * (c * j)
	elif j <= -8.5e-193:
		tmp = a * (b * i)
	elif j <= -6.2e-279:
		tmp = b * (z * -c)
	elif j <= 3.5e-26:
		tmp = y * (x * z)
	elif j <= 2e+238:
		tmp = j * (y * -i)
	else:
		tmp = j * (t * c)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if (j <= -2.4e+45)
		tmp = Float64(t * Float64(c * j));
	elseif (j <= -8.5e-193)
		tmp = Float64(a * Float64(b * i));
	elseif (j <= -6.2e-279)
		tmp = Float64(b * Float64(z * Float64(-c)));
	elseif (j <= 3.5e-26)
		tmp = Float64(y * Float64(x * z));
	elseif (j <= 2e+238)
		tmp = Float64(j * Float64(y * Float64(-i)));
	else
		tmp = Float64(j * Float64(t * c));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if (j <= -2.4e+45)
		tmp = t * (c * j);
	elseif (j <= -8.5e-193)
		tmp = a * (b * i);
	elseif (j <= -6.2e-279)
		tmp = b * (z * -c);
	elseif (j <= 3.5e-26)
		tmp = y * (x * z);
	elseif (j <= 2e+238)
		tmp = j * (y * -i);
	else
		tmp = j * (t * c);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[j, -2.4e+45], N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -8.5e-193], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -6.2e-279], N[(b * N[(z * (-c)), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.5e-26], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2e+238], N[(j * N[(y * (-i)), $MachinePrecision]), $MachinePrecision], N[(j * N[(t * c), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;j \leq -2.4 \cdot 10^{+45}:\\
\;\;\;\;t \cdot \left(c \cdot j\right)\\

\mathbf{elif}\;j \leq -8.5 \cdot 10^{-193}:\\
\;\;\;\;a \cdot \left(b \cdot i\right)\\

\mathbf{elif}\;j \leq -6.2 \cdot 10^{-279}:\\
\;\;\;\;b \cdot \left(z \cdot \left(-c\right)\right)\\

\mathbf{elif}\;j \leq 3.5 \cdot 10^{-26}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\

\mathbf{elif}\;j \leq 2 \cdot 10^{+238}:\\
\;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\

\mathbf{else}:\\
\;\;\;\;j \cdot \left(t \cdot c\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if j < -2.39999999999999989e45

    1. Initial program 72.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. Add Preprocessing
    3. Taylor expanded in t around inf 74.9%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in a around 0 68.1%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
    5. Taylor expanded in c around inf 46.8%

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t\right)} \]
    6. Step-by-step derivation
      1. *-commutative46.8%

        \[\leadsto \color{blue}{\left(j \cdot t\right) \cdot c} \]
      2. *-commutative46.8%

        \[\leadsto \color{blue}{\left(t \cdot j\right)} \cdot c \]
      3. associate-*r*49.0%

        \[\leadsto \color{blue}{t \cdot \left(j \cdot c\right)} \]
    7. Simplified49.0%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot c\right)} \]

    if -2.39999999999999989e45 < j < -8.50000000000000004e-193

    1. Initial program 57.4%

      \[\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. Add Preprocessing
    3. Taylor expanded in a around -inf 47.3%

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

      \[\leadsto \color{blue}{a \cdot \left(b \cdot i\right)} \]
    5. Step-by-step derivation
      1. *-commutative36.5%

        \[\leadsto a \cdot \color{blue}{\left(i \cdot b\right)} \]
    6. Simplified36.5%

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b\right)} \]

    if -8.50000000000000004e-193 < j < -6.1999999999999998e-279

    1. Initial program 73.1%

      \[\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. Step-by-step derivation
      1. +-commutative73.1%

        \[\leadsto \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)} \]
      2. fma-define73.1%

        \[\leadsto \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)} \]
      3. *-commutative73.1%

        \[\leadsto \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) \]
      4. *-commutative73.1%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv73.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub73.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg73.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg73.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative73.1%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative73.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out73.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg73.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative73.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative73.1%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 73.6%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*73.6%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*73.6%

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

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*73.6%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in73.6%

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

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

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

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

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative73.6%

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

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in c around inf 33.9%

      \[\leadsto \color{blue}{-1 \cdot \left(b \cdot \left(c \cdot z\right)\right)} \]
    9. Step-by-step derivation
      1. associate-*r*33.9%

        \[\leadsto \color{blue}{\left(-1 \cdot b\right) \cdot \left(c \cdot z\right)} \]
      2. neg-mul-133.9%

        \[\leadsto \color{blue}{\left(-b\right)} \cdot \left(c \cdot z\right) \]
      3. *-commutative33.9%

        \[\leadsto \left(-b\right) \cdot \color{blue}{\left(z \cdot c\right)} \]
    10. Simplified33.9%

      \[\leadsto \color{blue}{\left(-b\right) \cdot \left(z \cdot c\right)} \]

    if -6.1999999999999998e-279 < j < 3.49999999999999985e-26

    1. Initial program 67.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. Step-by-step derivation
      1. +-commutative67.7%

        \[\leadsto \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)} \]
      2. fma-define67.7%

        \[\leadsto \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)} \]
      3. *-commutative67.7%

        \[\leadsto \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) \]
      4. *-commutative67.7%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv67.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub67.7%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg67.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative67.7%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative67.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out67.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg67.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative67.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative67.7%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 61.2%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*61.2%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*61.2%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative61.2%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*61.2%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in61.2%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg61.2%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg61.2%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative61.2%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative61.2%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified61.2%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in z around inf 55.7%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
    9. Step-by-step derivation
      1. *-commutative55.7%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) \]
    10. Simplified55.7%

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x - b \cdot c\right)} \]
    11. Taylor expanded in y around inf 39.2%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z\right)} \]
    12. Step-by-step derivation
      1. associate-*r*39.1%

        \[\leadsto \color{blue}{\left(x \cdot y\right) \cdot z} \]
      2. *-commutative39.1%

        \[\leadsto \color{blue}{\left(y \cdot x\right)} \cdot z \]
      3. associate-*r*42.1%

        \[\leadsto \color{blue}{y \cdot \left(x \cdot z\right)} \]
    13. Simplified42.1%

      \[\leadsto \color{blue}{y \cdot \left(x \cdot z\right)} \]

    if 3.49999999999999985e-26 < j < 2.0000000000000001e238

    1. Initial program 74.8%

      \[\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. Add Preprocessing
    3. Taylor expanded in t around inf 62.6%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in a around 0 56.5%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
    5. Taylor expanded in c around 0 47.2%

      \[\leadsto j \cdot \color{blue}{\left(-1 \cdot \left(i \cdot y\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg47.2%

        \[\leadsto j \cdot \color{blue}{\left(-i \cdot y\right)} \]
      2. distribute-lft-neg-out47.2%

        \[\leadsto j \cdot \color{blue}{\left(\left(-i\right) \cdot y\right)} \]
      3. *-commutative47.2%

        \[\leadsto j \cdot \color{blue}{\left(y \cdot \left(-i\right)\right)} \]
    7. Simplified47.2%

      \[\leadsto j \cdot \color{blue}{\left(y \cdot \left(-i\right)\right)} \]

    if 2.0000000000000001e238 < j

    1. Initial program 82.3%

      \[\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. Add Preprocessing
    3. Taylor expanded in t around inf 54.0%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in a around 0 59.9%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
    5. Taylor expanded in c around inf 48.5%

      \[\leadsto j \cdot \color{blue}{\left(c \cdot t\right)} \]
    6. Step-by-step derivation
      1. *-commutative48.5%

        \[\leadsto j \cdot \color{blue}{\left(t \cdot c\right)} \]
    7. Simplified48.5%

      \[\leadsto j \cdot \color{blue}{\left(t \cdot c\right)} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification43.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -2.4 \cdot 10^{+45}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;j \leq -8.5 \cdot 10^{-193}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;j \leq -6.2 \cdot 10^{-279}:\\ \;\;\;\;b \cdot \left(z \cdot \left(-c\right)\right)\\ \mathbf{elif}\;j \leq 3.5 \cdot 10^{-26}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;j \leq 2 \cdot 10^{+238}:\\ \;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 24: 42.3% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{if}\;b \leq -5.1 \cdot 10^{-99}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq -5.1 \cdot 10^{-241}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;b \leq 1.02 \cdot 10^{-297}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;b \leq 9 \cdot 10^{-144}:\\ \;\;\;\;x \cdot \left(t \cdot \left(-a\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* b (- (* a i) (* z c)))))
   (if (<= b -5.1e-99)
     t_1
     (if (<= b -5.1e-241)
       (* t (* c j))
       (if (<= b 1.02e-297)
         (* x (* y z))
         (if (<= b 9e-144) (* x (* t (- a))) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = b * ((a * i) - (z * c));
	double tmp;
	if (b <= -5.1e-99) {
		tmp = t_1;
	} else if (b <= -5.1e-241) {
		tmp = t * (c * j);
	} else if (b <= 1.02e-297) {
		tmp = x * (y * z);
	} else if (b <= 9e-144) {
		tmp = x * (t * -a);
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: tmp
    t_1 = b * ((a * i) - (z * c))
    if (b <= (-5.1d-99)) then
        tmp = t_1
    else if (b <= (-5.1d-241)) then
        tmp = t * (c * j)
    else if (b <= 1.02d-297) then
        tmp = x * (y * z)
    else if (b <= 9d-144) then
        tmp = x * (t * -a)
    else
        tmp = t_1
    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 t_1 = b * ((a * i) - (z * c));
	double tmp;
	if (b <= -5.1e-99) {
		tmp = t_1;
	} else if (b <= -5.1e-241) {
		tmp = t * (c * j);
	} else if (b <= 1.02e-297) {
		tmp = x * (y * z);
	} else if (b <= 9e-144) {
		tmp = x * (t * -a);
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = b * ((a * i) - (z * c))
	tmp = 0
	if b <= -5.1e-99:
		tmp = t_1
	elif b <= -5.1e-241:
		tmp = t * (c * j)
	elif b <= 1.02e-297:
		tmp = x * (y * z)
	elif b <= 9e-144:
		tmp = x * (t * -a)
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(b * Float64(Float64(a * i) - Float64(z * c)))
	tmp = 0.0
	if (b <= -5.1e-99)
		tmp = t_1;
	elseif (b <= -5.1e-241)
		tmp = Float64(t * Float64(c * j));
	elseif (b <= 1.02e-297)
		tmp = Float64(x * Float64(y * z));
	elseif (b <= 9e-144)
		tmp = Float64(x * Float64(t * Float64(-a)));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = b * ((a * i) - (z * c));
	tmp = 0.0;
	if (b <= -5.1e-99)
		tmp = t_1;
	elseif (b <= -5.1e-241)
		tmp = t * (c * j);
	elseif (b <= 1.02e-297)
		tmp = x * (y * z);
	elseif (b <= 9e-144)
		tmp = x * (t * -a);
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -5.1e-99], t$95$1, If[LessEqual[b, -5.1e-241], N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.02e-297], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 9e-144], N[(x * N[(t * (-a)), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\
\mathbf{if}\;b \leq -5.1 \cdot 10^{-99}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq -5.1 \cdot 10^{-241}:\\
\;\;\;\;t \cdot \left(c \cdot j\right)\\

\mathbf{elif}\;b \leq 1.02 \cdot 10^{-297}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\

\mathbf{elif}\;b \leq 9 \cdot 10^{-144}:\\
\;\;\;\;x \cdot \left(t \cdot \left(-a\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if b < -5.0999999999999999e-99 or 8.9999999999999996e-144 < b

    1. Initial program 71.8%

      \[\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. Step-by-step derivation
      1. +-commutative71.8%

        \[\leadsto \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)} \]
      2. fma-define73.4%

        \[\leadsto \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)} \]
      3. *-commutative73.4%

        \[\leadsto \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) \]
      4. *-commutative73.4%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative73.4%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative73.4%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 66.8%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*67.3%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*67.3%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative67.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*68.9%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in70.0%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg70.0%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg70.0%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative70.0%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative70.0%

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

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in b around inf 52.4%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i - c \cdot z\right)} \]
    9. Step-by-step derivation
      1. *-commutative52.4%

        \[\leadsto b \cdot \left(\color{blue}{i \cdot a} - c \cdot z\right) \]
      2. *-commutative52.4%

        \[\leadsto b \cdot \left(i \cdot a - \color{blue}{z \cdot c}\right) \]
    10. Simplified52.4%

      \[\leadsto \color{blue}{b \cdot \left(i \cdot a - z \cdot c\right)} \]

    if -5.0999999999999999e-99 < b < -5.0999999999999998e-241

    1. Initial program 74.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. Add Preprocessing
    3. Taylor expanded in t around inf 74.2%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in a around 0 59.9%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
    5. Taylor expanded in c around inf 42.5%

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t\right)} \]
    6. Step-by-step derivation
      1. *-commutative42.5%

        \[\leadsto \color{blue}{\left(j \cdot t\right) \cdot c} \]
      2. *-commutative42.5%

        \[\leadsto \color{blue}{\left(t \cdot j\right)} \cdot c \]
      3. associate-*r*45.9%

        \[\leadsto \color{blue}{t \cdot \left(j \cdot c\right)} \]
    7. Simplified45.9%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot c\right)} \]

    if -5.0999999999999998e-241 < b < 1.0200000000000001e-297

    1. Initial program 51.6%

      \[\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. Step-by-step derivation
      1. +-commutative51.6%

        \[\leadsto \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)} \]
      2. fma-define57.8%

        \[\leadsto \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)} \]
      3. *-commutative57.8%

        \[\leadsto \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) \]
      4. *-commutative57.8%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv57.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub57.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg57.8%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative57.8%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative57.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out57.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg57.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative57.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative57.8%

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

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

      \[\leadsto \color{blue}{x \cdot \left(-1 \cdot \left(a \cdot t\right) + y \cdot z\right)} \]
    6. Taylor expanded in a around 0 63.1%

      \[\leadsto x \cdot \color{blue}{\left(y \cdot z\right)} \]

    if 1.0200000000000001e-297 < b < 8.9999999999999996e-144

    1. Initial program 63.8%

      \[\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. Step-by-step derivation
      1. +-commutative63.8%

        \[\leadsto \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)} \]
      2. fma-define63.8%

        \[\leadsto \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)} \]
      3. *-commutative63.8%

        \[\leadsto \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) \]
      4. *-commutative63.8%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv63.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub63.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg63.8%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative63.8%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative63.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out63.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg63.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative63.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative63.8%

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

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

      \[\leadsto \color{blue}{x \cdot \left(-1 \cdot \left(a \cdot t\right) + y \cdot z\right)} \]
    6. Taylor expanded in a around inf 37.8%

      \[\leadsto x \cdot \color{blue}{\left(-1 \cdot \left(a \cdot t\right)\right)} \]
    7. Step-by-step derivation
      1. mul-1-neg37.8%

        \[\leadsto x \cdot \color{blue}{\left(-a \cdot t\right)} \]
      2. distribute-rgt-neg-in37.8%

        \[\leadsto x \cdot \color{blue}{\left(a \cdot \left(-t\right)\right)} \]
    8. Simplified37.8%

      \[\leadsto x \cdot \color{blue}{\left(a \cdot \left(-t\right)\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification50.7%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -5.1 \cdot 10^{-99}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;b \leq -5.1 \cdot 10^{-241}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;b \leq 1.02 \cdot 10^{-297}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;b \leq 9 \cdot 10^{-144}:\\ \;\;\;\;x \cdot \left(t \cdot \left(-a\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 25: 45.2% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{if}\;c \leq -1.65 \cdot 10^{+103}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;c \leq 1.4 \cdot 10^{-256}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq 7.8 \cdot 10^{-184}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{elif}\;c \leq 5.8 \cdot 10^{+45}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* b (- (* a i) (* z c)))) (t_2 (* c (- (* t j) (* z b)))))
   (if (<= c -1.65e+103)
     t_2
     (if (<= c 1.4e-256)
       t_1
       (if (<= c 7.8e-184) (* z (* x y)) (if (<= c 5.8e+45) t_1 t_2))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = b * ((a * i) - (z * c));
	double t_2 = c * ((t * j) - (z * b));
	double tmp;
	if (c <= -1.65e+103) {
		tmp = t_2;
	} else if (c <= 1.4e-256) {
		tmp = t_1;
	} else if (c <= 7.8e-184) {
		tmp = z * (x * y);
	} else if (c <= 5.8e+45) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = b * ((a * i) - (z * c))
    t_2 = c * ((t * j) - (z * b))
    if (c <= (-1.65d+103)) then
        tmp = t_2
    else if (c <= 1.4d-256) then
        tmp = t_1
    else if (c <= 7.8d-184) then
        tmp = z * (x * y)
    else if (c <= 5.8d+45) then
        tmp = t_1
    else
        tmp = t_2
    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 t_1 = b * ((a * i) - (z * c));
	double t_2 = c * ((t * j) - (z * b));
	double tmp;
	if (c <= -1.65e+103) {
		tmp = t_2;
	} else if (c <= 1.4e-256) {
		tmp = t_1;
	} else if (c <= 7.8e-184) {
		tmp = z * (x * y);
	} else if (c <= 5.8e+45) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = b * ((a * i) - (z * c))
	t_2 = c * ((t * j) - (z * b))
	tmp = 0
	if c <= -1.65e+103:
		tmp = t_2
	elif c <= 1.4e-256:
		tmp = t_1
	elif c <= 7.8e-184:
		tmp = z * (x * y)
	elif c <= 5.8e+45:
		tmp = t_1
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(b * Float64(Float64(a * i) - Float64(z * c)))
	t_2 = Float64(c * Float64(Float64(t * j) - Float64(z * b)))
	tmp = 0.0
	if (c <= -1.65e+103)
		tmp = t_2;
	elseif (c <= 1.4e-256)
		tmp = t_1;
	elseif (c <= 7.8e-184)
		tmp = Float64(z * Float64(x * y));
	elseif (c <= 5.8e+45)
		tmp = t_1;
	else
		tmp = t_2;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = b * ((a * i) - (z * c));
	t_2 = c * ((t * j) - (z * b));
	tmp = 0.0;
	if (c <= -1.65e+103)
		tmp = t_2;
	elseif (c <= 1.4e-256)
		tmp = t_1;
	elseif (c <= 7.8e-184)
		tmp = z * (x * y);
	elseif (c <= 5.8e+45)
		tmp = t_1;
	else
		tmp = t_2;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -1.65e+103], t$95$2, If[LessEqual[c, 1.4e-256], t$95$1, If[LessEqual[c, 7.8e-184], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5.8e+45], t$95$1, t$95$2]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\
t_2 := c \cdot \left(t \cdot j - z \cdot b\right)\\
\mathbf{if}\;c \leq -1.65 \cdot 10^{+103}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;c \leq 1.4 \cdot 10^{-256}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;c \leq 7.8 \cdot 10^{-184}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\

\mathbf{elif}\;c \leq 5.8 \cdot 10^{+45}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;t\_2\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if c < -1.65000000000000004e103 or 5.7999999999999994e45 < c

    1. Initial program 58.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. Step-by-step derivation
      1. +-commutative58.7%

        \[\leadsto \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)} \]
      2. fma-define60.7%

        \[\leadsto \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)} \]
      3. *-commutative60.7%

        \[\leadsto \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) \]
      4. *-commutative60.7%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv60.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub60.7%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg60.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative60.7%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative60.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out60.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg60.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative60.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative60.7%

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

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

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t - b \cdot z\right)} \]

    if -1.65000000000000004e103 < c < 1.40000000000000012e-256 or 7.79999999999999988e-184 < c < 5.7999999999999994e45

    1. Initial program 75.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. Step-by-step derivation
      1. +-commutative75.7%

        \[\leadsto \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)} \]
      2. fma-define77.1%

        \[\leadsto \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)} \]
      3. *-commutative77.1%

        \[\leadsto \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) \]
      4. *-commutative77.1%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv77.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub77.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg77.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg77.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative77.1%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative77.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out77.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg77.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative77.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative77.1%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 67.3%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*67.2%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*67.2%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative67.2%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*69.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in69.3%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg69.3%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg69.3%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative69.3%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative69.3%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified69.3%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in b around inf 43.8%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i - c \cdot z\right)} \]
    9. Step-by-step derivation
      1. *-commutative43.8%

        \[\leadsto b \cdot \left(\color{blue}{i \cdot a} - c \cdot z\right) \]
      2. *-commutative43.8%

        \[\leadsto b \cdot \left(i \cdot a - \color{blue}{z \cdot c}\right) \]
    10. Simplified43.8%

      \[\leadsto \color{blue}{b \cdot \left(i \cdot a - z \cdot c\right)} \]

    if 1.40000000000000012e-256 < c < 7.79999999999999988e-184

    1. Initial program 88.2%

      \[\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. Step-by-step derivation
      1. +-commutative88.2%

        \[\leadsto \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)} \]
      2. fma-define88.2%

        \[\leadsto \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)} \]
      3. *-commutative88.2%

        \[\leadsto \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) \]
      4. *-commutative88.2%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv88.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub88.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg88.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg88.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative88.2%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative88.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out88.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg88.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative88.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative88.2%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 71.3%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*71.1%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*71.1%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative71.1%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*71.0%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in71.0%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg71.0%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg71.0%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative71.0%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative71.0%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified71.0%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in z around inf 54.2%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
    9. Step-by-step derivation
      1. *-commutative54.2%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) \]
    10. Simplified54.2%

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x - b \cdot c\right)} \]
    11. Taylor expanded in y around inf 54.1%

      \[\leadsto z \cdot \color{blue}{\left(x \cdot y\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification53.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -1.65 \cdot 10^{+103}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{elif}\;c \leq 1.4 \cdot 10^{-256}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;c \leq 7.8 \cdot 10^{-184}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{elif}\;c \leq 5.8 \cdot 10^{+45}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 26: 51.7% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := i \cdot \left(a \cdot b - y \cdot j\right)\\ t_2 := c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{if}\;c \leq -2.5 \cdot 10^{-84}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;c \leq -7.5 \cdot 10^{-177}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq -2.6 \cdot 10^{-212}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;c \leq 9.5 \cdot 10^{-6}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* i (- (* a b) (* y j)))) (t_2 (* c (- (* t j) (* z b)))))
   (if (<= c -2.5e-84)
     t_2
     (if (<= c -7.5e-177)
       t_1
       (if (<= c -2.6e-212) (* y (* x z)) (if (<= c 9.5e-6) t_1 t_2))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = i * ((a * b) - (y * j));
	double t_2 = c * ((t * j) - (z * b));
	double tmp;
	if (c <= -2.5e-84) {
		tmp = t_2;
	} else if (c <= -7.5e-177) {
		tmp = t_1;
	} else if (c <= -2.6e-212) {
		tmp = y * (x * z);
	} else if (c <= 9.5e-6) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = i * ((a * b) - (y * j))
    t_2 = c * ((t * j) - (z * b))
    if (c <= (-2.5d-84)) then
        tmp = t_2
    else if (c <= (-7.5d-177)) then
        tmp = t_1
    else if (c <= (-2.6d-212)) then
        tmp = y * (x * z)
    else if (c <= 9.5d-6) then
        tmp = t_1
    else
        tmp = t_2
    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 t_1 = i * ((a * b) - (y * j));
	double t_2 = c * ((t * j) - (z * b));
	double tmp;
	if (c <= -2.5e-84) {
		tmp = t_2;
	} else if (c <= -7.5e-177) {
		tmp = t_1;
	} else if (c <= -2.6e-212) {
		tmp = y * (x * z);
	} else if (c <= 9.5e-6) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = i * ((a * b) - (y * j))
	t_2 = c * ((t * j) - (z * b))
	tmp = 0
	if c <= -2.5e-84:
		tmp = t_2
	elif c <= -7.5e-177:
		tmp = t_1
	elif c <= -2.6e-212:
		tmp = y * (x * z)
	elif c <= 9.5e-6:
		tmp = t_1
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(i * Float64(Float64(a * b) - Float64(y * j)))
	t_2 = Float64(c * Float64(Float64(t * j) - Float64(z * b)))
	tmp = 0.0
	if (c <= -2.5e-84)
		tmp = t_2;
	elseif (c <= -7.5e-177)
		tmp = t_1;
	elseif (c <= -2.6e-212)
		tmp = Float64(y * Float64(x * z));
	elseif (c <= 9.5e-6)
		tmp = t_1;
	else
		tmp = t_2;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = i * ((a * b) - (y * j));
	t_2 = c * ((t * j) - (z * b));
	tmp = 0.0;
	if (c <= -2.5e-84)
		tmp = t_2;
	elseif (c <= -7.5e-177)
		tmp = t_1;
	elseif (c <= -2.6e-212)
		tmp = y * (x * z);
	elseif (c <= 9.5e-6)
		tmp = t_1;
	else
		tmp = t_2;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(i * N[(N[(a * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -2.5e-84], t$95$2, If[LessEqual[c, -7.5e-177], t$95$1, If[LessEqual[c, -2.6e-212], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 9.5e-6], t$95$1, t$95$2]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := i \cdot \left(a \cdot b - y \cdot j\right)\\
t_2 := c \cdot \left(t \cdot j - z \cdot b\right)\\
\mathbf{if}\;c \leq -2.5 \cdot 10^{-84}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;c \leq -7.5 \cdot 10^{-177}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;c \leq -2.6 \cdot 10^{-212}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\

\mathbf{elif}\;c \leq 9.5 \cdot 10^{-6}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;t\_2\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if c < -2.5000000000000001e-84 or 9.5000000000000005e-6 < c

    1. Initial program 64.3%

      \[\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. Step-by-step derivation
      1. +-commutative64.3%

        \[\leadsto \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)} \]
      2. fma-define66.5%

        \[\leadsto \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)} \]
      3. *-commutative66.5%

        \[\leadsto \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) \]
      4. *-commutative66.5%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv66.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub66.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg66.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg66.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative66.5%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative66.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out66.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg66.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative66.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative66.5%

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

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

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t - b \cdot z\right)} \]

    if -2.5000000000000001e-84 < c < -7.5e-177 or -2.6e-212 < c < 9.5000000000000005e-6

    1. Initial program 76.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. Add Preprocessing
    3. Taylor expanded in a around -inf 65.5%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in t around 0 48.3%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + a \cdot \left(b \cdot i\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg48.3%

        \[\leadsto \color{blue}{\left(-i \cdot \left(j \cdot y\right)\right)} + a \cdot \left(b \cdot i\right) \]
      2. *-commutative48.3%

        \[\leadsto \left(-\color{blue}{\left(j \cdot y\right) \cdot i}\right) + a \cdot \left(b \cdot i\right) \]
      3. distribute-lft-neg-in48.3%

        \[\leadsto \color{blue}{\left(-j \cdot y\right) \cdot i} + a \cdot \left(b \cdot i\right) \]
      4. mul-1-neg48.3%

        \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right)\right)} \cdot i + a \cdot \left(b \cdot i\right) \]
      5. associate-*r*51.8%

        \[\leadsto \left(-1 \cdot \left(j \cdot y\right)\right) \cdot i + \color{blue}{\left(a \cdot b\right) \cdot i} \]
      6. distribute-rgt-in52.7%

        \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) + a \cdot b\right)} \]
      7. +-commutative52.7%

        \[\leadsto i \cdot \color{blue}{\left(a \cdot b + -1 \cdot \left(j \cdot y\right)\right)} \]
      8. mul-1-neg52.7%

        \[\leadsto i \cdot \left(a \cdot b + \color{blue}{\left(-j \cdot y\right)}\right) \]
      9. unsub-neg52.7%

        \[\leadsto i \cdot \color{blue}{\left(a \cdot b - j \cdot y\right)} \]
      10. *-commutative52.7%

        \[\leadsto i \cdot \left(a \cdot b - \color{blue}{y \cdot j}\right) \]
    6. Simplified52.7%

      \[\leadsto \color{blue}{i \cdot \left(a \cdot b - y \cdot j\right)} \]

    if -7.5e-177 < c < -2.6e-212

    1. Initial program 77.3%

      \[\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. Step-by-step derivation
      1. +-commutative77.3%

        \[\leadsto \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)} \]
      2. fma-define77.3%

        \[\leadsto \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)} \]
      3. *-commutative77.3%

        \[\leadsto \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) \]
      4. *-commutative77.3%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv77.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub77.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg77.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg77.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative77.3%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative77.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out77.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg77.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative77.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative77.3%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 69.3%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*69.3%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*69.3%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative69.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*69.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in69.3%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg69.3%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg69.3%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative69.3%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative69.3%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified69.3%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in z around inf 40.4%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
    9. Step-by-step derivation
      1. *-commutative40.4%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) \]
    10. Simplified40.4%

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x - b \cdot c\right)} \]
    11. Taylor expanded in y around inf 47.2%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z\right)} \]
    12. Step-by-step derivation
      1. associate-*r*40.1%

        \[\leadsto \color{blue}{\left(x \cdot y\right) \cdot z} \]
      2. *-commutative40.1%

        \[\leadsto \color{blue}{\left(y \cdot x\right)} \cdot z \]
      3. associate-*r*54.5%

        \[\leadsto \color{blue}{y \cdot \left(x \cdot z\right)} \]
    13. Simplified54.5%

      \[\leadsto \color{blue}{y \cdot \left(x \cdot z\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification58.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -2.5 \cdot 10^{-84}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{elif}\;c \leq -7.5 \cdot 10^{-177}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;c \leq -2.6 \cdot 10^{-212}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;c \leq 9.5 \cdot 10^{-6}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 27: 29.0% accurate, 1.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -1.95 \cdot 10^{+30}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;y \leq 9.2 \cdot 10^{-178}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;y \leq 4.8 \cdot 10^{-66}:\\ \;\;\;\;\left(x \cdot t\right) \cdot \left(-a\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (<= y -1.95e+30)
   (* x (* y z))
   (if (<= y 9.2e-178)
     (* i (* a b))
     (if (<= y 4.8e-66) (* (* x t) (- a)) (* z (* x y))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (y <= -1.95e+30) {
		tmp = x * (y * z);
	} else if (y <= 9.2e-178) {
		tmp = i * (a * b);
	} else if (y <= 4.8e-66) {
		tmp = (x * t) * -a;
	} else {
		tmp = z * (x * y);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: tmp
    if (y <= (-1.95d+30)) then
        tmp = x * (y * z)
    else if (y <= 9.2d-178) then
        tmp = i * (a * b)
    else if (y <= 4.8d-66) then
        tmp = (x * t) * -a
    else
        tmp = z * (x * y)
    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 tmp;
	if (y <= -1.95e+30) {
		tmp = x * (y * z);
	} else if (y <= 9.2e-178) {
		tmp = i * (a * b);
	} else if (y <= 4.8e-66) {
		tmp = (x * t) * -a;
	} else {
		tmp = z * (x * y);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if y <= -1.95e+30:
		tmp = x * (y * z)
	elif y <= 9.2e-178:
		tmp = i * (a * b)
	elif y <= 4.8e-66:
		tmp = (x * t) * -a
	else:
		tmp = z * (x * y)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if (y <= -1.95e+30)
		tmp = Float64(x * Float64(y * z));
	elseif (y <= 9.2e-178)
		tmp = Float64(i * Float64(a * b));
	elseif (y <= 4.8e-66)
		tmp = Float64(Float64(x * t) * Float64(-a));
	else
		tmp = Float64(z * Float64(x * y));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if (y <= -1.95e+30)
		tmp = x * (y * z);
	elseif (y <= 9.2e-178)
		tmp = i * (a * b);
	elseif (y <= 4.8e-66)
		tmp = (x * t) * -a;
	else
		tmp = z * (x * y);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[y, -1.95e+30], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 9.2e-178], N[(i * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.8e-66], N[(N[(x * t), $MachinePrecision] * (-a)), $MachinePrecision], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.95 \cdot 10^{+30}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\

\mathbf{elif}\;y \leq 9.2 \cdot 10^{-178}:\\
\;\;\;\;i \cdot \left(a \cdot b\right)\\

\mathbf{elif}\;y \leq 4.8 \cdot 10^{-66}:\\
\;\;\;\;\left(x \cdot t\right) \cdot \left(-a\right)\\

\mathbf{else}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if y < -1.95000000000000005e30

    1. Initial program 53.8%

      \[\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. Step-by-step derivation
      1. +-commutative53.8%

        \[\leadsto \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)} \]
      2. fma-define53.8%

        \[\leadsto \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)} \]
      3. *-commutative53.8%

        \[\leadsto \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) \]
      4. *-commutative53.8%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv53.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub53.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg53.8%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative53.8%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative53.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out53.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg53.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative53.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative53.8%

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

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

      \[\leadsto \color{blue}{x \cdot \left(-1 \cdot \left(a \cdot t\right) + y \cdot z\right)} \]
    6. Taylor expanded in a around 0 37.5%

      \[\leadsto x \cdot \color{blue}{\left(y \cdot z\right)} \]

    if -1.95000000000000005e30 < y < 9.19999999999999978e-178

    1. Initial program 81.2%

      \[\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. Step-by-step derivation
      1. +-commutative81.2%

        \[\leadsto \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)} \]
      2. fma-define83.1%

        \[\leadsto \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)} \]
      3. *-commutative83.1%

        \[\leadsto \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) \]
      4. *-commutative83.1%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv83.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub83.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg83.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg83.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative83.1%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative83.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out83.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg83.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative83.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative83.1%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 66.0%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*61.4%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*61.4%

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

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*59.4%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in59.4%

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

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

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg59.4%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative59.4%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative59.4%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified59.4%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in a around inf 37.5%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot i\right)} \]
    9. Step-by-step derivation
      1. associate-*r*38.4%

        \[\leadsto \color{blue}{\left(a \cdot b\right) \cdot i} \]
      2. *-commutative38.4%

        \[\leadsto \color{blue}{\left(b \cdot a\right)} \cdot i \]
    10. Simplified38.4%

      \[\leadsto \color{blue}{\left(b \cdot a\right) \cdot i} \]

    if 9.19999999999999978e-178 < y < 4.80000000000000052e-66

    1. Initial program 81.9%

      \[\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. Step-by-step derivation
      1. +-commutative81.9%

        \[\leadsto \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)} \]
      2. fma-define81.9%

        \[\leadsto \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)} \]
      3. *-commutative81.9%

        \[\leadsto \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) \]
      4. *-commutative81.9%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv81.9%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg81.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg81.9%

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

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative81.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out81.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg81.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative81.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative81.9%

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

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

      \[\leadsto \color{blue}{x \cdot \left(-1 \cdot \left(a \cdot t\right) + y \cdot z\right)} \]
    6. Taylor expanded in a around inf 53.0%

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + \frac{x \cdot \left(y \cdot z\right)}{a}\right)} \]
    7. Step-by-step derivation
      1. +-commutative53.0%

        \[\leadsto a \cdot \color{blue}{\left(\frac{x \cdot \left(y \cdot z\right)}{a} + -1 \cdot \left(t \cdot x\right)\right)} \]
      2. mul-1-neg53.0%

        \[\leadsto a \cdot \left(\frac{x \cdot \left(y \cdot z\right)}{a} + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg53.0%

        \[\leadsto a \cdot \color{blue}{\left(\frac{x \cdot \left(y \cdot z\right)}{a} - t \cdot x\right)} \]
      4. associate-/l*53.0%

        \[\leadsto a \cdot \left(\color{blue}{x \cdot \frac{y \cdot z}{a}} - t \cdot x\right) \]
      5. associate-/l*48.7%

        \[\leadsto a \cdot \left(x \cdot \color{blue}{\left(y \cdot \frac{z}{a}\right)} - t \cdot x\right) \]
      6. *-commutative48.7%

        \[\leadsto a \cdot \left(x \cdot \left(y \cdot \frac{z}{a}\right) - \color{blue}{x \cdot t}\right) \]
    8. Simplified48.7%

      \[\leadsto \color{blue}{a \cdot \left(x \cdot \left(y \cdot \frac{z}{a}\right) - x \cdot t\right)} \]
    9. Taylor expanded in y around 0 49.0%

      \[\leadsto a \cdot \color{blue}{\left(-1 \cdot \left(t \cdot x\right)\right)} \]
    10. Step-by-step derivation
      1. neg-mul-149.0%

        \[\leadsto a \cdot \color{blue}{\left(-t \cdot x\right)} \]
      2. distribute-rgt-neg-in49.0%

        \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(-x\right)\right)} \]
    11. Simplified49.0%

      \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(-x\right)\right)} \]

    if 4.80000000000000052e-66 < y

    1. Initial program 63.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. Step-by-step derivation
      1. +-commutative63.0%

        \[\leadsto \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)} \]
      2. fma-define66.1%

        \[\leadsto \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)} \]
      3. *-commutative66.1%

        \[\leadsto \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) \]
      4. *-commutative66.1%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv66.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub66.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg66.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg66.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative66.1%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative66.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out66.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg66.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative66.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative66.1%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 58.6%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*58.5%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*58.5%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative58.5%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*61.5%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in63.0%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg63.0%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg63.0%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative63.0%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative63.0%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified63.0%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in z around inf 59.1%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
    9. Step-by-step derivation
      1. *-commutative59.1%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) \]
    10. Simplified59.1%

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x - b \cdot c\right)} \]
    11. Taylor expanded in y around inf 40.0%

      \[\leadsto z \cdot \color{blue}{\left(x \cdot y\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification39.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1.95 \cdot 10^{+30}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;y \leq 9.2 \cdot 10^{-178}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;y \leq 4.8 \cdot 10^{-66}:\\ \;\;\;\;\left(x \cdot t\right) \cdot \left(-a\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 28: 28.1% accurate, 1.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;c \leq -2.5 \cdot 10^{+131}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;c \leq 1.8 \cdot 10^{-255}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;c \leq 4.4 \cdot 10^{-7}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (<= c -2.5e+131)
   (* j (* t c))
   (if (<= c 1.8e-255)
     (* a (* b i))
     (if (<= c 4.4e-7) (* x (* y z)) (* c (* t j))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (c <= -2.5e+131) {
		tmp = j * (t * c);
	} else if (c <= 1.8e-255) {
		tmp = a * (b * i);
	} else if (c <= 4.4e-7) {
		tmp = x * (y * z);
	} else {
		tmp = c * (t * j);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: tmp
    if (c <= (-2.5d+131)) then
        tmp = j * (t * c)
    else if (c <= 1.8d-255) then
        tmp = a * (b * i)
    else if (c <= 4.4d-7) then
        tmp = x * (y * z)
    else
        tmp = c * (t * j)
    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 tmp;
	if (c <= -2.5e+131) {
		tmp = j * (t * c);
	} else if (c <= 1.8e-255) {
		tmp = a * (b * i);
	} else if (c <= 4.4e-7) {
		tmp = x * (y * z);
	} else {
		tmp = c * (t * j);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if c <= -2.5e+131:
		tmp = j * (t * c)
	elif c <= 1.8e-255:
		tmp = a * (b * i)
	elif c <= 4.4e-7:
		tmp = x * (y * z)
	else:
		tmp = c * (t * j)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if (c <= -2.5e+131)
		tmp = Float64(j * Float64(t * c));
	elseif (c <= 1.8e-255)
		tmp = Float64(a * Float64(b * i));
	elseif (c <= 4.4e-7)
		tmp = Float64(x * Float64(y * z));
	else
		tmp = Float64(c * Float64(t * j));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if (c <= -2.5e+131)
		tmp = j * (t * c);
	elseif (c <= 1.8e-255)
		tmp = a * (b * i);
	elseif (c <= 4.4e-7)
		tmp = x * (y * z);
	else
		tmp = c * (t * j);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[c, -2.5e+131], N[(j * N[(t * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.8e-255], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.4e-7], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;c \leq -2.5 \cdot 10^{+131}:\\
\;\;\;\;j \cdot \left(t \cdot c\right)\\

\mathbf{elif}\;c \leq 1.8 \cdot 10^{-255}:\\
\;\;\;\;a \cdot \left(b \cdot i\right)\\

\mathbf{elif}\;c \leq 4.4 \cdot 10^{-7}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\

\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if c < -2.49999999999999998e131

    1. Initial program 57.6%

      \[\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. Add Preprocessing
    3. Taylor expanded in t around inf 54.9%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in a around 0 61.9%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
    5. Taylor expanded in c around inf 55.0%

      \[\leadsto j \cdot \color{blue}{\left(c \cdot t\right)} \]
    6. Step-by-step derivation
      1. *-commutative55.0%

        \[\leadsto j \cdot \color{blue}{\left(t \cdot c\right)} \]
    7. Simplified55.0%

      \[\leadsto j \cdot \color{blue}{\left(t \cdot c\right)} \]

    if -2.49999999999999998e131 < c < 1.8000000000000001e-255

    1. Initial program 75.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. Add Preprocessing
    3. Taylor expanded in a around -inf 63.9%

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

      \[\leadsto \color{blue}{a \cdot \left(b \cdot i\right)} \]
    5. Step-by-step derivation
      1. *-commutative35.2%

        \[\leadsto a \cdot \color{blue}{\left(i \cdot b\right)} \]
    6. Simplified35.2%

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b\right)} \]

    if 1.8000000000000001e-255 < c < 4.4000000000000002e-7

    1. Initial program 76.4%

      \[\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. Step-by-step derivation
      1. +-commutative76.4%

        \[\leadsto \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)} \]
      2. fma-define78.6%

        \[\leadsto \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)} \]
      3. *-commutative78.6%

        \[\leadsto \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) \]
      4. *-commutative78.6%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative78.6%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative78.6%

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

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

      \[\leadsto \color{blue}{x \cdot \left(-1 \cdot \left(a \cdot t\right) + y \cdot z\right)} \]
    6. Taylor expanded in a around 0 39.0%

      \[\leadsto x \cdot \color{blue}{\left(y \cdot z\right)} \]

    if 4.4000000000000002e-7 < c

    1. Initial program 61.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. Step-by-step derivation
      1. +-commutative61.0%

        \[\leadsto \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)} \]
      2. fma-define62.5%

        \[\leadsto \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)} \]
      3. *-commutative62.5%

        \[\leadsto \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) \]
      4. *-commutative62.5%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative62.5%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative62.5%

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

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

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t - b \cdot z\right)} \]
    6. Taylor expanded in j around inf 35.5%

      \[\leadsto c \cdot \color{blue}{\left(j \cdot t\right)} \]
    7. Step-by-step derivation
      1. *-commutative35.5%

        \[\leadsto c \cdot \color{blue}{\left(t \cdot j\right)} \]
    8. Simplified35.5%

      \[\leadsto c \cdot \color{blue}{\left(t \cdot j\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification38.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -2.5 \cdot 10^{+131}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;c \leq 1.8 \cdot 10^{-255}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;c \leq 4.4 \cdot 10^{-7}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 29: 28.1% accurate, 1.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;c \leq -8.8 \cdot 10^{+130}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;c \leq 2.9 \cdot 10^{-257}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;c \leq 1.15 \cdot 10^{-7}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (<= c -8.8e+130)
   (* j (* t c))
   (if (<= c 2.9e-257)
     (* a (* b i))
     (if (<= c 1.15e-7) (* y (* x z)) (* c (* t j))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (c <= -8.8e+130) {
		tmp = j * (t * c);
	} else if (c <= 2.9e-257) {
		tmp = a * (b * i);
	} else if (c <= 1.15e-7) {
		tmp = y * (x * z);
	} else {
		tmp = c * (t * j);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: tmp
    if (c <= (-8.8d+130)) then
        tmp = j * (t * c)
    else if (c <= 2.9d-257) then
        tmp = a * (b * i)
    else if (c <= 1.15d-7) then
        tmp = y * (x * z)
    else
        tmp = c * (t * j)
    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 tmp;
	if (c <= -8.8e+130) {
		tmp = j * (t * c);
	} else if (c <= 2.9e-257) {
		tmp = a * (b * i);
	} else if (c <= 1.15e-7) {
		tmp = y * (x * z);
	} else {
		tmp = c * (t * j);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if c <= -8.8e+130:
		tmp = j * (t * c)
	elif c <= 2.9e-257:
		tmp = a * (b * i)
	elif c <= 1.15e-7:
		tmp = y * (x * z)
	else:
		tmp = c * (t * j)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if (c <= -8.8e+130)
		tmp = Float64(j * Float64(t * c));
	elseif (c <= 2.9e-257)
		tmp = Float64(a * Float64(b * i));
	elseif (c <= 1.15e-7)
		tmp = Float64(y * Float64(x * z));
	else
		tmp = Float64(c * Float64(t * j));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if (c <= -8.8e+130)
		tmp = j * (t * c);
	elseif (c <= 2.9e-257)
		tmp = a * (b * i);
	elseif (c <= 1.15e-7)
		tmp = y * (x * z);
	else
		tmp = c * (t * j);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[c, -8.8e+130], N[(j * N[(t * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.9e-257], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.15e-7], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;c \leq -8.8 \cdot 10^{+130}:\\
\;\;\;\;j \cdot \left(t \cdot c\right)\\

\mathbf{elif}\;c \leq 2.9 \cdot 10^{-257}:\\
\;\;\;\;a \cdot \left(b \cdot i\right)\\

\mathbf{elif}\;c \leq 1.15 \cdot 10^{-7}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\

\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if c < -8.79999999999999974e130

    1. Initial program 57.6%

      \[\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. Add Preprocessing
    3. Taylor expanded in t around inf 54.9%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in a around 0 61.9%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
    5. Taylor expanded in c around inf 55.0%

      \[\leadsto j \cdot \color{blue}{\left(c \cdot t\right)} \]
    6. Step-by-step derivation
      1. *-commutative55.0%

        \[\leadsto j \cdot \color{blue}{\left(t \cdot c\right)} \]
    7. Simplified55.0%

      \[\leadsto j \cdot \color{blue}{\left(t \cdot c\right)} \]

    if -8.79999999999999974e130 < c < 2.9000000000000002e-257

    1. Initial program 75.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. Add Preprocessing
    3. Taylor expanded in a around -inf 63.9%

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

      \[\leadsto \color{blue}{a \cdot \left(b \cdot i\right)} \]
    5. Step-by-step derivation
      1. *-commutative35.2%

        \[\leadsto a \cdot \color{blue}{\left(i \cdot b\right)} \]
    6. Simplified35.2%

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b\right)} \]

    if 2.9000000000000002e-257 < c < 1.14999999999999997e-7

    1. Initial program 76.4%

      \[\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. Step-by-step derivation
      1. +-commutative76.4%

        \[\leadsto \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)} \]
      2. fma-define78.6%

        \[\leadsto \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)} \]
      3. *-commutative78.6%

        \[\leadsto \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) \]
      4. *-commutative78.6%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative78.6%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative78.6%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 70.3%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*72.3%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*72.3%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative72.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*72.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in72.3%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg72.3%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg72.3%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative72.3%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative72.3%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified72.3%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in z around inf 54.4%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
    9. Step-by-step derivation
      1. *-commutative54.4%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) \]
    10. Simplified54.4%

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x - b \cdot c\right)} \]
    11. Taylor expanded in y around inf 39.0%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z\right)} \]
    12. Step-by-step derivation
      1. associate-*r*39.8%

        \[\leadsto \color{blue}{\left(x \cdot y\right) \cdot z} \]
      2. *-commutative39.8%

        \[\leadsto \color{blue}{\left(y \cdot x\right)} \cdot z \]
      3. associate-*r*39.0%

        \[\leadsto \color{blue}{y \cdot \left(x \cdot z\right)} \]
    13. Simplified39.0%

      \[\leadsto \color{blue}{y \cdot \left(x \cdot z\right)} \]

    if 1.14999999999999997e-7 < c

    1. Initial program 61.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. Step-by-step derivation
      1. +-commutative61.0%

        \[\leadsto \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)} \]
      2. fma-define62.5%

        \[\leadsto \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)} \]
      3. *-commutative62.5%

        \[\leadsto \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) \]
      4. *-commutative62.5%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative62.5%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative62.5%

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

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

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t - b \cdot z\right)} \]
    6. Taylor expanded in j around inf 35.5%

      \[\leadsto c \cdot \color{blue}{\left(j \cdot t\right)} \]
    7. Step-by-step derivation
      1. *-commutative35.5%

        \[\leadsto c \cdot \color{blue}{\left(t \cdot j\right)} \]
    8. Simplified35.5%

      \[\leadsto c \cdot \color{blue}{\left(t \cdot j\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification38.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -8.8 \cdot 10^{+130}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;c \leq 2.9 \cdot 10^{-257}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;c \leq 1.15 \cdot 10^{-7}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 30: 28.3% accurate, 1.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;c \leq -1.15 \cdot 10^{+131}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;c \leq 6.8 \cdot 10^{-256}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;c \leq 1.18 \cdot 10^{-8}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (<= c -1.15e+131)
   (* j (* t c))
   (if (<= c 6.8e-256)
     (* a (* b i))
     (if (<= c 1.18e-8) (* z (* x y)) (* c (* t j))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (c <= -1.15e+131) {
		tmp = j * (t * c);
	} else if (c <= 6.8e-256) {
		tmp = a * (b * i);
	} else if (c <= 1.18e-8) {
		tmp = z * (x * y);
	} else {
		tmp = c * (t * j);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: tmp
    if (c <= (-1.15d+131)) then
        tmp = j * (t * c)
    else if (c <= 6.8d-256) then
        tmp = a * (b * i)
    else if (c <= 1.18d-8) then
        tmp = z * (x * y)
    else
        tmp = c * (t * j)
    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 tmp;
	if (c <= -1.15e+131) {
		tmp = j * (t * c);
	} else if (c <= 6.8e-256) {
		tmp = a * (b * i);
	} else if (c <= 1.18e-8) {
		tmp = z * (x * y);
	} else {
		tmp = c * (t * j);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if c <= -1.15e+131:
		tmp = j * (t * c)
	elif c <= 6.8e-256:
		tmp = a * (b * i)
	elif c <= 1.18e-8:
		tmp = z * (x * y)
	else:
		tmp = c * (t * j)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if (c <= -1.15e+131)
		tmp = Float64(j * Float64(t * c));
	elseif (c <= 6.8e-256)
		tmp = Float64(a * Float64(b * i));
	elseif (c <= 1.18e-8)
		tmp = Float64(z * Float64(x * y));
	else
		tmp = Float64(c * Float64(t * j));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if (c <= -1.15e+131)
		tmp = j * (t * c);
	elseif (c <= 6.8e-256)
		tmp = a * (b * i);
	elseif (c <= 1.18e-8)
		tmp = z * (x * y);
	else
		tmp = c * (t * j);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[c, -1.15e+131], N[(j * N[(t * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 6.8e-256], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.18e-8], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;c \leq -1.15 \cdot 10^{+131}:\\
\;\;\;\;j \cdot \left(t \cdot c\right)\\

\mathbf{elif}\;c \leq 6.8 \cdot 10^{-256}:\\
\;\;\;\;a \cdot \left(b \cdot i\right)\\

\mathbf{elif}\;c \leq 1.18 \cdot 10^{-8}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\

\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if c < -1.14999999999999996e131

    1. Initial program 57.6%

      \[\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. Add Preprocessing
    3. Taylor expanded in t around inf 54.9%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in a around 0 61.9%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
    5. Taylor expanded in c around inf 55.0%

      \[\leadsto j \cdot \color{blue}{\left(c \cdot t\right)} \]
    6. Step-by-step derivation
      1. *-commutative55.0%

        \[\leadsto j \cdot \color{blue}{\left(t \cdot c\right)} \]
    7. Simplified55.0%

      \[\leadsto j \cdot \color{blue}{\left(t \cdot c\right)} \]

    if -1.14999999999999996e131 < c < 6.8000000000000001e-256

    1. Initial program 75.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. Add Preprocessing
    3. Taylor expanded in a around -inf 63.9%

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

      \[\leadsto \color{blue}{a \cdot \left(b \cdot i\right)} \]
    5. Step-by-step derivation
      1. *-commutative35.2%

        \[\leadsto a \cdot \color{blue}{\left(i \cdot b\right)} \]
    6. Simplified35.2%

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b\right)} \]

    if 6.8000000000000001e-256 < c < 1.18e-8

    1. Initial program 76.4%

      \[\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. Step-by-step derivation
      1. +-commutative76.4%

        \[\leadsto \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)} \]
      2. fma-define78.6%

        \[\leadsto \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)} \]
      3. *-commutative78.6%

        \[\leadsto \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) \]
      4. *-commutative78.6%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative78.6%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative78.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative78.6%

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around 0 70.3%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. associate-*r*72.3%

        \[\leadsto \left(-1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. associate-*r*72.3%

        \[\leadsto \left(\color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative72.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. associate-*r*72.3%

        \[\leadsto \left(\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + \color{blue}{\left(x \cdot z\right) \cdot y}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-in72.3%

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

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. mul-1-neg72.3%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. unsub-neg72.3%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative72.3%

        \[\leadsto y \cdot \left(\color{blue}{z \cdot x} - i \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. *-commutative72.3%

        \[\leadsto y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - \color{blue}{i \cdot a}\right) \]
    7. Simplified72.3%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right) - b \cdot \left(c \cdot z - i \cdot a\right)} \]
    8. Taylor expanded in z around inf 54.4%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
    9. Step-by-step derivation
      1. *-commutative54.4%

        \[\leadsto z \cdot \left(\color{blue}{y \cdot x} - b \cdot c\right) \]
    10. Simplified54.4%

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x - b \cdot c\right)} \]
    11. Taylor expanded in y around inf 39.8%

      \[\leadsto z \cdot \color{blue}{\left(x \cdot y\right)} \]

    if 1.18e-8 < c

    1. Initial program 61.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. Step-by-step derivation
      1. +-commutative61.0%

        \[\leadsto \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)} \]
      2. fma-define62.5%

        \[\leadsto \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)} \]
      3. *-commutative62.5%

        \[\leadsto \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) \]
      4. *-commutative62.5%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative62.5%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative62.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative62.5%

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

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

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t - b \cdot z\right)} \]
    6. Taylor expanded in j around inf 35.5%

      \[\leadsto c \cdot \color{blue}{\left(j \cdot t\right)} \]
    7. Step-by-step derivation
      1. *-commutative35.5%

        \[\leadsto c \cdot \color{blue}{\left(t \cdot j\right)} \]
    8. Simplified35.5%

      \[\leadsto c \cdot \color{blue}{\left(t \cdot j\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification38.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -1.15 \cdot 10^{+131}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;c \leq 6.8 \cdot 10^{-256}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;c \leq 1.18 \cdot 10^{-8}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 31: 28.8% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;c \leq -3.1 \cdot 10^{+133} \lor \neg \left(c \leq 1.3 \cdot 10^{+97}\right):\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (or (<= c -3.1e+133) (not (<= c 1.3e+97))) (* c (* t j)) (* a (* b i))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if ((c <= -3.1e+133) || !(c <= 1.3e+97)) {
		tmp = c * (t * j);
	} else {
		tmp = a * (b * i);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: tmp
    if ((c <= (-3.1d+133)) .or. (.not. (c <= 1.3d+97))) then
        tmp = c * (t * j)
    else
        tmp = a * (b * i)
    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 tmp;
	if ((c <= -3.1e+133) || !(c <= 1.3e+97)) {
		tmp = c * (t * j);
	} else {
		tmp = a * (b * i);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if (c <= -3.1e+133) or not (c <= 1.3e+97):
		tmp = c * (t * j)
	else:
		tmp = a * (b * i)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if ((c <= -3.1e+133) || !(c <= 1.3e+97))
		tmp = Float64(c * Float64(t * j));
	else
		tmp = Float64(a * Float64(b * i));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if ((c <= -3.1e+133) || ~((c <= 1.3e+97)))
		tmp = c * (t * j);
	else
		tmp = a * (b * i);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[c, -3.1e+133], N[Not[LessEqual[c, 1.3e+97]], $MachinePrecision]], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;c \leq -3.1 \cdot 10^{+133} \lor \neg \left(c \leq 1.3 \cdot 10^{+97}\right):\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(b \cdot i\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if c < -3.1e133 or 1.3e97 < c

    1. Initial program 53.1%

      \[\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. Step-by-step derivation
      1. +-commutative53.1%

        \[\leadsto \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)} \]
      2. fma-define54.4%

        \[\leadsto \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)} \]
      3. *-commutative54.4%

        \[\leadsto \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) \]
      4. *-commutative54.4%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv54.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub54.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg54.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg54.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative54.4%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative54.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out54.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg54.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative54.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative54.4%

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

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

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t - b \cdot z\right)} \]
    6. Taylor expanded in j around inf 46.2%

      \[\leadsto c \cdot \color{blue}{\left(j \cdot t\right)} \]
    7. Step-by-step derivation
      1. *-commutative46.2%

        \[\leadsto c \cdot \color{blue}{\left(t \cdot j\right)} \]
    8. Simplified46.2%

      \[\leadsto c \cdot \color{blue}{\left(t \cdot j\right)} \]

    if -3.1e133 < c < 1.3e97

    1. Initial program 77.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. Add Preprocessing
    3. Taylor expanded in a around -inf 61.7%

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

      \[\leadsto \color{blue}{a \cdot \left(b \cdot i\right)} \]
    5. Step-by-step derivation
      1. *-commutative31.1%

        \[\leadsto a \cdot \color{blue}{\left(i \cdot b\right)} \]
    6. Simplified31.1%

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification35.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -3.1 \cdot 10^{+133} \lor \neg \left(c \leq 1.3 \cdot 10^{+97}\right):\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 32: 29.0% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;c \leq -1.75 \cdot 10^{+136}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;c \leq 1.6 \cdot 10^{+90}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (<= c -1.75e+136)
   (* j (* t c))
   (if (<= c 1.6e+90) (* a (* b i)) (* c (* t j)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (c <= -1.75e+136) {
		tmp = j * (t * c);
	} else if (c <= 1.6e+90) {
		tmp = a * (b * i);
	} else {
		tmp = c * (t * j);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: tmp
    if (c <= (-1.75d+136)) then
        tmp = j * (t * c)
    else if (c <= 1.6d+90) then
        tmp = a * (b * i)
    else
        tmp = c * (t * j)
    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 tmp;
	if (c <= -1.75e+136) {
		tmp = j * (t * c);
	} else if (c <= 1.6e+90) {
		tmp = a * (b * i);
	} else {
		tmp = c * (t * j);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if c <= -1.75e+136:
		tmp = j * (t * c)
	elif c <= 1.6e+90:
		tmp = a * (b * i)
	else:
		tmp = c * (t * j)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if (c <= -1.75e+136)
		tmp = Float64(j * Float64(t * c));
	elseif (c <= 1.6e+90)
		tmp = Float64(a * Float64(b * i));
	else
		tmp = Float64(c * Float64(t * j));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if (c <= -1.75e+136)
		tmp = j * (t * c);
	elseif (c <= 1.6e+90)
		tmp = a * (b * i);
	else
		tmp = c * (t * j);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[c, -1.75e+136], N[(j * N[(t * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.6e+90], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;c \leq -1.75 \cdot 10^{+136}:\\
\;\;\;\;j \cdot \left(t \cdot c\right)\\

\mathbf{elif}\;c \leq 1.6 \cdot 10^{+90}:\\
\;\;\;\;a \cdot \left(b \cdot i\right)\\

\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if c < -1.75000000000000001e136

    1. Initial program 57.6%

      \[\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. Add Preprocessing
    3. Taylor expanded in t around inf 54.9%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    4. Taylor expanded in a around 0 61.9%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
    5. Taylor expanded in c around inf 55.0%

      \[\leadsto j \cdot \color{blue}{\left(c \cdot t\right)} \]
    6. Step-by-step derivation
      1. *-commutative55.0%

        \[\leadsto j \cdot \color{blue}{\left(t \cdot c\right)} \]
    7. Simplified55.0%

      \[\leadsto j \cdot \color{blue}{\left(t \cdot c\right)} \]

    if -1.75000000000000001e136 < c < 1.59999999999999999e90

    1. Initial program 77.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. Add Preprocessing
    3. Taylor expanded in a around -inf 61.7%

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

      \[\leadsto \color{blue}{a \cdot \left(b \cdot i\right)} \]
    5. Step-by-step derivation
      1. *-commutative31.1%

        \[\leadsto a \cdot \color{blue}{\left(i \cdot b\right)} \]
    6. Simplified31.1%

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b\right)} \]

    if 1.59999999999999999e90 < c

    1. Initial program 50.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. Step-by-step derivation
      1. +-commutative50.5%

        \[\leadsto \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)} \]
      2. fma-define52.6%

        \[\leadsto \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)} \]
      3. *-commutative52.6%

        \[\leadsto \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) \]
      4. *-commutative52.6%

        \[\leadsto \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) \]
      5. cancel-sign-sub-inv52.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub52.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. sub-neg52.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. sub-neg52.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. *-commutative52.6%

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

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      11. *-commutative52.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, -\color{blue}{t \cdot a}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      12. distribute-rgt-neg-out52.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      13. remove-double-neg52.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      14. *-commutative52.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      15. *-commutative52.6%

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

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

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t - b \cdot z\right)} \]
    6. Taylor expanded in j around inf 45.1%

      \[\leadsto c \cdot \color{blue}{\left(j \cdot t\right)} \]
    7. Step-by-step derivation
      1. *-commutative45.1%

        \[\leadsto c \cdot \color{blue}{\left(t \cdot j\right)} \]
    8. Simplified45.1%

      \[\leadsto c \cdot \color{blue}{\left(t \cdot j\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification36.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -1.75 \cdot 10^{+136}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;c \leq 1.6 \cdot 10^{+90}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 33: 22.4% accurate, 5.8× speedup?

\[\begin{array}{l} \\ a \cdot \left(b \cdot i\right) \end{array} \]
(FPCore (x y z t a b c i j) :precision binary64 (* a (* b i)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	return a * (b * i);
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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
    code = a * (b * i)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	return a * (b * i);
}
def code(x, y, z, t, a, b, c, i, j):
	return a * (b * i)
function code(x, y, z, t, a, b, c, i, j)
	return Float64(a * Float64(b * i))
end
function tmp = code(x, y, z, t, a, b, c, i, j)
	tmp = a * (b * i);
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
a \cdot \left(b \cdot i\right)
\end{array}
Derivation
  1. Initial program 69.9%

    \[\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. Add Preprocessing
  3. Taylor expanded in a around -inf 59.8%

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

    \[\leadsto \color{blue}{a \cdot \left(b \cdot i\right)} \]
  5. Step-by-step derivation
    1. *-commutative25.7%

      \[\leadsto a \cdot \color{blue}{\left(i \cdot b\right)} \]
  6. Simplified25.7%

    \[\leadsto \color{blue}{a \cdot \left(i \cdot b\right)} \]
  7. Final simplification25.7%

    \[\leadsto a \cdot \left(b \cdot i\right) \]
  8. Add Preprocessing

Developer target: 68.7% accurate, 0.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \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}\\ t_2 := 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{if}\;t < -8.120978919195912 \cdot 10^{-33}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;t < -4.712553818218485 \cdot 10^{-169}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t < -7.633533346031584 \cdot 10^{-308}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;t < 1.0535888557455487 \cdot 10^{-139}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1
         (+
          (- (* 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)))))
        (t_2
         (-
          (* x (- (* z y) (* a t)))
          (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j)))))
   (if (< t -8.120978919195912e-33)
     t_2
     (if (< t -4.712553818218485e-169)
       t_1
       (if (< t -7.633533346031584e-308)
         t_2
         (if (< t 1.0535888557455487e-139) t_1 t_2))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = ((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)));
	double t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j));
	double tmp;
	if (t < -8.120978919195912e-33) {
		tmp = t_2;
	} else if (t < -4.712553818218485e-169) {
		tmp = t_1;
	} else if (t < -7.633533346031584e-308) {
		tmp = t_2;
	} else if (t < 1.0535888557455487e-139) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    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) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + ((j * (((c * t) ** 2.0d0) - ((i * y) ** 2.0d0))) / ((c * t) + (i * y)))
    t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j))
    if (t < (-8.120978919195912d-33)) then
        tmp = t_2
    else if (t < (-4.712553818218485d-169)) then
        tmp = t_1
    else if (t < (-7.633533346031584d-308)) then
        tmp = t_2
    else if (t < 1.0535888557455487d-139) then
        tmp = t_1
    else
        tmp = t_2
    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 t_1 = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + ((j * (Math.pow((c * t), 2.0) - Math.pow((i * y), 2.0))) / ((c * t) + (i * y)));
	double t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j));
	double tmp;
	if (t < -8.120978919195912e-33) {
		tmp = t_2;
	} else if (t < -4.712553818218485e-169) {
		tmp = t_1;
	} else if (t < -7.633533346031584e-308) {
		tmp = t_2;
	} else if (t < 1.0535888557455487e-139) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + ((j * (math.pow((c * t), 2.0) - math.pow((i * y), 2.0))) / ((c * t) + (i * y)))
	t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j))
	tmp = 0
	if t < -8.120978919195912e-33:
		tmp = t_2
	elif t < -4.712553818218485e-169:
		tmp = t_1
	elif t < -7.633533346031584e-308:
		tmp = t_2
	elif t < 1.0535888557455487e-139:
		tmp = t_1
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(b * Float64(Float64(c * z) - Float64(i * a)))) + Float64(Float64(j * Float64((Float64(c * t) ^ 2.0) - (Float64(i * y) ^ 2.0))) / Float64(Float64(c * t) + Float64(i * y))))
	t_2 = Float64(Float64(x * Float64(Float64(z * y) - Float64(a * t))) - Float64(Float64(b * Float64(Float64(z * c) - Float64(a * i))) - Float64(Float64(Float64(c * t) - Float64(y * i)) * j)))
	tmp = 0.0
	if (t < -8.120978919195912e-33)
		tmp = t_2;
	elseif (t < -4.712553818218485e-169)
		tmp = t_1;
	elseif (t < -7.633533346031584e-308)
		tmp = t_2;
	elseif (t < 1.0535888557455487e-139)
		tmp = t_1;
	else
		tmp = t_2;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + ((j * (((c * t) ^ 2.0) - ((i * y) ^ 2.0))) / ((c * t) + (i * y)));
	t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j));
	tmp = 0.0;
	if (t < -8.120978919195912e-33)
		tmp = t_2;
	elseif (t < -4.712553818218485e-169)
		tmp = t_1;
	elseif (t < -7.633533346031584e-308)
		tmp = t_2;
	elseif (t < 1.0535888557455487e-139)
		tmp = t_1;
	else
		tmp = t_2;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = 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[(N[(j * N[(N[Power[N[(c * t), $MachinePrecision], 2.0], $MachinePrecision] - N[Power[N[(i * y), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(N[(c * t), $MachinePrecision] + N[(i * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * N[(N[(z * y), $MachinePrecision] - N[(a * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(b * N[(N[(z * c), $MachinePrecision] - N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(c * t), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Less[t, -8.120978919195912e-33], t$95$2, If[Less[t, -4.712553818218485e-169], t$95$1, If[Less[t, -7.633533346031584e-308], t$95$2, If[Less[t, 1.0535888557455487e-139], t$95$1, t$95$2]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \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}\\
t_2 := 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{if}\;t < -8.120978919195912 \cdot 10^{-33}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;t < -4.712553818218485 \cdot 10^{-169}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t < -7.633533346031584 \cdot 10^{-308}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;t < 1.0535888557455487 \cdot 10^{-139}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;t\_2\\


\end{array}
\end{array}

Reproduce

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

  :alt
  (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)))))