Linear.Matrix:det33 from linear-1.19.1.3

Percentage Accurate: 72.6% → 82.0%
Time: 27.7s
Alternatives: 25
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 25 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: 72.6% 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: 82.0% accurate, 0.1× speedup?

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

\\
\begin{array}{l}
t_1 := t \cdot c - y \cdot i\\
\mathbf{if}\;\left(b \cdot \left(a \cdot i - z \cdot c\right) - x \cdot \left(t \cdot a - y \cdot z\right)\right) + j \cdot t_1 \leq \infty:\\
\;\;\;\;\mathsf{fma}\left(j, t_1, x \cdot \left(y \cdot z - t \cdot a\right)\right) - b \cdot \mathsf{fma}\left(z, c, a \cdot \left(-i\right)\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(b \cdot i - x \cdot t\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 90.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. +-commutative90.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. associate-+r-90.6%

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

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

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

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

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

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

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

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

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

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

    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. sub-neg0.0%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+0.0%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + i \cdot b\right)} \]
    5. Step-by-step derivation
      1. +-commutative46.8%

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

        \[\leadsto a \cdot \left(i \cdot b + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg46.8%

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

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification82.0%

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

Alternative 2: 82.0% accurate, 0.5× speedup?

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

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

\mathbf{else}:\\
\;\;\;\;a \cdot \left(b \cdot i - x \cdot t\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 90.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) \]

    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. sub-neg0.0%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+0.0%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + i \cdot b\right)} \]
    5. Step-by-step derivation
      1. +-commutative46.8%

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

        \[\leadsto a \cdot \left(i \cdot b + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg46.8%

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

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification82.0%

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

Alternative 3: 56.1% accurate, 0.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(t \cdot j\right)\\ t_2 := y \cdot \left(x \cdot z - i \cdot j\right)\\ t_3 := a \cdot \left(b \cdot i\right)\\ t_4 := t_3 + c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{if}\;y \leq -3.6 \cdot 10^{+184}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq -1.5 \cdot 10^{+117}:\\ \;\;\;\;t_1 + t_3\\ \mathbf{elif}\;y \leq -2 \cdot 10^{-13}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq -2.8 \cdot 10^{-81}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y \leq -2.15 \cdot 10^{-205}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;y \leq -6.8 \cdot 10^{-287}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y \leq 2.8 \cdot 10^{-286}:\\ \;\;\;\;t_1 - a \cdot \left(x \cdot t\right)\\ \mathbf{elif}\;y \leq 9.2 \cdot 10^{+89}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* c (* t j)))
        (t_2 (* y (- (* x z) (* i j))))
        (t_3 (* a (* b i)))
        (t_4 (+ t_3 (* c (- (* t j) (* z b))))))
   (if (<= y -3.6e+184)
     t_2
     (if (<= y -1.5e+117)
       (+ t_1 t_3)
       (if (<= y -2e-13)
         t_2
         (if (<= y -2.8e-81)
           t_4
           (if (<= y -2.15e-205)
             (* t (- (* c j) (* x a)))
             (if (<= y -6.8e-287)
               t_4
               (if (<= y 2.8e-286)
                 (- t_1 (* a (* x t)))
                 (if (<= y 9.2e+89) t_4 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 = c * (t * j);
	double t_2 = y * ((x * z) - (i * j));
	double t_3 = a * (b * i);
	double t_4 = t_3 + (c * ((t * j) - (z * b)));
	double tmp;
	if (y <= -3.6e+184) {
		tmp = t_2;
	} else if (y <= -1.5e+117) {
		tmp = t_1 + t_3;
	} else if (y <= -2e-13) {
		tmp = t_2;
	} else if (y <= -2.8e-81) {
		tmp = t_4;
	} else if (y <= -2.15e-205) {
		tmp = t * ((c * j) - (x * a));
	} else if (y <= -6.8e-287) {
		tmp = t_4;
	} else if (y <= 2.8e-286) {
		tmp = t_1 - (a * (x * t));
	} else if (y <= 9.2e+89) {
		tmp = t_4;
	} 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) :: t_3
    real(8) :: t_4
    real(8) :: tmp
    t_1 = c * (t * j)
    t_2 = y * ((x * z) - (i * j))
    t_3 = a * (b * i)
    t_4 = t_3 + (c * ((t * j) - (z * b)))
    if (y <= (-3.6d+184)) then
        tmp = t_2
    else if (y <= (-1.5d+117)) then
        tmp = t_1 + t_3
    else if (y <= (-2d-13)) then
        tmp = t_2
    else if (y <= (-2.8d-81)) then
        tmp = t_4
    else if (y <= (-2.15d-205)) then
        tmp = t * ((c * j) - (x * a))
    else if (y <= (-6.8d-287)) then
        tmp = t_4
    else if (y <= 2.8d-286) then
        tmp = t_1 - (a * (x * t))
    else if (y <= 9.2d+89) then
        tmp = t_4
    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 = c * (t * j);
	double t_2 = y * ((x * z) - (i * j));
	double t_3 = a * (b * i);
	double t_4 = t_3 + (c * ((t * j) - (z * b)));
	double tmp;
	if (y <= -3.6e+184) {
		tmp = t_2;
	} else if (y <= -1.5e+117) {
		tmp = t_1 + t_3;
	} else if (y <= -2e-13) {
		tmp = t_2;
	} else if (y <= -2.8e-81) {
		tmp = t_4;
	} else if (y <= -2.15e-205) {
		tmp = t * ((c * j) - (x * a));
	} else if (y <= -6.8e-287) {
		tmp = t_4;
	} else if (y <= 2.8e-286) {
		tmp = t_1 - (a * (x * t));
	} else if (y <= 9.2e+89) {
		tmp = t_4;
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = c * (t * j)
	t_2 = y * ((x * z) - (i * j))
	t_3 = a * (b * i)
	t_4 = t_3 + (c * ((t * j) - (z * b)))
	tmp = 0
	if y <= -3.6e+184:
		tmp = t_2
	elif y <= -1.5e+117:
		tmp = t_1 + t_3
	elif y <= -2e-13:
		tmp = t_2
	elif y <= -2.8e-81:
		tmp = t_4
	elif y <= -2.15e-205:
		tmp = t * ((c * j) - (x * a))
	elif y <= -6.8e-287:
		tmp = t_4
	elif y <= 2.8e-286:
		tmp = t_1 - (a * (x * t))
	elif y <= 9.2e+89:
		tmp = t_4
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(c * Float64(t * j))
	t_2 = Float64(y * Float64(Float64(x * z) - Float64(i * j)))
	t_3 = Float64(a * Float64(b * i))
	t_4 = Float64(t_3 + Float64(c * Float64(Float64(t * j) - Float64(z * b))))
	tmp = 0.0
	if (y <= -3.6e+184)
		tmp = t_2;
	elseif (y <= -1.5e+117)
		tmp = Float64(t_1 + t_3);
	elseif (y <= -2e-13)
		tmp = t_2;
	elseif (y <= -2.8e-81)
		tmp = t_4;
	elseif (y <= -2.15e-205)
		tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a)));
	elseif (y <= -6.8e-287)
		tmp = t_4;
	elseif (y <= 2.8e-286)
		tmp = Float64(t_1 - Float64(a * Float64(x * t)));
	elseif (y <= 9.2e+89)
		tmp = t_4;
	else
		tmp = t_2;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = c * (t * j);
	t_2 = y * ((x * z) - (i * j));
	t_3 = a * (b * i);
	t_4 = t_3 + (c * ((t * j) - (z * b)));
	tmp = 0.0;
	if (y <= -3.6e+184)
		tmp = t_2;
	elseif (y <= -1.5e+117)
		tmp = t_1 + t_3;
	elseif (y <= -2e-13)
		tmp = t_2;
	elseif (y <= -2.8e-81)
		tmp = t_4;
	elseif (y <= -2.15e-205)
		tmp = t * ((c * j) - (x * a));
	elseif (y <= -6.8e-287)
		tmp = t_4;
	elseif (y <= 2.8e-286)
		tmp = t_1 - (a * (x * t));
	elseif (y <= 9.2e+89)
		tmp = t_4;
	else
		tmp = t_2;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(t$95$3 + N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -3.6e+184], t$95$2, If[LessEqual[y, -1.5e+117], N[(t$95$1 + t$95$3), $MachinePrecision], If[LessEqual[y, -2e-13], t$95$2, If[LessEqual[y, -2.8e-81], t$95$4, If[LessEqual[y, -2.15e-205], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -6.8e-287], t$95$4, If[LessEqual[y, 2.8e-286], N[(t$95$1 - N[(a * N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 9.2e+89], t$95$4, t$95$2]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;y \leq -1.5 \cdot 10^{+117}:\\
\;\;\;\;t_1 + t_3\\

\mathbf{elif}\;y \leq -2 \cdot 10^{-13}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;y \leq -2.8 \cdot 10^{-81}:\\
\;\;\;\;t_4\\

\mathbf{elif}\;y \leq -2.15 \cdot 10^{-205}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\

\mathbf{elif}\;y \leq -6.8 \cdot 10^{-287}:\\
\;\;\;\;t_4\\

\mathbf{elif}\;y \leq 2.8 \cdot 10^{-286}:\\
\;\;\;\;t_1 - a \cdot \left(x \cdot t\right)\\

\mathbf{elif}\;y \leq 9.2 \cdot 10^{+89}:\\
\;\;\;\;t_4\\

\mathbf{else}:\\
\;\;\;\;t_2\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y < -3.60000000000000014e184 or -1.5e117 < y < -2.0000000000000001e-13 or 9.1999999999999996e89 < y

    1. Initial program 64.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. sub-neg64.5%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+64.5%

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \left(-\color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right)\right)\right) \]
      14. distribute-neg-in65.6%

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

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

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

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

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

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

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

        \[\leadsto y \cdot \left(z \cdot x + \color{blue}{\left(-i \cdot j\right)}\right) \]
      5. unsub-neg75.7%

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

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

    if -3.60000000000000014e184 < y < -1.5e117

    1. Initial program 49.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. cancel-sign-sub49.9%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv49.9%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Taylor expanded in c around 0 65.4%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j - z \cdot b\right) + a \cdot \left(i \cdot b\right)} \]
    7. Taylor expanded in z around 0 72.5%

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

    if -2.0000000000000001e-13 < y < -2.7999999999999999e-81 or -2.15e-205 < y < -6.7999999999999997e-287 or 2.8e-286 < y < 9.1999999999999996e89

    1. Initial program 81.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. cancel-sign-sub81.6%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv81.6%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Taylor expanded in c around 0 68.3%

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

    if -2.7999999999999999e-81 < y < -2.15e-205

    1. Initial program 77.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. sub-neg77.4%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+77.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right) \cdot t} \]
    5. Step-by-step derivation
      1. *-commutative70.4%

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

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

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

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

    if -6.7999999999999997e-287 < y < 2.8e-286

    1. Initial program 62.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. cancel-sign-sub62.1%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv62.1%

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

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -3.6 \cdot 10^{+184}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;y \leq -1.5 \cdot 10^{+117}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) + a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;y \leq -2 \cdot 10^{-13}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;y \leq -2.8 \cdot 10^{-81}:\\ \;\;\;\;a \cdot \left(b \cdot i\right) + c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{elif}\;y \leq -2.15 \cdot 10^{-205}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;y \leq -6.8 \cdot 10^{-287}:\\ \;\;\;\;a \cdot \left(b \cdot i\right) + c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{elif}\;y \leq 2.8 \cdot 10^{-286}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) - a \cdot \left(x \cdot t\right)\\ \mathbf{elif}\;y \leq 9.2 \cdot 10^{+89}:\\ \;\;\;\;a \cdot \left(b \cdot i\right) + c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \end{array} \]

Alternative 4: 55.3% accurate, 0.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(t \cdot j\right)\\ t_2 := t_1 + b \cdot \left(a \cdot i - z \cdot c\right)\\ t_3 := y \cdot \left(x \cdot z - i \cdot j\right)\\ t_4 := a \cdot \left(b \cdot i\right)\\ \mathbf{if}\;y \leq -2 \cdot 10^{+180}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq -4 \cdot 10^{+116}:\\ \;\;\;\;t_1 + t_4\\ \mathbf{elif}\;y \leq -1.85 \cdot 10^{-13}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq -3 \cdot 10^{-83}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq -6 \cdot 10^{-264}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;y \leq -3 \cdot 10^{-287}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq 2.8 \cdot 10^{-286}:\\ \;\;\;\;t_1 - a \cdot \left(x \cdot t\right)\\ \mathbf{elif}\;y \leq 1.15 \cdot 10^{+36}:\\ \;\;\;\;t_4 + c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{elif}\;y \leq 1.7 \cdot 10^{+90}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* c (* t j)))
        (t_2 (+ t_1 (* b (- (* a i) (* z c)))))
        (t_3 (* y (- (* x z) (* i j))))
        (t_4 (* a (* b i))))
   (if (<= y -2e+180)
     t_3
     (if (<= y -4e+116)
       (+ t_1 t_4)
       (if (<= y -1.85e-13)
         t_3
         (if (<= y -3e-83)
           t_2
           (if (<= y -6e-264)
             (* t (- (* c j) (* x a)))
             (if (<= y -3e-287)
               t_2
               (if (<= y 2.8e-286)
                 (- t_1 (* a (* x t)))
                 (if (<= y 1.15e+36)
                   (+ t_4 (* c (- (* t j) (* z b))))
                   (if (<= y 1.7e+90) (* a (- (* b i) (* x t))) 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 = c * (t * j);
	double t_2 = t_1 + (b * ((a * i) - (z * c)));
	double t_3 = y * ((x * z) - (i * j));
	double t_4 = a * (b * i);
	double tmp;
	if (y <= -2e+180) {
		tmp = t_3;
	} else if (y <= -4e+116) {
		tmp = t_1 + t_4;
	} else if (y <= -1.85e-13) {
		tmp = t_3;
	} else if (y <= -3e-83) {
		tmp = t_2;
	} else if (y <= -6e-264) {
		tmp = t * ((c * j) - (x * a));
	} else if (y <= -3e-287) {
		tmp = t_2;
	} else if (y <= 2.8e-286) {
		tmp = t_1 - (a * (x * t));
	} else if (y <= 1.15e+36) {
		tmp = t_4 + (c * ((t * j) - (z * b)));
	} else if (y <= 1.7e+90) {
		tmp = a * ((b * i) - (x * t));
	} 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) :: t_4
    real(8) :: tmp
    t_1 = c * (t * j)
    t_2 = t_1 + (b * ((a * i) - (z * c)))
    t_3 = y * ((x * z) - (i * j))
    t_4 = a * (b * i)
    if (y <= (-2d+180)) then
        tmp = t_3
    else if (y <= (-4d+116)) then
        tmp = t_1 + t_4
    else if (y <= (-1.85d-13)) then
        tmp = t_3
    else if (y <= (-3d-83)) then
        tmp = t_2
    else if (y <= (-6d-264)) then
        tmp = t * ((c * j) - (x * a))
    else if (y <= (-3d-287)) then
        tmp = t_2
    else if (y <= 2.8d-286) then
        tmp = t_1 - (a * (x * t))
    else if (y <= 1.15d+36) then
        tmp = t_4 + (c * ((t * j) - (z * b)))
    else if (y <= 1.7d+90) then
        tmp = a * ((b * i) - (x * t))
    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 = c * (t * j);
	double t_2 = t_1 + (b * ((a * i) - (z * c)));
	double t_3 = y * ((x * z) - (i * j));
	double t_4 = a * (b * i);
	double tmp;
	if (y <= -2e+180) {
		tmp = t_3;
	} else if (y <= -4e+116) {
		tmp = t_1 + t_4;
	} else if (y <= -1.85e-13) {
		tmp = t_3;
	} else if (y <= -3e-83) {
		tmp = t_2;
	} else if (y <= -6e-264) {
		tmp = t * ((c * j) - (x * a));
	} else if (y <= -3e-287) {
		tmp = t_2;
	} else if (y <= 2.8e-286) {
		tmp = t_1 - (a * (x * t));
	} else if (y <= 1.15e+36) {
		tmp = t_4 + (c * ((t * j) - (z * b)));
	} else if (y <= 1.7e+90) {
		tmp = a * ((b * i) - (x * t));
	} else {
		tmp = t_3;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = c * (t * j)
	t_2 = t_1 + (b * ((a * i) - (z * c)))
	t_3 = y * ((x * z) - (i * j))
	t_4 = a * (b * i)
	tmp = 0
	if y <= -2e+180:
		tmp = t_3
	elif y <= -4e+116:
		tmp = t_1 + t_4
	elif y <= -1.85e-13:
		tmp = t_3
	elif y <= -3e-83:
		tmp = t_2
	elif y <= -6e-264:
		tmp = t * ((c * j) - (x * a))
	elif y <= -3e-287:
		tmp = t_2
	elif y <= 2.8e-286:
		tmp = t_1 - (a * (x * t))
	elif y <= 1.15e+36:
		tmp = t_4 + (c * ((t * j) - (z * b)))
	elif y <= 1.7e+90:
		tmp = a * ((b * i) - (x * t))
	else:
		tmp = t_3
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(c * Float64(t * j))
	t_2 = Float64(t_1 + Float64(b * Float64(Float64(a * i) - Float64(z * c))))
	t_3 = Float64(y * Float64(Float64(x * z) - Float64(i * j)))
	t_4 = Float64(a * Float64(b * i))
	tmp = 0.0
	if (y <= -2e+180)
		tmp = t_3;
	elseif (y <= -4e+116)
		tmp = Float64(t_1 + t_4);
	elseif (y <= -1.85e-13)
		tmp = t_3;
	elseif (y <= -3e-83)
		tmp = t_2;
	elseif (y <= -6e-264)
		tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a)));
	elseif (y <= -3e-287)
		tmp = t_2;
	elseif (y <= 2.8e-286)
		tmp = Float64(t_1 - Float64(a * Float64(x * t)));
	elseif (y <= 1.15e+36)
		tmp = Float64(t_4 + Float64(c * Float64(Float64(t * j) - Float64(z * b))));
	elseif (y <= 1.7e+90)
		tmp = Float64(a * Float64(Float64(b * i) - Float64(x * t)));
	else
		tmp = t_3;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = c * (t * j);
	t_2 = t_1 + (b * ((a * i) - (z * c)));
	t_3 = y * ((x * z) - (i * j));
	t_4 = a * (b * i);
	tmp = 0.0;
	if (y <= -2e+180)
		tmp = t_3;
	elseif (y <= -4e+116)
		tmp = t_1 + t_4;
	elseif (y <= -1.85e-13)
		tmp = t_3;
	elseif (y <= -3e-83)
		tmp = t_2;
	elseif (y <= -6e-264)
		tmp = t * ((c * j) - (x * a));
	elseif (y <= -3e-287)
		tmp = t_2;
	elseif (y <= 2.8e-286)
		tmp = t_1 - (a * (x * t));
	elseif (y <= 1.15e+36)
		tmp = t_4 + (c * ((t * j) - (z * b)));
	elseif (y <= 1.7e+90)
		tmp = a * ((b * i) - (x * t));
	else
		tmp = t_3;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(t$95$1 + N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -2e+180], t$95$3, If[LessEqual[y, -4e+116], N[(t$95$1 + t$95$4), $MachinePrecision], If[LessEqual[y, -1.85e-13], t$95$3, If[LessEqual[y, -3e-83], t$95$2, If[LessEqual[y, -6e-264], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -3e-287], t$95$2, If[LessEqual[y, 2.8e-286], N[(t$95$1 - N[(a * N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.15e+36], N[(t$95$4 + N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.7e+90], N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$3]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;y \leq -4 \cdot 10^{+116}:\\
\;\;\;\;t_1 + t_4\\

\mathbf{elif}\;y \leq -1.85 \cdot 10^{-13}:\\
\;\;\;\;t_3\\

\mathbf{elif}\;y \leq -3 \cdot 10^{-83}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;y \leq -6 \cdot 10^{-264}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\

\mathbf{elif}\;y \leq -3 \cdot 10^{-287}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;y \leq 2.8 \cdot 10^{-286}:\\
\;\;\;\;t_1 - a \cdot \left(x \cdot t\right)\\

\mathbf{elif}\;y \leq 1.15 \cdot 10^{+36}:\\
\;\;\;\;t_4 + c \cdot \left(t \cdot j - z \cdot b\right)\\

\mathbf{elif}\;y \leq 1.7 \cdot 10^{+90}:\\
\;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\

\mathbf{else}:\\
\;\;\;\;t_3\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if y < -2e180 or -4.00000000000000006e116 < y < -1.84999999999999994e-13 or 1.70000000000000009e90 < y

    1. Initial program 65.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. sub-neg65.1%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+65.1%

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \left(-\color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right)\right)\right) \]
      14. distribute-neg-in66.2%

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

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

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

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

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

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

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

        \[\leadsto y \cdot \left(z \cdot x + \color{blue}{\left(-i \cdot j\right)}\right) \]
      5. unsub-neg76.6%

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

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

    if -2e180 < y < -4.00000000000000006e116

    1. Initial program 49.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. cancel-sign-sub49.9%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv49.9%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Taylor expanded in c around 0 65.4%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j - z \cdot b\right) + a \cdot \left(i \cdot b\right)} \]
    7. Taylor expanded in z around 0 72.5%

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

    if -1.84999999999999994e-13 < y < -3.0000000000000001e-83 or -6.0000000000000001e-264 < y < -2.99999999999999992e-287

    1. Initial program 83.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. cancel-sign-sub83.8%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv83.8%

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

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

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

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

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

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

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

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

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

    if -3.0000000000000001e-83 < y < -6.0000000000000001e-264

    1. Initial program 77.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. sub-neg77.7%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+77.7%

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \left(-\color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right)\right)\right) \]
      14. distribute-neg-in80.2%

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

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

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

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

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

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

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

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

    if -2.99999999999999992e-287 < y < 2.8e-286

    1. Initial program 62.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. cancel-sign-sub62.1%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv62.1%

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

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

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

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

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

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

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

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

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

    if 2.8e-286 < y < 1.14999999999999998e36

    1. Initial program 80.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. cancel-sign-sub80.9%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv80.9%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Taylor expanded in c around 0 72.7%

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

    if 1.14999999999999998e36 < y < 1.70000000000000009e90

    1. Initial program 79.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. sub-neg79.2%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+79.2%

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \left(-\color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right)\right)\right) \]
      14. distribute-neg-in79.2%

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

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

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

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + i \cdot b\right)} \]
    5. Step-by-step derivation
      1. +-commutative71.7%

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

        \[\leadsto a \cdot \left(i \cdot b + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg71.7%

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

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]
  3. Recombined 7 regimes into one program.
  4. Final simplification74.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -2 \cdot 10^{+180}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;y \leq -4 \cdot 10^{+116}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) + a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;y \leq -1.85 \cdot 10^{-13}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;y \leq -3 \cdot 10^{-83}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;y \leq -6 \cdot 10^{-264}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;y \leq -3 \cdot 10^{-287}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;y \leq 2.8 \cdot 10^{-286}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) - a \cdot \left(x \cdot t\right)\\ \mathbf{elif}\;y \leq 1.15 \cdot 10^{+36}:\\ \;\;\;\;a \cdot \left(b \cdot i\right) + c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{elif}\;y \leq 1.7 \cdot 10^{+90}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \end{array} \]

