Linear.Matrix:det33 from linear-1.19.1.3

Percentage Accurate: 74.0% → 82.5%
Time: 25.5s
Alternatives: 26
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 26 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: 74.0% 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.5% accurate, 0.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := t \cdot c - y \cdot i\\ \mathbf{if}\;j \cdot t_1 - \left(b \cdot \left(z \cdot c - a \cdot i\right) + x \cdot \left(t \cdot a - y \cdot z\right)\right) \leq \infty:\\ \;\;\;\;\mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, t_1, b \cdot \left(a \cdot i - z \cdot c\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\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 (<=
        (- (* j t_1) (+ (* b (- (* z c) (* a i))) (* x (- (* t a) (* y z)))))
        INFINITY)
     (fma x (- (* y z) (* t a)) (fma j t_1 (* b (- (* a i) (* z c)))))
     (* y (- (* x z) (* i j))))))
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 (((j * t_1) - ((b * ((z * c) - (a * i))) + (x * ((t * a) - (y * z))))) <= ((double) INFINITY)) {
		tmp = fma(x, ((y * z) - (t * a)), fma(j, t_1, (b * ((a * i) - (z * c)))));
	} else {
		tmp = y * ((x * z) - (i * j));
	}
	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(j * t_1) - Float64(Float64(b * Float64(Float64(z * c) - Float64(a * i))) + Float64(x * Float64(Float64(t * a) - Float64(y * z))))) <= Inf)
		tmp = fma(x, Float64(Float64(y * z) - Float64(t * a)), fma(j, t_1, Float64(b * Float64(Float64(a * i) - Float64(z * c)))));
	else
		tmp = Float64(y * Float64(Float64(x * z) - Float64(i * j)));
	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[(j * t$95$1), $MachinePrecision] - N[(N[(b * N[(N[(z * c), $MachinePrecision] - N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(t * a), $MachinePrecision] - N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], Infinity], N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision] + N[(j * t$95$1 + N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

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

\mathbf{else}:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\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 93.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-neg93.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+93.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-def93.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. +-commutative93.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-def93.5%

        \[\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. *-commutative93.5%

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(x, y \cdot z - t \cdot a, \mathsf{fma}\left(j, t \cdot c - y \cdot i, b \cdot \left(a \cdot i - z \cdot c\right)\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. cancel-sign-sub0.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-inv0.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. *-commutative0.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. *-commutative0.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-neg0.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. *-commutative0.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. *-commutative0.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. Simplified0.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 y around -inf 42.1%

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

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

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

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

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

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

      \[\leadsto \color{blue}{\left(i \cdot j - z \cdot x\right) \cdot \left(-y\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification77.8%

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

Alternative 2: 82.5% accurate, 0.5× speedup?

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

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

\mathbf{else}:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\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 93.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) \]

    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. cancel-sign-sub0.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-inv0.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. *-commutative0.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. *-commutative0.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-neg0.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. *-commutative0.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. *-commutative0.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. Simplified0.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 y around -inf 42.1%

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

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

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

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

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

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

      \[\leadsto \color{blue}{\left(i \cdot j - z \cdot x\right) \cdot \left(-y\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification77.8%

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

Alternative 3: 67.3% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := \left(y \cdot \left(x \cdot z\right) + j \cdot \left(t \cdot c - y \cdot i\right)\right) - c \cdot \left(z \cdot b\right)\\ \mathbf{if}\;j \leq -0.00058:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq 1.15 \cdot 10^{-60}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq 44000:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;j \leq 4.7 \cdot 10^{+76}:\\ \;\;\;\;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 (- (* a i) (* z c)))))
        (t_2 (- (+ (* y (* x z)) (* j (- (* t c) (* y i)))) (* c (* z b)))))
   (if (<= j -0.00058)
     t_2
     (if (<= j 1.15e-60)
       t_1
       (if (<= j 44000.0)
         (* t (- (* c j) (* x a)))
         (if (<= j 4.7e+76) 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 * ((a * i) - (z * c)));
	double t_2 = ((y * (x * z)) + (j * ((t * c) - (y * i)))) - (c * (z * b));
	double tmp;
	if (j <= -0.00058) {
		tmp = t_2;
	} else if (j <= 1.15e-60) {
		tmp = t_1;
	} else if (j <= 44000.0) {
		tmp = t * ((c * j) - (x * a));
	} else if (j <= 4.7e+76) {
		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 * ((a * i) - (z * c)))
    t_2 = ((y * (x * z)) + (j * ((t * c) - (y * i)))) - (c * (z * b))
    if (j <= (-0.00058d0)) then
        tmp = t_2
    else if (j <= 1.15d-60) then
        tmp = t_1
    else if (j <= 44000.0d0) then
        tmp = t * ((c * j) - (x * a))
    else if (j <= 4.7d+76) 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 * ((a * i) - (z * c)));
	double t_2 = ((y * (x * z)) + (j * ((t * c) - (y * i)))) - (c * (z * b));
	double tmp;
	if (j <= -0.00058) {
		tmp = t_2;
	} else if (j <= 1.15e-60) {
		tmp = t_1;
	} else if (j <= 44000.0) {
		tmp = t * ((c * j) - (x * a));
	} else if (j <= 4.7e+76) {
		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 * ((a * i) - (z * c)))
	t_2 = ((y * (x * z)) + (j * ((t * c) - (y * i)))) - (c * (z * b))
	tmp = 0
	if j <= -0.00058:
		tmp = t_2
	elif j <= 1.15e-60:
		tmp = t_1
	elif j <= 44000.0:
		tmp = t * ((c * j) - (x * a))
	elif j <= 4.7e+76:
		tmp = t_1
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) + Float64(b * Float64(Float64(a * i) - Float64(z * c))))
	t_2 = Float64(Float64(Float64(y * Float64(x * z)) + Float64(j * Float64(Float64(t * c) - Float64(y * i)))) - Float64(c * Float64(z * b)))
	tmp = 0.0
	if (j <= -0.00058)
		tmp = t_2;
	elseif (j <= 1.15e-60)
		tmp = t_1;
	elseif (j <= 44000.0)
		tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a)));
	elseif (j <= 4.7e+76)
		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 * ((a * i) - (z * c)));
	t_2 = ((y * (x * z)) + (j * ((t * c) - (y * i)))) - (c * (z * b));
	tmp = 0.0;
	if (j <= -0.00058)
		tmp = t_2;
	elseif (j <= 1.15e-60)
		tmp = t_1;
	elseif (j <= 44000.0)
		tmp = t * ((c * j) - (x * a));
	elseif (j <= 4.7e+76)
		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[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -0.00058], t$95$2, If[LessEqual[j, 1.15e-60], t$95$1, If[LessEqual[j, 44000.0], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 4.7e+76], t$95$1, t$95$2]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;j \leq 1.15 \cdot 10^{-60}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;j \leq 44000:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\

\mathbf{elif}\;j \leq 4.7 \cdot 10^{+76}:\\
\;\;\;\;t_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if j < -5.8e-4 or 4.7000000000000003e76 < j

    1. Initial program 57.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-sub57.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-inv57.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. *-commutative57.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. *-commutative57.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-neg57.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. *-commutative57.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. *-commutative57.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. Simplified57.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 a around 0 71.5%

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

    if -5.8e-4 < j < 1.1500000000000001e-60 or 44000 < j < 4.7000000000000003e76

    1. Initial program 70.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. +-commutative70.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-def71.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. *-commutative71.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. *-commutative71.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. *-commutative71.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. *-commutative71.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. Simplified71.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 j around 0 74.6%

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

    if 1.1500000000000001e-60 < j < 44000

    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 t around inf 89.5%

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -0.00058:\\ \;\;\;\;\left(y \cdot \left(x \cdot z\right) + j \cdot \left(t \cdot c - y \cdot i\right)\right) - c \cdot \left(z \cdot b\right)\\ \mathbf{elif}\;j \leq 1.15 \cdot 10^{-60}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;j \leq 44000:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;j \leq 4.7 \cdot 10^{+76}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;\left(y \cdot \left(x \cdot z\right) + j \cdot \left(t \cdot c - y \cdot i\right)\right) - c \cdot \left(z \cdot b\right)\\ \end{array} \]

Alternative 4: 66.5% accurate, 1.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(x \cdot z\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ t_2 := x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{if}\;j \leq -5 \cdot 10^{+44}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;j \leq 2.2 \cdot 10^{-61}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;j \leq 85000:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;j \leq 4.2 \cdot 10^{+76}:\\ \;\;\;\;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 (+ (* y (* x z)) (* j (- (* t c) (* y i)))))
        (t_2 (+ (* x (- (* y z) (* t a))) (* b (- (* a i) (* z c))))))
   (if (<= j -5e+44)
     t_1
     (if (<= j 2.2e-61)
       t_2
       (if (<= j 85000.0)
         (* t (- (* c j) (* x a)))
         (if (<= j 4.2e+76) 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 = (y * (x * z)) + (j * ((t * c) - (y * i)));
	double t_2 = (x * ((y * z) - (t * a))) + (b * ((a * i) - (z * c)));
	double tmp;
	if (j <= -5e+44) {
		tmp = t_1;
	} else if (j <= 2.2e-61) {
		tmp = t_2;
	} else if (j <= 85000.0) {
		tmp = t * ((c * j) - (x * a));
	} else if (j <= 4.2e+76) {
		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 = (y * (x * z)) + (j * ((t * c) - (y * i)))
    t_2 = (x * ((y * z) - (t * a))) + (b * ((a * i) - (z * c)))
    if (j <= (-5d+44)) then
        tmp = t_1
    else if (j <= 2.2d-61) then
        tmp = t_2
    else if (j <= 85000.0d0) then
        tmp = t * ((c * j) - (x * a))
    else if (j <= 4.2d+76) 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 = (y * (x * z)) + (j * ((t * c) - (y * i)));
	double t_2 = (x * ((y * z) - (t * a))) + (b * ((a * i) - (z * c)));
	double tmp;
	if (j <= -5e+44) {
		tmp = t_1;
	} else if (j <= 2.2e-61) {
		tmp = t_2;
	} else if (j <= 85000.0) {
		tmp = t * ((c * j) - (x * a));
	} else if (j <= 4.2e+76) {
		tmp = t_2;
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = (y * (x * z)) + (j * ((t * c) - (y * i)))
	t_2 = (x * ((y * z) - (t * a))) + (b * ((a * i) - (z * c)))
	tmp = 0
	if j <= -5e+44:
		tmp = t_1
	elif j <= 2.2e-61:
		tmp = t_2
	elif j <= 85000.0:
		tmp = t * ((c * j) - (x * a))
	elif j <= 4.2e+76:
		tmp = t_2
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(Float64(y * Float64(x * z)) + Float64(j * Float64(Float64(t * c) - Float64(y * i))))
	t_2 = Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) + Float64(b * Float64(Float64(a * i) - Float64(z * c))))
	tmp = 0.0
	if (j <= -5e+44)
		tmp = t_1;
	elseif (j <= 2.2e-61)
		tmp = t_2;
	elseif (j <= 85000.0)
		tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a)));
	elseif (j <= 4.2e+76)
		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 = (y * (x * z)) + (j * ((t * c) - (y * i)));
	t_2 = (x * ((y * z) - (t * a))) + (b * ((a * i) - (z * c)));
	tmp = 0.0;
	if (j <= -5e+44)
		tmp = t_1;
	elseif (j <= 2.2e-61)
		tmp = t_2;
	elseif (j <= 85000.0)
		tmp = t * ((c * j) - (x * a));
	elseif (j <= 4.2e+76)
		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[(N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -5e+44], t$95$1, If[LessEqual[j, 2.2e-61], t$95$2, If[LessEqual[j, 85000.0], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 4.2e+76], t$95$2, t$95$1]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;j \leq 2.2 \cdot 10^{-61}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;j \leq 85000:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\

\mathbf{elif}\;j \leq 4.2 \cdot 10^{+76}:\\
\;\;\;\;t_2\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if j < -4.9999999999999996e44 or 4.20000000000000013e76 < j

    1. Initial program 55.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-sub55.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-inv55.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. *-commutative55.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. *-commutative55.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-neg55.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. *-commutative55.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. *-commutative55.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. Simplified55.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 a around 0 70.1%

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

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

    if -4.9999999999999996e44 < j < 2.20000000000000009e-61 or 85000 < j < 4.20000000000000013e76

    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. +-commutative71.1%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-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 j around 0 75.3%

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

    if 2.20000000000000009e-61 < j < 85000

    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 t around inf 89.5%

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -5 \cdot 10^{+44}:\\ \;\;\;\;y \cdot \left(x \cdot z\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;j \leq 2.2 \cdot 10^{-61}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;j \leq 85000:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;j \leq 4.2 \cdot 10^{+76}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(x \cdot z\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ \end{array} \]

Alternative 5: 30.2% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot \left(y \cdot z\right)\\ t_2 := b \cdot \left(a \cdot i\right)\\ t_3 := c \cdot \left(z \cdot \left(-b\right)\right)\\ t_4 := \left(x \cdot t\right) \cdot \left(-a\right)\\ \mathbf{if}\;t \leq -9.2 \cdot 10^{+55}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;t \leq -5.1 \cdot 10^{+32}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -1.5 \cdot 10^{-121}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq -1.45 \cdot 10^{-195}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq -9.6 \cdot 10^{-270}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;t \leq 1.56 \cdot 10^{-307}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 1.18 \cdot 10^{-243}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 2.75 \cdot 10^{+26}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq 6.8 \cdot 10^{+232}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* x (* y z)))
        (t_2 (* b (* a i)))
        (t_3 (* c (* z (- b))))
        (t_4 (* (* x t) (- a))))
   (if (<= t -9.2e+55)
     t_4
     (if (<= t -5.1e+32)
       t_2
       (if (<= t -1.5e-121)
         t_3
         (if (<= t -1.45e-195)
           t_1
           (if (<= t -9.6e-270)
             (* a (* b i))
             (if (<= t 1.56e-307)
               t_1
               (if (<= t 1.18e-243)
                 t_2
                 (if (<= t 2.75e+26)
                   t_3
                   (if (<= t 6.8e+232) t_4 (* t (* c j)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = x * (y * z);
	double t_2 = b * (a * i);
	double t_3 = c * (z * -b);
	double t_4 = (x * t) * -a;
	double tmp;
	if (t <= -9.2e+55) {
		tmp = t_4;
	} else if (t <= -5.1e+32) {
		tmp = t_2;
	} else if (t <= -1.5e-121) {
		tmp = t_3;
	} else if (t <= -1.45e-195) {
		tmp = t_1;
	} else if (t <= -9.6e-270) {
		tmp = a * (b * i);
	} else if (t <= 1.56e-307) {
		tmp = t_1;
	} else if (t <= 1.18e-243) {
		tmp = t_2;
	} else if (t <= 2.75e+26) {
		tmp = t_3;
	} else if (t <= 6.8e+232) {
		tmp = t_4;
	} else {
		tmp = t * (c * 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) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: tmp
    t_1 = x * (y * z)
    t_2 = b * (a * i)
    t_3 = c * (z * -b)
    t_4 = (x * t) * -a
    if (t <= (-9.2d+55)) then
        tmp = t_4
    else if (t <= (-5.1d+32)) then
        tmp = t_2
    else if (t <= (-1.5d-121)) then
        tmp = t_3
    else if (t <= (-1.45d-195)) then
        tmp = t_1
    else if (t <= (-9.6d-270)) then
        tmp = a * (b * i)
    else if (t <= 1.56d-307) then
        tmp = t_1
    else if (t <= 1.18d-243) then
        tmp = t_2
    else if (t <= 2.75d+26) then
        tmp = t_3
    else if (t <= 6.8d+232) then
        tmp = t_4
    else
        tmp = t * (c * 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 t_1 = x * (y * z);
	double t_2 = b * (a * i);
	double t_3 = c * (z * -b);
	double t_4 = (x * t) * -a;
	double tmp;
	if (t <= -9.2e+55) {
		tmp = t_4;
	} else if (t <= -5.1e+32) {
		tmp = t_2;
	} else if (t <= -1.5e-121) {
		tmp = t_3;
	} else if (t <= -1.45e-195) {
		tmp = t_1;
	} else if (t <= -9.6e-270) {
		tmp = a * (b * i);
	} else if (t <= 1.56e-307) {
		tmp = t_1;
	} else if (t <= 1.18e-243) {
		tmp = t_2;
	} else if (t <= 2.75e+26) {
		tmp = t_3;
	} else if (t <= 6.8e+232) {
		tmp = t_4;
	} else {
		tmp = t * (c * j);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = x * (y * z)
	t_2 = b * (a * i)
	t_3 = c * (z * -b)
	t_4 = (x * t) * -a
	tmp = 0
	if t <= -9.2e+55:
		tmp = t_4
	elif t <= -5.1e+32:
		tmp = t_2
	elif t <= -1.5e-121:
		tmp = t_3
	elif t <= -1.45e-195:
		tmp = t_1
	elif t <= -9.6e-270:
		tmp = a * (b * i)
	elif t <= 1.56e-307:
		tmp = t_1
	elif t <= 1.18e-243:
		tmp = t_2
	elif t <= 2.75e+26:
		tmp = t_3
	elif t <= 6.8e+232:
		tmp = t_4
	else:
		tmp = t * (c * j)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(x * Float64(y * z))
	t_2 = Float64(b * Float64(a * i))
	t_3 = Float64(c * Float64(z * Float64(-b)))
	t_4 = Float64(Float64(x * t) * Float64(-a))
	tmp = 0.0
	if (t <= -9.2e+55)
		tmp = t_4;
	elseif (t <= -5.1e+32)
		tmp = t_2;
	elseif (t <= -1.5e-121)
		tmp = t_3;
	elseif (t <= -1.45e-195)
		tmp = t_1;
	elseif (t <= -9.6e-270)
		tmp = Float64(a * Float64(b * i));
	elseif (t <= 1.56e-307)
		tmp = t_1;
	elseif (t <= 1.18e-243)
		tmp = t_2;
	elseif (t <= 2.75e+26)
		tmp = t_3;
	elseif (t <= 6.8e+232)
		tmp = t_4;
	else
		tmp = Float64(t * Float64(c * j));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = x * (y * z);
	t_2 = b * (a * i);
	t_3 = c * (z * -b);
	t_4 = (x * t) * -a;
	tmp = 0.0;
	if (t <= -9.2e+55)
		tmp = t_4;
	elseif (t <= -5.1e+32)
		tmp = t_2;
	elseif (t <= -1.5e-121)
		tmp = t_3;
	elseif (t <= -1.45e-195)
		tmp = t_1;
	elseif (t <= -9.6e-270)
		tmp = a * (b * i);
	elseif (t <= 1.56e-307)
		tmp = t_1;
	elseif (t <= 1.18e-243)
		tmp = t_2;
	elseif (t <= 2.75e+26)
		tmp = t_3;
	elseif (t <= 6.8e+232)
		tmp = t_4;
	else
		tmp = t * (c * j);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(c * N[(z * (-b)), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(x * t), $MachinePrecision] * (-a)), $MachinePrecision]}, If[LessEqual[t, -9.2e+55], t$95$4, If[LessEqual[t, -5.1e+32], t$95$2, If[LessEqual[t, -1.5e-121], t$95$3, If[LessEqual[t, -1.45e-195], t$95$1, If[LessEqual[t, -9.6e-270], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.56e-307], t$95$1, If[LessEqual[t, 1.18e-243], t$95$2, If[LessEqual[t, 2.75e+26], t$95$3, If[LessEqual[t, 6.8e+232], t$95$4, N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;t \leq -5.1 \cdot 10^{+32}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;t \leq -1.5 \cdot 10^{-121}:\\
\;\;\;\;t_3\\

\mathbf{elif}\;t \leq -1.45 \cdot 10^{-195}:\\
\;\;\;\;t_1\\

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

\mathbf{elif}\;t \leq 1.56 \cdot 10^{-307}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;t \leq 1.18 \cdot 10^{-243}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;t \leq 2.75 \cdot 10^{+26}:\\
\;\;\;\;t_3\\

\mathbf{elif}\;t \leq 6.8 \cdot 10^{+232}:\\
\;\;\;\;t_4\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if t < -9.1999999999999995e55 or 2.7499999999999998e26 < t < 6.7999999999999996e232

    1. Initial program 56.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-sub56.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-inv56.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. *-commutative56.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. *-commutative56.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-neg56.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. *-commutative56.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. *-commutative56.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. Simplified56.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 a around inf 58.2%

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

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

        \[\leadsto a \cdot \left(-1 \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-i \cdot b\right)}\right)\right) \]
      3. remove-double-neg58.2%

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

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

        \[\leadsto a \cdot \left(i \cdot b + \color{blue}{\left(-t \cdot x\right)}\right) \]
      6. unsub-neg58.2%

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

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]
    7. Taylor expanded in i around 0 53.1%

      \[\leadsto a \cdot \color{blue}{\left(-1 \cdot \left(t \cdot x\right)\right)} \]
    8. Step-by-step derivation
      1. neg-mul-153.1%

        \[\leadsto a \cdot \color{blue}{\left(-t \cdot x\right)} \]
      2. distribute-rgt-neg-in53.1%

        \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(-x\right)\right)} \]
    9. Simplified53.1%

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

    if -9.1999999999999995e55 < t < -5.10000000000000004e32 or 1.56e-307 < t < 1.1800000000000001e-243

    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 b around inf 72.0%

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

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

    if -5.10000000000000004e32 < t < -1.5e-121 or 1.1800000000000001e-243 < t < 2.7499999999999998e26

    1. Initial program 67.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. +-commutative67.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-def71.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. *-commutative71.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. *-commutative71.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. *-commutative71.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. *-commutative71.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. Simplified71.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 j around 0 55.1%

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

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

        \[\leadsto \color{blue}{-c \cdot \left(z \cdot b\right)} \]
      2. *-commutative33.4%

        \[\leadsto -c \cdot \color{blue}{\left(b \cdot z\right)} \]
      3. distribute-rgt-neg-in33.4%

        \[\leadsto \color{blue}{c \cdot \left(-b \cdot z\right)} \]
      4. *-commutative33.4%

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

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

    if -1.5e-121 < t < -1.4500000000000001e-195 or -9.60000000000000007e-270 < t < 1.56e-307

    1. Initial program 86.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. +-commutative86.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-def91.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. *-commutative91.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. *-commutative91.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. *-commutative91.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. *-commutative91.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. Simplified91.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 j around 0 77.6%

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

      \[\leadsto \color{blue}{\left(y \cdot z - a \cdot t\right) \cdot x} \]
    6. Taylor expanded in y around inf 58.9%

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

    if -1.4500000000000001e-195 < t < -9.60000000000000007e-270

    1. Initial program 76.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. +-commutative76.6%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-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 j around 0 77.0%

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

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

    if 6.7999999999999996e232 < t

    1. Initial program 57.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-sub57.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-inv57.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. *-commutative57.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. *-commutative57.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-neg57.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. *-commutative57.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. *-commutative57.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. Simplified57.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 t around inf 74.0%

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

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

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

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

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - a \cdot x\right)} \]
    7. Taylor expanded in c around inf 61.4%

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

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

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

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j\right)} \]
    9. Simplified65.4%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -9.2 \cdot 10^{+55}:\\ \;\;\;\;\left(x \cdot t\right) \cdot \left(-a\right)\\ \mathbf{elif}\;t \leq -5.1 \cdot 10^{+32}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;t \leq -1.5 \cdot 10^{-121}:\\ \;\;\;\;c \cdot \left(z \cdot \left(-b\right)\right)\\ \mathbf{elif}\;t \leq -1.45 \cdot 10^{-195}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;t \leq -9.6 \cdot 10^{-270}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;t \leq 1.56 \cdot 10^{-307}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;t \leq 1.18 \cdot 10^{-243}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;t \leq 2.75 \cdot 10^{+26}:\\ \;\;\;\;c \cdot \left(z \cdot \left(-b\right)\right)\\ \mathbf{elif}\;t \leq 6.8 \cdot 10^{+232}:\\ \;\;\;\;\left(x \cdot t\right) \cdot \left(-a\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \end{array} \]

Alternative 6: 30.3% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot \left(y \cdot z\right)\\ t_2 := b \cdot \left(a \cdot i\right)\\ t_3 := \left(x \cdot t\right) \cdot \left(-a\right)\\ \mathbf{if}\;t \leq -1.2 \cdot 10^{+56}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq -4.6 \cdot 10^{-25}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -8.9 \cdot 10^{-122}:\\ \;\;\;\;\left(-i\right) \cdot \left(y \cdot j\right)\\ \mathbf{elif}\;t \leq -1.12 \cdot 10^{-195}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq -5.8 \cdot 10^{-273}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;t \leq -1.8 \cdot 10^{-306}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 7.2 \cdot 10^{-246}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 2.2 \cdot 10^{+27}:\\ \;\;\;\;c \cdot \left(z \cdot \left(-b\right)\right)\\ \mathbf{elif}\;t \leq 7 \cdot 10^{+232}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* x (* y z))) (t_2 (* b (* a i))) (t_3 (* (* x t) (- a))))
   (if (<= t -1.2e+56)
     t_3
     (if (<= t -4.6e-25)
       t_2
       (if (<= t -8.9e-122)
         (* (- i) (* y j))
         (if (<= t -1.12e-195)
           t_1
           (if (<= t -5.8e-273)
             (* a (* b i))
             (if (<= t -1.8e-306)
               t_1
               (if (<= t 7.2e-246)
                 t_2
                 (if (<= t 2.2e+27)
                   (* c (* z (- b)))
                   (if (<= t 7e+232) t_3 (* t (* c j)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = x * (y * z);
	double t_2 = b * (a * i);
	double t_3 = (x * t) * -a;
	double tmp;
	if (t <= -1.2e+56) {
		tmp = t_3;
	} else if (t <= -4.6e-25) {
		tmp = t_2;
	} else if (t <= -8.9e-122) {
		tmp = -i * (y * j);
	} else if (t <= -1.12e-195) {
		tmp = t_1;
	} else if (t <= -5.8e-273) {
		tmp = a * (b * i);
	} else if (t <= -1.8e-306) {
		tmp = t_1;
	} else if (t <= 7.2e-246) {
		tmp = t_2;
	} else if (t <= 2.2e+27) {
		tmp = c * (z * -b);
	} else if (t <= 7e+232) {
		tmp = t_3;
	} else {
		tmp = t * (c * 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) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = x * (y * z)
    t_2 = b * (a * i)
    t_3 = (x * t) * -a
    if (t <= (-1.2d+56)) then
        tmp = t_3
    else if (t <= (-4.6d-25)) then
        tmp = t_2
    else if (t <= (-8.9d-122)) then
        tmp = -i * (y * j)
    else if (t <= (-1.12d-195)) then
        tmp = t_1
    else if (t <= (-5.8d-273)) then
        tmp = a * (b * i)
    else if (t <= (-1.8d-306)) then
        tmp = t_1
    else if (t <= 7.2d-246) then
        tmp = t_2
    else if (t <= 2.2d+27) then
        tmp = c * (z * -b)
    else if (t <= 7d+232) then
        tmp = t_3
    else
        tmp = t * (c * 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 t_1 = x * (y * z);
	double t_2 = b * (a * i);
	double t_3 = (x * t) * -a;
	double tmp;
	if (t <= -1.2e+56) {
		tmp = t_3;
	} else if (t <= -4.6e-25) {
		tmp = t_2;
	} else if (t <= -8.9e-122) {
		tmp = -i * (y * j);
	} else if (t <= -1.12e-195) {
		tmp = t_1;
	} else if (t <= -5.8e-273) {
		tmp = a * (b * i);
	} else if (t <= -1.8e-306) {
		tmp = t_1;
	} else if (t <= 7.2e-246) {
		tmp = t_2;
	} else if (t <= 2.2e+27) {
		tmp = c * (z * -b);
	} else if (t <= 7e+232) {
		tmp = t_3;
	} else {
		tmp = t * (c * j);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = x * (y * z)
	t_2 = b * (a * i)
	t_3 = (x * t) * -a
	tmp = 0
	if t <= -1.2e+56:
		tmp = t_3
	elif t <= -4.6e-25:
		tmp = t_2
	elif t <= -8.9e-122:
		tmp = -i * (y * j)
	elif t <= -1.12e-195:
		tmp = t_1
	elif t <= -5.8e-273:
		tmp = a * (b * i)
	elif t <= -1.8e-306:
		tmp = t_1
	elif t <= 7.2e-246:
		tmp = t_2
	elif t <= 2.2e+27:
		tmp = c * (z * -b)
	elif t <= 7e+232:
		tmp = t_3
	else:
		tmp = t * (c * j)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(x * Float64(y * z))
	t_2 = Float64(b * Float64(a * i))
	t_3 = Float64(Float64(x * t) * Float64(-a))
	tmp = 0.0
	if (t <= -1.2e+56)
		tmp = t_3;
	elseif (t <= -4.6e-25)
		tmp = t_2;
	elseif (t <= -8.9e-122)
		tmp = Float64(Float64(-i) * Float64(y * j));
	elseif (t <= -1.12e-195)
		tmp = t_1;
	elseif (t <= -5.8e-273)
		tmp = Float64(a * Float64(b * i));
	elseif (t <= -1.8e-306)
		tmp = t_1;
	elseif (t <= 7.2e-246)
		tmp = t_2;
	elseif (t <= 2.2e+27)
		tmp = Float64(c * Float64(z * Float64(-b)));
	elseif (t <= 7e+232)
		tmp = t_3;
	else
		tmp = Float64(t * Float64(c * j));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = x * (y * z);
	t_2 = b * (a * i);
	t_3 = (x * t) * -a;
	tmp = 0.0;
	if (t <= -1.2e+56)
		tmp = t_3;
	elseif (t <= -4.6e-25)
		tmp = t_2;
	elseif (t <= -8.9e-122)
		tmp = -i * (y * j);
	elseif (t <= -1.12e-195)
		tmp = t_1;
	elseif (t <= -5.8e-273)
		tmp = a * (b * i);
	elseif (t <= -1.8e-306)
		tmp = t_1;
	elseif (t <= 7.2e-246)
		tmp = t_2;
	elseif (t <= 2.2e+27)
		tmp = c * (z * -b);
	elseif (t <= 7e+232)
		tmp = t_3;
	else
		tmp = t * (c * j);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * t), $MachinePrecision] * (-a)), $MachinePrecision]}, If[LessEqual[t, -1.2e+56], t$95$3, If[LessEqual[t, -4.6e-25], t$95$2, If[LessEqual[t, -8.9e-122], N[((-i) * N[(y * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.12e-195], t$95$1, If[LessEqual[t, -5.8e-273], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.8e-306], t$95$1, If[LessEqual[t, 7.2e-246], t$95$2, If[LessEqual[t, 2.2e+27], N[(c * N[(z * (-b)), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 7e+232], t$95$3, N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;t \leq -4.6 \cdot 10^{-25}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;t \leq -8.9 \cdot 10^{-122}:\\
\;\;\;\;\left(-i\right) \cdot \left(y \cdot j\right)\\

\mathbf{elif}\;t \leq -1.12 \cdot 10^{-195}:\\
\;\;\;\;t_1\\

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

\mathbf{elif}\;t \leq -1.8 \cdot 10^{-306}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;t \leq 7.2 \cdot 10^{-246}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;t \leq 2.2 \cdot 10^{+27}:\\
\;\;\;\;c \cdot \left(z \cdot \left(-b\right)\right)\\

\mathbf{elif}\;t \leq 7 \cdot 10^{+232}:\\
\;\;\;\;t_3\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if t < -1.20000000000000007e56 or 2.1999999999999999e27 < t < 7.00000000000000026e232

    1. Initial program 56.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-sub56.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-inv56.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. *-commutative56.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. *-commutative56.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-neg56.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. *-commutative56.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. *-commutative56.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. Simplified56.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 a around inf 58.2%

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

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

        \[\leadsto a \cdot \left(-1 \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-i \cdot b\right)}\right)\right) \]
      3. remove-double-neg58.2%

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

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

        \[\leadsto a \cdot \left(i \cdot b + \color{blue}{\left(-t \cdot x\right)}\right) \]
      6. unsub-neg58.2%

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

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]
    7. Taylor expanded in i around 0 53.1%

      \[\leadsto a \cdot \color{blue}{\left(-1 \cdot \left(t \cdot x\right)\right)} \]
    8. Step-by-step derivation
      1. neg-mul-153.1%

        \[\leadsto a \cdot \color{blue}{\left(-t \cdot x\right)} \]
      2. distribute-rgt-neg-in53.1%

        \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(-x\right)\right)} \]
    9. Simplified53.1%

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

    if -1.20000000000000007e56 < t < -4.5999999999999998e-25 or -1.79999999999999996e-306 < t < 7.2000000000000004e-246

    1. Initial program 74.7%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. cancel-sign-sub74.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-inv74.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. *-commutative74.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. *-commutative74.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-neg74.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. *-commutative74.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. *-commutative74.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. Simplified74.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 inf 60.6%

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

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

    if -4.5999999999999998e-25 < t < -8.9000000000000003e-122

    1. Initial program 56.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-sub56.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-inv56.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. *-commutative56.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. *-commutative56.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-neg56.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. *-commutative56.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. *-commutative56.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. Simplified56.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 j around inf 57.4%

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

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(i \cdot j\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*50.9%

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

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

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

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

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

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

    if -8.9000000000000003e-122 < t < -1.1199999999999999e-195 or -5.79999999999999973e-273 < t < -1.79999999999999996e-306

    1. Initial program 86.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. +-commutative86.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-def91.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. *-commutative91.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. *-commutative91.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. *-commutative91.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. *-commutative91.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. Simplified91.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 j around 0 77.6%

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

      \[\leadsto \color{blue}{\left(y \cdot z - a \cdot t\right) \cdot x} \]
    6. Taylor expanded in y around inf 58.9%

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

    if -1.1199999999999999e-195 < t < -5.79999999999999973e-273

    1. Initial program 76.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. +-commutative76.6%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-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 j around 0 77.0%

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

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

    if 7.2000000000000004e-246 < t < 2.1999999999999999e27

    1. Initial program 70.1%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. +-commutative70.1%

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

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

        \[\leadsto \mathsf{fma}\left(j, 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. *-commutative77.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. *-commutative77.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. *-commutative77.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. Simplified77.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 j around 0 65.9%

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

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

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

        \[\leadsto -c \cdot \color{blue}{\left(b \cdot z\right)} \]
      3. distribute-rgt-neg-in34.7%

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

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

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

    if 7.00000000000000026e232 < t

    1. Initial program 57.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-sub57.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-inv57.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. *-commutative57.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. *-commutative57.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-neg57.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. *-commutative57.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. *-commutative57.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. Simplified57.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 t around inf 74.0%

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

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

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

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

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - a \cdot x\right)} \]
    7. Taylor expanded in c around inf 61.4%

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

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

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

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j\right)} \]
    9. Simplified65.4%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.2 \cdot 10^{+56}:\\ \;\;\;\;\left(x \cdot t\right) \cdot \left(-a\right)\\ \mathbf{elif}\;t \leq -4.6 \cdot 10^{-25}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;t \leq -8.9 \cdot 10^{-122}:\\ \;\;\;\;\left(-i\right) \cdot \left(y \cdot j\right)\\ \mathbf{elif}\;t \leq -1.12 \cdot 10^{-195}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;t \leq -5.8 \cdot 10^{-273}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;t \leq -1.8 \cdot 10^{-306}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;t \leq 7.2 \cdot 10^{-246}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;t \leq 2.2 \cdot 10^{+27}:\\ \;\;\;\;c \cdot \left(z \cdot \left(-b\right)\right)\\ \mathbf{elif}\;t \leq 7 \cdot 10^{+232}:\\ \;\;\;\;\left(x \cdot t\right) \cdot \left(-a\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \end{array} \]

Alternative 7: 30.1% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot \left(y \cdot z\right)\\ t_2 := b \cdot \left(a \cdot i\right)\\ t_3 := \left(x \cdot t\right) \cdot \left(-a\right)\\ \mathbf{if}\;t \leq -1.65 \cdot 10^{+56}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;t \leq -3.2 \cdot 10^{-25}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -1.58 \cdot 10^{-121}:\\ \;\;\;\;\left(-i\right) \cdot \left(y \cdot j\right)\\ \mathbf{elif}\;t \leq -4.2 \cdot 10^{-196}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq -1.8 \cdot 10^{-270}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;t \leq -3.2 \cdot 10^{-307}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 6 \cdot 10^{-249}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 2.5 \cdot 10^{+25}:\\ \;\;\;\;\left(z \cdot c\right) \cdot \left(-b\right)\\ \mathbf{elif}\;t \leq 7 \cdot 10^{+232}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* x (* y z))) (t_2 (* b (* a i))) (t_3 (* (* x t) (- a))))
   (if (<= t -1.65e+56)
     t_3
     (if (<= t -3.2e-25)
       t_2
       (if (<= t -1.58e-121)
         (* (- i) (* y j))
         (if (<= t -4.2e-196)
           t_1
           (if (<= t -1.8e-270)
             (* a (* b i))
             (if (<= t -3.2e-307)
               t_1
               (if (<= t 6e-249)
                 t_2
                 (if (<= t 2.5e+25)
                   (* (* z c) (- b))
                   (if (<= t 7e+232) t_3 (* t (* c j)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = x * (y * z);
	double t_2 = b * (a * i);
	double t_3 = (x * t) * -a;
	double tmp;
	if (t <= -1.65e+56) {
		tmp = t_3;
	} else if (t <= -3.2e-25) {
		tmp = t_2;
	} else if (t <= -1.58e-121) {
		tmp = -i * (y * j);
	} else if (t <= -4.2e-196) {
		tmp = t_1;
	} else if (t <= -1.8e-270) {
		tmp = a * (b * i);
	} else if (t <= -3.2e-307) {
		tmp = t_1;
	} else if (t <= 6e-249) {
		tmp = t_2;
	} else if (t <= 2.5e+25) {
		tmp = (z * c) * -b;
	} else if (t <= 7e+232) {
		tmp = t_3;
	} else {
		tmp = t * (c * 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) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = x * (y * z)
    t_2 = b * (a * i)
    t_3 = (x * t) * -a
    if (t <= (-1.65d+56)) then
        tmp = t_3
    else if (t <= (-3.2d-25)) then
        tmp = t_2
    else if (t <= (-1.58d-121)) then
        tmp = -i * (y * j)
    else if (t <= (-4.2d-196)) then
        tmp = t_1
    else if (t <= (-1.8d-270)) then
        tmp = a * (b * i)
    else if (t <= (-3.2d-307)) then
        tmp = t_1
    else if (t <= 6d-249) then
        tmp = t_2
    else if (t <= 2.5d+25) then
        tmp = (z * c) * -b
    else if (t <= 7d+232) then
        tmp = t_3
    else
        tmp = t * (c * 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 t_1 = x * (y * z);
	double t_2 = b * (a * i);
	double t_3 = (x * t) * -a;
	double tmp;
	if (t <= -1.65e+56) {
		tmp = t_3;
	} else if (t <= -3.2e-25) {
		tmp = t_2;
	} else if (t <= -1.58e-121) {
		tmp = -i * (y * j);
	} else if (t <= -4.2e-196) {
		tmp = t_1;
	} else if (t <= -1.8e-270) {
		tmp = a * (b * i);
	} else if (t <= -3.2e-307) {
		tmp = t_1;
	} else if (t <= 6e-249) {
		tmp = t_2;
	} else if (t <= 2.5e+25) {
		tmp = (z * c) * -b;
	} else if (t <= 7e+232) {
		tmp = t_3;
	} else {
		tmp = t * (c * j);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = x * (y * z)
	t_2 = b * (a * i)
	t_3 = (x * t) * -a
	tmp = 0
	if t <= -1.65e+56:
		tmp = t_3
	elif t <= -3.2e-25:
		tmp = t_2
	elif t <= -1.58e-121:
		tmp = -i * (y * j)
	elif t <= -4.2e-196:
		tmp = t_1
	elif t <= -1.8e-270:
		tmp = a * (b * i)
	elif t <= -3.2e-307:
		tmp = t_1
	elif t <= 6e-249:
		tmp = t_2
	elif t <= 2.5e+25:
		tmp = (z * c) * -b
	elif t <= 7e+232:
		tmp = t_3
	else:
		tmp = t * (c * j)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(x * Float64(y * z))
	t_2 = Float64(b * Float64(a * i))
	t_3 = Float64(Float64(x * t) * Float64(-a))
	tmp = 0.0
	if (t <= -1.65e+56)
		tmp = t_3;
	elseif (t <= -3.2e-25)
		tmp = t_2;
	elseif (t <= -1.58e-121)
		tmp = Float64(Float64(-i) * Float64(y * j));
	elseif (t <= -4.2e-196)
		tmp = t_1;
	elseif (t <= -1.8e-270)
		tmp = Float64(a * Float64(b * i));
	elseif (t <= -3.2e-307)
		tmp = t_1;
	elseif (t <= 6e-249)
		tmp = t_2;
	elseif (t <= 2.5e+25)
		tmp = Float64(Float64(z * c) * Float64(-b));
	elseif (t <= 7e+232)
		tmp = t_3;
	else
		tmp = Float64(t * Float64(c * j));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = x * (y * z);
	t_2 = b * (a * i);
	t_3 = (x * t) * -a;
	tmp = 0.0;
	if (t <= -1.65e+56)
		tmp = t_3;
	elseif (t <= -3.2e-25)
		tmp = t_2;
	elseif (t <= -1.58e-121)
		tmp = -i * (y * j);
	elseif (t <= -4.2e-196)
		tmp = t_1;
	elseif (t <= -1.8e-270)
		tmp = a * (b * i);
	elseif (t <= -3.2e-307)
		tmp = t_1;
	elseif (t <= 6e-249)
		tmp = t_2;
	elseif (t <= 2.5e+25)
		tmp = (z * c) * -b;
	elseif (t <= 7e+232)
		tmp = t_3;
	else
		tmp = t * (c * j);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * t), $MachinePrecision] * (-a)), $MachinePrecision]}, If[LessEqual[t, -1.65e+56], t$95$3, If[LessEqual[t, -3.2e-25], t$95$2, If[LessEqual[t, -1.58e-121], N[((-i) * N[(y * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -4.2e-196], t$95$1, If[LessEqual[t, -1.8e-270], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -3.2e-307], t$95$1, If[LessEqual[t, 6e-249], t$95$2, If[LessEqual[t, 2.5e+25], N[(N[(z * c), $MachinePrecision] * (-b)), $MachinePrecision], If[LessEqual[t, 7e+232], t$95$3, N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;t \leq -3.2 \cdot 10^{-25}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;t \leq -1.58 \cdot 10^{-121}:\\
\;\;\;\;\left(-i\right) \cdot \left(y \cdot j\right)\\

\mathbf{elif}\;t \leq -4.2 \cdot 10^{-196}:\\
\;\;\;\;t_1\\

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

\mathbf{elif}\;t \leq -3.2 \cdot 10^{-307}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;t \leq 6 \cdot 10^{-249}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;t \leq 2.5 \cdot 10^{+25}:\\
\;\;\;\;\left(z \cdot c\right) \cdot \left(-b\right)\\

\mathbf{elif}\;t \leq 7 \cdot 10^{+232}:\\
\;\;\;\;t_3\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if t < -1.65000000000000001e56 or 2.50000000000000012e25 < t < 7.00000000000000026e232

    1. Initial program 56.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-sub56.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-inv56.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. *-commutative56.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. *-commutative56.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-neg56.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. *-commutative56.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. *-commutative56.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. Simplified56.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 a around inf 58.2%

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

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

        \[\leadsto a \cdot \left(-1 \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-i \cdot b\right)}\right)\right) \]
      3. remove-double-neg58.2%

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

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

        \[\leadsto a \cdot \left(i \cdot b + \color{blue}{\left(-t \cdot x\right)}\right) \]
      6. unsub-neg58.2%

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

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]
    7. Taylor expanded in i around 0 53.1%

      \[\leadsto a \cdot \color{blue}{\left(-1 \cdot \left(t \cdot x\right)\right)} \]
    8. Step-by-step derivation
      1. neg-mul-153.1%

        \[\leadsto a \cdot \color{blue}{\left(-t \cdot x\right)} \]
      2. distribute-rgt-neg-in53.1%

        \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(-x\right)\right)} \]
    9. Simplified53.1%

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

    if -1.65000000000000001e56 < t < -3.2000000000000001e-25 or -3.20000000000000011e-307 < t < 6.00000000000000008e-249

    1. Initial program 73.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-sub73.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-inv73.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. *-commutative73.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. *-commutative73.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-neg73.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. *-commutative73.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. *-commutative73.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. Simplified73.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 b around inf 62.3%

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

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

    if -3.2000000000000001e-25 < t < -1.58000000000000003e-121

    1. Initial program 56.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-sub56.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-inv56.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. *-commutative56.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. *-commutative56.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-neg56.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. *-commutative56.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. *-commutative56.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. Simplified56.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 j around inf 57.4%

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

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(i \cdot j\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*50.9%

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

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

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

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

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

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

    if -1.58000000000000003e-121 < t < -4.19999999999999977e-196 or -1.7999999999999999e-270 < t < -3.20000000000000011e-307

    1. Initial program 86.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. +-commutative86.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-def91.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. *-commutative91.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. *-commutative91.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. *-commutative91.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. *-commutative91.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. Simplified91.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 j around 0 77.6%

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

      \[\leadsto \color{blue}{\left(y \cdot z - a \cdot t\right) \cdot x} \]
    6. Taylor expanded in y around inf 58.9%

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

    if -4.19999999999999977e-196 < t < -1.7999999999999999e-270

    1. Initial program 76.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. +-commutative76.6%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-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 j around 0 77.0%

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

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

    if 6.00000000000000008e-249 < t < 2.50000000000000012e25

    1. Initial program 70.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-sub70.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-inv70.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. *-commutative70.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. *-commutative70.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-neg70.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. *-commutative70.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. *-commutative70.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. Simplified70.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 inf 44.8%

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

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

        \[\leadsto \color{blue}{\left(\left(-1 \cdot c\right) \cdot z\right)} \cdot b \]
      2. neg-mul-135.8%

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

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

    if 7.00000000000000026e232 < t

    1. Initial program 57.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-sub57.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-inv57.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. *-commutative57.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. *-commutative57.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-neg57.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. *-commutative57.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. *-commutative57.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. Simplified57.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 t around inf 74.0%

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

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

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

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

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - a \cdot x\right)} \]
    7. Taylor expanded in c around inf 61.4%

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

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

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

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j\right)} \]
    9. Simplified65.4%

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j\right)} \]
  3. Recombined 7 regimes into one program.
  4. Final simplification52.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.65 \cdot 10^{+56}:\\ \;\;\;\;\left(x \cdot t\right) \cdot \left(-a\right)\\ \mathbf{elif}\;t \leq -3.2 \cdot 10^{-25}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;t \leq -1.58 \cdot 10^{-121}:\\ \;\;\;\;\left(-i\right) \cdot \left(y \cdot j\right)\\ \mathbf{elif}\;t \leq -4.2 \cdot 10^{-196}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;t \leq -1.8 \cdot 10^{-270}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;t \leq -3.2 \cdot 10^{-307}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;t \leq 6 \cdot 10^{-249}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;t \leq 2.5 \cdot 10^{+25}:\\ \;\;\;\;\left(z \cdot c\right) \cdot \left(-b\right)\\ \mathbf{elif}\;t \leq 7 \cdot 10^{+232}:\\ \;\;\;\;\left(x \cdot t\right) \cdot \left(-a\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \end{array} \]

Alternative 8: 49.7% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(b \cdot i - x \cdot t\right)\\ t_2 := c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{if}\;c \leq -200000000000:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq -1.15 \cdot 10^{-67}:\\ \;\;\;\;\left(y \cdot i\right) \cdot \left(-j\right)\\ \mathbf{elif}\;c \leq -1 \cdot 10^{-97}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq -1.2 \cdot 10^{-98}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;c \leq -1.2 \cdot 10^{-208}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -1.7 \cdot 10^{-250}:\\ \;\;\;\;\left(-i\right) \cdot \left(y \cdot j\right)\\ \mathbf{elif}\;c \leq 1.85 \cdot 10^{-28}:\\ \;\;\;\;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 (* a (- (* b i) (* x t)))) (t_2 (* c (- (* t j) (* z b)))))
   (if (<= c -200000000000.0)
     t_2
     (if (<= c -1.15e-67)
       (* (* y i) (- j))
       (if (<= c -1e-97)
         t_2
         (if (<= c -1.2e-98)
           (* y (* x z))
           (if (<= c -1.2e-208)
             t_1
             (if (<= c -1.7e-250)
               (* (- i) (* y j))
               (if (<= c 1.85e-28) 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 = a * ((b * i) - (x * t));
	double t_2 = c * ((t * j) - (z * b));
	double tmp;
	if (c <= -200000000000.0) {
		tmp = t_2;
	} else if (c <= -1.15e-67) {
		tmp = (y * i) * -j;
	} else if (c <= -1e-97) {
		tmp = t_2;
	} else if (c <= -1.2e-98) {
		tmp = y * (x * z);
	} else if (c <= -1.2e-208) {
		tmp = t_1;
	} else if (c <= -1.7e-250) {
		tmp = -i * (y * j);
	} else if (c <= 1.85e-28) {
		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 = a * ((b * i) - (x * t))
    t_2 = c * ((t * j) - (z * b))
    if (c <= (-200000000000.0d0)) then
        tmp = t_2
    else if (c <= (-1.15d-67)) then
        tmp = (y * i) * -j
    else if (c <= (-1d-97)) then
        tmp = t_2
    else if (c <= (-1.2d-98)) then
        tmp = y * (x * z)
    else if (c <= (-1.2d-208)) then
        tmp = t_1
    else if (c <= (-1.7d-250)) then
        tmp = -i * (y * j)
    else if (c <= 1.85d-28) 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 = a * ((b * i) - (x * t));
	double t_2 = c * ((t * j) - (z * b));
	double tmp;
	if (c <= -200000000000.0) {
		tmp = t_2;
	} else if (c <= -1.15e-67) {
		tmp = (y * i) * -j;
	} else if (c <= -1e-97) {
		tmp = t_2;
	} else if (c <= -1.2e-98) {
		tmp = y * (x * z);
	} else if (c <= -1.2e-208) {
		tmp = t_1;
	} else if (c <= -1.7e-250) {
		tmp = -i * (y * j);
	} else if (c <= 1.85e-28) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = a * ((b * i) - (x * t))
	t_2 = c * ((t * j) - (z * b))
	tmp = 0
	if c <= -200000000000.0:
		tmp = t_2
	elif c <= -1.15e-67:
		tmp = (y * i) * -j
	elif c <= -1e-97:
		tmp = t_2
	elif c <= -1.2e-98:
		tmp = y * (x * z)
	elif c <= -1.2e-208:
		tmp = t_1
	elif c <= -1.7e-250:
		tmp = -i * (y * j)
	elif c <= 1.85e-28:
		tmp = t_1
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(a * Float64(Float64(b * i) - Float64(x * t)))
	t_2 = Float64(c * Float64(Float64(t * j) - Float64(z * b)))
	tmp = 0.0
	if (c <= -200000000000.0)
		tmp = t_2;
	elseif (c <= -1.15e-67)
		tmp = Float64(Float64(y * i) * Float64(-j));
	elseif (c <= -1e-97)
		tmp = t_2;
	elseif (c <= -1.2e-98)
		tmp = Float64(y * Float64(x * z));
	elseif (c <= -1.2e-208)
		tmp = t_1;
	elseif (c <= -1.7e-250)
		tmp = Float64(Float64(-i) * Float64(y * j));
	elseif (c <= 1.85e-28)
		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 = a * ((b * i) - (x * t));
	t_2 = c * ((t * j) - (z * b));
	tmp = 0.0;
	if (c <= -200000000000.0)
		tmp = t_2;
	elseif (c <= -1.15e-67)
		tmp = (y * i) * -j;
	elseif (c <= -1e-97)
		tmp = t_2;
	elseif (c <= -1.2e-98)
		tmp = y * (x * z);
	elseif (c <= -1.2e-208)
		tmp = t_1;
	elseif (c <= -1.7e-250)
		tmp = -i * (y * j);
	elseif (c <= 1.85e-28)
		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[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -200000000000.0], t$95$2, If[LessEqual[c, -1.15e-67], N[(N[(y * i), $MachinePrecision] * (-j)), $MachinePrecision], If[LessEqual[c, -1e-97], t$95$2, If[LessEqual[c, -1.2e-98], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -1.2e-208], t$95$1, If[LessEqual[c, -1.7e-250], N[((-i) * N[(y * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.85e-28], t$95$1, t$95$2]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;c \leq -1.15 \cdot 10^{-67}:\\
\;\;\;\;\left(y \cdot i\right) \cdot \left(-j\right)\\

\mathbf{elif}\;c \leq -1 \cdot 10^{-97}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;c \leq -1.2 \cdot 10^{-98}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\

\mathbf{elif}\;c \leq -1.2 \cdot 10^{-208}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;c \leq -1.7 \cdot 10^{-250}:\\
\;\;\;\;\left(-i\right) \cdot \left(y \cdot j\right)\\

\mathbf{elif}\;c \leq 1.85 \cdot 10^{-28}:\\
\;\;\;\;t_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if c < -2e11 or -1.15e-67 < c < -1.00000000000000004e-97 or 1.8500000000000001e-28 < c

    1. Initial program 61.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-sub61.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-inv61.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. *-commutative61.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. *-commutative61.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-neg61.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. *-commutative61.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. *-commutative61.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. Simplified61.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 c around inf 61.5%

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

    if -2e11 < c < -1.15e-67

    1. Initial program 50.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-sub50.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-inv50.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. *-commutative50.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. *-commutative50.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-neg50.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. *-commutative50.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. *-commutative50.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. Simplified50.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 j around inf 65.5%

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

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

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

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

    if -1.00000000000000004e-97 < c < -1.20000000000000002e-98

    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. cancel-sign-sub100.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-inv100.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. *-commutative100.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. *-commutative100.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-neg100.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. *-commutative100.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. *-commutative100.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. Simplified100.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 a around 0 100.0%

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

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

    if -1.20000000000000002e-98 < c < -1.1999999999999999e-208 or -1.69999999999999997e-250 < c < 1.8500000000000001e-28

    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. cancel-sign-sub73.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-inv73.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. *-commutative73.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. *-commutative73.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-neg73.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. *-commutative73.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. *-commutative73.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. Simplified73.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 a around inf 57.3%

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

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

        \[\leadsto a \cdot \left(-1 \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-i \cdot b\right)}\right)\right) \]
      3. remove-double-neg57.3%

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

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

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

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

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

    if -1.1999999999999999e-208 < c < -1.69999999999999997e-250

    1. Initial program 50.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-sub50.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-inv50.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. *-commutative50.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. *-commutative50.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-neg50.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. *-commutative50.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. *-commutative50.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. Simplified50.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 j around inf 100.0%

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

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(i \cdot j\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*100.0%

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -200000000000:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{elif}\;c \leq -1.15 \cdot 10^{-67}:\\ \;\;\;\;\left(y \cdot i\right) \cdot \left(-j\right)\\ \mathbf{elif}\;c \leq -1 \cdot 10^{-97}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \mathbf{elif}\;c \leq -1.2 \cdot 10^{-98}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;c \leq -1.2 \cdot 10^{-208}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;c \leq -1.7 \cdot 10^{-250}:\\ \;\;\;\;\left(-i\right) \cdot \left(y \cdot j\right)\\ \mathbf{elif}\;c \leq 1.85 \cdot 10^{-28}:\\ \;\;\;\;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 9: 67.5% accurate, 1.3× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.8 \cdot 10^{+154} \lor \neg \left(b \leq 4.7 \cdot 10^{+53}\right):\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if b < -1.8e154 or 4.69999999999999976e53 < b

    1. Initial program 60.5%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. cancel-sign-sub60.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-inv60.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. *-commutative60.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. *-commutative60.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-neg60.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. *-commutative60.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. *-commutative60.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. Simplified60.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 74.2%

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

    if -1.8e154 < b < 4.69999999999999976e53

    1. Initial program 67.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-sub67.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-inv67.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. *-commutative67.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. *-commutative67.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-neg67.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. *-commutative67.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. *-commutative67.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. Simplified67.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 b around 0 68.1%

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

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

Alternative 10: 51.2% accurate, 1.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_2 := b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{if}\;b \leq -1.7 \cdot 10^{+154}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq -1.75 \cdot 10^{-189}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 1.1 \cdot 10^{-169}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;b \leq 4.2 \cdot 10^{-52}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 116:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;b \leq 2.95 \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 (* x (- (* y z) (* t a)))) (t_2 (* b (- (* a i) (* z c)))))
   (if (<= b -1.7e+154)
     t_2
     (if (<= b -1.75e-189)
       t_1
       (if (<= b 1.1e-169)
         (* j (- (* t c) (* y i)))
         (if (<= b 4.2e-52)
           t_1
           (if (<= b 116.0)
             (* y (- (* x z) (* i j)))
             (if (<= b 2.95e+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 = x * ((y * z) - (t * a));
	double t_2 = b * ((a * i) - (z * c));
	double tmp;
	if (b <= -1.7e+154) {
		tmp = t_2;
	} else if (b <= -1.75e-189) {
		tmp = t_1;
	} else if (b <= 1.1e-169) {
		tmp = j * ((t * c) - (y * i));
	} else if (b <= 4.2e-52) {
		tmp = t_1;
	} else if (b <= 116.0) {
		tmp = y * ((x * z) - (i * j));
	} else if (b <= 2.95e+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 = x * ((y * z) - (t * a))
    t_2 = b * ((a * i) - (z * c))
    if (b <= (-1.7d+154)) then
        tmp = t_2
    else if (b <= (-1.75d-189)) then
        tmp = t_1
    else if (b <= 1.1d-169) then
        tmp = j * ((t * c) - (y * i))
    else if (b <= 4.2d-52) then
        tmp = t_1
    else if (b <= 116.0d0) then
        tmp = y * ((x * z) - (i * j))
    else if (b <= 2.95d+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 = x * ((y * z) - (t * a));
	double t_2 = b * ((a * i) - (z * c));
	double tmp;
	if (b <= -1.7e+154) {
		tmp = t_2;
	} else if (b <= -1.75e-189) {
		tmp = t_1;
	} else if (b <= 1.1e-169) {
		tmp = j * ((t * c) - (y * i));
	} else if (b <= 4.2e-52) {
		tmp = t_1;
	} else if (b <= 116.0) {
		tmp = y * ((x * z) - (i * j));
	} else if (b <= 2.95e+53) {
		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))
	t_2 = b * ((a * i) - (z * c))
	tmp = 0
	if b <= -1.7e+154:
		tmp = t_2
	elif b <= -1.75e-189:
		tmp = t_1
	elif b <= 1.1e-169:
		tmp = j * ((t * c) - (y * i))
	elif b <= 4.2e-52:
		tmp = t_1
	elif b <= 116.0:
		tmp = y * ((x * z) - (i * j))
	elif b <= 2.95e+53:
		tmp = t_1
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(x * Float64(Float64(y * z) - Float64(t * a)))
	t_2 = Float64(b * Float64(Float64(a * i) - Float64(z * c)))
	tmp = 0.0
	if (b <= -1.7e+154)
		tmp = t_2;
	elseif (b <= -1.75e-189)
		tmp = t_1;
	elseif (b <= 1.1e-169)
		tmp = Float64(j * Float64(Float64(t * c) - Float64(y * i)));
	elseif (b <= 4.2e-52)
		tmp = t_1;
	elseif (b <= 116.0)
		tmp = Float64(y * Float64(Float64(x * z) - Float64(i * j)));
	elseif (b <= 2.95e+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 = x * ((y * z) - (t * a));
	t_2 = b * ((a * i) - (z * c));
	tmp = 0.0;
	if (b <= -1.7e+154)
		tmp = t_2;
	elseif (b <= -1.75e-189)
		tmp = t_1;
	elseif (b <= 1.1e-169)
		tmp = j * ((t * c) - (y * i));
	elseif (b <= 4.2e-52)
		tmp = t_1;
	elseif (b <= 116.0)
		tmp = y * ((x * z) - (i * j));
	elseif (b <= 2.95e+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[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -1.7e+154], t$95$2, If[LessEqual[b, -1.75e-189], t$95$1, If[LessEqual[b, 1.1e-169], N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 4.2e-52], t$95$1, If[LessEqual[b, 116.0], N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.95e+53], t$95$1, t$95$2]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;b \leq -1.75 \cdot 10^{-189}:\\
\;\;\;\;t_1\\

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

\mathbf{elif}\;b \leq 4.2 \cdot 10^{-52}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;b \leq 116:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\

\mathbf{elif}\;b \leq 2.95 \cdot 10^{+53}:\\
\;\;\;\;t_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if b < -1.69999999999999987e154 or 2.9499999999999999e53 < b

    1. Initial program 60.5%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. cancel-sign-sub60.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-inv60.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. *-commutative60.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. *-commutative60.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-neg60.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. *-commutative60.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. *-commutative60.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. Simplified60.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 74.2%

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

    if -1.69999999999999987e154 < b < -1.7500000000000001e-189 or 1.10000000000000004e-169 < b < 4.1999999999999997e-52 or 116 < b < 2.9499999999999999e53

    1. Initial program 71.8%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. +-commutative71.8%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-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 j around 0 69.3%

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

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

    if -1.7500000000000001e-189 < b < 1.10000000000000004e-169

    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 j around inf 67.5%

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

    if 4.1999999999999997e-52 < b < 116

    1. Initial program 62.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-sub62.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-inv62.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. *-commutative62.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. *-commutative62.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-neg62.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. *-commutative62.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. *-commutative62.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. Simplified62.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 y around -inf 54.6%

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.7 \cdot 10^{+154}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;b \leq -1.75 \cdot 10^{-189}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{elif}\;b \leq 1.1 \cdot 10^{-169}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;b \leq 4.2 \cdot 10^{-52}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{elif}\;b \leq 116:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;b \leq 2.95 \cdot 10^{+53}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \end{array} \]

Alternative 11: 56.9% accurate, 1.4× speedup?

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

\mathbf{elif}\;b \leq -3.4 \cdot 10^{-189}:\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -1.6e154 or 8.5999999999999994e51 < b

    1. Initial program 60.5%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. cancel-sign-sub60.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-inv60.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. *-commutative60.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. *-commutative60.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-neg60.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. *-commutative60.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. *-commutative60.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. Simplified60.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 74.2%

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

    if -1.6e154 < b < -3.4000000000000001e-189

    1. Initial program 67.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. +-commutative67.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-def70.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. *-commutative70.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. *-commutative70.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. *-commutative70.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. *-commutative70.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. Simplified70.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 j around 0 65.7%

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

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

    if -3.4000000000000001e-189 < b < 8.5999999999999994e51

    1. Initial program 67.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-sub67.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-inv67.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. *-commutative67.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. *-commutative67.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-neg67.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. *-commutative67.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. *-commutative67.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. Simplified67.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 a around 0 67.2%

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.6 \cdot 10^{+154}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;b \leq -3.4 \cdot 10^{-189}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{elif}\;b \leq 8.6 \cdot 10^{+51}:\\ \;\;\;\;y \cdot \left(x \cdot z\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \end{array} \]

Alternative 12: 30.4% accurate, 1.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot \left(y \cdot z\right)\\ t_2 := \left(x \cdot t\right) \cdot \left(-a\right)\\ \mathbf{if}\;t \leq -4 \cdot 10^{+98}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -1.3 \cdot 10^{-195}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq -4.7 \cdot 10^{-269}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;t \leq 2.9 \cdot 10^{-306}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 1.62 \cdot 10^{-248}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;t \leq 2.6 \cdot 10^{+22}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;t \leq 8 \cdot 10^{+232}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* x (* y z))) (t_2 (* (* x t) (- a))))
   (if (<= t -4e+98)
     t_2
     (if (<= t -1.3e-195)
       t_1
       (if (<= t -4.7e-269)
         (* a (* b i))
         (if (<= t 2.9e-306)
           t_1
           (if (<= t 1.62e-248)
             (* b (* a i))
             (if (<= t 2.6e+22)
               (* y (* x z))
               (if (<= t 8e+232) t_2 (* t (* c j)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = x * (y * z);
	double t_2 = (x * t) * -a;
	double tmp;
	if (t <= -4e+98) {
		tmp = t_2;
	} else if (t <= -1.3e-195) {
		tmp = t_1;
	} else if (t <= -4.7e-269) {
		tmp = a * (b * i);
	} else if (t <= 2.9e-306) {
		tmp = t_1;
	} else if (t <= 1.62e-248) {
		tmp = b * (a * i);
	} else if (t <= 2.6e+22) {
		tmp = y * (x * z);
	} else if (t <= 8e+232) {
		tmp = t_2;
	} else {
		tmp = t * (c * 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) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = x * (y * z)
    t_2 = (x * t) * -a
    if (t <= (-4d+98)) then
        tmp = t_2
    else if (t <= (-1.3d-195)) then
        tmp = t_1
    else if (t <= (-4.7d-269)) then
        tmp = a * (b * i)
    else if (t <= 2.9d-306) then
        tmp = t_1
    else if (t <= 1.62d-248) then
        tmp = b * (a * i)
    else if (t <= 2.6d+22) then
        tmp = y * (x * z)
    else if (t <= 8d+232) then
        tmp = t_2
    else
        tmp = t * (c * 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 t_1 = x * (y * z);
	double t_2 = (x * t) * -a;
	double tmp;
	if (t <= -4e+98) {
		tmp = t_2;
	} else if (t <= -1.3e-195) {
		tmp = t_1;
	} else if (t <= -4.7e-269) {
		tmp = a * (b * i);
	} else if (t <= 2.9e-306) {
		tmp = t_1;
	} else if (t <= 1.62e-248) {
		tmp = b * (a * i);
	} else if (t <= 2.6e+22) {
		tmp = y * (x * z);
	} else if (t <= 8e+232) {
		tmp = t_2;
	} else {
		tmp = t * (c * j);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = x * (y * z)
	t_2 = (x * t) * -a
	tmp = 0
	if t <= -4e+98:
		tmp = t_2
	elif t <= -1.3e-195:
		tmp = t_1
	elif t <= -4.7e-269:
		tmp = a * (b * i)
	elif t <= 2.9e-306:
		tmp = t_1
	elif t <= 1.62e-248:
		tmp = b * (a * i)
	elif t <= 2.6e+22:
		tmp = y * (x * z)
	elif t <= 8e+232:
		tmp = t_2
	else:
		tmp = t * (c * j)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(x * Float64(y * z))
	t_2 = Float64(Float64(x * t) * Float64(-a))
	tmp = 0.0
	if (t <= -4e+98)
		tmp = t_2;
	elseif (t <= -1.3e-195)
		tmp = t_1;
	elseif (t <= -4.7e-269)
		tmp = Float64(a * Float64(b * i));
	elseif (t <= 2.9e-306)
		tmp = t_1;
	elseif (t <= 1.62e-248)
		tmp = Float64(b * Float64(a * i));
	elseif (t <= 2.6e+22)
		tmp = Float64(y * Float64(x * z));
	elseif (t <= 8e+232)
		tmp = t_2;
	else
		tmp = Float64(t * Float64(c * j));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = x * (y * z);
	t_2 = (x * t) * -a;
	tmp = 0.0;
	if (t <= -4e+98)
		tmp = t_2;
	elseif (t <= -1.3e-195)
		tmp = t_1;
	elseif (t <= -4.7e-269)
		tmp = a * (b * i);
	elseif (t <= 2.9e-306)
		tmp = t_1;
	elseif (t <= 1.62e-248)
		tmp = b * (a * i);
	elseif (t <= 2.6e+22)
		tmp = y * (x * z);
	elseif (t <= 8e+232)
		tmp = t_2;
	else
		tmp = t * (c * j);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * t), $MachinePrecision] * (-a)), $MachinePrecision]}, If[LessEqual[t, -4e+98], t$95$2, If[LessEqual[t, -1.3e-195], t$95$1, If[LessEqual[t, -4.7e-269], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.9e-306], t$95$1, If[LessEqual[t, 1.62e-248], N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.6e+22], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 8e+232], t$95$2, N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := x \cdot \left(y \cdot z\right)\\
t_2 := \left(x \cdot t\right) \cdot \left(-a\right)\\
\mathbf{if}\;t \leq -4 \cdot 10^{+98}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;t \leq -1.3 \cdot 10^{-195}:\\
\;\;\;\;t_1\\

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

\mathbf{elif}\;t \leq 2.9 \cdot 10^{-306}:\\
\;\;\;\;t_1\\

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

\mathbf{elif}\;t \leq 2.6 \cdot 10^{+22}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\

\mathbf{elif}\;t \leq 8 \cdot 10^{+232}:\\
\;\;\;\;t_2\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if t < -3.99999999999999999e98 or 2.6e22 < t < 8.00000000000000045e232

    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 a around inf 58.7%

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]
    7. Taylor expanded in i around 0 54.4%

      \[\leadsto a \cdot \color{blue}{\left(-1 \cdot \left(t \cdot x\right)\right)} \]
    8. Step-by-step derivation
      1. neg-mul-154.4%

        \[\leadsto a \cdot \color{blue}{\left(-t \cdot x\right)} \]
      2. distribute-rgt-neg-in54.4%

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

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

    if -3.99999999999999999e98 < t < -1.3000000000000001e-195 or -4.6999999999999997e-269 < t < 2.8999999999999999e-306

    1. Initial program 73.3%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. +-commutative73.3%

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

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

        \[\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. *-commutative74.6%

        \[\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. *-commutative74.6%

        \[\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. *-commutative74.6%

        \[\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. Simplified74.6%

      \[\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 j around 0 58.0%

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

      \[\leadsto \color{blue}{\left(y \cdot z - a \cdot t\right) \cdot x} \]
    6. Taylor expanded in y around inf 34.2%

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

    if -1.3000000000000001e-195 < t < -4.6999999999999997e-269

    1. Initial program 76.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. +-commutative76.6%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-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 j around 0 77.0%

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

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

    if 2.8999999999999999e-306 < t < 1.6200000000000001e-248

    1. Initial program 57.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-sub57.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-inv57.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. *-commutative57.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. *-commutative57.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-neg57.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. *-commutative57.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. *-commutative57.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. Simplified57.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 71.7%

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

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

    if 1.6200000000000001e-248 < t < 2.6e22

    1. Initial program 70.1%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. cancel-sign-sub70.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-inv70.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. *-commutative70.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. *-commutative70.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-neg70.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. *-commutative70.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. *-commutative70.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. Simplified70.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 a around 0 69.8%

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

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

    if 8.00000000000000045e232 < t

    1. Initial program 57.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-sub57.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-inv57.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. *-commutative57.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. *-commutative57.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-neg57.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. *-commutative57.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. *-commutative57.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. Simplified57.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 t around inf 74.0%

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

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

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

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

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - a \cdot x\right)} \]
    7. Taylor expanded in c around inf 61.4%

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

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

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

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j\right)} \]
    9. Simplified65.4%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -4 \cdot 10^{+98}:\\ \;\;\;\;\left(x \cdot t\right) \cdot \left(-a\right)\\ \mathbf{elif}\;t \leq -1.3 \cdot 10^{-195}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;t \leq -4.7 \cdot 10^{-269}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;t \leq 2.9 \cdot 10^{-306}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;t \leq 1.62 \cdot 10^{-248}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;t \leq 2.6 \cdot 10^{+22}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;t \leq 8 \cdot 10^{+232}:\\ \;\;\;\;\left(x \cdot t\right) \cdot \left(-a\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \end{array} \]

Alternative 13: 50.2% accurate, 1.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := t \cdot \left(c \cdot j - x \cdot a\right)\\ t_2 := b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{if}\;b \leq -1.32 \cdot 10^{+167}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq -1.45 \cdot 10^{-189}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 10^{-168}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;b \leq 4.1 \cdot 10^{-78}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;b \leq 8 \cdot 10^{+35}:\\ \;\;\;\;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 (* b (- (* a i) (* z c)))))
   (if (<= b -1.32e+167)
     t_2
     (if (<= b -1.45e-189)
       t_1
       (if (<= b 1e-168)
         (* j (- (* t c) (* y i)))
         (if (<= b 4.1e-78) (* x (* y z)) (if (<= b 8e+35) 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 = b * ((a * i) - (z * c));
	double tmp;
	if (b <= -1.32e+167) {
		tmp = t_2;
	} else if (b <= -1.45e-189) {
		tmp = t_1;
	} else if (b <= 1e-168) {
		tmp = j * ((t * c) - (y * i));
	} else if (b <= 4.1e-78) {
		tmp = x * (y * z);
	} else if (b <= 8e+35) {
		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 = b * ((a * i) - (z * c))
    if (b <= (-1.32d+167)) then
        tmp = t_2
    else if (b <= (-1.45d-189)) then
        tmp = t_1
    else if (b <= 1d-168) then
        tmp = j * ((t * c) - (y * i))
    else if (b <= 4.1d-78) then
        tmp = x * (y * z)
    else if (b <= 8d+35) 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 = b * ((a * i) - (z * c));
	double tmp;
	if (b <= -1.32e+167) {
		tmp = t_2;
	} else if (b <= -1.45e-189) {
		tmp = t_1;
	} else if (b <= 1e-168) {
		tmp = j * ((t * c) - (y * i));
	} else if (b <= 4.1e-78) {
		tmp = x * (y * z);
	} else if (b <= 8e+35) {
		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 = b * ((a * i) - (z * c))
	tmp = 0
	if b <= -1.32e+167:
		tmp = t_2
	elif b <= -1.45e-189:
		tmp = t_1
	elif b <= 1e-168:
		tmp = j * ((t * c) - (y * i))
	elif b <= 4.1e-78:
		tmp = x * (y * z)
	elif b <= 8e+35:
		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(b * Float64(Float64(a * i) - Float64(z * c)))
	tmp = 0.0
	if (b <= -1.32e+167)
		tmp = t_2;
	elseif (b <= -1.45e-189)
		tmp = t_1;
	elseif (b <= 1e-168)
		tmp = Float64(j * Float64(Float64(t * c) - Float64(y * i)));
	elseif (b <= 4.1e-78)
		tmp = Float64(x * Float64(y * z));
	elseif (b <= 8e+35)
		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 = b * ((a * i) - (z * c));
	tmp = 0.0;
	if (b <= -1.32e+167)
		tmp = t_2;
	elseif (b <= -1.45e-189)
		tmp = t_1;
	elseif (b <= 1e-168)
		tmp = j * ((t * c) - (y * i));
	elseif (b <= 4.1e-78)
		tmp = x * (y * z);
	elseif (b <= 8e+35)
		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[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -1.32e+167], t$95$2, If[LessEqual[b, -1.45e-189], t$95$1, If[LessEqual[b, 1e-168], N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 4.1e-78], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 8e+35], 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 := b \cdot \left(a \cdot i - z \cdot c\right)\\
\mathbf{if}\;b \leq -1.32 \cdot 10^{+167}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;b \leq -1.45 \cdot 10^{-189}:\\
\;\;\;\;t_1\\

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

\mathbf{elif}\;b \leq 4.1 \cdot 10^{-78}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\

\mathbf{elif}\;b \leq 8 \cdot 10^{+35}:\\
\;\;\;\;t_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if b < -1.3200000000000001e167 or 7.9999999999999997e35 < b

    1. Initial program 61.9%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. cancel-sign-sub61.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-inv61.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. *-commutative61.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. *-commutative61.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-neg61.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. *-commutative61.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. *-commutative61.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. Simplified61.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 b around inf 73.7%

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

    if -1.3200000000000001e167 < b < -1.45e-189 or 4.0999999999999998e-78 < b < 7.9999999999999997e35

    1. Initial program 68.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-sub68.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-inv68.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. *-commutative68.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. *-commutative68.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-neg68.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. *-commutative68.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. *-commutative68.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. Simplified68.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 t around inf 51.9%

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

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

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

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

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

    if -1.45e-189 < b < 1e-168

    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 j around inf 67.5%

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

    if 1e-168 < b < 4.0999999999999998e-78

    1. Initial program 74.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. +-commutative74.1%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-def78.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. *-commutative78.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. *-commutative78.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. *-commutative78.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. *-commutative78.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. Simplified78.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 j around 0 74.4%

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

      \[\leadsto \color{blue}{\left(y \cdot z - a \cdot t\right) \cdot x} \]
    6. Taylor expanded in y around inf 48.3%

      \[\leadsto \color{blue}{\left(y \cdot z\right)} \cdot x \]
  3. Recombined 4 regimes into one program.
  4. Final simplification62.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.32 \cdot 10^{+167}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;b \leq -1.45 \cdot 10^{-189}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;b \leq 10^{-168}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;b \leq 4.1 \cdot 10^{-78}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;b \leq 8 \cdot 10^{+35}:\\ \;\;\;\;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 14: 50.3% accurate, 1.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{if}\;b \leq -1.32 \cdot 10^{+167}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq -2.5 \cdot 10^{-189}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;b \leq 1.2 \cdot 10^{-169}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;b \leq 4.3 \cdot 10^{+24}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;b \leq 6.6 \cdot 10^{+34}:\\ \;\;\;\;\left(x \cdot t\right) \cdot \left(-a\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 -1.32e+167)
     t_1
     (if (<= b -2.5e-189)
       (* t (- (* c j) (* x a)))
       (if (<= b 1.2e-169)
         (* j (- (* t c) (* y i)))
         (if (<= b 4.3e+24)
           (* z (- (* x y) (* b c)))
           (if (<= b 6.6e+34) (* (* x t) (- a)) t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = b * ((a * i) - (z * c));
	double tmp;
	if (b <= -1.32e+167) {
		tmp = t_1;
	} else if (b <= -2.5e-189) {
		tmp = t * ((c * j) - (x * a));
	} else if (b <= 1.2e-169) {
		tmp = j * ((t * c) - (y * i));
	} else if (b <= 4.3e+24) {
		tmp = z * ((x * y) - (b * c));
	} else if (b <= 6.6e+34) {
		tmp = (x * t) * -a;
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8) :: t_1
    real(8) :: tmp
    t_1 = b * ((a * i) - (z * c))
    if (b <= (-1.32d+167)) then
        tmp = t_1
    else if (b <= (-2.5d-189)) then
        tmp = t * ((c * j) - (x * a))
    else if (b <= 1.2d-169) then
        tmp = j * ((t * c) - (y * i))
    else if (b <= 4.3d+24) then
        tmp = z * ((x * y) - (b * c))
    else if (b <= 6.6d+34) then
        tmp = (x * t) * -a
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = b * ((a * i) - (z * c));
	double tmp;
	if (b <= -1.32e+167) {
		tmp = t_1;
	} else if (b <= -2.5e-189) {
		tmp = t * ((c * j) - (x * a));
	} else if (b <= 1.2e-169) {
		tmp = j * ((t * c) - (y * i));
	} else if (b <= 4.3e+24) {
		tmp = z * ((x * y) - (b * c));
	} else if (b <= 6.6e+34) {
		tmp = (x * t) * -a;
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = b * ((a * i) - (z * c))
	tmp = 0
	if b <= -1.32e+167:
		tmp = t_1
	elif b <= -2.5e-189:
		tmp = t * ((c * j) - (x * a))
	elif b <= 1.2e-169:
		tmp = j * ((t * c) - (y * i))
	elif b <= 4.3e+24:
		tmp = z * ((x * y) - (b * c))
	elif b <= 6.6e+34:
		tmp = (x * t) * -a
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(b * Float64(Float64(a * i) - Float64(z * c)))
	tmp = 0.0
	if (b <= -1.32e+167)
		tmp = t_1;
	elseif (b <= -2.5e-189)
		tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a)));
	elseif (b <= 1.2e-169)
		tmp = Float64(j * Float64(Float64(t * c) - Float64(y * i)));
	elseif (b <= 4.3e+24)
		tmp = Float64(z * Float64(Float64(x * y) - Float64(b * c)));
	elseif (b <= 6.6e+34)
		tmp = Float64(Float64(x * t) * Float64(-a));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = b * ((a * i) - (z * c));
	tmp = 0.0;
	if (b <= -1.32e+167)
		tmp = t_1;
	elseif (b <= -2.5e-189)
		tmp = t * ((c * j) - (x * a));
	elseif (b <= 1.2e-169)
		tmp = j * ((t * c) - (y * i));
	elseif (b <= 4.3e+24)
		tmp = z * ((x * y) - (b * c));
	elseif (b <= 6.6e+34)
		tmp = (x * t) * -a;
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -1.32e+167], t$95$1, If[LessEqual[b, -2.5e-189], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.2e-169], N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 4.3e+24], N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 6.6e+34], N[(N[(x * t), $MachinePrecision] * (-a)), $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 -1.32 \cdot 10^{+167}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;b \leq -2.5 \cdot 10^{-189}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\

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

\mathbf{elif}\;b \leq 4.3 \cdot 10^{+24}:\\
\;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\

\mathbf{elif}\;b \leq 6.6 \cdot 10^{+34}:\\
\;\;\;\;\left(x \cdot t\right) \cdot \left(-a\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if b < -1.3200000000000001e167 or 6.59999999999999976e34 < b

    1. Initial program 61.9%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. cancel-sign-sub61.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-inv61.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. *-commutative61.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. *-commutative61.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-neg61.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. *-commutative61.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. *-commutative61.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. Simplified61.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 b around inf 73.7%

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

    if -1.3200000000000001e167 < b < -2.4999999999999999e-189

    1. Initial program 64.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-sub64.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-inv64.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. *-commutative64.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. *-commutative64.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-neg64.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. *-commutative64.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. *-commutative64.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. Simplified64.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 t around inf 54.5%

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

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

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

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

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

    if -2.4999999999999999e-189 < b < 1.20000000000000005e-169

    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 j around inf 67.5%

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

    if 1.20000000000000005e-169 < b < 4.29999999999999987e24

    1. Initial program 73.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-sub73.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-inv73.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. *-commutative73.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. *-commutative73.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-neg73.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. *-commutative73.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. *-commutative73.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. Simplified73.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 z around inf 44.6%

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

    if 4.29999999999999987e24 < b < 6.59999999999999976e34

    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. cancel-sign-sub100.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-inv100.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. *-commutative100.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. *-commutative100.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-neg100.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. *-commutative100.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. *-commutative100.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. Simplified100.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 a around inf 100.0%

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

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

        \[\leadsto a \cdot \left(-1 \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-i \cdot b\right)}\right)\right) \]
      3. remove-double-neg100.0%

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

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

        \[\leadsto a \cdot \left(i \cdot b + \color{blue}{\left(-t \cdot x\right)}\right) \]
      6. unsub-neg100.0%

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

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]
    7. Taylor expanded in i around 0 100.0%

      \[\leadsto a \cdot \color{blue}{\left(-1 \cdot \left(t \cdot x\right)\right)} \]
    8. Step-by-step derivation
      1. neg-mul-1100.0%

        \[\leadsto a \cdot \color{blue}{\left(-t \cdot x\right)} \]
      2. distribute-rgt-neg-in100.0%

        \[\leadsto a \cdot \color{blue}{\left(t \cdot \left(-x\right)\right)} \]
    9. Simplified100.0%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.32 \cdot 10^{+167}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;b \leq -2.5 \cdot 10^{-189}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;b \leq 1.2 \cdot 10^{-169}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;b \leq 4.3 \cdot 10^{+24}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;b \leq 6.6 \cdot 10^{+34}:\\ \;\;\;\;\left(x \cdot t\right) \cdot \left(-a\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \end{array} \]

Alternative 15: 40.5% accurate, 1.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot \left(y \cdot z\right)\\ t_2 := a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{if}\;y \leq -3.4 \cdot 10^{+159}:\\ \;\;\;\;\left(y \cdot i\right) \cdot \left(-j\right)\\ \mathbf{elif}\;y \leq 4.4 \cdot 10^{-72}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq 2.95 \cdot 10^{+31}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 2.65 \cdot 10^{+79}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq 5.5 \cdot 10^{+235}:\\ \;\;\;\;\left(-i\right) \cdot \left(y \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 (* x (* y z))) (t_2 (* a (- (* b i) (* x t)))))
   (if (<= y -3.4e+159)
     (* (* y i) (- j))
     (if (<= y 4.4e-72)
       t_2
       (if (<= y 2.95e+31)
         t_1
         (if (<= y 2.65e+79)
           t_2
           (if (<= y 5.5e+235) (* (- i) (* y 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 = x * (y * z);
	double t_2 = a * ((b * i) - (x * t));
	double tmp;
	if (y <= -3.4e+159) {
		tmp = (y * i) * -j;
	} else if (y <= 4.4e-72) {
		tmp = t_2;
	} else if (y <= 2.95e+31) {
		tmp = t_1;
	} else if (y <= 2.65e+79) {
		tmp = t_2;
	} else if (y <= 5.5e+235) {
		tmp = -i * (y * 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) :: t_2
    real(8) :: tmp
    t_1 = x * (y * z)
    t_2 = a * ((b * i) - (x * t))
    if (y <= (-3.4d+159)) then
        tmp = (y * i) * -j
    else if (y <= 4.4d-72) then
        tmp = t_2
    else if (y <= 2.95d+31) then
        tmp = t_1
    else if (y <= 2.65d+79) then
        tmp = t_2
    else if (y <= 5.5d+235) then
        tmp = -i * (y * 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 = x * (y * z);
	double t_2 = a * ((b * i) - (x * t));
	double tmp;
	if (y <= -3.4e+159) {
		tmp = (y * i) * -j;
	} else if (y <= 4.4e-72) {
		tmp = t_2;
	} else if (y <= 2.95e+31) {
		tmp = t_1;
	} else if (y <= 2.65e+79) {
		tmp = t_2;
	} else if (y <= 5.5e+235) {
		tmp = -i * (y * j);
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = x * (y * z)
	t_2 = a * ((b * i) - (x * t))
	tmp = 0
	if y <= -3.4e+159:
		tmp = (y * i) * -j
	elif y <= 4.4e-72:
		tmp = t_2
	elif y <= 2.95e+31:
		tmp = t_1
	elif y <= 2.65e+79:
		tmp = t_2
	elif y <= 5.5e+235:
		tmp = -i * (y * j)
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(x * Float64(y * z))
	t_2 = Float64(a * Float64(Float64(b * i) - Float64(x * t)))
	tmp = 0.0
	if (y <= -3.4e+159)
		tmp = Float64(Float64(y * i) * Float64(-j));
	elseif (y <= 4.4e-72)
		tmp = t_2;
	elseif (y <= 2.95e+31)
		tmp = t_1;
	elseif (y <= 2.65e+79)
		tmp = t_2;
	elseif (y <= 5.5e+235)
		tmp = Float64(Float64(-i) * Float64(y * j));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = x * (y * z);
	t_2 = a * ((b * i) - (x * t));
	tmp = 0.0;
	if (y <= -3.4e+159)
		tmp = (y * i) * -j;
	elseif (y <= 4.4e-72)
		tmp = t_2;
	elseif (y <= 2.95e+31)
		tmp = t_1;
	elseif (y <= 2.65e+79)
		tmp = t_2;
	elseif (y <= 5.5e+235)
		tmp = -i * (y * 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[(x * N[(y * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -3.4e+159], N[(N[(y * i), $MachinePrecision] * (-j)), $MachinePrecision], If[LessEqual[y, 4.4e-72], t$95$2, If[LessEqual[y, 2.95e+31], t$95$1, If[LessEqual[y, 2.65e+79], t$95$2, If[LessEqual[y, 5.5e+235], N[((-i) * N[(y * j), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;y \leq 4.4 \cdot 10^{-72}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;y \leq 2.95 \cdot 10^{+31}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;y \leq 2.65 \cdot 10^{+79}:\\
\;\;\;\;t_2\\

\mathbf{elif}\;y \leq 5.5 \cdot 10^{+235}:\\
\;\;\;\;\left(-i\right) \cdot \left(y \cdot j\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if y < -3.39999999999999991e159

    1. Initial program 48.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-sub48.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-inv48.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. *-commutative48.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. *-commutative48.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-neg48.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. *-commutative48.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. *-commutative48.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. Simplified48.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 j around inf 63.1%

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

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

        \[\leadsto \color{blue}{\left(-y \cdot i\right)} \cdot j \]
    7. Simplified56.3%

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

    if -3.39999999999999991e159 < y < 4.40000000000000005e-72 or 2.9500000000000002e31 < y < 2.64999999999999989e79

    1. Initial program 71.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-sub71.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-inv71.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. *-commutative71.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. *-commutative71.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-neg71.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. *-commutative71.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. *-commutative71.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. Simplified71.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 a around inf 49.8%

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

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

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

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

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

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

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

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

    if 4.40000000000000005e-72 < y < 2.9500000000000002e31 or 5.49999999999999945e235 < y

    1. Initial program 62.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. +-commutative62.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-def67.4%

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

        \[\leadsto \mathsf{fma}\left(j, 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. *-commutative67.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. *-commutative67.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. *-commutative67.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. Simplified67.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 j around 0 64.9%

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

      \[\leadsto \color{blue}{\left(y \cdot z - a \cdot t\right) \cdot x} \]
    6. Taylor expanded in y around inf 58.2%

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

    if 2.64999999999999989e79 < y < 5.49999999999999945e235

    1. Initial program 48.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-sub48.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-inv48.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. *-commutative48.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. *-commutative48.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-neg48.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. *-commutative48.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. *-commutative48.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. Simplified48.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 j around inf 49.3%

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

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(i \cdot j\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*49.5%

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -3.4 \cdot 10^{+159}:\\ \;\;\;\;\left(y \cdot i\right) \cdot \left(-j\right)\\ \mathbf{elif}\;y \leq 4.4 \cdot 10^{-72}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;y \leq 2.95 \cdot 10^{+31}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;y \leq 2.65 \cdot 10^{+79}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;y \leq 5.5 \cdot 10^{+235}:\\ \;\;\;\;\left(-i\right) \cdot \left(y \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \end{array} \]

Alternative 16: 50.0% accurate, 1.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ t_2 := t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{if}\;t \leq -1.6 \cdot 10^{+56}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -8.8 \cdot 10^{-82}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq -2.4 \cdot 10^{-122}:\\ \;\;\;\;\left(-i\right) \cdot \left(y \cdot j\right)\\ \mathbf{elif}\;t \leq 2.32 \cdot 10^{-66}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* b (- (* a i) (* z c)))) (t_2 (* t (- (* c j) (* x a)))))
   (if (<= t -1.6e+56)
     t_2
     (if (<= t -8.8e-82)
       t_1
       (if (<= t -2.4e-122) (* (- i) (* y j)) (if (<= t 2.32e-66) t_1 t_2))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = b * ((a * i) - (z * c));
	double t_2 = t * ((c * j) - (x * a));
	double tmp;
	if (t <= -1.6e+56) {
		tmp = t_2;
	} else if (t <= -8.8e-82) {
		tmp = t_1;
	} else if (t <= -2.4e-122) {
		tmp = -i * (y * j);
	} else if (t <= 2.32e-66) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = b * ((a * i) - (z * c))
    t_2 = t * ((c * j) - (x * a))
    if (t <= (-1.6d+56)) then
        tmp = t_2
    else if (t <= (-8.8d-82)) then
        tmp = t_1
    else if (t <= (-2.4d-122)) then
        tmp = -i * (y * j)
    else if (t <= 2.32d-66) then
        tmp = t_1
    else
        tmp = t_2
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = b * ((a * i) - (z * c));
	double t_2 = t * ((c * j) - (x * a));
	double tmp;
	if (t <= -1.6e+56) {
		tmp = t_2;
	} else if (t <= -8.8e-82) {
		tmp = t_1;
	} else if (t <= -2.4e-122) {
		tmp = -i * (y * j);
	} else if (t <= 2.32e-66) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = b * ((a * i) - (z * c))
	t_2 = t * ((c * j) - (x * a))
	tmp = 0
	if t <= -1.6e+56:
		tmp = t_2
	elif t <= -8.8e-82:
		tmp = t_1
	elif t <= -2.4e-122:
		tmp = -i * (y * j)
	elif t <= 2.32e-66:
		tmp = t_1
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(b * Float64(Float64(a * i) - Float64(z * c)))
	t_2 = Float64(t * Float64(Float64(c * j) - Float64(x * a)))
	tmp = 0.0
	if (t <= -1.6e+56)
		tmp = t_2;
	elseif (t <= -8.8e-82)
		tmp = t_1;
	elseif (t <= -2.4e-122)
		tmp = Float64(Float64(-i) * Float64(y * j));
	elseif (t <= 2.32e-66)
		tmp = t_1;
	else
		tmp = t_2;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = b * ((a * i) - (z * c));
	t_2 = t * ((c * j) - (x * a));
	tmp = 0.0;
	if (t <= -1.6e+56)
		tmp = t_2;
	elseif (t <= -8.8e-82)
		tmp = t_1;
	elseif (t <= -2.4e-122)
		tmp = -i * (y * j);
	elseif (t <= 2.32e-66)
		tmp = t_1;
	else
		tmp = t_2;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.6e+56], t$95$2, If[LessEqual[t, -8.8e-82], t$95$1, If[LessEqual[t, -2.4e-122], N[((-i) * N[(y * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.32e-66], t$95$1, t$95$2]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;t \leq -8.8 \cdot 10^{-82}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;t \leq -2.4 \cdot 10^{-122}:\\
\;\;\;\;\left(-i\right) \cdot \left(y \cdot j\right)\\

\mathbf{elif}\;t \leq 2.32 \cdot 10^{-66}:\\
\;\;\;\;t_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if t < -1.60000000000000002e56 or 2.32000000000000004e-66 < t

    1. Initial program 58.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-sub58.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-inv58.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. *-commutative58.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. *-commutative58.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-neg58.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. *-commutative58.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. *-commutative58.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. Simplified58.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 t around inf 65.0%

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

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

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

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

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

    if -1.60000000000000002e56 < t < -8.79999999999999943e-82 or -2.39999999999999987e-122 < t < 2.32000000000000004e-66

    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 inf 51.3%

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

    if -8.79999999999999943e-82 < t < -2.39999999999999987e-122

    1. Initial program 57.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-sub57.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-inv57.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. *-commutative57.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. *-commutative57.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-neg57.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. *-commutative57.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. *-commutative57.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. Simplified57.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 j around inf 72.6%

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

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(i \cdot j\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*72.2%

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.6 \cdot 10^{+56}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{elif}\;t \leq -8.8 \cdot 10^{-82}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;t \leq -2.4 \cdot 10^{-122}:\\ \;\;\;\;\left(-i\right) \cdot \left(y \cdot j\right)\\ \mathbf{elif}\;t \leq 2.32 \cdot 10^{-66}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \end{array} \]

Alternative 17: 51.4% accurate, 1.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot \left(y \cdot z - t \cdot a\right)\\ t_2 := b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{if}\;b \leq -1.6 \cdot 10^{+154}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;b \leq -1.5 \cdot 10^{-189}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 1.05 \cdot 10^{-169}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;b \leq 1.95 \cdot 10^{-36}:\\ \;\;\;\;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)))) (t_2 (* b (- (* a i) (* z c)))))
   (if (<= b -1.6e+154)
     t_2
     (if (<= b -1.5e-189)
       t_1
       (if (<= b 1.05e-169)
         (* j (- (* t c) (* y i)))
         (if (<= b 1.95e-36) 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));
	double t_2 = b * ((a * i) - (z * c));
	double tmp;
	if (b <= -1.6e+154) {
		tmp = t_2;
	} else if (b <= -1.5e-189) {
		tmp = t_1;
	} else if (b <= 1.05e-169) {
		tmp = j * ((t * c) - (y * i));
	} else if (b <= 1.95e-36) {
		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))
    t_2 = b * ((a * i) - (z * c))
    if (b <= (-1.6d+154)) then
        tmp = t_2
    else if (b <= (-1.5d-189)) then
        tmp = t_1
    else if (b <= 1.05d-169) then
        tmp = j * ((t * c) - (y * i))
    else if (b <= 1.95d-36) 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));
	double t_2 = b * ((a * i) - (z * c));
	double tmp;
	if (b <= -1.6e+154) {
		tmp = t_2;
	} else if (b <= -1.5e-189) {
		tmp = t_1;
	} else if (b <= 1.05e-169) {
		tmp = j * ((t * c) - (y * i));
	} else if (b <= 1.95e-36) {
		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))
	t_2 = b * ((a * i) - (z * c))
	tmp = 0
	if b <= -1.6e+154:
		tmp = t_2
	elif b <= -1.5e-189:
		tmp = t_1
	elif b <= 1.05e-169:
		tmp = j * ((t * c) - (y * i))
	elif b <= 1.95e-36:
		tmp = t_1
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(x * Float64(Float64(y * z) - Float64(t * a)))
	t_2 = Float64(b * Float64(Float64(a * i) - Float64(z * c)))
	tmp = 0.0
	if (b <= -1.6e+154)
		tmp = t_2;
	elseif (b <= -1.5e-189)
		tmp = t_1;
	elseif (b <= 1.05e-169)
		tmp = Float64(j * Float64(Float64(t * c) - Float64(y * i)));
	elseif (b <= 1.95e-36)
		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));
	t_2 = b * ((a * i) - (z * c));
	tmp = 0.0;
	if (b <= -1.6e+154)
		tmp = t_2;
	elseif (b <= -1.5e-189)
		tmp = t_1;
	elseif (b <= 1.05e-169)
		tmp = j * ((t * c) - (y * i));
	elseif (b <= 1.95e-36)
		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[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -1.6e+154], t$95$2, If[LessEqual[b, -1.5e-189], t$95$1, If[LessEqual[b, 1.05e-169], N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.95e-36], t$95$1, t$95$2]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;b \leq -1.5 \cdot 10^{-189}:\\
\;\;\;\;t_1\\

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

\mathbf{elif}\;b \leq 1.95 \cdot 10^{-36}:\\
\;\;\;\;t_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -1.6e154 or 1.95e-36 < b

    1. Initial program 62.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-sub62.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-inv62.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. *-commutative62.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. *-commutative62.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-neg62.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. *-commutative62.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. *-commutative62.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. Simplified62.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 68.8%

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

    if -1.6e154 < b < -1.5e-189 or 1.05e-169 < b < 1.95e-36

    1. Initial program 70.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. +-commutative70.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-def73.7%

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

        \[\leadsto \mathsf{fma}\left(j, 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. *-commutative73.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. *-commutative73.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. *-commutative73.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. Simplified73.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 j around 0 67.1%

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

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

    if -1.5e-189 < b < 1.05e-169

    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 j around inf 67.5%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.6 \cdot 10^{+154}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;b \leq -1.5 \cdot 10^{-189}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{elif}\;b \leq 1.05 \cdot 10^{-169}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;b \leq 1.95 \cdot 10^{-36}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \end{array} \]

Alternative 18: 29.8% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(x \cdot z\right)\\ \mathbf{if}\;x \leq -5.4 \cdot 10^{+125}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq -9.5 \cdot 10^{-118}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;x \leq 5.8 \cdot 10^{-267}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;x \leq 1.72 \cdot 10^{-196}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;x \leq 3.5 \cdot 10^{+101}:\\ \;\;\;\;t \cdot \left(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 (* y (* x z))))
   (if (<= x -5.4e+125)
     t_1
     (if (<= x -9.5e-118)
       (* a (* b i))
       (if (<= x 5.8e-267)
         (* c (* t j))
         (if (<= x 1.72e-196)
           (* i (* a b))
           (if (<= x 3.5e+101) (* t (* 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 = y * (x * z);
	double tmp;
	if (x <= -5.4e+125) {
		tmp = t_1;
	} else if (x <= -9.5e-118) {
		tmp = a * (b * i);
	} else if (x <= 5.8e-267) {
		tmp = c * (t * j);
	} else if (x <= 1.72e-196) {
		tmp = i * (a * b);
	} else if (x <= 3.5e+101) {
		tmp = t * (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 = y * (x * z)
    if (x <= (-5.4d+125)) then
        tmp = t_1
    else if (x <= (-9.5d-118)) then
        tmp = a * (b * i)
    else if (x <= 5.8d-267) then
        tmp = c * (t * j)
    else if (x <= 1.72d-196) then
        tmp = i * (a * b)
    else if (x <= 3.5d+101) then
        tmp = t * (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 = y * (x * z);
	double tmp;
	if (x <= -5.4e+125) {
		tmp = t_1;
	} else if (x <= -9.5e-118) {
		tmp = a * (b * i);
	} else if (x <= 5.8e-267) {
		tmp = c * (t * j);
	} else if (x <= 1.72e-196) {
		tmp = i * (a * b);
	} else if (x <= 3.5e+101) {
		tmp = t * (c * j);
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = y * (x * z)
	tmp = 0
	if x <= -5.4e+125:
		tmp = t_1
	elif x <= -9.5e-118:
		tmp = a * (b * i)
	elif x <= 5.8e-267:
		tmp = c * (t * j)
	elif x <= 1.72e-196:
		tmp = i * (a * b)
	elif x <= 3.5e+101:
		tmp = t * (c * j)
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(y * Float64(x * z))
	tmp = 0.0
	if (x <= -5.4e+125)
		tmp = t_1;
	elseif (x <= -9.5e-118)
		tmp = Float64(a * Float64(b * i));
	elseif (x <= 5.8e-267)
		tmp = Float64(c * Float64(t * j));
	elseif (x <= 1.72e-196)
		tmp = Float64(i * Float64(a * b));
	elseif (x <= 3.5e+101)
		tmp = Float64(t * 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 = y * (x * z);
	tmp = 0.0;
	if (x <= -5.4e+125)
		tmp = t_1;
	elseif (x <= -9.5e-118)
		tmp = a * (b * i);
	elseif (x <= 5.8e-267)
		tmp = c * (t * j);
	elseif (x <= 1.72e-196)
		tmp = i * (a * b);
	elseif (x <= 3.5e+101)
		tmp = t * (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[(y * N[(x * z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -5.4e+125], t$95$1, If[LessEqual[x, -9.5e-118], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 5.8e-267], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.72e-196], N[(i * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3.5e+101], N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y \cdot \left(x \cdot z\right)\\
\mathbf{if}\;x \leq -5.4 \cdot 10^{+125}:\\
\;\;\;\;t_1\\

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

\mathbf{elif}\;x \leq 5.8 \cdot 10^{-267}:\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\

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

\mathbf{elif}\;x \leq 3.5 \cdot 10^{+101}:\\
\;\;\;\;t \cdot \left(c \cdot j\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if x < -5.3999999999999997e125 or 3.50000000000000023e101 < x

    1. Initial program 59.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-sub59.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-inv59.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. *-commutative59.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. *-commutative59.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-neg59.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. *-commutative59.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. *-commutative59.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. Simplified59.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 a around 0 45.0%

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

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

    if -5.3999999999999997e125 < x < -9.49999999999999931e-118

    1. Initial program 71.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. +-commutative71.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-def74.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. *-commutative74.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. *-commutative74.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. *-commutative74.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. *-commutative74.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. Simplified74.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 j around 0 63.3%

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

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

    if -9.49999999999999931e-118 < x < 5.80000000000000043e-267

    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 t around inf 37.0%

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

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

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

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

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - a \cdot x\right)} \]
    7. Taylor expanded in c around inf 35.0%

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

    if 5.80000000000000043e-267 < x < 1.72e-196

    1. Initial program 39.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. +-commutative39.6%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-def52.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. *-commutative52.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. *-commutative52.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. *-commutative52.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. *-commutative52.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. Simplified52.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 j around 0 52.4%

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

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

        \[\leadsto \color{blue}{\left(a \cdot i\right) \cdot b} \]
      2. *-commutative26.9%

        \[\leadsto \color{blue}{\left(i \cdot a\right)} \cdot b \]
      3. associate-*r*32.7%

        \[\leadsto \color{blue}{i \cdot \left(a \cdot b\right)} \]
    7. Simplified32.7%

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

    if 1.72e-196 < x < 3.50000000000000023e101

    1. Initial program 68.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-sub68.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-inv68.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. *-commutative68.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. *-commutative68.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-neg68.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. *-commutative68.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. *-commutative68.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. Simplified68.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 t around inf 48.9%

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

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

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

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

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - a \cdot x\right)} \]
    7. Taylor expanded in c around inf 28.2%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right)} \]
    8. Step-by-step derivation
      1. *-commutative28.2%

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

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

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j\right)} \]
    9. Simplified32.2%

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j\right)} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification36.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -5.4 \cdot 10^{+125}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;x \leq -9.5 \cdot 10^{-118}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;x \leq 5.8 \cdot 10^{-267}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;x \leq 1.72 \cdot 10^{-196}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;x \leq 3.5 \cdot 10^{+101}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \end{array} \]

Alternative 19: 29.7% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;x \leq -1.05 \cdot 10^{+125}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;x \leq -2.1 \cdot 10^{-117}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;x \leq 1.15 \cdot 10^{-266}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;x \leq 6.5 \cdot 10^{-191}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;x \leq 1.25 \cdot 10^{+102}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (<= x -1.05e+125)
   (* y (* x z))
   (if (<= x -2.1e-117)
     (* b (* a i))
     (if (<= x 1.15e-266)
       (* c (* t j))
       (if (<= x 6.5e-191)
         (* i (* a b))
         (if (<= x 1.25e+102) (* t (* c j)) (* z (* x y))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (x <= -1.05e+125) {
		tmp = y * (x * z);
	} else if (x <= -2.1e-117) {
		tmp = b * (a * i);
	} else if (x <= 1.15e-266) {
		tmp = c * (t * j);
	} else if (x <= 6.5e-191) {
		tmp = i * (a * b);
	} else if (x <= 1.25e+102) {
		tmp = t * (c * j);
	} else {
		tmp = z * (x * y);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8) :: tmp
    if (x <= (-1.05d+125)) then
        tmp = y * (x * z)
    else if (x <= (-2.1d-117)) then
        tmp = b * (a * i)
    else if (x <= 1.15d-266) then
        tmp = c * (t * j)
    else if (x <= 6.5d-191) then
        tmp = i * (a * b)
    else if (x <= 1.25d+102) then
        tmp = t * (c * j)
    else
        tmp = z * (x * y)
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (x <= -1.05e+125) {
		tmp = y * (x * z);
	} else if (x <= -2.1e-117) {
		tmp = b * (a * i);
	} else if (x <= 1.15e-266) {
		tmp = c * (t * j);
	} else if (x <= 6.5e-191) {
		tmp = i * (a * b);
	} else if (x <= 1.25e+102) {
		tmp = t * (c * j);
	} else {
		tmp = z * (x * y);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if x <= -1.05e+125:
		tmp = y * (x * z)
	elif x <= -2.1e-117:
		tmp = b * (a * i)
	elif x <= 1.15e-266:
		tmp = c * (t * j)
	elif x <= 6.5e-191:
		tmp = i * (a * b)
	elif x <= 1.25e+102:
		tmp = t * (c * j)
	else:
		tmp = z * (x * y)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if (x <= -1.05e+125)
		tmp = Float64(y * Float64(x * z));
	elseif (x <= -2.1e-117)
		tmp = Float64(b * Float64(a * i));
	elseif (x <= 1.15e-266)
		tmp = Float64(c * Float64(t * j));
	elseif (x <= 6.5e-191)
		tmp = Float64(i * Float64(a * b));
	elseif (x <= 1.25e+102)
		tmp = Float64(t * Float64(c * j));
	else
		tmp = Float64(z * Float64(x * y));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if (x <= -1.05e+125)
		tmp = y * (x * z);
	elseif (x <= -2.1e-117)
		tmp = b * (a * i);
	elseif (x <= 1.15e-266)
		tmp = c * (t * j);
	elseif (x <= 6.5e-191)
		tmp = i * (a * b);
	elseif (x <= 1.25e+102)
		tmp = t * (c * j);
	else
		tmp = z * (x * y);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[x, -1.05e+125], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -2.1e-117], N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.15e-266], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 6.5e-191], N[(i * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.25e+102], N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;x \leq -1.05 \cdot 10^{+125}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\

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

\mathbf{elif}\;x \leq 1.15 \cdot 10^{-266}:\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\

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

\mathbf{elif}\;x \leq 1.25 \cdot 10^{+102}:\\
\;\;\;\;t \cdot \left(c \cdot j\right)\\

\mathbf{else}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if x < -1.05e125

    1. Initial program 67.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-sub67.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-inv67.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. *-commutative67.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. *-commutative67.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-neg67.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. *-commutative67.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. *-commutative67.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. Simplified67.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 a around 0 53.0%

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

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

    if -1.05e125 < x < -2.0999999999999999e-117

    1. Initial program 71.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-sub71.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-inv71.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. *-commutative71.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. *-commutative71.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-neg71.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. *-commutative71.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. *-commutative71.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. Simplified71.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 inf 49.6%

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

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

    if -2.0999999999999999e-117 < x < 1.14999999999999998e-266

    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 t around inf 37.0%

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

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

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

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

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - a \cdot x\right)} \]
    7. Taylor expanded in c around inf 35.0%

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

    if 1.14999999999999998e-266 < x < 6.4999999999999995e-191

    1. Initial program 39.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. +-commutative39.6%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-def52.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. *-commutative52.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. *-commutative52.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. *-commutative52.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. *-commutative52.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. Simplified52.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 j around 0 52.4%

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

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

        \[\leadsto \color{blue}{\left(a \cdot i\right) \cdot b} \]
      2. *-commutative26.9%

        \[\leadsto \color{blue}{\left(i \cdot a\right)} \cdot b \]
      3. associate-*r*32.7%

        \[\leadsto \color{blue}{i \cdot \left(a \cdot b\right)} \]
    7. Simplified32.7%

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

    if 6.4999999999999995e-191 < x < 1.25e102

    1. Initial program 68.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-sub68.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-inv68.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. *-commutative68.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. *-commutative68.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-neg68.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. *-commutative68.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. *-commutative68.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. Simplified68.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 t around inf 48.9%

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

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

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

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

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - a \cdot x\right)} \]
    7. Taylor expanded in c around inf 28.2%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right)} \]
    8. Step-by-step derivation
      1. *-commutative28.2%

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

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

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j\right)} \]
    9. Simplified32.2%

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

    if 1.25e102 < x

    1. Initial program 52.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-sub52.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-inv52.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. *-commutative52.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. *-commutative52.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-neg52.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. *-commutative52.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. *-commutative52.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. Simplified52.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 a around 0 37.1%

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

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

        \[\leadsto \color{blue}{\left(z \cdot x\right) \cdot y} \]
      2. associate-*l*41.9%

        \[\leadsto \color{blue}{z \cdot \left(x \cdot y\right)} \]
      3. *-commutative41.9%

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

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x\right)} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification38.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -1.05 \cdot 10^{+125}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;x \leq -2.1 \cdot 10^{-117}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;x \leq 1.15 \cdot 10^{-266}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;x \leq 6.5 \cdot 10^{-191}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;x \leq 1.25 \cdot 10^{+102}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \end{array} \]

Alternative 20: 29.8% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;x \leq -2.7 \cdot 10^{+124}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;x \leq -1 \cdot 10^{-117}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;x \leq 2.85 \cdot 10^{-266}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;x \leq 1.28 \cdot 10^{-191}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;x \leq 3.7 \cdot 10^{+101}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (<= x -2.7e+124)
   (* y (* x z))
   (if (<= x -1e-117)
     (* b (* a i))
     (if (<= x 2.85e-266)
       (* c (* t j))
       (if (<= x 1.28e-191)
         (* i (* a b))
         (if (<= x 3.7e+101) (* j (* t c)) (* z (* x y))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (x <= -2.7e+124) {
		tmp = y * (x * z);
	} else if (x <= -1e-117) {
		tmp = b * (a * i);
	} else if (x <= 2.85e-266) {
		tmp = c * (t * j);
	} else if (x <= 1.28e-191) {
		tmp = i * (a * b);
	} else if (x <= 3.7e+101) {
		tmp = j * (t * c);
	} else {
		tmp = z * (x * y);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8) :: tmp
    if (x <= (-2.7d+124)) then
        tmp = y * (x * z)
    else if (x <= (-1d-117)) then
        tmp = b * (a * i)
    else if (x <= 2.85d-266) then
        tmp = c * (t * j)
    else if (x <= 1.28d-191) then
        tmp = i * (a * b)
    else if (x <= 3.7d+101) then
        tmp = j * (t * c)
    else
        tmp = z * (x * y)
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (x <= -2.7e+124) {
		tmp = y * (x * z);
	} else if (x <= -1e-117) {
		tmp = b * (a * i);
	} else if (x <= 2.85e-266) {
		tmp = c * (t * j);
	} else if (x <= 1.28e-191) {
		tmp = i * (a * b);
	} else if (x <= 3.7e+101) {
		tmp = j * (t * c);
	} else {
		tmp = z * (x * y);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if x <= -2.7e+124:
		tmp = y * (x * z)
	elif x <= -1e-117:
		tmp = b * (a * i)
	elif x <= 2.85e-266:
		tmp = c * (t * j)
	elif x <= 1.28e-191:
		tmp = i * (a * b)
	elif x <= 3.7e+101:
		tmp = j * (t * c)
	else:
		tmp = z * (x * y)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if (x <= -2.7e+124)
		tmp = Float64(y * Float64(x * z));
	elseif (x <= -1e-117)
		tmp = Float64(b * Float64(a * i));
	elseif (x <= 2.85e-266)
		tmp = Float64(c * Float64(t * j));
	elseif (x <= 1.28e-191)
		tmp = Float64(i * Float64(a * b));
	elseif (x <= 3.7e+101)
		tmp = Float64(j * Float64(t * c));
	else
		tmp = Float64(z * Float64(x * y));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if (x <= -2.7e+124)
		tmp = y * (x * z);
	elseif (x <= -1e-117)
		tmp = b * (a * i);
	elseif (x <= 2.85e-266)
		tmp = c * (t * j);
	elseif (x <= 1.28e-191)
		tmp = i * (a * b);
	elseif (x <= 3.7e+101)
		tmp = j * (t * c);
	else
		tmp = z * (x * y);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[x, -2.7e+124], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1e-117], N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.85e-266], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.28e-191], N[(i * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3.7e+101], N[(j * N[(t * c), $MachinePrecision]), $MachinePrecision], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;x \leq -2.7 \cdot 10^{+124}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\

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

\mathbf{elif}\;x \leq 2.85 \cdot 10^{-266}:\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\

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

\mathbf{elif}\;x \leq 3.7 \cdot 10^{+101}:\\
\;\;\;\;j \cdot \left(t \cdot c\right)\\

\mathbf{else}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if x < -2.69999999999999978e124

    1. Initial program 67.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-sub67.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-inv67.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. *-commutative67.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. *-commutative67.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-neg67.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. *-commutative67.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. *-commutative67.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. Simplified67.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 a around 0 53.0%

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

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

    if -2.69999999999999978e124 < x < -1.00000000000000003e-117

    1. Initial program 71.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-sub71.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-inv71.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. *-commutative71.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. *-commutative71.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-neg71.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. *-commutative71.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. *-commutative71.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. Simplified71.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 inf 49.6%

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

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

    if -1.00000000000000003e-117 < x < 2.8500000000000001e-266

    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 t around inf 37.0%

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

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

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

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

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - a \cdot x\right)} \]
    7. Taylor expanded in c around inf 35.0%

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

    if 2.8500000000000001e-266 < x < 1.2800000000000001e-191

    1. Initial program 39.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. +-commutative39.6%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-def52.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. *-commutative52.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. *-commutative52.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. *-commutative52.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. *-commutative52.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. Simplified52.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 j around 0 52.4%

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

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

        \[\leadsto \color{blue}{\left(a \cdot i\right) \cdot b} \]
      2. *-commutative26.9%

        \[\leadsto \color{blue}{\left(i \cdot a\right)} \cdot b \]
      3. associate-*r*32.7%

        \[\leadsto \color{blue}{i \cdot \left(a \cdot b\right)} \]
    7. Simplified32.7%

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

    if 1.2800000000000001e-191 < x < 3.6999999999999997e101

    1. Initial program 68.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-sub68.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-inv68.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. *-commutative68.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. *-commutative68.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-neg68.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. *-commutative68.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. *-commutative68.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. Simplified68.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 t around inf 48.9%

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

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

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

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

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - a \cdot x\right)} \]
    7. Taylor expanded in c around inf 28.2%

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

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

        \[\leadsto \color{blue}{\left(t \cdot c\right)} \cdot j \]
    9. Simplified32.3%

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

    if 3.6999999999999997e101 < x

    1. Initial program 52.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-sub52.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-inv52.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. *-commutative52.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. *-commutative52.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-neg52.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. *-commutative52.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. *-commutative52.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. Simplified52.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 a around 0 37.1%

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

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

        \[\leadsto \color{blue}{\left(z \cdot x\right) \cdot y} \]
      2. associate-*l*41.9%

        \[\leadsto \color{blue}{z \cdot \left(x \cdot y\right)} \]
      3. *-commutative41.9%

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

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x\right)} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification38.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -2.7 \cdot 10^{+124}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;x \leq -1 \cdot 10^{-117}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;x \leq 2.85 \cdot 10^{-266}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;x \leq 1.28 \cdot 10^{-191}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;x \leq 3.7 \cdot 10^{+101}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \end{array} \]

Alternative 21: 28.3% accurate, 2.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(b \cdot i\right)\\ \mathbf{if}\;y \leq -1.5 \cdot 10^{+126}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;y \leq -1.5 \cdot 10^{-108}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 1.35 \cdot 10^{-164}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;y \leq 9.2 \cdot 10^{-74}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* a (* b i))))
   (if (<= y -1.5e+126)
     (* y (* x z))
     (if (<= y -1.5e-108)
       t_1
       (if (<= y 1.35e-164)
         (* t (* c j))
         (if (<= y 9.2e-74) t_1 (* z (* x y))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = a * (b * i);
	double tmp;
	if (y <= -1.5e+126) {
		tmp = y * (x * z);
	} else if (y <= -1.5e-108) {
		tmp = t_1;
	} else if (y <= 1.35e-164) {
		tmp = t * (c * j);
	} else if (y <= 9.2e-74) {
		tmp = t_1;
	} else {
		tmp = z * (x * y);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8) :: t_1
    real(8) :: tmp
    t_1 = a * (b * i)
    if (y <= (-1.5d+126)) then
        tmp = y * (x * z)
    else if (y <= (-1.5d-108)) then
        tmp = t_1
    else if (y <= 1.35d-164) then
        tmp = t * (c * j)
    else if (y <= 9.2d-74) then
        tmp = t_1
    else
        tmp = z * (x * y)
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = a * (b * i);
	double tmp;
	if (y <= -1.5e+126) {
		tmp = y * (x * z);
	} else if (y <= -1.5e-108) {
		tmp = t_1;
	} else if (y <= 1.35e-164) {
		tmp = t * (c * j);
	} else if (y <= 9.2e-74) {
		tmp = t_1;
	} else {
		tmp = z * (x * y);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = a * (b * i)
	tmp = 0
	if y <= -1.5e+126:
		tmp = y * (x * z)
	elif y <= -1.5e-108:
		tmp = t_1
	elif y <= 1.35e-164:
		tmp = t * (c * j)
	elif y <= 9.2e-74:
		tmp = t_1
	else:
		tmp = z * (x * y)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(a * Float64(b * i))
	tmp = 0.0
	if (y <= -1.5e+126)
		tmp = Float64(y * Float64(x * z));
	elseif (y <= -1.5e-108)
		tmp = t_1;
	elseif (y <= 1.35e-164)
		tmp = Float64(t * Float64(c * j));
	elseif (y <= 9.2e-74)
		tmp = t_1;
	else
		tmp = Float64(z * Float64(x * y));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = a * (b * i);
	tmp = 0.0;
	if (y <= -1.5e+126)
		tmp = y * (x * z);
	elseif (y <= -1.5e-108)
		tmp = t_1;
	elseif (y <= 1.35e-164)
		tmp = t * (c * j);
	elseif (y <= 9.2e-74)
		tmp = t_1;
	else
		tmp = z * (x * y);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.5e+126], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.5e-108], t$95$1, If[LessEqual[y, 1.35e-164], N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 9.2e-74], t$95$1, N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(b \cdot i\right)\\
\mathbf{if}\;y \leq -1.5 \cdot 10^{+126}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\

\mathbf{elif}\;y \leq -1.5 \cdot 10^{-108}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;y \leq 1.35 \cdot 10^{-164}:\\
\;\;\;\;t \cdot \left(c \cdot j\right)\\

\mathbf{elif}\;y \leq 9.2 \cdot 10^{-74}:\\
\;\;\;\;t_1\\

\mathbf{else}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if y < -1.5000000000000001e126

    1. Initial program 40.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-sub40.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-inv40.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. *-commutative40.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. *-commutative40.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-neg40.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. *-commutative40.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. *-commutative40.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. Simplified40.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 a around 0 57.0%

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

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

    if -1.5000000000000001e126 < y < -1.49999999999999996e-108 or 1.3500000000000001e-164 < y < 9.19999999999999922e-74

    1. Initial program 65.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. +-commutative65.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 j around 0 64.1%

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

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

    if -1.49999999999999996e-108 < y < 1.3500000000000001e-164

    1. Initial program 85.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-sub85.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-inv85.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. *-commutative85.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. *-commutative85.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-neg85.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. *-commutative85.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. *-commutative85.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. Simplified85.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 t around inf 57.1%

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

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

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

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

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - a \cdot x\right)} \]
    7. Taylor expanded in c around inf 30.9%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right)} \]
    8. Step-by-step derivation
      1. *-commutative30.9%

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

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

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j\right)} \]
    9. Simplified32.3%

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

    if 9.19999999999999922e-74 < y

    1. Initial program 57.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-sub57.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-inv57.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. *-commutative57.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. *-commutative57.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-neg57.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. *-commutative57.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. *-commutative57.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. Simplified57.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 a around 0 57.6%

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

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

        \[\leadsto \color{blue}{\left(z \cdot x\right) \cdot y} \]
      2. associate-*l*39.0%

        \[\leadsto \color{blue}{z \cdot \left(x \cdot y\right)} \]
      3. *-commutative39.0%

        \[\leadsto z \cdot \color{blue}{\left(y \cdot x\right)} \]
    7. Simplified39.0%

      \[\leadsto \color{blue}{z \cdot \left(y \cdot x\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification35.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1.5 \cdot 10^{+126}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;y \leq -1.5 \cdot 10^{-108}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;y \leq 1.35 \cdot 10^{-164}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;y \leq 9.2 \cdot 10^{-74}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \end{array} \]

Alternative 22: 28.3% accurate, 2.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -3.15 \cdot 10^{+128}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;y \leq -1.6 \cdot 10^{-108}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;y \leq 3 \cdot 10^{-164}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;y \leq 4.8 \cdot 10^{-74}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (<= y -3.15e+128)
   (* y (* x z))
   (if (<= y -1.6e-108)
     (* a (* b i))
     (if (<= y 3e-164)
       (* j (* t c))
       (if (<= y 4.8e-74) (* b (* a i)) (* x (* y z)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (y <= -3.15e+128) {
		tmp = y * (x * z);
	} else if (y <= -1.6e-108) {
		tmp = a * (b * i);
	} else if (y <= 3e-164) {
		tmp = j * (t * c);
	} else if (y <= 4.8e-74) {
		tmp = b * (a * i);
	} else {
		tmp = x * (y * z);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8) :: tmp
    if (y <= (-3.15d+128)) then
        tmp = y * (x * z)
    else if (y <= (-1.6d-108)) then
        tmp = a * (b * i)
    else if (y <= 3d-164) then
        tmp = j * (t * c)
    else if (y <= 4.8d-74) then
        tmp = b * (a * i)
    else
        tmp = x * (y * z)
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (y <= -3.15e+128) {
		tmp = y * (x * z);
	} else if (y <= -1.6e-108) {
		tmp = a * (b * i);
	} else if (y <= 3e-164) {
		tmp = j * (t * c);
	} else if (y <= 4.8e-74) {
		tmp = b * (a * i);
	} else {
		tmp = x * (y * z);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if y <= -3.15e+128:
		tmp = y * (x * z)
	elif y <= -1.6e-108:
		tmp = a * (b * i)
	elif y <= 3e-164:
		tmp = j * (t * c)
	elif y <= 4.8e-74:
		tmp = b * (a * i)
	else:
		tmp = x * (y * z)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if (y <= -3.15e+128)
		tmp = Float64(y * Float64(x * z));
	elseif (y <= -1.6e-108)
		tmp = Float64(a * Float64(b * i));
	elseif (y <= 3e-164)
		tmp = Float64(j * Float64(t * c));
	elseif (y <= 4.8e-74)
		tmp = Float64(b * Float64(a * i));
	else
		tmp = Float64(x * Float64(y * z));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if (y <= -3.15e+128)
		tmp = y * (x * z);
	elseif (y <= -1.6e-108)
		tmp = a * (b * i);
	elseif (y <= 3e-164)
		tmp = j * (t * c);
	elseif (y <= 4.8e-74)
		tmp = b * (a * i);
	else
		tmp = x * (y * z);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[y, -3.15e+128], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.6e-108], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 3e-164], N[(j * N[(t * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.8e-74], N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y \leq -3.15 \cdot 10^{+128}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\

\mathbf{elif}\;y \leq -1.6 \cdot 10^{-108}:\\
\;\;\;\;a \cdot \left(b \cdot i\right)\\

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

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

\mathbf{else}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y < -3.1499999999999999e128

    1. Initial program 40.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-sub40.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-inv40.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. *-commutative40.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. *-commutative40.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-neg40.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. *-commutative40.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. *-commutative40.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. Simplified40.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 a around 0 57.0%

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

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

    if -3.1499999999999999e128 < y < -1.6e-108

    1. Initial program 60.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. +-commutative60.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-def64.6%

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

        \[\leadsto \mathsf{fma}\left(j, 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. *-commutative64.6%

        \[\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. *-commutative64.6%

        \[\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. *-commutative64.6%

        \[\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. Simplified64.6%

      \[\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 j around 0 63.4%

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

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

    if -1.6e-108 < y < 3.0000000000000001e-164

    1. Initial program 85.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-sub85.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-inv85.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. *-commutative85.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. *-commutative85.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-neg85.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. *-commutative85.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. *-commutative85.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. Simplified85.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 t around inf 57.1%

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

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

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

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

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - a \cdot x\right)} \]
    7. Taylor expanded in c around inf 30.9%

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

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

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

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

    if 3.0000000000000001e-164 < y < 4.7999999999999998e-74

    1. Initial program 74.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-sub74.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-inv74.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. *-commutative74.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. *-commutative74.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-neg74.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. *-commutative74.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. *-commutative74.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. Simplified74.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 inf 58.2%

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

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

    if 4.7999999999999998e-74 < y

    1. Initial program 57.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. +-commutative57.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-def62.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. *-commutative62.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. *-commutative62.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. *-commutative62.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. *-commutative62.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. Simplified62.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 j around 0 57.4%

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

      \[\leadsto \color{blue}{\left(y \cdot z - a \cdot t\right) \cdot x} \]
    6. Taylor expanded in y around inf 42.7%

      \[\leadsto \color{blue}{\left(y \cdot z\right)} \cdot x \]
  3. Recombined 5 regimes into one program.
  4. Final simplification37.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -3.15 \cdot 10^{+128}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;y \leq -1.6 \cdot 10^{-108}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;y \leq 3 \cdot 10^{-164}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;y \leq 4.8 \cdot 10^{-74}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \end{array} \]

Alternative 23: 29.7% accurate, 3.2× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;t \leq -2.5 \cdot 10^{+56} \lor \neg \left(t \leq 1.4 \cdot 10^{+109}\right):\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(b \cdot i\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if t < -2.50000000000000012e56 or 1.4000000000000001e109 < t

    1. Initial program 53.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-sub53.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-inv53.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. *-commutative53.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. *-commutative53.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-neg53.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. *-commutative53.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. *-commutative53.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. Simplified53.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 t around inf 71.1%

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

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

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

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

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - a \cdot x\right)} \]
    7. Taylor expanded in c around inf 37.5%

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

    if -2.50000000000000012e56 < t < 1.4000000000000001e109

    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. +-commutative72.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-def76.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. *-commutative76.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. *-commutative76.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. *-commutative76.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. *-commutative76.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. Simplified76.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 j around 0 64.8%

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -2.5 \cdot 10^{+56} \lor \neg \left(t \leq 1.4 \cdot 10^{+109}\right):\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \end{array} \]

Alternative 24: 29.2% accurate, 3.2× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;t \leq -3.9 \cdot 10^{+56} \lor \neg \left(t \leq 8.5 \cdot 10^{+138}\right):\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\

\mathbf{else}:\\
\;\;\;\;i \cdot \left(a \cdot b\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if t < -3.89999999999999994e56 or 8.5000000000000006e138 < t

    1. Initial program 53.8%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. cancel-sign-sub53.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-inv53.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. *-commutative53.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. *-commutative53.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-neg53.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. *-commutative53.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. *-commutative53.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. Simplified53.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 t around inf 72.1%

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

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

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

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

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - a \cdot x\right)} \]
    7. Taylor expanded in c around inf 39.2%

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

    if -3.89999999999999994e56 < t < 8.5000000000000006e138

    1. Initial program 71.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. +-commutative71.6%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-def75.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. *-commutative75.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. *-commutative75.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. *-commutative75.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. *-commutative75.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. Simplified75.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 j around 0 64.5%

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

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

        \[\leadsto \color{blue}{\left(a \cdot i\right) \cdot b} \]
      2. *-commutative25.4%

        \[\leadsto \color{blue}{\left(i \cdot a\right)} \cdot b \]
      3. associate-*r*22.4%

        \[\leadsto \color{blue}{i \cdot \left(a \cdot b\right)} \]
    7. Simplified22.4%

      \[\leadsto \color{blue}{i \cdot \left(a \cdot b\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification28.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -3.9 \cdot 10^{+56} \lor \neg \left(t \leq 8.5 \cdot 10^{+138}\right):\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \end{array} \]

Alternative 25: 27.9% accurate, 3.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;c \leq -1.05 \cdot 10^{-117}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;c \leq 5.3 \cdot 10^{+151}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (<= c -1.05e-117)
   (* t (* c j))
   (if (<= c 5.3e+151) (* i (* a b)) (* c (* t j)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (c <= -1.05e-117) {
		tmp = t * (c * j);
	} else if (c <= 5.3e+151) {
		tmp = i * (a * b);
	} else {
		tmp = c * (t * j);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8) :: tmp
    if (c <= (-1.05d-117)) then
        tmp = t * (c * j)
    else if (c <= 5.3d+151) then
        tmp = i * (a * b)
    else
        tmp = c * (t * j)
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (c <= -1.05e-117) {
		tmp = t * (c * j);
	} else if (c <= 5.3e+151) {
		tmp = i * (a * b);
	} else {
		tmp = c * (t * j);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if c <= -1.05e-117:
		tmp = t * (c * j)
	elif c <= 5.3e+151:
		tmp = i * (a * b)
	else:
		tmp = c * (t * j)
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if (c <= -1.05e-117)
		tmp = Float64(t * Float64(c * j));
	elseif (c <= 5.3e+151)
		tmp = Float64(i * Float64(a * b));
	else
		tmp = Float64(c * Float64(t * j));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if (c <= -1.05e-117)
		tmp = t * (c * j);
	elseif (c <= 5.3e+151)
		tmp = i * (a * b);
	else
		tmp = c * (t * j);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[c, -1.05e-117], N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5.3e+151], N[(i * N[(a * b), $MachinePrecision]), $MachinePrecision], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;c \leq -1.05 \cdot 10^{-117}:\\
\;\;\;\;t \cdot \left(c \cdot j\right)\\

\mathbf{elif}\;c \leq 5.3 \cdot 10^{+151}:\\
\;\;\;\;i \cdot \left(a \cdot b\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if c < -1.05e-117

    1. Initial program 64.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-sub64.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-inv64.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. *-commutative64.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. *-commutative64.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-neg64.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. *-commutative64.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. *-commutative64.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. Simplified64.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 t around inf 39.7%

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

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

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

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

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - a \cdot x\right)} \]
    7. Taylor expanded in c around inf 23.3%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right)} \]
    8. Step-by-step derivation
      1. *-commutative23.3%

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

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

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j\right)} \]
    9. Simplified25.4%

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

    if -1.05e-117 < c < 5.29999999999999999e151

    1. Initial program 67.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. +-commutative67.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-def71.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. *-commutative71.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. *-commutative71.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. *-commutative71.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. *-commutative71.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. Simplified71.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 j around 0 62.7%

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

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

        \[\leadsto \color{blue}{\left(a \cdot i\right) \cdot b} \]
      2. *-commutative31.0%

        \[\leadsto \color{blue}{\left(i \cdot a\right)} \cdot b \]
      3. associate-*r*27.5%

        \[\leadsto \color{blue}{i \cdot \left(a \cdot b\right)} \]
    7. Simplified27.5%

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

    if 5.29999999999999999e151 < c

    1. Initial program 56.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-sub56.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-inv56.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. *-commutative56.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. *-commutative56.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-neg56.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. *-commutative56.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. *-commutative56.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. Simplified56.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 t around inf 54.3%

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

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

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

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

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - a \cdot x\right)} \]
    7. Taylor expanded in c around inf 47.9%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -1.05 \cdot 10^{-117}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;c \leq 5.3 \cdot 10^{+151}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \end{array} \]

Alternative 26: 22.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 65.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. +-commutative65.0%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
    2. fma-def67.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. *-commutative67.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. *-commutative67.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. *-commutative67.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. *-commutative67.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. Simplified67.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 j around 0 58.5%

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

    \[\leadsto \color{blue}{a \cdot \left(i \cdot b\right)} \]
  6. Final simplification20.1%

    \[\leadsto a \cdot \left(b \cdot i\right) \]

Developer target: 68.9% 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 2023185 
(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)))))