Alternative 5: 71.2% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;x \leq -2.1 \cdot 10^{+124} \lor \neg \left(x \leq 1.7 \cdot 10^{+134}\right):\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;\left(a \cdot \left(b \cdot i - x \cdot t\right) - c \cdot \left(z \cdot b\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (or (<= x -2.1e+124) (not (<= x 1.7e+134)))
   (* x (- (* y z) (* t a)))
   (+ (- (* a (- (* b i) (* x t))) (* c (* z b))) (* j (- (* t c) (* y i))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if ((x <= -2.1e+124) || !(x <= 1.7e+134)) {
		tmp = x * ((y * z) - (t * a));
	} else {
		tmp = ((a * ((b * i) - (x * t))) - (c * (z * b))) + (j * ((t * c) - (y * 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 ((x <= (-2.1d+124)) .or. (.not. (x <= 1.7d+134))) then
        tmp = x * ((y * z) - (t * a))
    else
        tmp = ((a * ((b * i) - (x * t))) - (c * (z * b))) + (j * ((t * c) - (y * 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 ((x <= -2.1e+124) || !(x <= 1.7e+134)) {
		tmp = x * ((y * z) - (t * a));
	} else {
		tmp = ((a * ((b * i) - (x * t))) - (c * (z * b))) + (j * ((t * c) - (y * i)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if (x <= -2.1e+124) or not (x <= 1.7e+134):
		tmp = x * ((y * z) - (t * a))
	else:
		tmp = ((a * ((b * i) - (x * t))) - (c * (z * b))) + (j * ((t * c) - (y * i)))
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if ((x <= -2.1e+124) || !(x <= 1.7e+134))
		tmp = Float64(x * Float64(Float64(y * z) - Float64(t * a)));
	else
		tmp = Float64(Float64(Float64(a * Float64(Float64(b * i) - Float64(x * t))) - Float64(c * Float64(z * b))) + Float64(j * Float64(Float64(t * c) - Float64(y * i))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if ((x <= -2.1e+124) || ~((x <= 1.7e+134)))
		tmp = x * ((y * z) - (t * a));
	else
		tmp = ((a * ((b * i) - (x * t))) - (c * (z * b))) + (j * ((t * c) - (y * i)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[x, -2.1e+124], N[Not[LessEqual[x, 1.7e+134]], $MachinePrecision]], N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;x \leq -2.1 \cdot 10^{+124} \lor \neg \left(x \leq 1.7 \cdot 10^{+134}\right):\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if x < -2.10000000000000011e124 or 1.70000000000000009e134 < x

    1. Initial program 73.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. sub-neg73.0%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+73.0%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -2.10000000000000011e124 < x < 1.70000000000000009e134

    1. Initial program 72.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. cancel-sign-sub72.8%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv72.8%

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)\right)} + j \cdot \left(t \cdot c - y \cdot i\right) \]
    5. Step-by-step derivation
      1. cancel-sign-sub-inv75.6%

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \color{blue}{\left(i \cdot \left(a \cdot b\right) + \left(-c \cdot \left(b \cdot z\right)\right)\right)}\right) + j \cdot \left(t \cdot c - y \cdot i\right) \]
      15. associate-+l+77.2%

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -2.1 \cdot 10^{+124} \lor \neg \left(x \leq 1.7 \cdot 10^{+134}\right):\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;\left(a \cdot \left(b \cdot i - x \cdot t\right) - c \cdot \left(z \cdot b\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ \end{array} \]

Alternative 6: 57.3% accurate, 1.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(x \cdot z - i \cdot j\right)\\ t_2 := t \cdot \left(c \cdot j - x \cdot a\right)\\ t_3 := c \cdot \left(t \cdot j\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{if}\;y \leq -1.1 \cdot 10^{+176}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq -3.5 \cdot 10^{+116}:\\ \;\;\;\;t_2 + b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;y \leq -1.35 \cdot 10^{-14}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq -2.8 \cdot 10^{-84}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq -2.1 \cdot 10^{-209}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq 2.2 \cdot 10^{+88}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \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 (* t (- (* c j) (* x a))))
        (t_3 (+ (* c (* t j)) (* b (- (* a i) (* z c))))))
   (if (<= y -1.1e+176)
     t_1
     (if (<= y -3.5e+116)
       (+ t_2 (* b (* a i)))
       (if (<= y -1.35e-14)
         t_1
         (if (<= y -2.8e-84)
           t_3
           (if (<= y -2.1e-209) t_2 (if (<= y 2.2e+88) t_3 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 = y * ((x * z) - (i * j));
	double t_2 = t * ((c * j) - (x * a));
	double t_3 = (c * (t * j)) + (b * ((a * i) - (z * c)));
	double tmp;
	if (y <= -1.1e+176) {
		tmp = t_1;
	} else if (y <= -3.5e+116) {
		tmp = t_2 + (b * (a * i));
	} else if (y <= -1.35e-14) {
		tmp = t_1;
	} else if (y <= -2.8e-84) {
		tmp = t_3;
	} else if (y <= -2.1e-209) {
		tmp = t_2;
	} else if (y <= 2.2e+88) {
		tmp = t_3;
	} 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) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = y * ((x * z) - (i * j))
    t_2 = t * ((c * j) - (x * a))
    t_3 = (c * (t * j)) + (b * ((a * i) - (z * c)))
    if (y <= (-1.1d+176)) then
        tmp = t_1
    else if (y <= (-3.5d+116)) then
        tmp = t_2 + (b * (a * i))
    else if (y <= (-1.35d-14)) then
        tmp = t_1
    else if (y <= (-2.8d-84)) then
        tmp = t_3
    else if (y <= (-2.1d-209)) then
        tmp = t_2
    else if (y <= 2.2d+88) then
        tmp = t_3
    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 = y * ((x * z) - (i * j));
	double t_2 = t * ((c * j) - (x * a));
	double t_3 = (c * (t * j)) + (b * ((a * i) - (z * c)));
	double tmp;
	if (y <= -1.1e+176) {
		tmp = t_1;
	} else if (y <= -3.5e+116) {
		tmp = t_2 + (b * (a * i));
	} else if (y <= -1.35e-14) {
		tmp = t_1;
	} else if (y <= -2.8e-84) {
		tmp = t_3;
	} else if (y <= -2.1e-209) {
		tmp = t_2;
	} else if (y <= 2.2e+88) {
		tmp = t_3;
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = y * ((x * z) - (i * j))
	t_2 = t * ((c * j) - (x * a))
	t_3 = (c * (t * j)) + (b * ((a * i) - (z * c)))
	tmp = 0
	if y <= -1.1e+176:
		tmp = t_1
	elif y <= -3.5e+116:
		tmp = t_2 + (b * (a * i))
	elif y <= -1.35e-14:
		tmp = t_1
	elif y <= -2.8e-84:
		tmp = t_3
	elif y <= -2.1e-209:
		tmp = t_2
	elif y <= 2.2e+88:
		tmp = t_3
	else:
		tmp = t_1
	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(t * Float64(Float64(c * j) - Float64(x * a)))
	t_3 = Float64(Float64(c * Float64(t * j)) + Float64(b * Float64(Float64(a * i) - Float64(z * c))))
	tmp = 0.0
	if (y <= -1.1e+176)
		tmp = t_1;
	elseif (y <= -3.5e+116)
		tmp = Float64(t_2 + Float64(b * Float64(a * i)));
	elseif (y <= -1.35e-14)
		tmp = t_1;
	elseif (y <= -2.8e-84)
		tmp = t_3;
	elseif (y <= -2.1e-209)
		tmp = t_2;
	elseif (y <= 2.2e+88)
		tmp = t_3;
	else
		tmp = t_1;
	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 = t * ((c * j) - (x * a));
	t_3 = (c * (t * j)) + (b * ((a * i) - (z * c)));
	tmp = 0.0;
	if (y <= -1.1e+176)
		tmp = t_1;
	elseif (y <= -3.5e+116)
		tmp = t_2 + (b * (a * i));
	elseif (y <= -1.35e-14)
		tmp = t_1;
	elseif (y <= -2.8e-84)
		tmp = t_3;
	elseif (y <= -2.1e-209)
		tmp = t_2;
	elseif (y <= 2.2e+88)
		tmp = t_3;
	else
		tmp = t_1;
	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[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.1e+176], t$95$1, If[LessEqual[y, -3.5e+116], N[(t$95$2 + N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.35e-14], t$95$1, If[LessEqual[y, -2.8e-84], t$95$3, If[LessEqual[y, -2.1e-209], t$95$2, If[LessEqual[y, 2.2e+88], t$95$3, t$95$1]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;y \leq -3.5 \cdot 10^{+116}:\\
\;\;\;\;t_2 + b \cdot \left(a \cdot i\right)\\

\mathbf{elif}\;y \leq -1.35 \cdot 10^{-14}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;y \leq -2.8 \cdot 10^{-84}:\\
\;\;\;\;t_3\\

\mathbf{elif}\;y \leq -2.1 \cdot 10^{-209}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;y \leq 2.2 \cdot 10^{+88}:\\
\;\;\;\;t_3\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if y < -1.10000000000000004e176 or -3.49999999999999997e116 < y < -1.3499999999999999e-14 or 2.20000000000000009e88 < y

    1. Initial program 64.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. sub-neg64.1%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+64.1%

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \left(-\color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right)\right)\right) \]
      14. distribute-neg-in65.2%

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

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

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

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

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

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

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

        \[\leadsto y \cdot \left(z \cdot x + \color{blue}{\left(-i \cdot j\right)}\right) \]
      5. unsub-neg75.2%

        \[\leadsto y \cdot \color{blue}{\left(z \cdot x - i \cdot j\right)} \]
    6. Simplified75.2%

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

    if -1.10000000000000004e176 < y < -3.49999999999999997e116

    1. Initial program 49.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. +-commutative49.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-def58.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. *-commutative58.2%

        \[\leadsto \mathsf{fma}\left(j, c \cdot t - \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) \]
      4. *-commutative58.2%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - 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. *-commutative58.2%

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

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

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

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

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

      \[\leadsto \left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right) \cdot t - \color{blue}{\left(-1 \cdot \left(a \cdot i\right)\right)} \cdot b \]
    7. Step-by-step derivation
      1. neg-mul-183.5%

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

        \[\leadsto \left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right) \cdot t - \color{blue}{\left(a \cdot \left(-i\right)\right)} \cdot b \]
    8. Simplified83.5%

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

    if -1.3499999999999999e-14 < y < -2.79999999999999982e-84 or -2.09999999999999996e-209 < y < 2.20000000000000009e88

    1. Initial program 80.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. cancel-sign-sub80.4%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv80.4%

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

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

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      5. remove-double-neg80.4%

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

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

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

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

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

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

    if -2.79999999999999982e-84 < y < -2.09999999999999996e-209

    1. Initial program 77.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. sub-neg77.4%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+77.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right) \cdot t} \]
    5. Step-by-step derivation
      1. *-commutative70.4%

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1.1 \cdot 10^{+176}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;y \leq -3.5 \cdot 10^{+116}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) + b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;y \leq -1.35 \cdot 10^{-14}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;y \leq -2.8 \cdot 10^{-84}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;y \leq -2.1 \cdot 10^{-209}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;y \leq 2.2 \cdot 10^{+88}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \end{array} \]

Alternative 7: 67.3% accurate, 1.1× 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\right) + t_1\\ t_3 := x \cdot \left(y \cdot z - t \cdot a\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{if}\;b \leq -7.4 \cdot 10^{+33}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 1.35 \cdot 10^{-49}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;b \leq 3.4 \cdot 10^{+38}:\\ \;\;\;\;t_1 - j \cdot \left(y \cdot i - t \cdot c\right)\\ \mathbf{elif}\;b \leq 1.7 \cdot 10^{+146}:\\ \;\;\;\;t_3\\ \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)) t_1))
        (t_3 (+ (* x (- (* y z) (* t a))) (* j (- (* t c) (* y i))))))
   (if (<= b -7.4e+33)
     t_2
     (if (<= b 1.35e-49)
       t_3
       (if (<= b 3.4e+38)
         (- t_1 (* j (- (* y i) (* t c))))
         (if (<= b 1.7e+146) t_3 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)) + t_1;
	double t_3 = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)));
	double tmp;
	if (b <= -7.4e+33) {
		tmp = t_2;
	} else if (b <= 1.35e-49) {
		tmp = t_3;
	} else if (b <= 3.4e+38) {
		tmp = t_1 - (j * ((y * i) - (t * c)));
	} else if (b <= 1.7e+146) {
		tmp = t_3;
	} 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) :: t_3
    real(8) :: tmp
    t_1 = b * ((a * i) - (z * c))
    t_2 = (c * (t * j)) + t_1
    t_3 = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)))
    if (b <= (-7.4d+33)) then
        tmp = t_2
    else if (b <= 1.35d-49) then
        tmp = t_3
    else if (b <= 3.4d+38) then
        tmp = t_1 - (j * ((y * i) - (t * c)))
    else if (b <= 1.7d+146) then
        tmp = t_3
    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)) + t_1;
	double t_3 = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)));
	double tmp;
	if (b <= -7.4e+33) {
		tmp = t_2;
	} else if (b <= 1.35e-49) {
		tmp = t_3;
	} else if (b <= 3.4e+38) {
		tmp = t_1 - (j * ((y * i) - (t * c)));
	} else if (b <= 1.7e+146) {
		tmp = t_3;
	} 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)) + t_1
	t_3 = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)))
	tmp = 0
	if b <= -7.4e+33:
		tmp = t_2
	elif b <= 1.35e-49:
		tmp = t_3
	elif b <= 3.4e+38:
		tmp = t_1 - (j * ((y * i) - (t * c)))
	elif b <= 1.7e+146:
		tmp = t_3
	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(Float64(c * Float64(t * j)) + t_1)
	t_3 = Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) + Float64(j * Float64(Float64(t * c) - Float64(y * i))))
	tmp = 0.0
	if (b <= -7.4e+33)
		tmp = t_2;
	elseif (b <= 1.35e-49)
		tmp = t_3;
	elseif (b <= 3.4e+38)
		tmp = Float64(t_1 - Float64(j * Float64(Float64(y * i) - Float64(t * c))));
	elseif (b <= 1.7e+146)
		tmp = t_3;
	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)) + t_1;
	t_3 = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)));
	tmp = 0.0;
	if (b <= -7.4e+33)
		tmp = t_2;
	elseif (b <= 1.35e-49)
		tmp = t_3;
	elseif (b <= 3.4e+38)
		tmp = t_1 - (j * ((y * i) - (t * c)));
	elseif (b <= 1.7e+146)
		tmp = t_3;
	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[(N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -7.4e+33], t$95$2, If[LessEqual[b, 1.35e-49], t$95$3, If[LessEqual[b, 3.4e+38], N[(t$95$1 - N[(j * N[(N[(y * i), $MachinePrecision] - N[(t * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.7e+146], t$95$3, 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\right) + t_1\\
t_3 := x \cdot \left(y \cdot z - t \cdot a\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\
\mathbf{if}\;b \leq -7.4 \cdot 10^{+33}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;b \leq 1.35 \cdot 10^{-49}:\\
\;\;\;\;t_3\\

\mathbf{elif}\;b \leq 3.4 \cdot 10^{+38}:\\
\;\;\;\;t_1 - j \cdot \left(y \cdot i - t \cdot c\right)\\

\mathbf{elif}\;b \leq 1.7 \cdot 10^{+146}:\\
\;\;\;\;t_3\\

\mathbf{else}:\\
\;\;\;\;t_2\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -7.3999999999999997e33 or 1.69999999999999995e146 < b

    1. Initial program 71.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. cancel-sign-sub71.4%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv71.4%

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

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

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      5. remove-double-neg71.4%

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

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

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

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

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

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

    if -7.3999999999999997e33 < b < 1.35e-49 or 3.39999999999999996e38 < b < 1.69999999999999995e146

    1. Initial program 73.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. cancel-sign-sub73.4%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv73.4%

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

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

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      5. remove-double-neg73.4%

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

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

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

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

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

    if 1.35e-49 < b < 3.39999999999999996e38

    1. Initial program 74.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. cancel-sign-sub74.3%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv74.3%

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

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

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      5. remove-double-neg74.3%

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -7.4 \cdot 10^{+33}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;b \leq 1.35 \cdot 10^{-49}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;b \leq 3.4 \cdot 10^{+38}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right) - j \cdot \left(y \cdot i - t \cdot c\right)\\ \mathbf{elif}\;b \leq 1.7 \cdot 10^{+146}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \end{array} \]

Alternative 8: 42.6% accurate, 1.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(t \cdot j\right)\\ t_2 := a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{if}\;a \leq -2 \cdot 10^{+42}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq -8.5 \cdot 10^{-71}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;a \leq -1.95 \cdot 10^{-157}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;a \leq 2.3 \cdot 10^{-274}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 8.5 \cdot 10^{-174}:\\ \;\;\;\;\left(i \cdot j\right) \cdot \left(-y\right)\\ \mathbf{elif}\;a \leq 5.6 \cdot 10^{-61}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 3.2 \cdot 10^{-49}:\\ \;\;\;\;c \cdot \left(-z \cdot b\right)\\ \mathbf{elif}\;a \leq 2.6 \cdot 10^{-36}:\\ \;\;\;\;i \cdot \left(y \cdot \left(-j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* c (* t j))) (t_2 (* a (- (* b i) (* x t)))))
   (if (<= a -2e+42)
     t_2
     (if (<= a -8.5e-71)
       (* t (* c j))
       (if (<= a -1.95e-157)
         (* y (* x z))
         (if (<= a 2.3e-274)
           t_1
           (if (<= a 8.5e-174)
             (* (* i j) (- y))
             (if (<= a 5.6e-61)
               t_1
               (if (<= a 3.2e-49)
                 (* c (- (* z b)))
                 (if (<= a 2.6e-36) (* i (* y (- j))) 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 = c * (t * j);
	double t_2 = a * ((b * i) - (x * t));
	double tmp;
	if (a <= -2e+42) {
		tmp = t_2;
	} else if (a <= -8.5e-71) {
		tmp = t * (c * j);
	} else if (a <= -1.95e-157) {
		tmp = y * (x * z);
	} else if (a <= 2.3e-274) {
		tmp = t_1;
	} else if (a <= 8.5e-174) {
		tmp = (i * j) * -y;
	} else if (a <= 5.6e-61) {
		tmp = t_1;
	} else if (a <= 3.2e-49) {
		tmp = c * -(z * b);
	} else if (a <= 2.6e-36) {
		tmp = i * (y * -j);
	} 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 = c * (t * j)
    t_2 = a * ((b * i) - (x * t))
    if (a <= (-2d+42)) then
        tmp = t_2
    else if (a <= (-8.5d-71)) then
        tmp = t * (c * j)
    else if (a <= (-1.95d-157)) then
        tmp = y * (x * z)
    else if (a <= 2.3d-274) then
        tmp = t_1
    else if (a <= 8.5d-174) then
        tmp = (i * j) * -y
    else if (a <= 5.6d-61) then
        tmp = t_1
    else if (a <= 3.2d-49) then
        tmp = c * -(z * b)
    else if (a <= 2.6d-36) then
        tmp = i * (y * -j)
    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 = c * (t * j);
	double t_2 = a * ((b * i) - (x * t));
	double tmp;
	if (a <= -2e+42) {
		tmp = t_2;
	} else if (a <= -8.5e-71) {
		tmp = t * (c * j);
	} else if (a <= -1.95e-157) {
		tmp = y * (x * z);
	} else if (a <= 2.3e-274) {
		tmp = t_1;
	} else if (a <= 8.5e-174) {
		tmp = (i * j) * -y;
	} else if (a <= 5.6e-61) {
		tmp = t_1;
	} else if (a <= 3.2e-49) {
		tmp = c * -(z * b);
	} else if (a <= 2.6e-36) {
		tmp = i * (y * -j);
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = c * (t * j)
	t_2 = a * ((b * i) - (x * t))
	tmp = 0
	if a <= -2e+42:
		tmp = t_2
	elif a <= -8.5e-71:
		tmp = t * (c * j)
	elif a <= -1.95e-157:
		tmp = y * (x * z)
	elif a <= 2.3e-274:
		tmp = t_1
	elif a <= 8.5e-174:
		tmp = (i * j) * -y
	elif a <= 5.6e-61:
		tmp = t_1
	elif a <= 3.2e-49:
		tmp = c * -(z * b)
	elif a <= 2.6e-36:
		tmp = i * (y * -j)
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(c * Float64(t * j))
	t_2 = Float64(a * Float64(Float64(b * i) - Float64(x * t)))
	tmp = 0.0
	if (a <= -2e+42)
		tmp = t_2;
	elseif (a <= -8.5e-71)
		tmp = Float64(t * Float64(c * j));
	elseif (a <= -1.95e-157)
		tmp = Float64(y * Float64(x * z));
	elseif (a <= 2.3e-274)
		tmp = t_1;
	elseif (a <= 8.5e-174)
		tmp = Float64(Float64(i * j) * Float64(-y));
	elseif (a <= 5.6e-61)
		tmp = t_1;
	elseif (a <= 3.2e-49)
		tmp = Float64(c * Float64(-Float64(z * b)));
	elseif (a <= 2.6e-36)
		tmp = Float64(i * Float64(y * Float64(-j)));
	else
		tmp = t_2;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = c * (t * j);
	t_2 = a * ((b * i) - (x * t));
	tmp = 0.0;
	if (a <= -2e+42)
		tmp = t_2;
	elseif (a <= -8.5e-71)
		tmp = t * (c * j);
	elseif (a <= -1.95e-157)
		tmp = y * (x * z);
	elseif (a <= 2.3e-274)
		tmp = t_1;
	elseif (a <= 8.5e-174)
		tmp = (i * j) * -y;
	elseif (a <= 5.6e-61)
		tmp = t_1;
	elseif (a <= 3.2e-49)
		tmp = c * -(z * b);
	elseif (a <= 2.6e-36)
		tmp = i * (y * -j);
	else
		tmp = t_2;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -2e+42], t$95$2, If[LessEqual[a, -8.5e-71], N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.95e-157], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.3e-274], t$95$1, If[LessEqual[a, 8.5e-174], N[(N[(i * j), $MachinePrecision] * (-y)), $MachinePrecision], If[LessEqual[a, 5.6e-61], t$95$1, If[LessEqual[a, 3.2e-49], N[(c * (-N[(z * b), $MachinePrecision])), $MachinePrecision], If[LessEqual[a, 2.6e-36], N[(i * N[(y * (-j)), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;a \leq -8.5 \cdot 10^{-71}:\\
\;\;\;\;t \cdot \left(c \cdot j\right)\\

\mathbf{elif}\;a \leq -1.95 \cdot 10^{-157}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\

\mathbf{elif}\;a \leq 2.3 \cdot 10^{-274}:\\
\;\;\;\;t_1\\

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

\mathbf{elif}\;a \leq 5.6 \cdot 10^{-61}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;a \leq 3.2 \cdot 10^{-49}:\\
\;\;\;\;c \cdot \left(-z \cdot b\right)\\

\mathbf{elif}\;a \leq 2.6 \cdot 10^{-36}:\\
\;\;\;\;i \cdot \left(y \cdot \left(-j\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t_2\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if a < -2.00000000000000009e42 or 2.6e-36 < a

    1. Initial program 64.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. sub-neg64.9%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+64.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + i \cdot b\right)} \]
    5. Step-by-step derivation
      1. +-commutative62.7%

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

        \[\leadsto a \cdot \left(i \cdot b + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg62.7%

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

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

    if -2.00000000000000009e42 < a < -8.49999999999999988e-71

    1. Initial program 71.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. +-commutative71.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-def75.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, c \cdot t - \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) \]
      4. *-commutative75.0%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - 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. *-commutative75.0%

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

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

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

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

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

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right)} \]
    7. Step-by-step derivation
      1. associate-*r*41.6%

        \[\leadsto \color{blue}{\left(c \cdot t\right) \cdot j} \]
      2. *-commutative41.6%

        \[\leadsto \color{blue}{\left(t \cdot c\right)} \cdot j \]
      3. associate-*l*44.6%

        \[\leadsto \color{blue}{t \cdot \left(c \cdot j\right)} \]
    8. Simplified44.6%

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

    if -8.49999999999999988e-71 < a < -1.94999999999999999e-157

    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. sub-neg88.2%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+88.2%

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \left(-\color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right)\right)\right) \]
      14. distribute-neg-in88.2%

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

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

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

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

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

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

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

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

        \[\leadsto y \cdot \color{blue}{\left(z \cdot x - i \cdot j\right)} \]
    6. Simplified70.8%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right)} \]
    7. Taylor expanded in z around inf 42.6%

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

    if -1.94999999999999999e-157 < a < 2.29999999999999996e-274 or 8.4999999999999996e-174 < a < 5.6000000000000002e-61

    1. Initial program 84.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. +-commutative84.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-def84.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. *-commutative84.3%

        \[\leadsto \mathsf{fma}\left(j, c \cdot t - \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) \]
      4. *-commutative84.3%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - 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. *-commutative84.3%

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

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

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

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

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

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

    if 2.29999999999999996e-274 < a < 8.4999999999999996e-174

    1. Initial program 79.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. sub-neg79.9%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+79.9%

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \left(-\color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right)\right)\right) \]
      14. distribute-neg-in79.9%

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right)} \]
    7. Taylor expanded in z around 0 40.9%

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(i \cdot j\right)\right)} \]
    8. Step-by-step derivation
      1. mul-1-neg40.9%

        \[\leadsto \color{blue}{-y \cdot \left(i \cdot j\right)} \]
      2. distribute-rgt-neg-in40.9%

        \[\leadsto \color{blue}{y \cdot \left(-i \cdot j\right)} \]
      3. distribute-rgt-neg-in40.9%

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

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

    if 5.6000000000000002e-61 < a < 3.20000000000000002e-49

    1. Initial program 51.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. cancel-sign-sub51.1%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv51.1%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(b \cdot z\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg83.6%

        \[\leadsto \color{blue}{-c \cdot \left(b \cdot z\right)} \]
      2. distribute-rgt-neg-in83.6%

        \[\leadsto \color{blue}{c \cdot \left(-b \cdot z\right)} \]
    7. Simplified83.6%

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

    if 3.20000000000000002e-49 < a < 2.6e-36

    1. Initial program 100.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. sub-neg100.0%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+100.0%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + z \cdot x\right)} \]
      3. +-commutative68.0%

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

        \[\leadsto y \cdot \left(z \cdot x + \color{blue}{\left(-i \cdot j\right)}\right) \]
      5. unsub-neg68.0%

        \[\leadsto y \cdot \color{blue}{\left(z \cdot x - i \cdot j\right)} \]
    6. Simplified68.0%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right)} \]
    7. Taylor expanded in z around 0 68.0%

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(i \cdot j\right)\right)} \]
    8. Step-by-step derivation
      1. *-commutative68.0%

        \[\leadsto -1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} \]
      2. associate-*r*68.0%

        \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} \]
      3. neg-mul-168.0%

        \[\leadsto \color{blue}{\left(-i \cdot j\right)} \cdot y \]
      4. distribute-lft-neg-in68.0%

        \[\leadsto \color{blue}{\left(\left(-i\right) \cdot j\right)} \cdot y \]
      5. associate-*r*100.0%

        \[\leadsto \color{blue}{\left(-i\right) \cdot \left(j \cdot y\right)} \]
    9. Simplified100.0%

      \[\leadsto \color{blue}{\left(-i\right) \cdot \left(j \cdot y\right)} \]
  3. Recombined 7 regimes into one program.
  4. Final simplification53.7%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -2 \cdot 10^{+42}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;a \leq -8.5 \cdot 10^{-71}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;a \leq -1.95 \cdot 10^{-157}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;a \leq 2.3 \cdot 10^{-274}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;a \leq 8.5 \cdot 10^{-174}:\\ \;\;\;\;\left(i \cdot j\right) \cdot \left(-y\right)\\ \mathbf{elif}\;a \leq 5.6 \cdot 10^{-61}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;a \leq 3.2 \cdot 10^{-49}:\\ \;\;\;\;c \cdot \left(-z \cdot b\right)\\ \mathbf{elif}\;a \leq 2.6 \cdot 10^{-36}:\\ \;\;\;\;i \cdot \left(y \cdot \left(-j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \end{array} \]

Alternative 9: 69.1% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := t_1 - t \cdot \left(x \cdot a - c \cdot j\right)\\ \mathbf{if}\;b \leq -3.8 \cdot 10^{-50}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 2.7 \cdot 10^{-42}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;b \leq 4.5 \cdot 10^{+195}:\\ \;\;\;\;t_2\\ \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))))
        (t_2 (- t_1 (* t (- (* x a) (* c j))))))
   (if (<= b -3.8e-50)
     t_2
     (if (<= b 2.7e-42)
       (+ (* x (- (* y z) (* t a))) (* j (- (* t c) (* y i))))
       (if (<= b 4.5e+195) t_2 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 t_2 = t_1 - (t * ((x * a) - (c * j)));
	double tmp;
	if (b <= -3.8e-50) {
		tmp = t_2;
	} else if (b <= 2.7e-42) {
		tmp = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)));
	} else if (b <= 4.5e+195) {
		tmp = t_2;
	} 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) :: t_2
    real(8) :: tmp
    t_1 = b * ((a * i) - (z * c))
    t_2 = t_1 - (t * ((x * a) - (c * j)))
    if (b <= (-3.8d-50)) then
        tmp = t_2
    else if (b <= 2.7d-42) then
        tmp = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)))
    else if (b <= 4.5d+195) then
        tmp = t_2
    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 t_2 = t_1 - (t * ((x * a) - (c * j)));
	double tmp;
	if (b <= -3.8e-50) {
		tmp = t_2;
	} else if (b <= 2.7e-42) {
		tmp = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)));
	} else if (b <= 4.5e+195) {
		tmp = t_2;
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = b * ((a * i) - (z * c))
	t_2 = t_1 - (t * ((x * a) - (c * j)))
	tmp = 0
	if b <= -3.8e-50:
		tmp = t_2
	elif b <= 2.7e-42:
		tmp = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)))
	elif b <= 4.5e+195:
		tmp = t_2
	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)))
	t_2 = Float64(t_1 - Float64(t * Float64(Float64(x * a) - Float64(c * j))))
	tmp = 0.0
	if (b <= -3.8e-50)
		tmp = t_2;
	elseif (b <= 2.7e-42)
		tmp = Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) + Float64(j * Float64(Float64(t * c) - Float64(y * i))));
	elseif (b <= 4.5e+195)
		tmp = t_2;
	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));
	t_2 = t_1 - (t * ((x * a) - (c * j)));
	tmp = 0.0;
	if (b <= -3.8e-50)
		tmp = t_2;
	elseif (b <= 2.7e-42)
		tmp = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)));
	elseif (b <= 4.5e+195)
		tmp = t_2;
	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]}, Block[{t$95$2 = N[(t$95$1 - N[(t * N[(N[(x * a), $MachinePrecision] - N[(c * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -3.8e-50], t$95$2, If[LessEqual[b, 2.7e-42], N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 4.5e+195], t$95$2, t$95$1]]]]]
\begin{array}{l}

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

\mathbf{elif}\;b \leq 2.7 \cdot 10^{-42}:\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\

\mathbf{elif}\;b \leq 4.5 \cdot 10^{+195}:\\
\;\;\;\;t_2\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -3.7999999999999999e-50 or 2.69999999999999999e-42 < b < 4.50000000000000009e195

    1. Initial program 73.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. +-commutative73.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-def75.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. *-commutative75.1%

        \[\leadsto \mathsf{fma}\left(j, c \cdot t - \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) \]
      4. *-commutative75.1%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - 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. *-commutative75.1%

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

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

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

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

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

    if -3.7999999999999999e-50 < b < 2.69999999999999999e-42

    1. Initial program 73.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. cancel-sign-sub73.0%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv73.0%

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

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

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      5. remove-double-neg73.0%

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

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

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

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

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

    if 4.50000000000000009e195 < b

    1. Initial program 69.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. cancel-sign-sub69.5%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv69.5%

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -3.8 \cdot 10^{-50}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right) - t \cdot \left(x \cdot a - c \cdot j\right)\\ \mathbf{elif}\;b \leq 2.7 \cdot 10^{-42}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;b \leq 4.5 \cdot 10^{+195}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right) - t \cdot \left(x \cdot a - c \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \end{array} \]

Alternative 10: 69.3% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{if}\;b \leq -5.8 \cdot 10^{+33}:\\ \;\;\;\;\left(c \cdot \left(t \cdot j\right) - a \cdot \left(x \cdot t\right)\right) + t_1\\ \mathbf{elif}\;b \leq 5.2 \cdot 10^{-40}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;b \leq 2.25 \cdot 10^{+191}:\\ \;\;\;\;t_1 - t \cdot \left(x \cdot a - c \cdot j\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.8e+33)
     (+ (- (* c (* t j)) (* a (* x t))) t_1)
     (if (<= b 5.2e-40)
       (+ (* x (- (* y z) (* t a))) (* j (- (* t c) (* y i))))
       (if (<= b 2.25e+191) (- t_1 (* t (- (* x a) (* c j)))) 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.8e+33) {
		tmp = ((c * (t * j)) - (a * (x * t))) + t_1;
	} else if (b <= 5.2e-40) {
		tmp = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)));
	} else if (b <= 2.25e+191) {
		tmp = t_1 - (t * ((x * a) - (c * j)));
	} 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.8d+33)) then
        tmp = ((c * (t * j)) - (a * (x * t))) + t_1
    else if (b <= 5.2d-40) then
        tmp = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)))
    else if (b <= 2.25d+191) then
        tmp = t_1 - (t * ((x * a) - (c * j)))
    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.8e+33) {
		tmp = ((c * (t * j)) - (a * (x * t))) + t_1;
	} else if (b <= 5.2e-40) {
		tmp = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)));
	} else if (b <= 2.25e+191) {
		tmp = t_1 - (t * ((x * a) - (c * j)));
	} 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.8e+33:
		tmp = ((c * (t * j)) - (a * (x * t))) + t_1
	elif b <= 5.2e-40:
		tmp = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)))
	elif b <= 2.25e+191:
		tmp = t_1 - (t * ((x * a) - (c * j)))
	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.8e+33)
		tmp = Float64(Float64(Float64(c * Float64(t * j)) - Float64(a * Float64(x * t))) + t_1);
	elseif (b <= 5.2e-40)
		tmp = Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) + Float64(j * Float64(Float64(t * c) - Float64(y * i))));
	elseif (b <= 2.25e+191)
		tmp = Float64(t_1 - Float64(t * Float64(Float64(x * a) - Float64(c * j))));
	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.8e+33)
		tmp = ((c * (t * j)) - (a * (x * t))) + t_1;
	elseif (b <= 5.2e-40)
		tmp = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)));
	elseif (b <= 2.25e+191)
		tmp = t_1 - (t * ((x * a) - (c * j)));
	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.8e+33], N[(N[(N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision] - N[(a * N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision], If[LessEqual[b, 5.2e-40], N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.25e+191], N[(t$95$1 - N[(t * N[(N[(x * a), $MachinePrecision] - N[(c * j), $MachinePrecision]), $MachinePrecision]), $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.8 \cdot 10^{+33}:\\
\;\;\;\;\left(c \cdot \left(t \cdot j\right) - a \cdot \left(x \cdot t\right)\right) + t_1\\

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

\mathbf{elif}\;b \leq 2.25 \cdot 10^{+191}:\\
\;\;\;\;t_1 - t \cdot \left(x \cdot a - c \cdot j\right)\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if b < -5.80000000000000049e33

    1. Initial program 68.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. +-commutative68.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-def68.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. *-commutative68.2%

        \[\leadsto \mathsf{fma}\left(j, c \cdot t - \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) \]
      4. *-commutative68.2%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - 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. *-commutative68.2%

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

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

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

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

    if -5.80000000000000049e33 < b < 5.2000000000000003e-40

    1. Initial program 72.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. cancel-sign-sub72.5%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv72.5%

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

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

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

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

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

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

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

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

    if 5.2000000000000003e-40 < b < 2.2500000000000001e191

    1. Initial program 78.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. +-commutative78.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-def81.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. *-commutative81.7%

        \[\leadsto \mathsf{fma}\left(j, c \cdot t - \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) \]
      4. *-commutative81.7%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - 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. *-commutative81.7%

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

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

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

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

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

    if 2.2500000000000001e191 < b

    1. Initial program 69.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. cancel-sign-sub69.5%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv69.5%

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -5.8 \cdot 10^{+33}:\\ \;\;\;\;\left(c \cdot \left(t \cdot j\right) - a \cdot \left(x \cdot t\right)\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;b \leq 5.2 \cdot 10^{-40}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;b \leq 2.25 \cdot 10^{+191}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right) - t \cdot \left(x \cdot a - c \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \end{array} \]

Alternative 11: 50.9% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := t \cdot \left(c \cdot j - x \cdot a\right)\\ t_2 := y \cdot \left(x \cdot z - i \cdot j\right)\\ t_3 := b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{if}\;b \leq -7.2 \cdot 10^{+59}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;b \leq -1.26 \cdot 10^{-213}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;b \leq 9 \cdot 10^{-251}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 8 \cdot 10^{-155}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 1.25 \cdot 10^{-114}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;b \leq 4.2 \cdot 10^{-25}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 1.05 \cdot 10^{+123}:\\ \;\;\;\;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 (* t (- (* c j) (* x a))))
        (t_2 (* y (- (* x z) (* i j))))
        (t_3 (* b (- (* a i) (* z c)))))
   (if (<= b -7.2e+59)
     t_3
     (if (<= b -1.26e-213)
       (* j (- (* t c) (* y i)))
       (if (<= b 9e-251)
         t_1
         (if (<= b 8e-155)
           t_2
           (if (<= b 1.25e-114)
             (* a (- (* b i) (* x t)))
             (if (<= b 4.2e-25) t_2 (if (<= b 1.05e+123) 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 = t * ((c * j) - (x * a));
	double t_2 = y * ((x * z) - (i * j));
	double t_3 = b * ((a * i) - (z * c));
	double tmp;
	if (b <= -7.2e+59) {
		tmp = t_3;
	} else if (b <= -1.26e-213) {
		tmp = j * ((t * c) - (y * i));
	} else if (b <= 9e-251) {
		tmp = t_1;
	} else if (b <= 8e-155) {
		tmp = t_2;
	} else if (b <= 1.25e-114) {
		tmp = a * ((b * i) - (x * t));
	} else if (b <= 4.2e-25) {
		tmp = t_2;
	} else if (b <= 1.05e+123) {
		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 = t * ((c * j) - (x * a))
    t_2 = y * ((x * z) - (i * j))
    t_3 = b * ((a * i) - (z * c))
    if (b <= (-7.2d+59)) then
        tmp = t_3
    else if (b <= (-1.26d-213)) then
        tmp = j * ((t * c) - (y * i))
    else if (b <= 9d-251) then
        tmp = t_1
    else if (b <= 8d-155) then
        tmp = t_2
    else if (b <= 1.25d-114) then
        tmp = a * ((b * i) - (x * t))
    else if (b <= 4.2d-25) then
        tmp = t_2
    else if (b <= 1.05d+123) 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 = t * ((c * j) - (x * a));
	double t_2 = y * ((x * z) - (i * j));
	double t_3 = b * ((a * i) - (z * c));
	double tmp;
	if (b <= -7.2e+59) {
		tmp = t_3;
	} else if (b <= -1.26e-213) {
		tmp = j * ((t * c) - (y * i));
	} else if (b <= 9e-251) {
		tmp = t_1;
	} else if (b <= 8e-155) {
		tmp = t_2;
	} else if (b <= 1.25e-114) {
		tmp = a * ((b * i) - (x * t));
	} else if (b <= 4.2e-25) {
		tmp = t_2;
	} else if (b <= 1.05e+123) {
		tmp = t_1;
	} else {
		tmp = t_3;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = t * ((c * j) - (x * a))
	t_2 = y * ((x * z) - (i * j))
	t_3 = b * ((a * i) - (z * c))
	tmp = 0
	if b <= -7.2e+59:
		tmp = t_3
	elif b <= -1.26e-213:
		tmp = j * ((t * c) - (y * i))
	elif b <= 9e-251:
		tmp = t_1
	elif b <= 8e-155:
		tmp = t_2
	elif b <= 1.25e-114:
		tmp = a * ((b * i) - (x * t))
	elif b <= 4.2e-25:
		tmp = t_2
	elif b <= 1.05e+123:
		tmp = t_1
	else:
		tmp = t_3
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(t * Float64(Float64(c * j) - Float64(x * a)))
	t_2 = Float64(y * Float64(Float64(x * z) - Float64(i * j)))
	t_3 = Float64(b * Float64(Float64(a * i) - Float64(z * c)))
	tmp = 0.0
	if (b <= -7.2e+59)
		tmp = t_3;
	elseif (b <= -1.26e-213)
		tmp = Float64(j * Float64(Float64(t * c) - Float64(y * i)));
	elseif (b <= 9e-251)
		tmp = t_1;
	elseif (b <= 8e-155)
		tmp = t_2;
	elseif (b <= 1.25e-114)
		tmp = Float64(a * Float64(Float64(b * i) - Float64(x * t)));
	elseif (b <= 4.2e-25)
		tmp = t_2;
	elseif (b <= 1.05e+123)
		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 = t * ((c * j) - (x * a));
	t_2 = y * ((x * z) - (i * j));
	t_3 = b * ((a * i) - (z * c));
	tmp = 0.0;
	if (b <= -7.2e+59)
		tmp = t_3;
	elseif (b <= -1.26e-213)
		tmp = j * ((t * c) - (y * i));
	elseif (b <= 9e-251)
		tmp = t_1;
	elseif (b <= 8e-155)
		tmp = t_2;
	elseif (b <= 1.25e-114)
		tmp = a * ((b * i) - (x * t));
	elseif (b <= 4.2e-25)
		tmp = t_2;
	elseif (b <= 1.05e+123)
		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[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -7.2e+59], t$95$3, If[LessEqual[b, -1.26e-213], N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 9e-251], t$95$1, If[LessEqual[b, 8e-155], t$95$2, If[LessEqual[b, 1.25e-114], N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 4.2e-25], t$95$2, If[LessEqual[b, 1.05e+123], t$95$1, t$95$3]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;b \leq -1.26 \cdot 10^{-213}:\\
\;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\

\mathbf{elif}\;b \leq 9 \cdot 10^{-251}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;b \leq 8 \cdot 10^{-155}:\\
\;\;\;\;t_2\\

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

\mathbf{elif}\;b \leq 4.2 \cdot 10^{-25}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;b \leq 1.05 \cdot 10^{+123}:\\
\;\;\;\;t_1\\

\mathbf{else}:\\
\;\;\;\;t_3\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if b < -7.1999999999999997e59 or 1.04999999999999997e123 < b

    1. Initial program 71.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. cancel-sign-sub71.1%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv71.1%

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

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

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

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

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

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

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

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

    if -7.1999999999999997e59 < b < -1.26e-213

    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. Step-by-step derivation
      1. cancel-sign-sub70.8%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv70.8%

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

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

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

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

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

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

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

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

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

    if -1.26e-213 < b < 8.99999999999999956e-251 or 4.20000000000000005e-25 < b < 1.04999999999999997e123

    1. Initial program 75.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. sub-neg75.3%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+75.3%

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \left(-\color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right)\right)\right) \]
      14. distribute-neg-in76.6%

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

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

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

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

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

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

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} \]
    6. Simplified61.1%

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

    if 8.99999999999999956e-251 < b < 8.00000000000000011e-155 or 1.24999999999999997e-114 < b < 4.20000000000000005e-25

    1. Initial program 76.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. sub-neg76.3%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+76.3%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto y \cdot \left(z \cdot x + \color{blue}{\left(-i \cdot j\right)}\right) \]
      5. unsub-neg67.7%

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

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

    if 8.00000000000000011e-155 < b < 1.24999999999999997e-114

    1. Initial program 60.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. sub-neg60.7%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+60.7%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + i \cdot b\right)} \]
    5. Step-by-step derivation
      1. +-commutative72.4%

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

        \[\leadsto a \cdot \left(i \cdot b + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg72.4%

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

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification65.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -7.2 \cdot 10^{+59}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;b \leq -1.26 \cdot 10^{-213}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;b \leq 9 \cdot 10^{-251}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;b \leq 8 \cdot 10^{-155}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;b \leq 1.25 \cdot 10^{-114}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;b \leq 4.2 \cdot 10^{-25}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;b \leq 1.05 \cdot 10^{+123}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \end{array} \]

Alternative 12: 67.3% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(t \cdot j\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{if}\;b \leq -9.4 \cdot 10^{+33}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 3.2 \cdot 10^{-8}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;b \leq 1.25 \cdot 10^{+16} \lor \neg \left(b \leq 5.7 \cdot 10^{+106}\right):\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) + b \cdot \left(a \cdot i\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (+ (* c (* t j)) (* b (- (* a i) (* z c))))))
   (if (<= b -9.4e+33)
     t_1
     (if (<= b 3.2e-8)
       (+ (* x (- (* y z) (* t a))) (* j (- (* t c) (* y i))))
       (if (or (<= b 1.25e+16) (not (<= b 5.7e+106)))
         t_1
         (+ (* t (- (* c j) (* x a))) (* b (* 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 = (c * (t * j)) + (b * ((a * i) - (z * c)));
	double tmp;
	if (b <= -9.4e+33) {
		tmp = t_1;
	} else if (b <= 3.2e-8) {
		tmp = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)));
	} else if ((b <= 1.25e+16) || !(b <= 5.7e+106)) {
		tmp = t_1;
	} else {
		tmp = (t * ((c * j) - (x * a))) + (b * (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 = (c * (t * j)) + (b * ((a * i) - (z * c)))
    if (b <= (-9.4d+33)) then
        tmp = t_1
    else if (b <= 3.2d-8) then
        tmp = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)))
    else if ((b <= 1.25d+16) .or. (.not. (b <= 5.7d+106))) then
        tmp = t_1
    else
        tmp = (t * ((c * j) - (x * a))) + (b * (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 = (c * (t * j)) + (b * ((a * i) - (z * c)));
	double tmp;
	if (b <= -9.4e+33) {
		tmp = t_1;
	} else if (b <= 3.2e-8) {
		tmp = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)));
	} else if ((b <= 1.25e+16) || !(b <= 5.7e+106)) {
		tmp = t_1;
	} else {
		tmp = (t * ((c * j) - (x * a))) + (b * (a * i));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = (c * (t * j)) + (b * ((a * i) - (z * c)))
	tmp = 0
	if b <= -9.4e+33:
		tmp = t_1
	elif b <= 3.2e-8:
		tmp = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)))
	elif (b <= 1.25e+16) or not (b <= 5.7e+106):
		tmp = t_1
	else:
		tmp = (t * ((c * j) - (x * a))) + (b * (a * i))
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(Float64(c * Float64(t * j)) + Float64(b * Float64(Float64(a * i) - Float64(z * c))))
	tmp = 0.0
	if (b <= -9.4e+33)
		tmp = t_1;
	elseif (b <= 3.2e-8)
		tmp = Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) + Float64(j * Float64(Float64(t * c) - Float64(y * i))));
	elseif ((b <= 1.25e+16) || !(b <= 5.7e+106))
		tmp = t_1;
	else
		tmp = Float64(Float64(t * Float64(Float64(c * j) - Float64(x * a))) + Float64(b * Float64(a * i)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = (c * (t * j)) + (b * ((a * i) - (z * c)));
	tmp = 0.0;
	if (b <= -9.4e+33)
		tmp = t_1;
	elseif (b <= 3.2e-8)
		tmp = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)));
	elseif ((b <= 1.25e+16) || ~((b <= 5.7e+106)))
		tmp = t_1;
	else
		tmp = (t * ((c * j) - (x * a))) + (b * (a * i));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -9.4e+33], t$95$1, If[LessEqual[b, 3.2e-8], N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[b, 1.25e+16], N[Not[LessEqual[b, 5.7e+106]], $MachinePrecision]], t$95$1, N[(N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(t \cdot j\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\
\mathbf{if}\;b \leq -9.4 \cdot 10^{+33}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;b \leq 3.2 \cdot 10^{-8}:\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\

\mathbf{elif}\;b \leq 1.25 \cdot 10^{+16} \lor \neg \left(b \leq 5.7 \cdot 10^{+106}\right):\\
\;\;\;\;t_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -9.3999999999999996e33 or 3.2000000000000002e-8 < b < 1.25e16 or 5.6999999999999997e106 < b

    1. Initial program 72.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. cancel-sign-sub72.3%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv72.3%

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

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

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      5. remove-double-neg72.3%

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

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

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

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

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

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

    if -9.3999999999999996e33 < b < 3.2000000000000002e-8

    1. Initial program 72.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. cancel-sign-sub72.8%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv72.8%

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

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

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

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

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

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

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

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

    if 1.25e16 < b < 5.6999999999999997e106

    1. Initial program 75.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. +-commutative75.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-def78.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. *-commutative78.8%

        \[\leadsto \mathsf{fma}\left(j, c \cdot t - \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) \]
      4. *-commutative78.8%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - 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. *-commutative78.8%

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

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

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

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

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

      \[\leadsto \left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right) \cdot t - \color{blue}{\left(-1 \cdot \left(a \cdot i\right)\right)} \cdot b \]
    7. Step-by-step derivation
      1. neg-mul-175.0%

        \[\leadsto \left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right) \cdot t - \color{blue}{\left(-a \cdot i\right)} \cdot b \]
      2. distribute-rgt-neg-in75.0%

        \[\leadsto \left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right) \cdot t - \color{blue}{\left(a \cdot \left(-i\right)\right)} \cdot b \]
    8. Simplified75.0%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -9.4 \cdot 10^{+33}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;b \leq 3.2 \cdot 10^{-8}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;b \leq 1.25 \cdot 10^{+16} \lor \neg \left(b \leq 5.7 \cdot 10^{+106}\right):\\ \;\;\;\;c \cdot \left(t \cdot j\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) + b \cdot \left(a \cdot i\right)\\ \end{array} \]

Alternative 13: 51.2% accurate, 1.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(x \cdot z - i \cdot j\right)\\ t_2 := c \cdot \left(t \cdot j - z \cdot b\right)\\ t_3 := a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{if}\;a \leq -2.6 \cdot 10^{+135}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;a \leq -1 \cdot 10^{-73}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;a \leq -1.32 \cdot 10^{-150}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 4.5 \cdot 10^{-238}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq 5.2 \cdot 10^{-167}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 3.8 \cdot 10^{+97}:\\ \;\;\;\;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 (* y (- (* x z) (* i j))))
        (t_2 (* c (- (* t j) (* z b))))
        (t_3 (* a (- (* b i) (* x t)))))
   (if (<= a -2.6e+135)
     t_3
     (if (<= a -1e-73)
       (* t (- (* c j) (* x a)))
       (if (<= a -1.32e-150)
         t_1
         (if (<= a 4.5e-238)
           t_2
           (if (<= a 5.2e-167) t_1 (if (<= a 3.8e+97) 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 = y * ((x * z) - (i * j));
	double t_2 = c * ((t * j) - (z * b));
	double t_3 = a * ((b * i) - (x * t));
	double tmp;
	if (a <= -2.6e+135) {
		tmp = t_3;
	} else if (a <= -1e-73) {
		tmp = t * ((c * j) - (x * a));
	} else if (a <= -1.32e-150) {
		tmp = t_1;
	} else if (a <= 4.5e-238) {
		tmp = t_2;
	} else if (a <= 5.2e-167) {
		tmp = t_1;
	} else if (a <= 3.8e+97) {
		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 = y * ((x * z) - (i * j))
    t_2 = c * ((t * j) - (z * b))
    t_3 = a * ((b * i) - (x * t))
    if (a <= (-2.6d+135)) then
        tmp = t_3
    else if (a <= (-1d-73)) then
        tmp = t * ((c * j) - (x * a))
    else if (a <= (-1.32d-150)) then
        tmp = t_1
    else if (a <= 4.5d-238) then
        tmp = t_2
    else if (a <= 5.2d-167) then
        tmp = t_1
    else if (a <= 3.8d+97) 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 = y * ((x * z) - (i * j));
	double t_2 = c * ((t * j) - (z * b));
	double t_3 = a * ((b * i) - (x * t));
	double tmp;
	if (a <= -2.6e+135) {
		tmp = t_3;
	} else if (a <= -1e-73) {
		tmp = t * ((c * j) - (x * a));
	} else if (a <= -1.32e-150) {
		tmp = t_1;
	} else if (a <= 4.5e-238) {
		tmp = t_2;
	} else if (a <= 5.2e-167) {
		tmp = t_1;
	} else if (a <= 3.8e+97) {
		tmp = t_2;
	} 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 = c * ((t * j) - (z * b))
	t_3 = a * ((b * i) - (x * t))
	tmp = 0
	if a <= -2.6e+135:
		tmp = t_3
	elif a <= -1e-73:
		tmp = t * ((c * j) - (x * a))
	elif a <= -1.32e-150:
		tmp = t_1
	elif a <= 4.5e-238:
		tmp = t_2
	elif a <= 5.2e-167:
		tmp = t_1
	elif a <= 3.8e+97:
		tmp = t_2
	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(c * Float64(Float64(t * j) - Float64(z * b)))
	t_3 = Float64(a * Float64(Float64(b * i) - Float64(x * t)))
	tmp = 0.0
	if (a <= -2.6e+135)
		tmp = t_3;
	elseif (a <= -1e-73)
		tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a)));
	elseif (a <= -1.32e-150)
		tmp = t_1;
	elseif (a <= 4.5e-238)
		tmp = t_2;
	elseif (a <= 5.2e-167)
		tmp = t_1;
	elseif (a <= 3.8e+97)
		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 = y * ((x * z) - (i * j));
	t_2 = c * ((t * j) - (z * b));
	t_3 = a * ((b * i) - (x * t));
	tmp = 0.0;
	if (a <= -2.6e+135)
		tmp = t_3;
	elseif (a <= -1e-73)
		tmp = t * ((c * j) - (x * a));
	elseif (a <= -1.32e-150)
		tmp = t_1;
	elseif (a <= 4.5e-238)
		tmp = t_2;
	elseif (a <= 5.2e-167)
		tmp = t_1;
	elseif (a <= 3.8e+97)
		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[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -2.6e+135], t$95$3, If[LessEqual[a, -1e-73], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.32e-150], t$95$1, If[LessEqual[a, 4.5e-238], t$95$2, If[LessEqual[a, 5.2e-167], t$95$1, If[LessEqual[a, 3.8e+97], t$95$2, t$95$3]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;a \leq -1 \cdot 10^{-73}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\

\mathbf{elif}\;a \leq -1.32 \cdot 10^{-150}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;a \leq 4.5 \cdot 10^{-238}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;a \leq 5.2 \cdot 10^{-167}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;a \leq 3.8 \cdot 10^{+97}:\\
\;\;\;\;t_2\\

\mathbf{else}:\\
\;\;\;\;t_3\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if a < -2.6e135 or 3.80000000000000036e97 < a

    1. Initial program 59.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. sub-neg59.6%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+59.6%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + i \cdot b\right)} \]
    5. Step-by-step derivation
      1. +-commutative74.0%

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

        \[\leadsto a \cdot \left(i \cdot b + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg74.0%

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

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

    if -2.6e135 < a < -9.99999999999999997e-74

    1. Initial program 72.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. sub-neg72.3%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+72.3%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right) \cdot t} \]
    5. Step-by-step derivation
      1. *-commutative58.3%

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

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

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} \]
    6. Simplified58.3%

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

    if -9.99999999999999997e-74 < a < -1.32e-150 or 4.49999999999999996e-238 < a < 5.1999999999999998e-167

    1. Initial program 83.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. sub-neg83.8%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+83.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + z \cdot x\right)} \]
      3. +-commutative72.5%

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

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

        \[\leadsto y \cdot \color{blue}{\left(z \cdot x - i \cdot j\right)} \]
    6. Simplified72.5%

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

    if -1.32e-150 < a < 4.49999999999999996e-238 or 5.1999999999999998e-167 < a < 3.80000000000000036e97

    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. Step-by-step derivation
      1. +-commutative81.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-def81.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. *-commutative81.3%

        \[\leadsto \mathsf{fma}\left(j, c \cdot t - \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) \]
      4. *-commutative81.3%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - 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. *-commutative81.3%

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -2.6 \cdot 10^{+135}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;a \leq -1 \cdot 10^{-73}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;a \leq -1.32 \cdot 10^{-150}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;a \leq 4.5 \cdot 10^{-238}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{elif}\;a \leq 5.2 \cdot 10^{-167}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;a \leq 3.8 \cdot 10^{+97}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \end{array} \]

Alternative 14: 50.6% accurate, 1.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(x \cdot z - i \cdot j\right)\\ t_2 := t \cdot \left(c \cdot j - x \cdot a\right)\\ t_3 := b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{if}\;b \leq -6 \cdot 10^{-7}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;b \leq 1.6 \cdot 10^{-250}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq 5.6 \cdot 10^{-154}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 10^{-116}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;b \leq 9.8 \cdot 10^{-25}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 9.6 \cdot 10^{+122}:\\ \;\;\;\;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 (* y (- (* x z) (* i j))))
        (t_2 (* t (- (* c j) (* x a))))
        (t_3 (* b (- (* a i) (* z c)))))
   (if (<= b -6e-7)
     t_3
     (if (<= b 1.6e-250)
       t_2
       (if (<= b 5.6e-154)
         t_1
         (if (<= b 1e-116)
           (* a (- (* b i) (* x t)))
           (if (<= b 9.8e-25) t_1 (if (<= b 9.6e+122) 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 = y * ((x * z) - (i * j));
	double t_2 = t * ((c * j) - (x * a));
	double t_3 = b * ((a * i) - (z * c));
	double tmp;
	if (b <= -6e-7) {
		tmp = t_3;
	} else if (b <= 1.6e-250) {
		tmp = t_2;
	} else if (b <= 5.6e-154) {
		tmp = t_1;
	} else if (b <= 1e-116) {
		tmp = a * ((b * i) - (x * t));
	} else if (b <= 9.8e-25) {
		tmp = t_1;
	} else if (b <= 9.6e+122) {
		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 = y * ((x * z) - (i * j))
    t_2 = t * ((c * j) - (x * a))
    t_3 = b * ((a * i) - (z * c))
    if (b <= (-6d-7)) then
        tmp = t_3
    else if (b <= 1.6d-250) then
        tmp = t_2
    else if (b <= 5.6d-154) then
        tmp = t_1
    else if (b <= 1d-116) then
        tmp = a * ((b * i) - (x * t))
    else if (b <= 9.8d-25) then
        tmp = t_1
    else if (b <= 9.6d+122) 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 = y * ((x * z) - (i * j));
	double t_2 = t * ((c * j) - (x * a));
	double t_3 = b * ((a * i) - (z * c));
	double tmp;
	if (b <= -6e-7) {
		tmp = t_3;
	} else if (b <= 1.6e-250) {
		tmp = t_2;
	} else if (b <= 5.6e-154) {
		tmp = t_1;
	} else if (b <= 1e-116) {
		tmp = a * ((b * i) - (x * t));
	} else if (b <= 9.8e-25) {
		tmp = t_1;
	} else if (b <= 9.6e+122) {
		tmp = t_2;
	} 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 = t * ((c * j) - (x * a))
	t_3 = b * ((a * i) - (z * c))
	tmp = 0
	if b <= -6e-7:
		tmp = t_3
	elif b <= 1.6e-250:
		tmp = t_2
	elif b <= 5.6e-154:
		tmp = t_1
	elif b <= 1e-116:
		tmp = a * ((b * i) - (x * t))
	elif b <= 9.8e-25:
		tmp = t_1
	elif b <= 9.6e+122:
		tmp = t_2
	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(t * Float64(Float64(c * j) - Float64(x * a)))
	t_3 = Float64(b * Float64(Float64(a * i) - Float64(z * c)))
	tmp = 0.0
	if (b <= -6e-7)
		tmp = t_3;
	elseif (b <= 1.6e-250)
		tmp = t_2;
	elseif (b <= 5.6e-154)
		tmp = t_1;
	elseif (b <= 1e-116)
		tmp = Float64(a * Float64(Float64(b * i) - Float64(x * t)));
	elseif (b <= 9.8e-25)
		tmp = t_1;
	elseif (b <= 9.6e+122)
		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 = y * ((x * z) - (i * j));
	t_2 = t * ((c * j) - (x * a));
	t_3 = b * ((a * i) - (z * c));
	tmp = 0.0;
	if (b <= -6e-7)
		tmp = t_3;
	elseif (b <= 1.6e-250)
		tmp = t_2;
	elseif (b <= 5.6e-154)
		tmp = t_1;
	elseif (b <= 1e-116)
		tmp = a * ((b * i) - (x * t));
	elseif (b <= 9.8e-25)
		tmp = t_1;
	elseif (b <= 9.6e+122)
		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[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -6e-7], t$95$3, If[LessEqual[b, 1.6e-250], t$95$2, If[LessEqual[b, 5.6e-154], t$95$1, If[LessEqual[b, 1e-116], N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 9.8e-25], t$95$1, If[LessEqual[b, 9.6e+122], t$95$2, t$95$3]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;b \leq 1.6 \cdot 10^{-250}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;b \leq 5.6 \cdot 10^{-154}:\\
\;\;\;\;t_1\\

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

\mathbf{elif}\;b \leq 9.8 \cdot 10^{-25}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;b \leq 9.6 \cdot 10^{+122}:\\
\;\;\;\;t_2\\

\mathbf{else}:\\
\;\;\;\;t_3\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if b < -5.9999999999999997e-7 or 9.6000000000000007e122 < b

    1. Initial program 72.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. cancel-sign-sub72.5%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv72.5%

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

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

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

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

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

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

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

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

    if -5.9999999999999997e-7 < b < 1.60000000000000002e-250 or 9.7999999999999998e-25 < b < 9.6000000000000007e122

    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. sub-neg72.7%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+72.7%

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \left(-\color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right)\right)\right) \]
      14. distribute-neg-in74.4%

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

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

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

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

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

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

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} \]
    6. Simplified55.1%

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

    if 1.60000000000000002e-250 < b < 5.60000000000000025e-154 or 9.9999999999999999e-117 < b < 9.7999999999999998e-25

    1. Initial program 76.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. sub-neg76.3%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+76.3%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto y \cdot \left(z \cdot x + \color{blue}{\left(-i \cdot j\right)}\right) \]
      5. unsub-neg67.7%

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

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

    if 5.60000000000000025e-154 < b < 9.9999999999999999e-117

    1. Initial program 60.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. sub-neg60.7%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+60.7%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + i \cdot b\right)} \]
    5. Step-by-step derivation
      1. +-commutative72.4%

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

        \[\leadsto a \cdot \left(i \cdot b + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg72.4%

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

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification63.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -6 \cdot 10^{-7}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;b \leq 1.6 \cdot 10^{-250}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;b \leq 5.6 \cdot 10^{-154}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;b \leq 10^{-116}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;b \leq 9.8 \cdot 10^{-25}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;b \leq 9.6 \cdot 10^{+122}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \end{array} \]

Alternative 15: 30.7% accurate, 1.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(t \cdot j\right)\\ t_2 := b \cdot \left(a \cdot i\right)\\ \mathbf{if}\;i \leq -5 \cdot 10^{+76}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;i \leq -1.65 \cdot 10^{-49}:\\ \;\;\;\;t \cdot \left(x \cdot \left(-a\right)\right)\\ \mathbf{elif}\;i \leq -2.6 \cdot 10^{-73}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;i \leq -6.8 \cdot 10^{-192}:\\ \;\;\;\;c \cdot \left(-z \cdot b\right)\\ \mathbf{elif}\;i \leq -7.5 \cdot 10^{-277}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;i \leq 8.8 \cdot 10^{-66}:\\ \;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\ \mathbf{elif}\;i \leq 1.4 \cdot 10^{+79}:\\ \;\;\;\;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 (* c (* t j))) (t_2 (* b (* a i))))
   (if (<= i -5e+76)
     t_2
     (if (<= i -1.65e-49)
       (* t (* x (- a)))
       (if (<= i -2.6e-73)
         t_1
         (if (<= i -6.8e-192)
           (* c (- (* z b)))
           (if (<= i -7.5e-277)
             (* j (* t c))
             (if (<= i 8.8e-66)
               (* a (* t (- x)))
               (if (<= i 1.4e+79) 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 = c * (t * j);
	double t_2 = b * (a * i);
	double tmp;
	if (i <= -5e+76) {
		tmp = t_2;
	} else if (i <= -1.65e-49) {
		tmp = t * (x * -a);
	} else if (i <= -2.6e-73) {
		tmp = t_1;
	} else if (i <= -6.8e-192) {
		tmp = c * -(z * b);
	} else if (i <= -7.5e-277) {
		tmp = j * (t * c);
	} else if (i <= 8.8e-66) {
		tmp = a * (t * -x);
	} else if (i <= 1.4e+79) {
		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 = c * (t * j)
    t_2 = b * (a * i)
    if (i <= (-5d+76)) then
        tmp = t_2
    else if (i <= (-1.65d-49)) then
        tmp = t * (x * -a)
    else if (i <= (-2.6d-73)) then
        tmp = t_1
    else if (i <= (-6.8d-192)) then
        tmp = c * -(z * b)
    else if (i <= (-7.5d-277)) then
        tmp = j * (t * c)
    else if (i <= 8.8d-66) then
        tmp = a * (t * -x)
    else if (i <= 1.4d+79) 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 = c * (t * j);
	double t_2 = b * (a * i);
	double tmp;
	if (i <= -5e+76) {
		tmp = t_2;
	} else if (i <= -1.65e-49) {
		tmp = t * (x * -a);
	} else if (i <= -2.6e-73) {
		tmp = t_1;
	} else if (i <= -6.8e-192) {
		tmp = c * -(z * b);
	} else if (i <= -7.5e-277) {
		tmp = j * (t * c);
	} else if (i <= 8.8e-66) {
		tmp = a * (t * -x);
	} else if (i <= 1.4e+79) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = c * (t * j)
	t_2 = b * (a * i)
	tmp = 0
	if i <= -5e+76:
		tmp = t_2
	elif i <= -1.65e-49:
		tmp = t * (x * -a)
	elif i <= -2.6e-73:
		tmp = t_1
	elif i <= -6.8e-192:
		tmp = c * -(z * b)
	elif i <= -7.5e-277:
		tmp = j * (t * c)
	elif i <= 8.8e-66:
		tmp = a * (t * -x)
	elif i <= 1.4e+79:
		tmp = t_1
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(c * Float64(t * j))
	t_2 = Float64(b * Float64(a * i))
	tmp = 0.0
	if (i <= -5e+76)
		tmp = t_2;
	elseif (i <= -1.65e-49)
		tmp = Float64(t * Float64(x * Float64(-a)));
	elseif (i <= -2.6e-73)
		tmp = t_1;
	elseif (i <= -6.8e-192)
		tmp = Float64(c * Float64(-Float64(z * b)));
	elseif (i <= -7.5e-277)
		tmp = Float64(j * Float64(t * c));
	elseif (i <= 8.8e-66)
		tmp = Float64(a * Float64(t * Float64(-x)));
	elseif (i <= 1.4e+79)
		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 = c * (t * j);
	t_2 = b * (a * i);
	tmp = 0.0;
	if (i <= -5e+76)
		tmp = t_2;
	elseif (i <= -1.65e-49)
		tmp = t * (x * -a);
	elseif (i <= -2.6e-73)
		tmp = t_1;
	elseif (i <= -6.8e-192)
		tmp = c * -(z * b);
	elseif (i <= -7.5e-277)
		tmp = j * (t * c);
	elseif (i <= 8.8e-66)
		tmp = a * (t * -x);
	elseif (i <= 1.4e+79)
		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[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -5e+76], t$95$2, If[LessEqual[i, -1.65e-49], N[(t * N[(x * (-a)), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -2.6e-73], t$95$1, If[LessEqual[i, -6.8e-192], N[(c * (-N[(z * b), $MachinePrecision])), $MachinePrecision], If[LessEqual[i, -7.5e-277], N[(j * N[(t * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 8.8e-66], N[(a * N[(t * (-x)), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.4e+79], t$95$1, t$95$2]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;i \leq -1.65 \cdot 10^{-49}:\\
\;\;\;\;t \cdot \left(x \cdot \left(-a\right)\right)\\

\mathbf{elif}\;i \leq -2.6 \cdot 10^{-73}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;i \leq -6.8 \cdot 10^{-192}:\\
\;\;\;\;c \cdot \left(-z \cdot b\right)\\

\mathbf{elif}\;i \leq -7.5 \cdot 10^{-277}:\\
\;\;\;\;j \cdot \left(t \cdot c\right)\\

\mathbf{elif}\;i \leq 8.8 \cdot 10^{-66}:\\
\;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\

\mathbf{elif}\;i \leq 1.4 \cdot 10^{+79}:\\
\;\;\;\;t_1\\

\mathbf{else}:\\
\;\;\;\;t_2\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if i < -4.99999999999999991e76 or 1.4000000000000001e79 < i

    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. Step-by-step derivation
      1. cancel-sign-sub63.4%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv63.4%

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

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

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      5. remove-double-neg63.4%

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

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

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

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

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

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Taylor expanded in c around 0 45.7%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j - z \cdot b\right) + a \cdot \left(i \cdot b\right)} \]
    7. Taylor expanded in c around 0 43.4%

      \[\leadsto \color{blue}{i \cdot \left(a \cdot b\right)} \]
    8. Step-by-step derivation
      1. *-commutative43.4%

        \[\leadsto \color{blue}{\left(a \cdot b\right) \cdot i} \]
      2. *-commutative43.4%

        \[\leadsto \color{blue}{\left(b \cdot a\right)} \cdot i \]
      3. associate-*r*44.3%

        \[\leadsto \color{blue}{b \cdot \left(a \cdot i\right)} \]
    9. Simplified44.3%

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

    if -4.99999999999999991e76 < i < -1.65e-49

    1. Initial program 77.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. sub-neg77.6%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+77.6%

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \left(-\color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right)\right)\right) \]
      14. distribute-neg-in77.6%

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

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

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

      \[\leadsto \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right) \cdot t} \]
    5. Step-by-step derivation
      1. *-commutative42.4%

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

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

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

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - a \cdot x\right)} \]
    7. Taylor expanded in c around 0 29.0%

      \[\leadsto t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right)} \]
    8. Step-by-step derivation
      1. neg-mul-129.0%

        \[\leadsto t \cdot \color{blue}{\left(-a \cdot x\right)} \]
      2. distribute-rgt-neg-in29.0%

        \[\leadsto t \cdot \color{blue}{\left(a \cdot \left(-x\right)\right)} \]
    9. Simplified29.0%

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

    if -1.65e-49 < i < -2.6000000000000001e-73 or 8.8000000000000004e-66 < i < 1.4000000000000001e79

    1. Initial program 69.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. +-commutative69.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-def69.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. *-commutative69.4%

        \[\leadsto \mathsf{fma}\left(j, c \cdot t - \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) \]
      4. *-commutative69.4%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - 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. *-commutative69.4%

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

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

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

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

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

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

    if -2.6000000000000001e-73 < i < -6.80000000000000003e-192

    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. Step-by-step derivation
      1. cancel-sign-sub81.3%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv81.3%

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

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

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      5. remove-double-neg81.3%

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

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

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

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

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

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(b \cdot z\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg40.2%

        \[\leadsto \color{blue}{-c \cdot \left(b \cdot z\right)} \]
      2. distribute-rgt-neg-in40.2%

        \[\leadsto \color{blue}{c \cdot \left(-b \cdot z\right)} \]
    7. Simplified40.2%

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

    if -6.80000000000000003e-192 < i < -7.49999999999999971e-277

    1. Initial program 98.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. cancel-sign-sub98.5%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv98.5%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right)} \]
    6. Step-by-step derivation
      1. *-commutative55.2%

        \[\leadsto \color{blue}{\left(t \cdot j\right) \cdot c} \]
      2. *-commutative55.2%

        \[\leadsto \color{blue}{\left(j \cdot t\right)} \cdot c \]
      3. associate-*l*65.8%

        \[\leadsto \color{blue}{j \cdot \left(t \cdot c\right)} \]
    7. Simplified65.8%

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

    if -7.49999999999999971e-277 < i < 8.8000000000000004e-66

    1. Initial program 79.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. sub-neg79.2%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+79.2%

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \left(-\color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right)\right)\right) \]
      14. distribute-neg-in79.2%

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

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

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

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + i \cdot b\right)} \]
    5. Step-by-step derivation
      1. +-commutative43.8%

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

        \[\leadsto a \cdot \left(i \cdot b + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg43.8%

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

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]
    7. Taylor expanded in i around 0 41.8%

      \[\leadsto a \cdot \color{blue}{\left(-1 \cdot \left(t \cdot x\right)\right)} \]
    8. Step-by-step derivation
      1. mul-1-neg41.8%

        \[\leadsto a \cdot \color{blue}{\left(-t \cdot x\right)} \]
      2. distribute-lft-neg-out41.8%

        \[\leadsto a \cdot \color{blue}{\left(\left(-t\right) \cdot x\right)} \]
      3. *-commutative41.8%

        \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(-t\right)\right)} \]
    9. Simplified41.8%

      \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(-t\right)\right)} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification43.0%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -5 \cdot 10^{+76}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;i \leq -1.65 \cdot 10^{-49}:\\ \;\;\;\;t \cdot \left(x \cdot \left(-a\right)\right)\\ \mathbf{elif}\;i \leq -2.6 \cdot 10^{-73}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;i \leq -6.8 \cdot 10^{-192}:\\ \;\;\;\;c \cdot \left(-z \cdot b\right)\\ \mathbf{elif}\;i \leq -7.5 \cdot 10^{-277}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;i \leq 8.8 \cdot 10^{-66}:\\ \;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\ \mathbf{elif}\;i \leq 1.4 \cdot 10^{+79}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \end{array} \]

Alternative 16: 52.9% accurate, 1.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := t \cdot \left(c \cdot j - x \cdot a\right)\\ t_2 := i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{if}\;i \leq -1.06 \cdot 10^{+77}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;i \leq -3 \cdot 10^{+66}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;i \leq -9 \cdot 10^{-48}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;i \leq -5.6 \cdot 10^{-282}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{elif}\;i \leq 7.2 \cdot 10^{+53}:\\ \;\;\;\;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 (* t (- (* c j) (* x a)))) (t_2 (* i (- (* a b) (* y j)))))
   (if (<= i -1.06e+77)
     t_2
     (if (<= i -3e+66)
       t_1
       (if (<= i -9e-48)
         (* y (- (* x z) (* i j)))
         (if (<= i -5.6e-282)
           (* c (- (* t j) (* z b)))
           (if (<= i 7.2e+53) 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 = t * ((c * j) - (x * a));
	double t_2 = i * ((a * b) - (y * j));
	double tmp;
	if (i <= -1.06e+77) {
		tmp = t_2;
	} else if (i <= -3e+66) {
		tmp = t_1;
	} else if (i <= -9e-48) {
		tmp = y * ((x * z) - (i * j));
	} else if (i <= -5.6e-282) {
		tmp = c * ((t * j) - (z * b));
	} else if (i <= 7.2e+53) {
		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 = t * ((c * j) - (x * a))
    t_2 = i * ((a * b) - (y * j))
    if (i <= (-1.06d+77)) then
        tmp = t_2
    else if (i <= (-3d+66)) then
        tmp = t_1
    else if (i <= (-9d-48)) then
        tmp = y * ((x * z) - (i * j))
    else if (i <= (-5.6d-282)) then
        tmp = c * ((t * j) - (z * b))
    else if (i <= 7.2d+53) 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 = t * ((c * j) - (x * a));
	double t_2 = i * ((a * b) - (y * j));
	double tmp;
	if (i <= -1.06e+77) {
		tmp = t_2;
	} else if (i <= -3e+66) {
		tmp = t_1;
	} else if (i <= -9e-48) {
		tmp = y * ((x * z) - (i * j));
	} else if (i <= -5.6e-282) {
		tmp = c * ((t * j) - (z * b));
	} else if (i <= 7.2e+53) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = t * ((c * j) - (x * a))
	t_2 = i * ((a * b) - (y * j))
	tmp = 0
	if i <= -1.06e+77:
		tmp = t_2
	elif i <= -3e+66:
		tmp = t_1
	elif i <= -9e-48:
		tmp = y * ((x * z) - (i * j))
	elif i <= -5.6e-282:
		tmp = c * ((t * j) - (z * b))
	elif i <= 7.2e+53:
		tmp = t_1
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(t * Float64(Float64(c * j) - Float64(x * a)))
	t_2 = Float64(i * Float64(Float64(a * b) - Float64(y * j)))
	tmp = 0.0
	if (i <= -1.06e+77)
		tmp = t_2;
	elseif (i <= -3e+66)
		tmp = t_1;
	elseif (i <= -9e-48)
		tmp = Float64(y * Float64(Float64(x * z) - Float64(i * j)));
	elseif (i <= -5.6e-282)
		tmp = Float64(c * Float64(Float64(t * j) - Float64(z * b)));
	elseif (i <= 7.2e+53)
		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 = t * ((c * j) - (x * a));
	t_2 = i * ((a * b) - (y * j));
	tmp = 0.0;
	if (i <= -1.06e+77)
		tmp = t_2;
	elseif (i <= -3e+66)
		tmp = t_1;
	elseif (i <= -9e-48)
		tmp = y * ((x * z) - (i * j));
	elseif (i <= -5.6e-282)
		tmp = c * ((t * j) - (z * b));
	elseif (i <= 7.2e+53)
		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[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(i * N[(N[(a * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -1.06e+77], t$95$2, If[LessEqual[i, -3e+66], t$95$1, If[LessEqual[i, -9e-48], N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -5.6e-282], N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 7.2e+53], t$95$1, t$95$2]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;i \leq -3 \cdot 10^{+66}:\\
\;\;\;\;t_1\\

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

\mathbf{elif}\;i \leq -5.6 \cdot 10^{-282}:\\
\;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\

\mathbf{elif}\;i \leq 7.2 \cdot 10^{+53}:\\
\;\;\;\;t_1\\

\mathbf{else}:\\
\;\;\;\;t_2\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if i < -1.06000000000000003e77 or 7.2e53 < i

    1. Initial program 62.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. cancel-sign-sub62.8%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv62.8%

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

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

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

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

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

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

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

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

    if -1.06000000000000003e77 < i < -3.00000000000000002e66 or -5.5999999999999998e-282 < i < 7.2e53

    1. Initial program 75.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. sub-neg75.6%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+75.6%

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \left(-\color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right)\right)\right) \]
      14. distribute-neg-in77.9%

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

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

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

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

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

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

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

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

    if -3.00000000000000002e66 < i < -8.99999999999999977e-48

    1. Initial program 82.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. sub-neg82.8%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+82.8%

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

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

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

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

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, \color{blue}{t \cdot c}\right), -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      12. distribute-rgt-neg-in82.8%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), \color{blue}{b \cdot \left(-\left(c \cdot z - i \cdot a\right)\right)}\right)\right) \]
      13. sub-neg82.8%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \left(-\color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right)\right)\right) \]
      14. distribute-neg-in82.8%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \color{blue}{\left(\left(-c \cdot z\right) + \left(-\left(-i \cdot a\right)\right)\right)}\right)\right) \]
      15. unsub-neg82.8%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \color{blue}{\left(\left(-c \cdot z\right) - \left(-i \cdot a\right)\right)}\right)\right) \]
    3. Simplified82.8%

      \[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \mathsf{fma}\left(c, -z, a \cdot i\right)\right)\right)} \]
    4. Taylor expanded in y around inf 65.2%

      \[\leadsto \color{blue}{\left(z \cdot x + -1 \cdot \left(i \cdot j\right)\right) \cdot y} \]
    5. Step-by-step derivation
      1. +-commutative65.2%

        \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot j\right) + z \cdot x\right)} \cdot y \]
      2. *-commutative65.2%

        \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + z \cdot x\right)} \]
      3. +-commutative65.2%

        \[\leadsto y \cdot \color{blue}{\left(z \cdot x + -1 \cdot \left(i \cdot j\right)\right)} \]
      4. mul-1-neg65.2%

        \[\leadsto y \cdot \left(z \cdot x + \color{blue}{\left(-i \cdot j\right)}\right) \]
      5. unsub-neg65.2%

        \[\leadsto y \cdot \color{blue}{\left(z \cdot x - i \cdot j\right)} \]
    6. Simplified65.2%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right)} \]

    if -8.99999999999999977e-48 < i < -5.5999999999999998e-282

    1. Initial program 85.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. +-commutative85.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-def85.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. *-commutative85.9%

        \[\leadsto \mathsf{fma}\left(j, c \cdot t - \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) \]
      4. *-commutative85.9%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - 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. *-commutative85.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - \color{blue}{a \cdot i}\right)\right) \]
      6. *-commutative85.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) \]
    3. Simplified85.9%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Taylor expanded in c around inf 61.7%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j - b \cdot z\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification63.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -1.06 \cdot 10^{+77}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \mathbf{elif}\;i \leq -3 \cdot 10^{+66}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;i \leq -9 \cdot 10^{-48}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;i \leq -5.6 \cdot 10^{-282}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{elif}\;i \leq 7.2 \cdot 10^{+53}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \end{array} \]

Alternative 17: 30.1% accurate, 1.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(a \cdot i\right)\\ \mathbf{if}\;i \leq -1.32 \cdot 10^{+122}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;i \leq -1.5 \cdot 10^{-191}:\\ \;\;\;\;c \cdot \left(-z \cdot b\right)\\ \mathbf{elif}\;i \leq -5 \cdot 10^{-274}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;i \leq 9 \cdot 10^{-66}:\\ \;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\ \mathbf{elif}\;i \leq 1.55 \cdot 10^{+53}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;i \leq 1.55 \cdot 10^{+180}:\\ \;\;\;\;\left(i \cdot j\right) \cdot \left(-y\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))))
   (if (<= i -1.32e+122)
     t_1
     (if (<= i -1.5e-191)
       (* c (- (* z b)))
       (if (<= i -5e-274)
         (* j (* t c))
         (if (<= i 9e-66)
           (* a (* t (- x)))
           (if (<= i 1.55e+53)
             (* c (* t j))
             (if (<= i 1.55e+180) (* (* i j) (- y)) 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);
	double tmp;
	if (i <= -1.32e+122) {
		tmp = t_1;
	} else if (i <= -1.5e-191) {
		tmp = c * -(z * b);
	} else if (i <= -5e-274) {
		tmp = j * (t * c);
	} else if (i <= 9e-66) {
		tmp = a * (t * -x);
	} else if (i <= 1.55e+53) {
		tmp = c * (t * j);
	} else if (i <= 1.55e+180) {
		tmp = (i * j) * -y;
	} 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)
    if (i <= (-1.32d+122)) then
        tmp = t_1
    else if (i <= (-1.5d-191)) then
        tmp = c * -(z * b)
    else if (i <= (-5d-274)) then
        tmp = j * (t * c)
    else if (i <= 9d-66) then
        tmp = a * (t * -x)
    else if (i <= 1.55d+53) then
        tmp = c * (t * j)
    else if (i <= 1.55d+180) then
        tmp = (i * j) * -y
    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);
	double tmp;
	if (i <= -1.32e+122) {
		tmp = t_1;
	} else if (i <= -1.5e-191) {
		tmp = c * -(z * b);
	} else if (i <= -5e-274) {
		tmp = j * (t * c);
	} else if (i <= 9e-66) {
		tmp = a * (t * -x);
	} else if (i <= 1.55e+53) {
		tmp = c * (t * j);
	} else if (i <= 1.55e+180) {
		tmp = (i * j) * -y;
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = b * (a * i)
	tmp = 0
	if i <= -1.32e+122:
		tmp = t_1
	elif i <= -1.5e-191:
		tmp = c * -(z * b)
	elif i <= -5e-274:
		tmp = j * (t * c)
	elif i <= 9e-66:
		tmp = a * (t * -x)
	elif i <= 1.55e+53:
		tmp = c * (t * j)
	elif i <= 1.55e+180:
		tmp = (i * j) * -y
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(b * Float64(a * i))
	tmp = 0.0
	if (i <= -1.32e+122)
		tmp = t_1;
	elseif (i <= -1.5e-191)
		tmp = Float64(c * Float64(-Float64(z * b)));
	elseif (i <= -5e-274)
		tmp = Float64(j * Float64(t * c));
	elseif (i <= 9e-66)
		tmp = Float64(a * Float64(t * Float64(-x)));
	elseif (i <= 1.55e+53)
		tmp = Float64(c * Float64(t * j));
	elseif (i <= 1.55e+180)
		tmp = Float64(Float64(i * j) * Float64(-y));
	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);
	tmp = 0.0;
	if (i <= -1.32e+122)
		tmp = t_1;
	elseif (i <= -1.5e-191)
		tmp = c * -(z * b);
	elseif (i <= -5e-274)
		tmp = j * (t * c);
	elseif (i <= 9e-66)
		tmp = a * (t * -x);
	elseif (i <= 1.55e+53)
		tmp = c * (t * j);
	elseif (i <= 1.55e+180)
		tmp = (i * j) * -y;
	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[(a * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -1.32e+122], t$95$1, If[LessEqual[i, -1.5e-191], N[(c * (-N[(z * b), $MachinePrecision])), $MachinePrecision], If[LessEqual[i, -5e-274], N[(j * N[(t * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 9e-66], N[(a * N[(t * (-x)), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.55e+53], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.55e+180], N[(N[(i * j), $MachinePrecision] * (-y)), $MachinePrecision], t$95$1]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(a \cdot i\right)\\
\mathbf{if}\;i \leq -1.32 \cdot 10^{+122}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;i \leq -1.5 \cdot 10^{-191}:\\
\;\;\;\;c \cdot \left(-z \cdot b\right)\\

\mathbf{elif}\;i \leq -5 \cdot 10^{-274}:\\
\;\;\;\;j \cdot \left(t \cdot c\right)\\

\mathbf{elif}\;i \leq 9 \cdot 10^{-66}:\\
\;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\

\mathbf{elif}\;i \leq 1.55 \cdot 10^{+53}:\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\

\mathbf{elif}\;i \leq 1.55 \cdot 10^{+180}:\\
\;\;\;\;\left(i \cdot j\right) \cdot \left(-y\right)\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if i < -1.31999999999999992e122 or 1.54999999999999999e180 < i

    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. Step-by-step derivation
      1. cancel-sign-sub57.4%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv57.4%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      3. *-commutative57.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - \color{blue}{a \cdot i}\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      4. *-commutative57.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      5. remove-double-neg57.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + \color{blue}{j} \cdot \left(c \cdot t - i \cdot y\right) \]
      6. *-commutative57.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(\color{blue}{t \cdot c} - i \cdot y\right) \]
      7. *-commutative57.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - \color{blue}{y \cdot i}\right) \]
    3. Simplified57.4%

      \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)} \]
    4. Taylor expanded in x around 0 58.9%

      \[\leadsto \color{blue}{\left(c \cdot t - y \cdot i\right) \cdot j - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    5. Taylor expanded in y around 0 61.9%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Taylor expanded in c around 0 51.3%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j - z \cdot b\right) + a \cdot \left(i \cdot b\right)} \]
    7. Taylor expanded in c around 0 49.4%

      \[\leadsto \color{blue}{i \cdot \left(a \cdot b\right)} \]
    8. Step-by-step derivation
      1. *-commutative49.4%

        \[\leadsto \color{blue}{\left(a \cdot b\right) \cdot i} \]
      2. *-commutative49.4%

        \[\leadsto \color{blue}{\left(b \cdot a\right)} \cdot i \]
      3. associate-*r*50.9%

        \[\leadsto \color{blue}{b \cdot \left(a \cdot i\right)} \]
    9. Simplified50.9%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i\right)} \]

    if -1.31999999999999992e122 < i < -1.5e-191

    1. Initial program 80.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. cancel-sign-sub80.4%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv80.4%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      3. *-commutative80.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - \color{blue}{a \cdot i}\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      4. *-commutative80.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      5. remove-double-neg80.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + \color{blue}{j} \cdot \left(c \cdot t - i \cdot y\right) \]
      6. *-commutative80.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(\color{blue}{t \cdot c} - i \cdot y\right) \]
      7. *-commutative80.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - \color{blue}{y \cdot i}\right) \]
    3. Simplified80.4%

      \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)} \]
    4. Taylor expanded in x around 0 58.1%

      \[\leadsto \color{blue}{\left(c \cdot t - y \cdot i\right) \cdot j - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    5. Taylor expanded in z around inf 28.7%

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(b \cdot z\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg28.7%

        \[\leadsto \color{blue}{-c \cdot \left(b \cdot z\right)} \]
      2. distribute-rgt-neg-in28.7%

        \[\leadsto \color{blue}{c \cdot \left(-b \cdot z\right)} \]
    7. Simplified28.7%

      \[\leadsto \color{blue}{c \cdot \left(-b \cdot z\right)} \]

    if -1.5e-191 < i < -5e-274

    1. Initial program 98.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. cancel-sign-sub98.5%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv98.5%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      3. *-commutative98.5%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - \color{blue}{a \cdot i}\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      4. *-commutative98.5%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      5. remove-double-neg98.5%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + \color{blue}{j} \cdot \left(c \cdot t - i \cdot y\right) \]
      6. *-commutative98.5%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(\color{blue}{t \cdot c} - i \cdot y\right) \]
      7. *-commutative98.5%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - \color{blue}{y \cdot i}\right) \]
    3. Simplified98.5%

      \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)} \]
    4. Taylor expanded in b around 0 81.3%

      \[\leadsto \color{blue}{\left(c \cdot t - y \cdot i\right) \cdot j + \left(y \cdot z - a \cdot t\right) \cdot x} \]
    5. Taylor expanded in c around inf 55.2%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right)} \]
    6. Step-by-step derivation
      1. *-commutative55.2%

        \[\leadsto \color{blue}{\left(t \cdot j\right) \cdot c} \]
      2. *-commutative55.2%

        \[\leadsto \color{blue}{\left(j \cdot t\right)} \cdot c \]
      3. associate-*l*65.8%

        \[\leadsto \color{blue}{j \cdot \left(t \cdot c\right)} \]
    7. Simplified65.8%

      \[\leadsto \color{blue}{j \cdot \left(t \cdot c\right)} \]

    if -5e-274 < i < 8.9999999999999995e-66

    1. Initial program 79.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. sub-neg79.2%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+79.2%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(\left(-b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\right)} \]
      3. fma-def79.2%

        \[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\right)} \]
      4. +-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)}\right) \]
      5. fma-def79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{\mathsf{fma}\left(j, c \cdot t - i \cdot y, -b \cdot \left(c \cdot z - i \cdot a\right)\right)}\right) \]
      6. sub-neg79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{c \cdot t + \left(-i \cdot y\right)}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      7. +-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{\left(-i \cdot y\right) + c \cdot t}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      8. *-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \left(-\color{blue}{y \cdot i}\right) + c \cdot t, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      9. distribute-rgt-neg-in79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{y \cdot \left(-i\right)} + c \cdot t, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      10. fma-def79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{\mathsf{fma}\left(y, -i, c \cdot t\right)}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      11. *-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, \color{blue}{t \cdot c}\right), -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      12. distribute-rgt-neg-in79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), \color{blue}{b \cdot \left(-\left(c \cdot z - i \cdot a\right)\right)}\right)\right) \]
      13. sub-neg79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \left(-\color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right)\right)\right) \]
      14. distribute-neg-in79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \color{blue}{\left(\left(-c \cdot z\right) + \left(-\left(-i \cdot a\right)\right)\right)}\right)\right) \]
      15. unsub-neg79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \color{blue}{\left(\left(-c \cdot z\right) - \left(-i \cdot a\right)\right)}\right)\right) \]
    3. Simplified79.2%

      \[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \mathsf{fma}\left(c, -z, a \cdot i\right)\right)\right)} \]
    4. Taylor expanded in a around inf 43.8%

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + i \cdot b\right)} \]
    5. Step-by-step derivation
      1. +-commutative43.8%

        \[\leadsto a \cdot \color{blue}{\left(i \cdot b + -1 \cdot \left(t \cdot x\right)\right)} \]
      2. mul-1-neg43.8%

        \[\leadsto a \cdot \left(i \cdot b + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg43.8%

        \[\leadsto a \cdot \color{blue}{\left(i \cdot b - t \cdot x\right)} \]
    6. Simplified43.8%

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]
    7. Taylor expanded in i around 0 41.8%

      \[\leadsto a \cdot \color{blue}{\left(-1 \cdot \left(t \cdot x\right)\right)} \]
    8. Step-by-step derivation
      1. mul-1-neg41.8%

        \[\leadsto a \cdot \color{blue}{\left(-t \cdot x\right)} \]
      2. distribute-lft-neg-out41.8%

        \[\leadsto a \cdot \color{blue}{\left(\left(-t\right) \cdot x\right)} \]
      3. *-commutative41.8%

        \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(-t\right)\right)} \]
    9. Simplified41.8%

      \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(-t\right)\right)} \]

    if 8.9999999999999995e-66 < i < 1.5500000000000001e53

    1. Initial program 72.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. +-commutative72.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-def72.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. *-commutative72.5%

        \[\leadsto \mathsf{fma}\left(j, c \cdot t - \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) \]
      4. *-commutative72.5%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - 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. *-commutative72.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - \color{blue}{a \cdot i}\right)\right) \]
      6. *-commutative72.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) \]
    3. Simplified72.5%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Taylor expanded in t around 0 75.9%

      \[\leadsto \color{blue}{\left(\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right) \cdot t + \left(-1 \cdot \left(y \cdot \left(i \cdot j\right)\right) + y \cdot \left(z \cdot x\right)\right)\right) - \left(c \cdot z - i \cdot a\right) \cdot b} \]
    5. Taylor expanded in y around 0 65.4%

      \[\leadsto \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right) \cdot t - \left(c \cdot z - i \cdot a\right) \cdot b} \]
    6. Taylor expanded in j around inf 40.8%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right)} \]

    if 1.5500000000000001e53 < i < 1.54999999999999999e180

    1. Initial program 66.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. sub-neg66.9%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+66.9%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(\left(-b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\right)} \]
      3. fma-def76.0%

        \[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\right)} \]
      4. +-commutative76.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)}\right) \]
      5. fma-def79.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{\mathsf{fma}\left(j, c \cdot t - i \cdot y, -b \cdot \left(c \cdot z - i \cdot a\right)\right)}\right) \]
      6. sub-neg79.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{c \cdot t + \left(-i \cdot y\right)}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      7. +-commutative79.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{\left(-i \cdot y\right) + c \cdot t}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      8. *-commutative79.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \left(-\color{blue}{y \cdot i}\right) + c \cdot t, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      9. distribute-rgt-neg-in79.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{y \cdot \left(-i\right)} + c \cdot t, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      10. fma-def79.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{\mathsf{fma}\left(y, -i, c \cdot t\right)}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      11. *-commutative79.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, \color{blue}{t \cdot c}\right), -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      12. distribute-rgt-neg-in79.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), \color{blue}{b \cdot \left(-\left(c \cdot z - i \cdot a\right)\right)}\right)\right) \]
      13. sub-neg79.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \left(-\color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right)\right)\right) \]
      14. distribute-neg-in79.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \color{blue}{\left(\left(-c \cdot z\right) + \left(-\left(-i \cdot a\right)\right)\right)}\right)\right) \]
      15. unsub-neg79.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \color{blue}{\left(\left(-c \cdot z\right) - \left(-i \cdot a\right)\right)}\right)\right) \]
    3. Simplified79.0%

      \[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \mathsf{fma}\left(c, -z, a \cdot i\right)\right)\right)} \]
    4. Taylor expanded in y around inf 64.7%

      \[\leadsto \color{blue}{\left(z \cdot x + -1 \cdot \left(i \cdot j\right)\right) \cdot y} \]
    5. Step-by-step derivation
      1. +-commutative64.7%

        \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot j\right) + z \cdot x\right)} \cdot y \]
      2. *-commutative64.7%

        \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + z \cdot x\right)} \]
      3. +-commutative64.7%

        \[\leadsto y \cdot \color{blue}{\left(z \cdot x + -1 \cdot \left(i \cdot j\right)\right)} \]
      4. mul-1-neg64.7%

        \[\leadsto y \cdot \left(z \cdot x + \color{blue}{\left(-i \cdot j\right)}\right) \]
      5. unsub-neg64.7%

        \[\leadsto y \cdot \color{blue}{\left(z \cdot x - i \cdot j\right)} \]
    6. Simplified64.7%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right)} \]
    7. Taylor expanded in z around 0 52.7%

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(i \cdot j\right)\right)} \]
    8. Step-by-step derivation
      1. mul-1-neg52.7%

        \[\leadsto \color{blue}{-y \cdot \left(i \cdot j\right)} \]
      2. distribute-rgt-neg-in52.7%

        \[\leadsto \color{blue}{y \cdot \left(-i \cdot j\right)} \]
      3. distribute-rgt-neg-in52.7%

        \[\leadsto y \cdot \color{blue}{\left(i \cdot \left(-j\right)\right)} \]
    9. Simplified52.7%

      \[\leadsto \color{blue}{y \cdot \left(i \cdot \left(-j\right)\right)} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification43.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -1.32 \cdot 10^{+122}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;i \leq -1.5 \cdot 10^{-191}:\\ \;\;\;\;c \cdot \left(-z \cdot b\right)\\ \mathbf{elif}\;i \leq -5 \cdot 10^{-274}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;i \leq 9 \cdot 10^{-66}:\\ \;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\ \mathbf{elif}\;i \leq 1.55 \cdot 10^{+53}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;i \leq 1.55 \cdot 10^{+180}:\\ \;\;\;\;\left(i \cdot j\right) \cdot \left(-y\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \end{array} \]

Alternative 18: 30.0% accurate, 1.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(a \cdot i\right)\\ \mathbf{if}\;i \leq -6 \cdot 10^{+121}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;i \leq -2.8 \cdot 10^{-191}:\\ \;\;\;\;z \cdot \left(b \cdot \left(-c\right)\right)\\ \mathbf{elif}\;i \leq -5 \cdot 10^{-274}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;i \leq 8.8 \cdot 10^{-66}:\\ \;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\ \mathbf{elif}\;i \leq 2.3 \cdot 10^{+56}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;i \leq 4.9 \cdot 10^{+181}:\\ \;\;\;\;\left(i \cdot j\right) \cdot \left(-y\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))))
   (if (<= i -6e+121)
     t_1
     (if (<= i -2.8e-191)
       (* z (* b (- c)))
       (if (<= i -5e-274)
         (* j (* t c))
         (if (<= i 8.8e-66)
           (* a (* t (- x)))
           (if (<= i 2.3e+56)
             (* c (* t j))
             (if (<= i 4.9e+181) (* (* i j) (- y)) 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);
	double tmp;
	if (i <= -6e+121) {
		tmp = t_1;
	} else if (i <= -2.8e-191) {
		tmp = z * (b * -c);
	} else if (i <= -5e-274) {
		tmp = j * (t * c);
	} else if (i <= 8.8e-66) {
		tmp = a * (t * -x);
	} else if (i <= 2.3e+56) {
		tmp = c * (t * j);
	} else if (i <= 4.9e+181) {
		tmp = (i * j) * -y;
	} 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)
    if (i <= (-6d+121)) then
        tmp = t_1
    else if (i <= (-2.8d-191)) then
        tmp = z * (b * -c)
    else if (i <= (-5d-274)) then
        tmp = j * (t * c)
    else if (i <= 8.8d-66) then
        tmp = a * (t * -x)
    else if (i <= 2.3d+56) then
        tmp = c * (t * j)
    else if (i <= 4.9d+181) then
        tmp = (i * j) * -y
    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);
	double tmp;
	if (i <= -6e+121) {
		tmp = t_1;
	} else if (i <= -2.8e-191) {
		tmp = z * (b * -c);
	} else if (i <= -5e-274) {
		tmp = j * (t * c);
	} else if (i <= 8.8e-66) {
		tmp = a * (t * -x);
	} else if (i <= 2.3e+56) {
		tmp = c * (t * j);
	} else if (i <= 4.9e+181) {
		tmp = (i * j) * -y;
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = b * (a * i)
	tmp = 0
	if i <= -6e+121:
		tmp = t_1
	elif i <= -2.8e-191:
		tmp = z * (b * -c)
	elif i <= -5e-274:
		tmp = j * (t * c)
	elif i <= 8.8e-66:
		tmp = a * (t * -x)
	elif i <= 2.3e+56:
		tmp = c * (t * j)
	elif i <= 4.9e+181:
		tmp = (i * j) * -y
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(b * Float64(a * i))
	tmp = 0.0
	if (i <= -6e+121)
		tmp = t_1;
	elseif (i <= -2.8e-191)
		tmp = Float64(z * Float64(b * Float64(-c)));
	elseif (i <= -5e-274)
		tmp = Float64(j * Float64(t * c));
	elseif (i <= 8.8e-66)
		tmp = Float64(a * Float64(t * Float64(-x)));
	elseif (i <= 2.3e+56)
		tmp = Float64(c * Float64(t * j));
	elseif (i <= 4.9e+181)
		tmp = Float64(Float64(i * j) * Float64(-y));
	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);
	tmp = 0.0;
	if (i <= -6e+121)
		tmp = t_1;
	elseif (i <= -2.8e-191)
		tmp = z * (b * -c);
	elseif (i <= -5e-274)
		tmp = j * (t * c);
	elseif (i <= 8.8e-66)
		tmp = a * (t * -x);
	elseif (i <= 2.3e+56)
		tmp = c * (t * j);
	elseif (i <= 4.9e+181)
		tmp = (i * j) * -y;
	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[(a * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -6e+121], t$95$1, If[LessEqual[i, -2.8e-191], N[(z * N[(b * (-c)), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -5e-274], N[(j * N[(t * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 8.8e-66], N[(a * N[(t * (-x)), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.3e+56], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 4.9e+181], N[(N[(i * j), $MachinePrecision] * (-y)), $MachinePrecision], t$95$1]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(a \cdot i\right)\\
\mathbf{if}\;i \leq -6 \cdot 10^{+121}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;i \leq -2.8 \cdot 10^{-191}:\\
\;\;\;\;z \cdot \left(b \cdot \left(-c\right)\right)\\

\mathbf{elif}\;i \leq -5 \cdot 10^{-274}:\\
\;\;\;\;j \cdot \left(t \cdot c\right)\\

\mathbf{elif}\;i \leq 8.8 \cdot 10^{-66}:\\
\;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\

\mathbf{elif}\;i \leq 2.3 \cdot 10^{+56}:\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\

\mathbf{elif}\;i \leq 4.9 \cdot 10^{+181}:\\
\;\;\;\;\left(i \cdot j\right) \cdot \left(-y\right)\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if i < -6.0000000000000005e121 or 4.89999999999999981e181 < i

    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. Step-by-step derivation
      1. cancel-sign-sub57.4%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv57.4%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      3. *-commutative57.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - \color{blue}{a \cdot i}\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      4. *-commutative57.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      5. remove-double-neg57.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + \color{blue}{j} \cdot \left(c \cdot t - i \cdot y\right) \]
      6. *-commutative57.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(\color{blue}{t \cdot c} - i \cdot y\right) \]
      7. *-commutative57.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - \color{blue}{y \cdot i}\right) \]
    3. Simplified57.4%

      \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)} \]
    4. Taylor expanded in x around 0 58.9%

      \[\leadsto \color{blue}{\left(c \cdot t - y \cdot i\right) \cdot j - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    5. Taylor expanded in y around 0 61.9%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Taylor expanded in c around 0 51.3%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j - z \cdot b\right) + a \cdot \left(i \cdot b\right)} \]
    7. Taylor expanded in c around 0 49.4%

      \[\leadsto \color{blue}{i \cdot \left(a \cdot b\right)} \]
    8. Step-by-step derivation
      1. *-commutative49.4%

        \[\leadsto \color{blue}{\left(a \cdot b\right) \cdot i} \]
      2. *-commutative49.4%

        \[\leadsto \color{blue}{\left(b \cdot a\right)} \cdot i \]
      3. associate-*r*50.9%

        \[\leadsto \color{blue}{b \cdot \left(a \cdot i\right)} \]
    9. Simplified50.9%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i\right)} \]

    if -6.0000000000000005e121 < i < -2.80000000000000012e-191

    1. Initial program 80.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. cancel-sign-sub80.4%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv80.4%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      3. *-commutative80.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - \color{blue}{a \cdot i}\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      4. *-commutative80.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      5. remove-double-neg80.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + \color{blue}{j} \cdot \left(c \cdot t - i \cdot y\right) \]
      6. *-commutative80.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(\color{blue}{t \cdot c} - i \cdot y\right) \]
      7. *-commutative80.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - \color{blue}{y \cdot i}\right) \]
    3. Simplified80.4%

      \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)} \]
    4. Taylor expanded in x around 0 58.1%

      \[\leadsto \color{blue}{\left(c \cdot t - y \cdot i\right) \cdot j - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    5. Taylor expanded in y around 0 48.2%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Taylor expanded in c around 0 45.1%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j - z \cdot b\right) + a \cdot \left(i \cdot b\right)} \]
    7. Taylor expanded in z around inf 28.7%

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(b \cdot z\right)\right)} \]
    8. Step-by-step derivation
      1. mul-1-neg28.7%

        \[\leadsto \color{blue}{-c \cdot \left(b \cdot z\right)} \]
      2. associate-*r*31.8%

        \[\leadsto -\color{blue}{\left(c \cdot b\right) \cdot z} \]
      3. *-commutative31.8%

        \[\leadsto -\color{blue}{z \cdot \left(c \cdot b\right)} \]
      4. distribute-rgt-neg-in31.8%

        \[\leadsto \color{blue}{z \cdot \left(-c \cdot b\right)} \]
      5. distribute-rgt-neg-in31.8%

        \[\leadsto z \cdot \color{blue}{\left(c \cdot \left(-b\right)\right)} \]
    9. Simplified31.8%

      \[\leadsto \color{blue}{z \cdot \left(c \cdot \left(-b\right)\right)} \]

    if -2.80000000000000012e-191 < i < -5e-274

    1. Initial program 98.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. cancel-sign-sub98.5%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv98.5%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      3. *-commutative98.5%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - \color{blue}{a \cdot i}\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      4. *-commutative98.5%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      5. remove-double-neg98.5%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + \color{blue}{j} \cdot \left(c \cdot t - i \cdot y\right) \]
      6. *-commutative98.5%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(\color{blue}{t \cdot c} - i \cdot y\right) \]
      7. *-commutative98.5%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - \color{blue}{y \cdot i}\right) \]
    3. Simplified98.5%

      \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)} \]
    4. Taylor expanded in b around 0 81.3%

      \[\leadsto \color{blue}{\left(c \cdot t - y \cdot i\right) \cdot j + \left(y \cdot z - a \cdot t\right) \cdot x} \]
    5. Taylor expanded in c around inf 55.2%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right)} \]
    6. Step-by-step derivation
      1. *-commutative55.2%

        \[\leadsto \color{blue}{\left(t \cdot j\right) \cdot c} \]
      2. *-commutative55.2%

        \[\leadsto \color{blue}{\left(j \cdot t\right)} \cdot c \]
      3. associate-*l*65.8%

        \[\leadsto \color{blue}{j \cdot \left(t \cdot c\right)} \]
    7. Simplified65.8%

      \[\leadsto \color{blue}{j \cdot \left(t \cdot c\right)} \]

    if -5e-274 < i < 8.8000000000000004e-66

    1. Initial program 79.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. sub-neg79.2%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+79.2%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(\left(-b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\right)} \]
      3. fma-def79.2%

        \[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\right)} \]
      4. +-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)}\right) \]
      5. fma-def79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{\mathsf{fma}\left(j, c \cdot t - i \cdot y, -b \cdot \left(c \cdot z - i \cdot a\right)\right)}\right) \]
      6. sub-neg79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{c \cdot t + \left(-i \cdot y\right)}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      7. +-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{\left(-i \cdot y\right) + c \cdot t}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      8. *-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \left(-\color{blue}{y \cdot i}\right) + c \cdot t, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      9. distribute-rgt-neg-in79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{y \cdot \left(-i\right)} + c \cdot t, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      10. fma-def79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{\mathsf{fma}\left(y, -i, c \cdot t\right)}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      11. *-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, \color{blue}{t \cdot c}\right), -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      12. distribute-rgt-neg-in79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), \color{blue}{b \cdot \left(-\left(c \cdot z - i \cdot a\right)\right)}\right)\right) \]
      13. sub-neg79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \left(-\color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right)\right)\right) \]
      14. distribute-neg-in79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \color{blue}{\left(\left(-c \cdot z\right) + \left(-\left(-i \cdot a\right)\right)\right)}\right)\right) \]
      15. unsub-neg79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \color{blue}{\left(\left(-c \cdot z\right) - \left(-i \cdot a\right)\right)}\right)\right) \]
    3. Simplified79.2%

      \[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \mathsf{fma}\left(c, -z, a \cdot i\right)\right)\right)} \]
    4. Taylor expanded in a around inf 43.8%

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + i \cdot b\right)} \]
    5. Step-by-step derivation
      1. +-commutative43.8%

        \[\leadsto a \cdot \color{blue}{\left(i \cdot b + -1 \cdot \left(t \cdot x\right)\right)} \]
      2. mul-1-neg43.8%

        \[\leadsto a \cdot \left(i \cdot b + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg43.8%

        \[\leadsto a \cdot \color{blue}{\left(i \cdot b - t \cdot x\right)} \]
    6. Simplified43.8%

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]
    7. Taylor expanded in i around 0 41.8%

      \[\leadsto a \cdot \color{blue}{\left(-1 \cdot \left(t \cdot x\right)\right)} \]
    8. Step-by-step derivation
      1. mul-1-neg41.8%

        \[\leadsto a \cdot \color{blue}{\left(-t \cdot x\right)} \]
      2. distribute-lft-neg-out41.8%

        \[\leadsto a \cdot \color{blue}{\left(\left(-t\right) \cdot x\right)} \]
      3. *-commutative41.8%

        \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(-t\right)\right)} \]
    9. Simplified41.8%

      \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(-t\right)\right)} \]

    if 8.8000000000000004e-66 < i < 2.30000000000000015e56

    1. Initial program 72.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. +-commutative72.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-def72.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. *-commutative72.5%

        \[\leadsto \mathsf{fma}\left(j, c \cdot t - \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) \]
      4. *-commutative72.5%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - 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. *-commutative72.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - \color{blue}{a \cdot i}\right)\right) \]
      6. *-commutative72.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) \]
    3. Simplified72.5%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Taylor expanded in t around 0 75.9%

      \[\leadsto \color{blue}{\left(\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right) \cdot t + \left(-1 \cdot \left(y \cdot \left(i \cdot j\right)\right) + y \cdot \left(z \cdot x\right)\right)\right) - \left(c \cdot z - i \cdot a\right) \cdot b} \]
    5. Taylor expanded in y around 0 65.4%

      \[\leadsto \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right) \cdot t - \left(c \cdot z - i \cdot a\right) \cdot b} \]
    6. Taylor expanded in j around inf 40.8%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right)} \]

    if 2.30000000000000015e56 < i < 4.89999999999999981e181

    1. Initial program 66.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. sub-neg66.9%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+66.9%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(\left(-b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\right)} \]
      3. fma-def76.0%

        \[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\right)} \]
      4. +-commutative76.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)}\right) \]
      5. fma-def79.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{\mathsf{fma}\left(j, c \cdot t - i \cdot y, -b \cdot \left(c \cdot z - i \cdot a\right)\right)}\right) \]
      6. sub-neg79.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{c \cdot t + \left(-i \cdot y\right)}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      7. +-commutative79.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{\left(-i \cdot y\right) + c \cdot t}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      8. *-commutative79.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \left(-\color{blue}{y \cdot i}\right) + c \cdot t, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      9. distribute-rgt-neg-in79.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{y \cdot \left(-i\right)} + c \cdot t, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      10. fma-def79.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{\mathsf{fma}\left(y, -i, c \cdot t\right)}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      11. *-commutative79.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, \color{blue}{t \cdot c}\right), -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      12. distribute-rgt-neg-in79.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), \color{blue}{b \cdot \left(-\left(c \cdot z - i \cdot a\right)\right)}\right)\right) \]
      13. sub-neg79.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \left(-\color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right)\right)\right) \]
      14. distribute-neg-in79.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \color{blue}{\left(\left(-c \cdot z\right) + \left(-\left(-i \cdot a\right)\right)\right)}\right)\right) \]
      15. unsub-neg79.0%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \color{blue}{\left(\left(-c \cdot z\right) - \left(-i \cdot a\right)\right)}\right)\right) \]
    3. Simplified79.0%

      \[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \mathsf{fma}\left(c, -z, a \cdot i\right)\right)\right)} \]
    4. Taylor expanded in y around inf 64.7%

      \[\leadsto \color{blue}{\left(z \cdot x + -1 \cdot \left(i \cdot j\right)\right) \cdot y} \]
    5. Step-by-step derivation
      1. +-commutative64.7%

        \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot j\right) + z \cdot x\right)} \cdot y \]
      2. *-commutative64.7%

        \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + z \cdot x\right)} \]
      3. +-commutative64.7%

        \[\leadsto y \cdot \color{blue}{\left(z \cdot x + -1 \cdot \left(i \cdot j\right)\right)} \]
      4. mul-1-neg64.7%

        \[\leadsto y \cdot \left(z \cdot x + \color{blue}{\left(-i \cdot j\right)}\right) \]
      5. unsub-neg64.7%

        \[\leadsto y \cdot \color{blue}{\left(z \cdot x - i \cdot j\right)} \]
    6. Simplified64.7%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right)} \]
    7. Taylor expanded in z around 0 52.7%

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(i \cdot j\right)\right)} \]
    8. Step-by-step derivation
      1. mul-1-neg52.7%

        \[\leadsto \color{blue}{-y \cdot \left(i \cdot j\right)} \]
      2. distribute-rgt-neg-in52.7%

        \[\leadsto \color{blue}{y \cdot \left(-i \cdot j\right)} \]
      3. distribute-rgt-neg-in52.7%

        \[\leadsto y \cdot \color{blue}{\left(i \cdot \left(-j\right)\right)} \]
    9. Simplified52.7%

      \[\leadsto \color{blue}{y \cdot \left(i \cdot \left(-j\right)\right)} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification44.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -6 \cdot 10^{+121}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;i \leq -2.8 \cdot 10^{-191}:\\ \;\;\;\;z \cdot \left(b \cdot \left(-c\right)\right)\\ \mathbf{elif}\;i \leq -5 \cdot 10^{-274}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;i \leq 8.8 \cdot 10^{-66}:\\ \;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\ \mathbf{elif}\;i \leq 2.3 \cdot 10^{+56}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;i \leq 4.9 \cdot 10^{+181}:\\ \;\;\;\;\left(i \cdot j\right) \cdot \left(-y\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \end{array} \]

Alternative 19: 31.0% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(a \cdot i\right)\\ \mathbf{if}\;i \leq -2.6 \cdot 10^{+44}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;i \leq -1.46 \cdot 10^{-187}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;i \leq -1.15 \cdot 10^{-266}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;i \leq 8.2 \cdot 10^{-66}:\\ \;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\ \mathbf{elif}\;i \leq 2.4 \cdot 10^{+79}:\\ \;\;\;\;c \cdot \left(t \cdot j\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))))
   (if (<= i -2.6e+44)
     t_1
     (if (<= i -1.46e-187)
       (* y (* x z))
       (if (<= i -1.15e-266)
         (* j (* t c))
         (if (<= i 8.2e-66)
           (* a (* t (- x)))
           (if (<= i 2.4e+79) (* c (* t j)) 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);
	double tmp;
	if (i <= -2.6e+44) {
		tmp = t_1;
	} else if (i <= -1.46e-187) {
		tmp = y * (x * z);
	} else if (i <= -1.15e-266) {
		tmp = j * (t * c);
	} else if (i <= 8.2e-66) {
		tmp = a * (t * -x);
	} else if (i <= 2.4e+79) {
		tmp = c * (t * j);
	} 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)
    if (i <= (-2.6d+44)) then
        tmp = t_1
    else if (i <= (-1.46d-187)) then
        tmp = y * (x * z)
    else if (i <= (-1.15d-266)) then
        tmp = j * (t * c)
    else if (i <= 8.2d-66) then
        tmp = a * (t * -x)
    else if (i <= 2.4d+79) then
        tmp = c * (t * j)
    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);
	double tmp;
	if (i <= -2.6e+44) {
		tmp = t_1;
	} else if (i <= -1.46e-187) {
		tmp = y * (x * z);
	} else if (i <= -1.15e-266) {
		tmp = j * (t * c);
	} else if (i <= 8.2e-66) {
		tmp = a * (t * -x);
	} else if (i <= 2.4e+79) {
		tmp = c * (t * j);
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = b * (a * i)
	tmp = 0
	if i <= -2.6e+44:
		tmp = t_1
	elif i <= -1.46e-187:
		tmp = y * (x * z)
	elif i <= -1.15e-266:
		tmp = j * (t * c)
	elif i <= 8.2e-66:
		tmp = a * (t * -x)
	elif i <= 2.4e+79:
		tmp = c * (t * j)
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(b * Float64(a * i))
	tmp = 0.0
	if (i <= -2.6e+44)
		tmp = t_1;
	elseif (i <= -1.46e-187)
		tmp = Float64(y * Float64(x * z));
	elseif (i <= -1.15e-266)
		tmp = Float64(j * Float64(t * c));
	elseif (i <= 8.2e-66)
		tmp = Float64(a * Float64(t * Float64(-x)));
	elseif (i <= 2.4e+79)
		tmp = Float64(c * Float64(t * j));
	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);
	tmp = 0.0;
	if (i <= -2.6e+44)
		tmp = t_1;
	elseif (i <= -1.46e-187)
		tmp = y * (x * z);
	elseif (i <= -1.15e-266)
		tmp = j * (t * c);
	elseif (i <= 8.2e-66)
		tmp = a * (t * -x);
	elseif (i <= 2.4e+79)
		tmp = c * (t * j);
	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[(a * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -2.6e+44], t$95$1, If[LessEqual[i, -1.46e-187], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.15e-266], N[(j * N[(t * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 8.2e-66], N[(a * N[(t * (-x)), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.4e+79], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(a \cdot i\right)\\
\mathbf{if}\;i \leq -2.6 \cdot 10^{+44}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;i \leq -1.46 \cdot 10^{-187}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\

\mathbf{elif}\;i \leq -1.15 \cdot 10^{-266}:\\
\;\;\;\;j \cdot \left(t \cdot c\right)\\

\mathbf{elif}\;i \leq 8.2 \cdot 10^{-66}:\\
\;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\

\mathbf{elif}\;i \leq 2.4 \cdot 10^{+79}:\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if i < -2.5999999999999999e44 or 2.39999999999999986e79 < i

    1. Initial program 64.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. cancel-sign-sub64.0%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv64.0%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      3. *-commutative64.0%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - \color{blue}{a \cdot i}\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      4. *-commutative64.0%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      5. remove-double-neg64.0%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + \color{blue}{j} \cdot \left(c \cdot t - i \cdot y\right) \]
      6. *-commutative64.0%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(\color{blue}{t \cdot c} - i \cdot y\right) \]
      7. *-commutative64.0%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - \color{blue}{y \cdot i}\right) \]
    3. Simplified64.0%

      \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)} \]
    4. Taylor expanded in x around 0 62.2%

      \[\leadsto \color{blue}{\left(c \cdot t - y \cdot i\right) \cdot j - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    5. Taylor expanded in y around 0 52.6%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Taylor expanded in c around 0 44.5%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j - z \cdot b\right) + a \cdot \left(i \cdot b\right)} \]
    7. Taylor expanded in c around 0 40.5%

      \[\leadsto \color{blue}{i \cdot \left(a \cdot b\right)} \]
    8. Step-by-step derivation
      1. *-commutative40.5%

        \[\leadsto \color{blue}{\left(a \cdot b\right) \cdot i} \]
      2. *-commutative40.5%

        \[\leadsto \color{blue}{\left(b \cdot a\right)} \cdot i \]
      3. associate-*r*41.4%

        \[\leadsto \color{blue}{b \cdot \left(a \cdot i\right)} \]
    9. Simplified41.4%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i\right)} \]

    if -2.5999999999999999e44 < i < -1.46e-187

    1. Initial program 79.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. sub-neg79.2%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+79.2%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(\left(-b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\right)} \]
      3. fma-def79.2%

        \[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\right)} \]
      4. +-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)}\right) \]
      5. fma-def79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{\mathsf{fma}\left(j, c \cdot t - i \cdot y, -b \cdot \left(c \cdot z - i \cdot a\right)\right)}\right) \]
      6. sub-neg79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{c \cdot t + \left(-i \cdot y\right)}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      7. +-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{\left(-i \cdot y\right) + c \cdot t}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      8. *-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \left(-\color{blue}{y \cdot i}\right) + c \cdot t, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      9. distribute-rgt-neg-in79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{y \cdot \left(-i\right)} + c \cdot t, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      10. fma-def79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{\mathsf{fma}\left(y, -i, c \cdot t\right)}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      11. *-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, \color{blue}{t \cdot c}\right), -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      12. distribute-rgt-neg-in79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), \color{blue}{b \cdot \left(-\left(c \cdot z - i \cdot a\right)\right)}\right)\right) \]
      13. sub-neg79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \left(-\color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right)\right)\right) \]
      14. distribute-neg-in79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \color{blue}{\left(\left(-c \cdot z\right) + \left(-\left(-i \cdot a\right)\right)\right)}\right)\right) \]
      15. unsub-neg79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \color{blue}{\left(\left(-c \cdot z\right) - \left(-i \cdot a\right)\right)}\right)\right) \]
    3. Simplified79.2%

      \[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \mathsf{fma}\left(c, -z, a \cdot i\right)\right)\right)} \]
    4. Taylor expanded in y around inf 44.2%

      \[\leadsto \color{blue}{\left(z \cdot x + -1 \cdot \left(i \cdot j\right)\right) \cdot y} \]
    5. Step-by-step derivation
      1. +-commutative44.2%

        \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot j\right) + z \cdot x\right)} \cdot y \]
      2. *-commutative44.2%

        \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + z \cdot x\right)} \]
      3. +-commutative44.2%

        \[\leadsto y \cdot \color{blue}{\left(z \cdot x + -1 \cdot \left(i \cdot j\right)\right)} \]
      4. mul-1-neg44.2%

        \[\leadsto y \cdot \left(z \cdot x + \color{blue}{\left(-i \cdot j\right)}\right) \]
      5. unsub-neg44.2%

        \[\leadsto y \cdot \color{blue}{\left(z \cdot x - i \cdot j\right)} \]
    6. Simplified44.2%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right)} \]
    7. Taylor expanded in z around inf 32.0%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x\right)} \]

    if -1.46e-187 < i < -1.14999999999999998e-266

    1. Initial program 98.7%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. cancel-sign-sub98.7%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv98.7%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      3. *-commutative98.7%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - \color{blue}{a \cdot i}\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      4. *-commutative98.7%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      5. remove-double-neg98.7%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + \color{blue}{j} \cdot \left(c \cdot t - i \cdot y\right) \]
      6. *-commutative98.7%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(\color{blue}{t \cdot c} - i \cdot y\right) \]
      7. *-commutative98.7%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - \color{blue}{y \cdot i}\right) \]
    3. Simplified98.7%

      \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)} \]
    4. Taylor expanded in b around 0 78.0%

      \[\leadsto \color{blue}{\left(c \cdot t - y \cdot i\right) \cdot j + \left(y \cdot z - a \cdot t\right) \cdot x} \]
    5. Taylor expanded in c around inf 49.6%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right)} \]
    6. Step-by-step derivation
      1. *-commutative49.6%

        \[\leadsto \color{blue}{\left(t \cdot j\right) \cdot c} \]
      2. *-commutative49.6%

        \[\leadsto \color{blue}{\left(j \cdot t\right)} \cdot c \]
      3. associate-*l*59.2%

        \[\leadsto \color{blue}{j \cdot \left(t \cdot c\right)} \]
    7. Simplified59.2%

      \[\leadsto \color{blue}{j \cdot \left(t \cdot c\right)} \]

    if -1.14999999999999998e-266 < i < 8.19999999999999996e-66

    1. Initial program 79.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. sub-neg79.2%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+79.2%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(\left(-b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\right)} \]
      3. fma-def79.2%

        \[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\right)} \]
      4. +-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)}\right) \]
      5. fma-def79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{\mathsf{fma}\left(j, c \cdot t - i \cdot y, -b \cdot \left(c \cdot z - i \cdot a\right)\right)}\right) \]
      6. sub-neg79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{c \cdot t + \left(-i \cdot y\right)}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      7. +-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{\left(-i \cdot y\right) + c \cdot t}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      8. *-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \left(-\color{blue}{y \cdot i}\right) + c \cdot t, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      9. distribute-rgt-neg-in79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{y \cdot \left(-i\right)} + c \cdot t, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      10. fma-def79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{\mathsf{fma}\left(y, -i, c \cdot t\right)}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      11. *-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, \color{blue}{t \cdot c}\right), -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      12. distribute-rgt-neg-in79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), \color{blue}{b \cdot \left(-\left(c \cdot z - i \cdot a\right)\right)}\right)\right) \]
      13. sub-neg79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \left(-\color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right)\right)\right) \]
      14. distribute-neg-in79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \color{blue}{\left(\left(-c \cdot z\right) + \left(-\left(-i \cdot a\right)\right)\right)}\right)\right) \]
      15. unsub-neg79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \color{blue}{\left(\left(-c \cdot z\right) - \left(-i \cdot a\right)\right)}\right)\right) \]
    3. Simplified79.2%

      \[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \mathsf{fma}\left(c, -z, a \cdot i\right)\right)\right)} \]
    4. Taylor expanded in a around inf 43.8%

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + i \cdot b\right)} \]
    5. Step-by-step derivation
      1. +-commutative43.8%

        \[\leadsto a \cdot \color{blue}{\left(i \cdot b + -1 \cdot \left(t \cdot x\right)\right)} \]
      2. mul-1-neg43.8%

        \[\leadsto a \cdot \left(i \cdot b + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg43.8%

        \[\leadsto a \cdot \color{blue}{\left(i \cdot b - t \cdot x\right)} \]
    6. Simplified43.8%

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]
    7. Taylor expanded in i around 0 41.8%

      \[\leadsto a \cdot \color{blue}{\left(-1 \cdot \left(t \cdot x\right)\right)} \]
    8. Step-by-step derivation
      1. mul-1-neg41.8%

        \[\leadsto a \cdot \color{blue}{\left(-t \cdot x\right)} \]
      2. distribute-lft-neg-out41.8%

        \[\leadsto a \cdot \color{blue}{\left(\left(-t\right) \cdot x\right)} \]
      3. *-commutative41.8%

        \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(-t\right)\right)} \]
    9. Simplified41.8%

      \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(-t\right)\right)} \]

    if 8.19999999999999996e-66 < i < 2.39999999999999986e79

    1. Initial program 69.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. +-commutative69.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-def69.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. *-commutative69.8%

        \[\leadsto \mathsf{fma}\left(j, c \cdot t - \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) \]
      4. *-commutative69.8%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - 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. *-commutative69.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - \color{blue}{a \cdot i}\right)\right) \]
      6. *-commutative69.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) \]
    3. Simplified69.8%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Taylor expanded in t around 0 72.8%

      \[\leadsto \color{blue}{\left(\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right) \cdot t + \left(-1 \cdot \left(y \cdot \left(i \cdot j\right)\right) + y \cdot \left(z \cdot x\right)\right)\right) - \left(c \cdot z - i \cdot a\right) \cdot b} \]
    5. Taylor expanded in y around 0 60.5%

      \[\leadsto \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right) \cdot t - \left(c \cdot z - i \cdot a\right) \cdot b} \]
    6. Taylor expanded in j around inf 39.0%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right)} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification40.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -2.6 \cdot 10^{+44}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;i \leq -1.46 \cdot 10^{-187}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;i \leq -1.15 \cdot 10^{-266}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;i \leq 8.2 \cdot 10^{-66}:\\ \;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\ \mathbf{elif}\;i \leq 2.4 \cdot 10^{+79}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \end{array} \]

Alternative 20: 30.1% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(a \cdot i\right)\\ \mathbf{if}\;i \leq -3.15 \cdot 10^{+121}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;i \leq -1 \cdot 10^{-191}:\\ \;\;\;\;c \cdot \left(-z \cdot b\right)\\ \mathbf{elif}\;i \leq -6.6 \cdot 10^{-277}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;i \leq 10^{-65}:\\ \;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\ \mathbf{elif}\;i \leq 7.5 \cdot 10^{+80}:\\ \;\;\;\;c \cdot \left(t \cdot j\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))))
   (if (<= i -3.15e+121)
     t_1
     (if (<= i -1e-191)
       (* c (- (* z b)))
       (if (<= i -6.6e-277)
         (* j (* t c))
         (if (<= i 1e-65)
           (* a (* t (- x)))
           (if (<= i 7.5e+80) (* c (* t j)) 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);
	double tmp;
	if (i <= -3.15e+121) {
		tmp = t_1;
	} else if (i <= -1e-191) {
		tmp = c * -(z * b);
	} else if (i <= -6.6e-277) {
		tmp = j * (t * c);
	} else if (i <= 1e-65) {
		tmp = a * (t * -x);
	} else if (i <= 7.5e+80) {
		tmp = c * (t * j);
	} 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)
    if (i <= (-3.15d+121)) then
        tmp = t_1
    else if (i <= (-1d-191)) then
        tmp = c * -(z * b)
    else if (i <= (-6.6d-277)) then
        tmp = j * (t * c)
    else if (i <= 1d-65) then
        tmp = a * (t * -x)
    else if (i <= 7.5d+80) then
        tmp = c * (t * j)
    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);
	double tmp;
	if (i <= -3.15e+121) {
		tmp = t_1;
	} else if (i <= -1e-191) {
		tmp = c * -(z * b);
	} else if (i <= -6.6e-277) {
		tmp = j * (t * c);
	} else if (i <= 1e-65) {
		tmp = a * (t * -x);
	} else if (i <= 7.5e+80) {
		tmp = c * (t * j);
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = b * (a * i)
	tmp = 0
	if i <= -3.15e+121:
		tmp = t_1
	elif i <= -1e-191:
		tmp = c * -(z * b)
	elif i <= -6.6e-277:
		tmp = j * (t * c)
	elif i <= 1e-65:
		tmp = a * (t * -x)
	elif i <= 7.5e+80:
		tmp = c * (t * j)
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(b * Float64(a * i))
	tmp = 0.0
	if (i <= -3.15e+121)
		tmp = t_1;
	elseif (i <= -1e-191)
		tmp = Float64(c * Float64(-Float64(z * b)));
	elseif (i <= -6.6e-277)
		tmp = Float64(j * Float64(t * c));
	elseif (i <= 1e-65)
		tmp = Float64(a * Float64(t * Float64(-x)));
	elseif (i <= 7.5e+80)
		tmp = Float64(c * Float64(t * j));
	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);
	tmp = 0.0;
	if (i <= -3.15e+121)
		tmp = t_1;
	elseif (i <= -1e-191)
		tmp = c * -(z * b);
	elseif (i <= -6.6e-277)
		tmp = j * (t * c);
	elseif (i <= 1e-65)
		tmp = a * (t * -x);
	elseif (i <= 7.5e+80)
		tmp = c * (t * j);
	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[(a * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -3.15e+121], t$95$1, If[LessEqual[i, -1e-191], N[(c * (-N[(z * b), $MachinePrecision])), $MachinePrecision], If[LessEqual[i, -6.6e-277], N[(j * N[(t * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1e-65], N[(a * N[(t * (-x)), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 7.5e+80], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(a \cdot i\right)\\
\mathbf{if}\;i \leq -3.15 \cdot 10^{+121}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;i \leq -1 \cdot 10^{-191}:\\
\;\;\;\;c \cdot \left(-z \cdot b\right)\\

\mathbf{elif}\;i \leq -6.6 \cdot 10^{-277}:\\
\;\;\;\;j \cdot \left(t \cdot c\right)\\

\mathbf{elif}\;i \leq 10^{-65}:\\
\;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\

\mathbf{elif}\;i \leq 7.5 \cdot 10^{+80}:\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if i < -3.14999999999999978e121 or 7.49999999999999994e80 < i

    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. cancel-sign-sub61.0%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv61.0%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      3. *-commutative61.0%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - \color{blue}{a \cdot i}\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      4. *-commutative61.0%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      5. remove-double-neg61.0%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + \color{blue}{j} \cdot \left(c \cdot t - i \cdot y\right) \]
      6. *-commutative61.0%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(\color{blue}{t \cdot c} - i \cdot y\right) \]
      7. *-commutative61.0%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - \color{blue}{y \cdot i}\right) \]
    3. Simplified61.0%

      \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)} \]
    4. Taylor expanded in x around 0 61.0%

      \[\leadsto \color{blue}{\left(c \cdot t - y \cdot i\right) \cdot j - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    5. Taylor expanded in y around 0 53.8%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Taylor expanded in c around 0 45.3%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j - z \cdot b\right) + a \cdot \left(i \cdot b\right)} \]
    7. Taylor expanded in c around 0 44.0%

      \[\leadsto \color{blue}{i \cdot \left(a \cdot b\right)} \]
    8. Step-by-step derivation
      1. *-commutative44.0%

        \[\leadsto \color{blue}{\left(a \cdot b\right) \cdot i} \]
      2. *-commutative44.0%

        \[\leadsto \color{blue}{\left(b \cdot a\right)} \cdot i \]
      3. associate-*r*45.1%

        \[\leadsto \color{blue}{b \cdot \left(a \cdot i\right)} \]
    9. Simplified45.1%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i\right)} \]

    if -3.14999999999999978e121 < i < -1e-191

    1. Initial program 80.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. cancel-sign-sub80.4%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv80.4%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      3. *-commutative80.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - \color{blue}{a \cdot i}\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      4. *-commutative80.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      5. remove-double-neg80.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + \color{blue}{j} \cdot \left(c \cdot t - i \cdot y\right) \]
      6. *-commutative80.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(\color{blue}{t \cdot c} - i \cdot y\right) \]
      7. *-commutative80.4%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - \color{blue}{y \cdot i}\right) \]
    3. Simplified80.4%

      \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)} \]
    4. Taylor expanded in x around 0 58.1%

      \[\leadsto \color{blue}{\left(c \cdot t - y \cdot i\right) \cdot j - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    5. Taylor expanded in z around inf 28.7%

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(b \cdot z\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg28.7%

        \[\leadsto \color{blue}{-c \cdot \left(b \cdot z\right)} \]
      2. distribute-rgt-neg-in28.7%

        \[\leadsto \color{blue}{c \cdot \left(-b \cdot z\right)} \]
    7. Simplified28.7%

      \[\leadsto \color{blue}{c \cdot \left(-b \cdot z\right)} \]

    if -1e-191 < i < -6.59999999999999962e-277

    1. Initial program 98.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. cancel-sign-sub98.5%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv98.5%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      3. *-commutative98.5%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - \color{blue}{a \cdot i}\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      4. *-commutative98.5%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      5. remove-double-neg98.5%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + \color{blue}{j} \cdot \left(c \cdot t - i \cdot y\right) \]
      6. *-commutative98.5%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(\color{blue}{t \cdot c} - i \cdot y\right) \]
      7. *-commutative98.5%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - \color{blue}{y \cdot i}\right) \]
    3. Simplified98.5%

      \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)} \]
    4. Taylor expanded in b around 0 81.3%

      \[\leadsto \color{blue}{\left(c \cdot t - y \cdot i\right) \cdot j + \left(y \cdot z - a \cdot t\right) \cdot x} \]
    5. Taylor expanded in c around inf 55.2%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right)} \]
    6. Step-by-step derivation
      1. *-commutative55.2%

        \[\leadsto \color{blue}{\left(t \cdot j\right) \cdot c} \]
      2. *-commutative55.2%

        \[\leadsto \color{blue}{\left(j \cdot t\right)} \cdot c \]
      3. associate-*l*65.8%

        \[\leadsto \color{blue}{j \cdot \left(t \cdot c\right)} \]
    7. Simplified65.8%

      \[\leadsto \color{blue}{j \cdot \left(t \cdot c\right)} \]

    if -6.59999999999999962e-277 < i < 9.99999999999999923e-66

    1. Initial program 79.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. sub-neg79.2%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+79.2%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(\left(-b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\right)} \]
      3. fma-def79.2%

        \[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\right)} \]
      4. +-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)}\right) \]
      5. fma-def79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{\mathsf{fma}\left(j, c \cdot t - i \cdot y, -b \cdot \left(c \cdot z - i \cdot a\right)\right)}\right) \]
      6. sub-neg79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{c \cdot t + \left(-i \cdot y\right)}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      7. +-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{\left(-i \cdot y\right) + c \cdot t}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      8. *-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \left(-\color{blue}{y \cdot i}\right) + c \cdot t, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      9. distribute-rgt-neg-in79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{y \cdot \left(-i\right)} + c \cdot t, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      10. fma-def79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{\mathsf{fma}\left(y, -i, c \cdot t\right)}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      11. *-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, \color{blue}{t \cdot c}\right), -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      12. distribute-rgt-neg-in79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), \color{blue}{b \cdot \left(-\left(c \cdot z - i \cdot a\right)\right)}\right)\right) \]
      13. sub-neg79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \left(-\color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right)\right)\right) \]
      14. distribute-neg-in79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \color{blue}{\left(\left(-c \cdot z\right) + \left(-\left(-i \cdot a\right)\right)\right)}\right)\right) \]
      15. unsub-neg79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \color{blue}{\left(\left(-c \cdot z\right) - \left(-i \cdot a\right)\right)}\right)\right) \]
    3. Simplified79.2%

      \[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \mathsf{fma}\left(c, -z, a \cdot i\right)\right)\right)} \]
    4. Taylor expanded in a around inf 43.8%

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + i \cdot b\right)} \]
    5. Step-by-step derivation
      1. +-commutative43.8%

        \[\leadsto a \cdot \color{blue}{\left(i \cdot b + -1 \cdot \left(t \cdot x\right)\right)} \]
      2. mul-1-neg43.8%

        \[\leadsto a \cdot \left(i \cdot b + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg43.8%

        \[\leadsto a \cdot \color{blue}{\left(i \cdot b - t \cdot x\right)} \]
    6. Simplified43.8%

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]
    7. Taylor expanded in i around 0 41.8%

      \[\leadsto a \cdot \color{blue}{\left(-1 \cdot \left(t \cdot x\right)\right)} \]
    8. Step-by-step derivation
      1. mul-1-neg41.8%

        \[\leadsto a \cdot \color{blue}{\left(-t \cdot x\right)} \]
      2. distribute-lft-neg-out41.8%

        \[\leadsto a \cdot \color{blue}{\left(\left(-t\right) \cdot x\right)} \]
      3. *-commutative41.8%

        \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(-t\right)\right)} \]
    9. Simplified41.8%

      \[\leadsto a \cdot \color{blue}{\left(x \cdot \left(-t\right)\right)} \]

    if 9.99999999999999923e-66 < i < 7.49999999999999994e80

    1. Initial program 69.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. +-commutative69.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-def69.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. *-commutative69.8%

        \[\leadsto \mathsf{fma}\left(j, c \cdot t - \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) \]
      4. *-commutative69.8%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - 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. *-commutative69.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - \color{blue}{a \cdot i}\right)\right) \]
      6. *-commutative69.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) \]
    3. Simplified69.8%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Taylor expanded in t around 0 72.8%

      \[\leadsto \color{blue}{\left(\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right) \cdot t + \left(-1 \cdot \left(y \cdot \left(i \cdot j\right)\right) + y \cdot \left(z \cdot x\right)\right)\right) - \left(c \cdot z - i \cdot a\right) \cdot b} \]
    5. Taylor expanded in y around 0 60.5%

      \[\leadsto \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right) \cdot t - \left(c \cdot z - i \cdot a\right) \cdot b} \]
    6. Taylor expanded in j around inf 39.0%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right)} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification41.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -3.15 \cdot 10^{+121}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;i \leq -1 \cdot 10^{-191}:\\ \;\;\;\;c \cdot \left(-z \cdot b\right)\\ \mathbf{elif}\;i \leq -6.6 \cdot 10^{-277}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;i \leq 10^{-65}:\\ \;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\ \mathbf{elif}\;i \leq 7.5 \cdot 10^{+80}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \end{array} \]

Alternative 21: 51.1% accurate, 2.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;a \leq -6 \cdot 10^{+111} \lor \neg \left(a \leq 2.4 \cdot 10^{+97}\right):\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\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
 (if (or (<= a -6e+111) (not (<= a 2.4e+97)))
   (* a (- (* b i) (* x t)))
   (* 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 tmp;
	if ((a <= -6e+111) || !(a <= 2.4e+97)) {
		tmp = a * ((b * i) - (x * t));
	} 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) :: tmp
    if ((a <= (-6d+111)) .or. (.not. (a <= 2.4d+97))) then
        tmp = a * ((b * i) - (x * t))
    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 tmp;
	if ((a <= -6e+111) || !(a <= 2.4e+97)) {
		tmp = a * ((b * i) - (x * t));
	} else {
		tmp = c * ((t * j) - (z * b));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if (a <= -6e+111) or not (a <= 2.4e+97):
		tmp = a * ((b * i) - (x * t))
	else:
		tmp = c * ((t * j) - (z * b))
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if ((a <= -6e+111) || !(a <= 2.4e+97))
		tmp = Float64(a * Float64(Float64(b * i) - Float64(x * t)));
	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)
	tmp = 0.0;
	if ((a <= -6e+111) || ~((a <= 2.4e+97)))
		tmp = a * ((b * i) - (x * t));
	else
		tmp = c * ((t * j) - (z * b));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[a, -6e+111], N[Not[LessEqual[a, 2.4e+97]], $MachinePrecision]], N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;a \leq -6 \cdot 10^{+111} \lor \neg \left(a \leq 2.4 \cdot 10^{+97}\right):\\
\;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\

\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if a < -6e111 or 2.4e97 < a

    1. Initial program 61.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. sub-neg61.5%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+61.5%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(\left(-b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\right)} \]
      3. fma-def66.1%

        \[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\right)} \]
      4. +-commutative66.1%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)}\right) \]
      5. fma-def68.4%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{\mathsf{fma}\left(j, c \cdot t - i \cdot y, -b \cdot \left(c \cdot z - i \cdot a\right)\right)}\right) \]
      6. sub-neg68.4%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{c \cdot t + \left(-i \cdot y\right)}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      7. +-commutative68.4%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{\left(-i \cdot y\right) + c \cdot t}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      8. *-commutative68.4%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \left(-\color{blue}{y \cdot i}\right) + c \cdot t, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      9. distribute-rgt-neg-in68.4%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{y \cdot \left(-i\right)} + c \cdot t, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      10. fma-def68.4%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{\mathsf{fma}\left(y, -i, c \cdot t\right)}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      11. *-commutative68.4%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, \color{blue}{t \cdot c}\right), -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      12. distribute-rgt-neg-in68.4%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), \color{blue}{b \cdot \left(-\left(c \cdot z - i \cdot a\right)\right)}\right)\right) \]
      13. sub-neg68.4%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \left(-\color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right)\right)\right) \]
      14. distribute-neg-in68.4%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \color{blue}{\left(\left(-c \cdot z\right) + \left(-\left(-i \cdot a\right)\right)\right)}\right)\right) \]
      15. unsub-neg68.4%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \color{blue}{\left(\left(-c \cdot z\right) - \left(-i \cdot a\right)\right)}\right)\right) \]
    3. Simplified68.4%

      \[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \mathsf{fma}\left(c, -z, a \cdot i\right)\right)\right)} \]
    4. Taylor expanded in a around inf 74.1%

      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + i \cdot b\right)} \]
    5. Step-by-step derivation
      1. +-commutative74.1%

        \[\leadsto a \cdot \color{blue}{\left(i \cdot b + -1 \cdot \left(t \cdot x\right)\right)} \]
      2. mul-1-neg74.1%

        \[\leadsto a \cdot \left(i \cdot b + \color{blue}{\left(-t \cdot x\right)}\right) \]
      3. unsub-neg74.1%

        \[\leadsto a \cdot \color{blue}{\left(i \cdot b - t \cdot x\right)} \]
    6. Simplified74.1%

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]

    if -6e111 < a < 2.4e97

    1. Initial program 78.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. +-commutative78.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-def79.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. *-commutative79.4%

        \[\leadsto \mathsf{fma}\left(j, c \cdot t - \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) \]
      4. *-commutative79.4%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - 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. *-commutative79.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - \color{blue}{a \cdot i}\right)\right) \]
      6. *-commutative79.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) \]
    3. Simplified79.4%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Taylor expanded in c around inf 49.9%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j - b \cdot z\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification58.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -6 \cdot 10^{+111} \lor \neg \left(a \leq 2.4 \cdot 10^{+97}\right):\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \end{array} \]

Alternative 22: 31.1% accurate, 2.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(a \cdot i\right)\\ \mathbf{if}\;i \leq -1.1 \cdot 10^{+45}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;i \leq -1.4 \cdot 10^{-183}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;i \leq 2.4 \cdot 10^{+58}:\\ \;\;\;\;j \cdot \left(t \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 (* b (* a i))))
   (if (<= i -1.1e+45)
     t_1
     (if (<= i -1.4e-183)
       (* y (* x z))
       (if (<= i 2.4e+58) (* j (* t 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 = b * (a * i);
	double tmp;
	if (i <= -1.1e+45) {
		tmp = t_1;
	} else if (i <= -1.4e-183) {
		tmp = y * (x * z);
	} else if (i <= 2.4e+58) {
		tmp = j * (t * 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 = b * (a * i)
    if (i <= (-1.1d+45)) then
        tmp = t_1
    else if (i <= (-1.4d-183)) then
        tmp = y * (x * z)
    else if (i <= 2.4d+58) then
        tmp = j * (t * 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 = b * (a * i);
	double tmp;
	if (i <= -1.1e+45) {
		tmp = t_1;
	} else if (i <= -1.4e-183) {
		tmp = y * (x * z);
	} else if (i <= 2.4e+58) {
		tmp = j * (t * c);
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = b * (a * i)
	tmp = 0
	if i <= -1.1e+45:
		tmp = t_1
	elif i <= -1.4e-183:
		tmp = y * (x * z)
	elif i <= 2.4e+58:
		tmp = j * (t * c)
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(b * Float64(a * i))
	tmp = 0.0
	if (i <= -1.1e+45)
		tmp = t_1;
	elseif (i <= -1.4e-183)
		tmp = Float64(y * Float64(x * z));
	elseif (i <= 2.4e+58)
		tmp = Float64(j * Float64(t * c));
	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);
	tmp = 0.0;
	if (i <= -1.1e+45)
		tmp = t_1;
	elseif (i <= -1.4e-183)
		tmp = y * (x * z);
	elseif (i <= 2.4e+58)
		tmp = j * (t * 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[(b * N[(a * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -1.1e+45], t$95$1, If[LessEqual[i, -1.4e-183], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.4e+58], N[(j * N[(t * c), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(a \cdot i\right)\\
\mathbf{if}\;i \leq -1.1 \cdot 10^{+45}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;i \leq -1.4 \cdot 10^{-183}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\

\mathbf{elif}\;i \leq 2.4 \cdot 10^{+58}:\\
\;\;\;\;j \cdot \left(t \cdot c\right)\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if i < -1.1e45 or 2.4e58 < i

    1. Initial program 64.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. cancel-sign-sub64.0%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv64.0%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      3. *-commutative64.0%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - \color{blue}{a \cdot i}\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      4. *-commutative64.0%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      5. remove-double-neg64.0%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + \color{blue}{j} \cdot \left(c \cdot t - i \cdot y\right) \]
      6. *-commutative64.0%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(\color{blue}{t \cdot c} - i \cdot y\right) \]
      7. *-commutative64.0%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - \color{blue}{y \cdot i}\right) \]
    3. Simplified64.0%

      \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)} \]
    4. Taylor expanded in x around 0 62.3%

      \[\leadsto \color{blue}{\left(c \cdot t - y \cdot i\right) \cdot j - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    5. Taylor expanded in y around 0 52.1%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Taylor expanded in c around 0 45.0%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j - z \cdot b\right) + a \cdot \left(i \cdot b\right)} \]
    7. Taylor expanded in c around 0 40.3%

      \[\leadsto \color{blue}{i \cdot \left(a \cdot b\right)} \]
    8. Step-by-step derivation
      1. *-commutative40.3%

        \[\leadsto \color{blue}{\left(a \cdot b\right) \cdot i} \]
      2. *-commutative40.3%

        \[\leadsto \color{blue}{\left(b \cdot a\right)} \cdot i \]
      3. associate-*r*41.2%

        \[\leadsto \color{blue}{b \cdot \left(a \cdot i\right)} \]
    9. Simplified41.2%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i\right)} \]

    if -1.1e45 < i < -1.39999999999999992e-183

    1. Initial program 79.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. sub-neg79.2%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. associate-+l+79.2%

        \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(\left(-b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\right)} \]
      3. fma-def79.2%

        \[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\right)} \]
      4. +-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)}\right) \]
      5. fma-def79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{\mathsf{fma}\left(j, c \cdot t - i \cdot y, -b \cdot \left(c \cdot z - i \cdot a\right)\right)}\right) \]
      6. sub-neg79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{c \cdot t + \left(-i \cdot y\right)}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      7. +-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{\left(-i \cdot y\right) + c \cdot t}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      8. *-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \left(-\color{blue}{y \cdot i}\right) + c \cdot t, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      9. distribute-rgt-neg-in79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{y \cdot \left(-i\right)} + c \cdot t, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      10. fma-def79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{\mathsf{fma}\left(y, -i, c \cdot t\right)}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      11. *-commutative79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, \color{blue}{t \cdot c}\right), -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
      12. distribute-rgt-neg-in79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), \color{blue}{b \cdot \left(-\left(c \cdot z - i \cdot a\right)\right)}\right)\right) \]
      13. sub-neg79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \left(-\color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right)\right)\right) \]
      14. distribute-neg-in79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \color{blue}{\left(\left(-c \cdot z\right) + \left(-\left(-i \cdot a\right)\right)\right)}\right)\right) \]
      15. unsub-neg79.2%

        \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \color{blue}{\left(\left(-c \cdot z\right) - \left(-i \cdot a\right)\right)}\right)\right) \]
    3. Simplified79.2%

      \[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \mathsf{fma}\left(c, -z, a \cdot i\right)\right)\right)} \]
    4. Taylor expanded in y around inf 44.2%

      \[\leadsto \color{blue}{\left(z \cdot x + -1 \cdot \left(i \cdot j\right)\right) \cdot y} \]
    5. Step-by-step derivation
      1. +-commutative44.2%

        \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot j\right) + z \cdot x\right)} \cdot y \]
      2. *-commutative44.2%

        \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + z \cdot x\right)} \]
      3. +-commutative44.2%

        \[\leadsto y \cdot \color{blue}{\left(z \cdot x + -1 \cdot \left(i \cdot j\right)\right)} \]
      4. mul-1-neg44.2%

        \[\leadsto y \cdot \left(z \cdot x + \color{blue}{\left(-i \cdot j\right)}\right) \]
      5. unsub-neg44.2%

        \[\leadsto y \cdot \color{blue}{\left(z \cdot x - i \cdot j\right)} \]
    6. Simplified44.2%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x - i \cdot j\right)} \]
    7. Taylor expanded in z around inf 32.0%

      \[\leadsto \color{blue}{y \cdot \left(z \cdot x\right)} \]

    if -1.39999999999999992e-183 < i < 2.4e58

    1. Initial program 80.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. cancel-sign-sub80.2%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv80.2%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      3. *-commutative80.2%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - \color{blue}{a \cdot i}\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      4. *-commutative80.2%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      5. remove-double-neg80.2%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + \color{blue}{j} \cdot \left(c \cdot t - i \cdot y\right) \]
      6. *-commutative80.2%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(\color{blue}{t \cdot c} - i \cdot y\right) \]
      7. *-commutative80.2%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - \color{blue}{y \cdot i}\right) \]
    3. Simplified80.2%

      \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)} \]
    4. Taylor expanded in b around 0 69.7%

      \[\leadsto \color{blue}{\left(c \cdot t - y \cdot i\right) \cdot j + \left(y \cdot z - a \cdot t\right) \cdot x} \]
    5. Taylor expanded in c around inf 33.9%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right)} \]
    6. Step-by-step derivation
      1. *-commutative33.9%

        \[\leadsto \color{blue}{\left(t \cdot j\right) \cdot c} \]
      2. *-commutative33.9%

        \[\leadsto \color{blue}{\left(j \cdot t\right)} \cdot c \]
      3. associate-*l*35.6%

        \[\leadsto \color{blue}{j \cdot \left(t \cdot c\right)} \]
    7. Simplified35.6%

      \[\leadsto \color{blue}{j \cdot \left(t \cdot c\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification37.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -1.1 \cdot 10^{+45}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;i \leq -1.4 \cdot 10^{-183}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;i \leq 2.4 \cdot 10^{+58}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \end{array} \]

Alternative 23: 30.2% accurate, 3.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;i \leq -3.9 \cdot 10^{+73} \lor \neg \left(i \leq 1.15 \cdot 10^{+81}\right):\\ \;\;\;\;b \cdot \left(a \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 (or (<= i -3.9e+73) (not (<= i 1.15e+81))) (* b (* a 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 ((i <= -3.9e+73) || !(i <= 1.15e+81)) {
		tmp = b * (a * 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 ((i <= (-3.9d+73)) .or. (.not. (i <= 1.15d+81))) then
        tmp = b * (a * 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 ((i <= -3.9e+73) || !(i <= 1.15e+81)) {
		tmp = b * (a * i);
	} else {
		tmp = c * (t * j);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if (i <= -3.9e+73) or not (i <= 1.15e+81):
		tmp = b * (a * i)
	else:
		tmp = c * (t * j)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if ((i <= -3.9e+73) || !(i <= 1.15e+81))
		tmp = Float64(b * Float64(a * 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 ((i <= -3.9e+73) || ~((i <= 1.15e+81)))
		tmp = b * (a * i);
	else
		tmp = c * (t * j);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[i, -3.9e+73], N[Not[LessEqual[i, 1.15e+81]], $MachinePrecision]], N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;i \leq -3.9 \cdot 10^{+73} \lor \neg \left(i \leq 1.15 \cdot 10^{+81}\right):\\
\;\;\;\;b \cdot \left(a \cdot i\right)\\

\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if i < -3.9000000000000001e73 or 1.1499999999999999e81 < i

    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. Step-by-step derivation
      1. cancel-sign-sub63.1%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      2. cancel-sign-sub-inv63.1%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
      3. *-commutative63.1%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - \color{blue}{a \cdot i}\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      4. *-commutative63.1%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
      5. remove-double-neg63.1%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + \color{blue}{j} \cdot \left(c \cdot t - i \cdot y\right) \]
      6. *-commutative63.1%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(\color{blue}{t \cdot c} - i \cdot y\right) \]
      7. *-commutative63.1%

        \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - \color{blue}{y \cdot i}\right) \]
    3. Simplified63.1%

      \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)} \]
    4. Taylor expanded in x around 0 62.1%

      \[\leadsto \color{blue}{\left(c \cdot t - y \cdot i\right) \cdot j - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    5. Taylor expanded in y around 0 53.6%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Taylor expanded in c around 0 44.8%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j - z \cdot b\right) + a \cdot \left(i \cdot b\right)} \]
    7. Taylor expanded in c around 0 42.5%

      \[\leadsto \color{blue}{i \cdot \left(a \cdot b\right)} \]
    8. Step-by-step derivation
      1. *-commutative42.5%

        \[\leadsto \color{blue}{\left(a \cdot b\right) \cdot i} \]
      2. *-commutative42.5%

        \[\leadsto \color{blue}{\left(b \cdot a\right)} \cdot i \]
      3. associate-*r*43.5%

        \[\leadsto \color{blue}{b \cdot \left(a \cdot i\right)} \]
    9. Simplified43.5%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i\right)} \]

    if -3.9000000000000001e73 < i < 1.1499999999999999e81

    1. Initial program 79.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. +-commutative79.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-def79.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. *-commutative79.4%

        \[\leadsto \mathsf{fma}\left(j, c \cdot t - \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) \]
      4. *-commutative79.4%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - 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. *-commutative79.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - \color{blue}{a \cdot i}\right)\right) \]
      6. *-commutative79.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) \]
    3. Simplified79.4%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Taylor expanded in t around 0 79.3%

      \[\leadsto \color{blue}{\left(\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right) \cdot t + \left(-1 \cdot \left(y \cdot \left(i \cdot j\right)\right) + y \cdot \left(z \cdot x\right)\right)\right) - \left(c \cdot z - i \cdot a\right) \cdot b} \]
    5. Taylor expanded in y around 0 66.3%

      \[\leadsto \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right) \cdot t - \left(c \cdot z - i \cdot a\right) \cdot b} \]
    6. Taylor expanded in j around inf 30.7%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification35.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -3.9 \cdot 10^{+73} \lor \neg \left(i \leq 1.15 \cdot 10^{+81}\right):\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \end{array} \]

Alternative 24: 23.5% 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 72.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. sub-neg72.9%

      \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. associate-+l+72.9%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(\left(-b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\right)} \]
    3. fma-def75.2%

      \[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\right)} \]
    4. +-commutative75.2%

      \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(-b \cdot \left(c \cdot z - i \cdot a\right)\right)}\right) \]
    5. fma-def76.0%

      \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \color{blue}{\mathsf{fma}\left(j, c \cdot t - i \cdot y, -b \cdot \left(c \cdot z - i \cdot a\right)\right)}\right) \]
    6. sub-neg76.0%

      \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{c \cdot t + \left(-i \cdot y\right)}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
    7. +-commutative76.0%

      \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{\left(-i \cdot y\right) + c \cdot t}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
    8. *-commutative76.0%

      \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \left(-\color{blue}{y \cdot i}\right) + c \cdot t, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
    9. distribute-rgt-neg-in76.0%

      \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{y \cdot \left(-i\right)} + c \cdot t, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
    10. fma-def76.0%

      \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \color{blue}{\mathsf{fma}\left(y, -i, c \cdot t\right)}, -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
    11. *-commutative76.0%

      \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, \color{blue}{t \cdot c}\right), -b \cdot \left(c \cdot z - i \cdot a\right)\right)\right) \]
    12. distribute-rgt-neg-in76.0%

      \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), \color{blue}{b \cdot \left(-\left(c \cdot z - i \cdot a\right)\right)}\right)\right) \]
    13. sub-neg76.0%

      \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \left(-\color{blue}{\left(c \cdot z + \left(-i \cdot a\right)\right)}\right)\right)\right) \]
    14. distribute-neg-in76.0%

      \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \color{blue}{\left(\left(-c \cdot z\right) + \left(-\left(-i \cdot a\right)\right)\right)}\right)\right) \]
    15. unsub-neg76.0%

      \[\leadsto \mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \color{blue}{\left(\left(-c \cdot z\right) - \left(-i \cdot a\right)\right)}\right)\right) \]
  3. Simplified76.0%

    \[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, \mathsf{fma}\left(y, -i, t \cdot c\right), b \cdot \mathsf{fma}\left(c, -z, a \cdot i\right)\right)\right)} \]
  4. Taylor expanded in a around inf 37.5%

    \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + i \cdot b\right)} \]
  5. Step-by-step derivation
    1. +-commutative37.5%

      \[\leadsto a \cdot \color{blue}{\left(i \cdot b + -1 \cdot \left(t \cdot x\right)\right)} \]
    2. mul-1-neg37.5%

      \[\leadsto a \cdot \left(i \cdot b + \color{blue}{\left(-t \cdot x\right)}\right) \]
    3. unsub-neg37.5%

      \[\leadsto a \cdot \color{blue}{\left(i \cdot b - t \cdot x\right)} \]
  6. Simplified37.5%

    \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]
  7. Taylor expanded in i around inf 21.1%

    \[\leadsto \color{blue}{a \cdot \left(i \cdot b\right)} \]
  8. Final simplification21.1%

    \[\leadsto a \cdot \left(b \cdot i\right) \]

Alternative 25: 23.0% accurate, 5.8× speedup?

\[\begin{array}{l} \\ b \cdot \left(a \cdot i\right) \end{array} \]
(FPCore (x y z t a b c i j) :precision binary64 (* b (* a i)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	return b * (a * 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 = b * (a * 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 b * (a * i);
}
def code(x, y, z, t, a, b, c, i, j):
	return b * (a * i)
function code(x, y, z, t, a, b, c, i, j)
	return Float64(b * Float64(a * i))
end
function tmp = code(x, y, z, t, a, b, c, i, j)
	tmp = b * (a * i);
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
b \cdot \left(a \cdot i\right)
\end{array}
Derivation
  1. Initial program 72.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. cancel-sign-sub72.9%

      \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) - \left(-j\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
    2. cancel-sign-sub-inv72.9%

      \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right)} \]
    3. *-commutative72.9%

      \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - \color{blue}{a \cdot i}\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
    4. *-commutative72.9%

      \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right)\right) + \left(-\left(-j\right)\right) \cdot \left(c \cdot t - i \cdot y\right) \]
    5. remove-double-neg72.9%

      \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + \color{blue}{j} \cdot \left(c \cdot t - i \cdot y\right) \]
    6. *-commutative72.9%

      \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(\color{blue}{t \cdot c} - i \cdot y\right) \]
    7. *-commutative72.9%

      \[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - \color{blue}{y \cdot i}\right) \]
  3. Simplified72.9%

    \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)} \]
  4. Taylor expanded in x around 0 60.8%

    \[\leadsto \color{blue}{\left(c \cdot t - y \cdot i\right) \cdot j - b \cdot \left(c \cdot z - a \cdot i\right)} \]
  5. Taylor expanded in y around 0 53.2%

    \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
  6. Taylor expanded in c around 0 49.8%

    \[\leadsto \color{blue}{c \cdot \left(t \cdot j - z \cdot b\right) + a \cdot \left(i \cdot b\right)} \]
  7. Taylor expanded in c around 0 22.5%

    \[\leadsto \color{blue}{i \cdot \left(a \cdot b\right)} \]
  8. Step-by-step derivation
    1. *-commutative22.5%

      \[\leadsto \color{blue}{\left(a \cdot b\right) \cdot i} \]
    2. *-commutative22.5%

      \[\leadsto \color{blue}{\left(b \cdot a\right)} \cdot i \]
    3. associate-*r*22.5%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i\right)} \]
  9. Simplified22.5%

    \[\leadsto \color{blue}{b \cdot \left(a \cdot i\right)} \]
  10. Final simplification22.5%

    \[\leadsto b \cdot \left(a \cdot i\right) \]

Developer target: 67.3% 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 2023192 
(FPCore (x y z t a b c i j)
  :name "Linear.Matrix:det33 from linear-1.19.1.3"
  :precision binary64

  :herbie-target
  (if (< t -8.120978919195912e-33) (- (* x (- (* z y) (* a t))) (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j))) (if (< t -4.712553818218485e-169) (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (/ (* j (- (pow (* c t) 2.0) (pow (* i y) 2.0))) (+ (* c t) (* i y)))) (if (< t -7.633533346031584e-308) (- (* x (- (* z y) (* a t))) (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j))) (if (< t 1.0535888557455487e-139) (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (/ (* j (- (pow (* c t) 2.0) (pow (* i y) 2.0))) (+ (* c t) (* i y)))) (- (* x (- (* z y) (* a t))) (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j)))))))

  (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (* j (- (* c t) (* i y)))))