Linear.Matrix:det33 from linear-1.19.1.3

Percentage Accurate: 72.7% → 81.3%
Time: 21.9s
Alternatives: 25
Speedup: 0.5×

Specification

?
\[\begin{array}{l} \\ \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (+
  (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a))))
  (* j (- (* c t) (* i y)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)));
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    code = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)));
}
def code(x, y, z, t, a, b, c, i, j):
	return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)))
function code(x, y, z, t, a, b, c, i, j)
	return Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(b * Float64(Float64(c * z) - Float64(i * a)))) + Float64(j * Float64(Float64(c * t) - Float64(i * y))))
end
function tmp = code(x, y, z, t, a, b, c, i, j)
	tmp = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)));
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(c * z), $MachinePrecision] - N[(i * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(c * t), $MachinePrecision] - N[(i * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)
\end{array}

Sampling outcomes in binary64 precision:

Local Percentage Accuracy vs ?

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

Accuracy vs Speed?

Herbie found 25 alternatives:

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

Initial Program: 72.7% 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: 81.3% accurate, 0.1× speedup?

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

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

\mathbf{else}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) - z \cdot \left(b \cdot c\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.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. +-commutative93.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-define93.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. *-commutative93.8%

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

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

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

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

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

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

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

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

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

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

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

    1. Initial program 0.0%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - \color{blue}{b \cdot \left(c \cdot z\right)} \]
    9. Step-by-step derivation
      1. associate-*r*50.8%

        \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - \color{blue}{\left(b \cdot c\right) \cdot z} \]
      2. *-commutative50.8%

        \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - \color{blue}{\left(c \cdot b\right)} \cdot z \]
    10. Simplified50.8%

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

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

Alternative 2: 81.3% accurate, 0.5× speedup?

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

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

\mathbf{else}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) - z \cdot \left(b \cdot c\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.8%

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

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

    1. Initial program 0.0%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - \color{blue}{b \cdot \left(c \cdot z\right)} \]
    9. Step-by-step derivation
      1. associate-*r*50.8%

        \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - \color{blue}{\left(b \cdot c\right) \cdot z} \]
      2. *-commutative50.8%

        \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - \color{blue}{\left(c \cdot b\right)} \cdot z \]
    10. Simplified50.8%

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

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

Alternative 3: 29.6% accurate, 0.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(-c\right) \cdot \left(z \cdot b\right)\\ t_2 := a \cdot \left(t \cdot \left(-x\right)\right)\\ t_3 := b \cdot \left(a \cdot i\right)\\ \mathbf{if}\;b \leq -4.3 \cdot 10^{+220}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;b \leq -1.45 \cdot 10^{+70}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq -2.3 \cdot 10^{-128}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;b \leq -3.5 \cdot 10^{-299}:\\ \;\;\;\;\left(y \cdot i\right) \cdot \left(-j\right)\\ \mathbf{elif}\;b \leq 1.75 \cdot 10^{+60}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;b \leq 2.3 \cdot 10^{+246}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;t\_3\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* (- c) (* z b))) (t_2 (* a (* t (- x)))) (t_3 (* b (* a i))))
   (if (<= b -4.3e+220)
     t_3
     (if (<= b -1.45e+70)
       t_1
       (if (<= b -2.3e-128)
         t_2
         (if (<= b -3.5e-299)
           (* (* y i) (- j))
           (if (<= b 1.75e+60) t_2 (if (<= b 2.3e+246) t_1 t_3))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = -c * (z * b);
	double t_2 = a * (t * -x);
	double t_3 = b * (a * i);
	double tmp;
	if (b <= -4.3e+220) {
		tmp = t_3;
	} else if (b <= -1.45e+70) {
		tmp = t_1;
	} else if (b <= -2.3e-128) {
		tmp = t_2;
	} else if (b <= -3.5e-299) {
		tmp = (y * i) * -j;
	} else if (b <= 1.75e+60) {
		tmp = t_2;
	} else if (b <= 2.3e+246) {
		tmp = t_1;
	} else {
		tmp = t_3;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = -c * (z * b)
    t_2 = a * (t * -x)
    t_3 = b * (a * i)
    if (b <= (-4.3d+220)) then
        tmp = t_3
    else if (b <= (-1.45d+70)) then
        tmp = t_1
    else if (b <= (-2.3d-128)) then
        tmp = t_2
    else if (b <= (-3.5d-299)) then
        tmp = (y * i) * -j
    else if (b <= 1.75d+60) then
        tmp = t_2
    else if (b <= 2.3d+246) then
        tmp = t_1
    else
        tmp = t_3
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = -c * (z * b);
	double t_2 = a * (t * -x);
	double t_3 = b * (a * i);
	double tmp;
	if (b <= -4.3e+220) {
		tmp = t_3;
	} else if (b <= -1.45e+70) {
		tmp = t_1;
	} else if (b <= -2.3e-128) {
		tmp = t_2;
	} else if (b <= -3.5e-299) {
		tmp = (y * i) * -j;
	} else if (b <= 1.75e+60) {
		tmp = t_2;
	} else if (b <= 2.3e+246) {
		tmp = t_1;
	} else {
		tmp = t_3;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = -c * (z * b)
	t_2 = a * (t * -x)
	t_3 = b * (a * i)
	tmp = 0
	if b <= -4.3e+220:
		tmp = t_3
	elif b <= -1.45e+70:
		tmp = t_1
	elif b <= -2.3e-128:
		tmp = t_2
	elif b <= -3.5e-299:
		tmp = (y * i) * -j
	elif b <= 1.75e+60:
		tmp = t_2
	elif b <= 2.3e+246:
		tmp = t_1
	else:
		tmp = t_3
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(Float64(-c) * Float64(z * b))
	t_2 = Float64(a * Float64(t * Float64(-x)))
	t_3 = Float64(b * Float64(a * i))
	tmp = 0.0
	if (b <= -4.3e+220)
		tmp = t_3;
	elseif (b <= -1.45e+70)
		tmp = t_1;
	elseif (b <= -2.3e-128)
		tmp = t_2;
	elseif (b <= -3.5e-299)
		tmp = Float64(Float64(y * i) * Float64(-j));
	elseif (b <= 1.75e+60)
		tmp = t_2;
	elseif (b <= 2.3e+246)
		tmp = t_1;
	else
		tmp = t_3;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = -c * (z * b);
	t_2 = a * (t * -x);
	t_3 = b * (a * i);
	tmp = 0.0;
	if (b <= -4.3e+220)
		tmp = t_3;
	elseif (b <= -1.45e+70)
		tmp = t_1;
	elseif (b <= -2.3e-128)
		tmp = t_2;
	elseif (b <= -3.5e-299)
		tmp = (y * i) * -j;
	elseif (b <= 1.75e+60)
		tmp = t_2;
	elseif (b <= 2.3e+246)
		tmp = t_1;
	else
		tmp = t_3;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[((-c) * N[(z * b), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(t * (-x)), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -4.3e+220], t$95$3, If[LessEqual[b, -1.45e+70], t$95$1, If[LessEqual[b, -2.3e-128], t$95$2, If[LessEqual[b, -3.5e-299], N[(N[(y * i), $MachinePrecision] * (-j)), $MachinePrecision], If[LessEqual[b, 1.75e+60], t$95$2, If[LessEqual[b, 2.3e+246], t$95$1, t$95$3]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;b \leq -1.45 \cdot 10^{+70}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq -2.3 \cdot 10^{-128}:\\
\;\;\;\;t\_2\\

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

\mathbf{elif}\;b \leq 1.75 \cdot 10^{+60}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;b \leq 2.3 \cdot 10^{+246}:\\
\;\;\;\;t\_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if b < -4.3e220 or 2.30000000000000014e246 < b

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{t \cdot \left(c \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      11. distribute-lft-in80.0%

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \color{blue}{\left(-a\right) \cdot \left(-b \cdot i\right)} \]
      7. distribute-lft-in72.0%

        \[\leadsto \color{blue}{\left(-a\right) \cdot \left(t \cdot x + \left(-b \cdot i\right)\right)} \]
      8. sub-neg72.0%

        \[\leadsto \left(-a\right) \cdot \color{blue}{\left(t \cdot x - b \cdot i\right)} \]
      9. distribute-lft-neg-in72.0%

        \[\leadsto \color{blue}{-a \cdot \left(t \cdot x - b \cdot i\right)} \]
      10. distribute-rgt-neg-in72.0%

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

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

        \[\leadsto a \cdot \left(-\color{blue}{\left(\left(-b \cdot i\right) + t \cdot x\right)}\right) \]
      13. distribute-neg-in72.0%

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

        \[\leadsto a \cdot \left(\color{blue}{b \cdot i} + \left(-t \cdot x\right)\right) \]
      15. sub-neg72.0%

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

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

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

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

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

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

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

        \[\leadsto \color{blue}{b \cdot \left(i \cdot a\right)} \]
    13. Simplified67.4%

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

    if -4.3e220 < b < -1.4499999999999999e70 or 1.7500000000000001e60 < b < 2.30000000000000014e246

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t - b \cdot z\right)} \]
    6. Step-by-step derivation
      1. *-commutative58.3%

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

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

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

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

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

        \[\leadsto c \cdot \left(-\color{blue}{z \cdot b}\right) \]
      3. distribute-lft-neg-in49.5%

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

        \[\leadsto c \cdot \color{blue}{\left(b \cdot \left(-z\right)\right)} \]
    10. Simplified49.5%

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

    if -1.4499999999999999e70 < b < -2.3000000000000001e-128 or -3.49999999999999991e-299 < b < 1.7500000000000001e60

    1. Initial program 79.5%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. +-commutative79.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-define79.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. *-commutative79.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{t \cdot \left(c \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      11. distribute-lft-in63.9%

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-a\right)} \cdot \left(b \cdot i\right)\right) \]
      6. distribute-rgt-neg-in42.4%

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

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

        \[\leadsto \left(-a\right) \cdot \color{blue}{\left(t \cdot x - b \cdot i\right)} \]
      9. distribute-lft-neg-in43.3%

        \[\leadsto \color{blue}{-a \cdot \left(t \cdot x - b \cdot i\right)} \]
      10. distribute-rgt-neg-in43.3%

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

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

        \[\leadsto a \cdot \left(-\color{blue}{\left(\left(-b \cdot i\right) + t \cdot x\right)}\right) \]
      13. distribute-neg-in43.3%

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

        \[\leadsto a \cdot \left(\color{blue}{b \cdot i} + \left(-t \cdot x\right)\right) \]
      15. sub-neg43.3%

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

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

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

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

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

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

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

    if -2.3000000000000001e-128 < b < -3.49999999999999991e-299

    1. Initial program 76.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. +-commutative76.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-define79.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. *-commutative79.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -4.3 \cdot 10^{+220}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;b \leq -1.45 \cdot 10^{+70}:\\ \;\;\;\;\left(-c\right) \cdot \left(z \cdot b\right)\\ \mathbf{elif}\;b \leq -2.3 \cdot 10^{-128}:\\ \;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\ \mathbf{elif}\;b \leq -3.5 \cdot 10^{-299}:\\ \;\;\;\;\left(y \cdot i\right) \cdot \left(-j\right)\\ \mathbf{elif}\;b \leq 1.75 \cdot 10^{+60}:\\ \;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\ \mathbf{elif}\;b \leq 2.3 \cdot 10^{+246}:\\ \;\;\;\;\left(-c\right) \cdot \left(z \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 4: 29.1% accurate, 0.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(-c\right) \cdot \left(z \cdot b\right)\\ t_2 := b \cdot \left(a \cdot i\right)\\ \mathbf{if}\;b \leq -9.5 \cdot 10^{+219}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;b \leq -6.4 \cdot 10^{+50}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq -7.5 \cdot 10^{-144}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;b \leq -4 \cdot 10^{-302}:\\ \;\;\;\;\left(y \cdot i\right) \cdot \left(-j\right)\\ \mathbf{elif}\;b \leq 5.4 \cdot 10^{-8}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;b \leq 2.9 \cdot 10^{+245}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* (- c) (* z b))) (t_2 (* b (* a i))))
   (if (<= b -9.5e+219)
     t_2
     (if (<= b -6.4e+50)
       t_1
       (if (<= b -7.5e-144)
         (* a (* b i))
         (if (<= b -4e-302)
           (* (* y i) (- j))
           (if (<= b 5.4e-8) (* c (* t j)) (if (<= b 2.9e+245) t_1 t_2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = -c * (z * b);
	double t_2 = b * (a * i);
	double tmp;
	if (b <= -9.5e+219) {
		tmp = t_2;
	} else if (b <= -6.4e+50) {
		tmp = t_1;
	} else if (b <= -7.5e-144) {
		tmp = a * (b * i);
	} else if (b <= -4e-302) {
		tmp = (y * i) * -j;
	} else if (b <= 5.4e-8) {
		tmp = c * (t * j);
	} else if (b <= 2.9e+245) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = -c * (z * b)
    t_2 = b * (a * i)
    if (b <= (-9.5d+219)) then
        tmp = t_2
    else if (b <= (-6.4d+50)) then
        tmp = t_1
    else if (b <= (-7.5d-144)) then
        tmp = a * (b * i)
    else if (b <= (-4d-302)) then
        tmp = (y * i) * -j
    else if (b <= 5.4d-8) then
        tmp = c * (t * j)
    else if (b <= 2.9d+245) then
        tmp = t_1
    else
        tmp = t_2
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = -c * (z * b);
	double t_2 = b * (a * i);
	double tmp;
	if (b <= -9.5e+219) {
		tmp = t_2;
	} else if (b <= -6.4e+50) {
		tmp = t_1;
	} else if (b <= -7.5e-144) {
		tmp = a * (b * i);
	} else if (b <= -4e-302) {
		tmp = (y * i) * -j;
	} else if (b <= 5.4e-8) {
		tmp = c * (t * j);
	} else if (b <= 2.9e+245) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = -c * (z * b)
	t_2 = b * (a * i)
	tmp = 0
	if b <= -9.5e+219:
		tmp = t_2
	elif b <= -6.4e+50:
		tmp = t_1
	elif b <= -7.5e-144:
		tmp = a * (b * i)
	elif b <= -4e-302:
		tmp = (y * i) * -j
	elif b <= 5.4e-8:
		tmp = c * (t * j)
	elif b <= 2.9e+245:
		tmp = t_1
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(Float64(-c) * Float64(z * b))
	t_2 = Float64(b * Float64(a * i))
	tmp = 0.0
	if (b <= -9.5e+219)
		tmp = t_2;
	elseif (b <= -6.4e+50)
		tmp = t_1;
	elseif (b <= -7.5e-144)
		tmp = Float64(a * Float64(b * i));
	elseif (b <= -4e-302)
		tmp = Float64(Float64(y * i) * Float64(-j));
	elseif (b <= 5.4e-8)
		tmp = Float64(c * Float64(t * j));
	elseif (b <= 2.9e+245)
		tmp = t_1;
	else
		tmp = t_2;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = -c * (z * b);
	t_2 = b * (a * i);
	tmp = 0.0;
	if (b <= -9.5e+219)
		tmp = t_2;
	elseif (b <= -6.4e+50)
		tmp = t_1;
	elseif (b <= -7.5e-144)
		tmp = a * (b * i);
	elseif (b <= -4e-302)
		tmp = (y * i) * -j;
	elseif (b <= 5.4e-8)
		tmp = c * (t * j);
	elseif (b <= 2.9e+245)
		tmp = t_1;
	else
		tmp = t_2;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[((-c) * N[(z * b), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -9.5e+219], t$95$2, If[LessEqual[b, -6.4e+50], t$95$1, If[LessEqual[b, -7.5e-144], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -4e-302], N[(N[(y * i), $MachinePrecision] * (-j)), $MachinePrecision], If[LessEqual[b, 5.4e-8], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.9e+245], t$95$1, t$95$2]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;b \leq -6.4 \cdot 10^{+50}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq -7.5 \cdot 10^{-144}:\\
\;\;\;\;a \cdot \left(b \cdot i\right)\\

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

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

\mathbf{elif}\;b \leq 2.9 \cdot 10^{+245}:\\
\;\;\;\;t\_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if b < -9.49999999999999959e219 or 2.9000000000000001e245 < b

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{t \cdot \left(c \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      11. distribute-lft-in80.0%

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \color{blue}{\left(-a\right) \cdot \left(-b \cdot i\right)} \]
      7. distribute-lft-in72.0%

        \[\leadsto \color{blue}{\left(-a\right) \cdot \left(t \cdot x + \left(-b \cdot i\right)\right)} \]
      8. sub-neg72.0%

        \[\leadsto \left(-a\right) \cdot \color{blue}{\left(t \cdot x - b \cdot i\right)} \]
      9. distribute-lft-neg-in72.0%

        \[\leadsto \color{blue}{-a \cdot \left(t \cdot x - b \cdot i\right)} \]
      10. distribute-rgt-neg-in72.0%

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

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

        \[\leadsto a \cdot \left(-\color{blue}{\left(\left(-b \cdot i\right) + t \cdot x\right)}\right) \]
      13. distribute-neg-in72.0%

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

        \[\leadsto a \cdot \left(\color{blue}{b \cdot i} + \left(-t \cdot x\right)\right) \]
      15. sub-neg72.0%

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

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

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

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

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

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

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

        \[\leadsto \color{blue}{b \cdot \left(i \cdot a\right)} \]
    13. Simplified67.4%

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

    if -9.49999999999999959e219 < b < -6.39999999999999966e50 or 5.40000000000000005e-8 < b < 2.9000000000000001e245

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto c \cdot \left(-\color{blue}{z \cdot b}\right) \]
      3. distribute-lft-neg-in44.1%

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

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

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

    if -6.39999999999999966e50 < b < -7.49999999999999963e-144

    1. Initial program 82.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. +-commutative82.7%

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(a \cdot b\right)\right)} \]
    6. Step-by-step derivation
      1. distribute-lft-out--28.7%

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

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

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

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

    if -7.49999999999999963e-144 < b < -3.9999999999999999e-302

    1. Initial program 75.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. +-commutative75.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-define75.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. *-commutative75.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto j \cdot \color{blue}{\left(i \cdot \left(-y\right)\right)} \]
    10. Simplified55.4%

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

    if -3.9999999999999999e-302 < b < 5.40000000000000005e-8

    1. Initial program 76.2%

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t - b \cdot z\right)} \]
    6. Step-by-step derivation
      1. *-commutative43.5%

        \[\leadsto c \cdot \left(\color{blue}{t \cdot j} - b \cdot z\right) \]
      2. *-commutative43.5%

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

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j - z \cdot b\right)} \]
    8. Taylor expanded in t around inf 35.9%

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -9.5 \cdot 10^{+219}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;b \leq -6.4 \cdot 10^{+50}:\\ \;\;\;\;\left(-c\right) \cdot \left(z \cdot b\right)\\ \mathbf{elif}\;b \leq -7.5 \cdot 10^{-144}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;b \leq -4 \cdot 10^{-302}:\\ \;\;\;\;\left(y \cdot i\right) \cdot \left(-j\right)\\ \mathbf{elif}\;b \leq 5.4 \cdot 10^{-8}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;b \leq 2.9 \cdot 10^{+245}:\\ \;\;\;\;\left(-c\right) \cdot \left(z \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 5: 59.5% accurate, 0.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := z \cdot \left(b \cdot c\right)\\ \mathbf{if}\;i \leq -2.25 \cdot 10^{+125}:\\ \;\;\;\;j \cdot \left(i \cdot \left(a \cdot \frac{b}{j} - y\right)\right)\\ \mathbf{elif}\;i \leq -7.4 \cdot 10^{-44}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) - t\_1\\ \mathbf{elif}\;i \leq 2.8 \cdot 10^{-268}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c\right)\\ \mathbf{elif}\;i \leq 3.3 \cdot 10^{+112}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) - t\_1\\ \mathbf{else}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* z (* b c))))
   (if (<= i -2.25e+125)
     (* j (* i (- (* a (/ b j)) y)))
     (if (<= i -7.4e-44)
       (- (* j (- (* t c) (* y i))) t_1)
       (if (<= i 2.8e-268)
         (- (* x (- (* y z) (* t a))) (* b (* z c)))
         (if (<= i 3.3e+112)
           (- (* t (- (* c j) (* x a))) t_1)
           (* i (- (* a b) (* y j)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = z * (b * c);
	double tmp;
	if (i <= -2.25e+125) {
		tmp = j * (i * ((a * (b / j)) - y));
	} else if (i <= -7.4e-44) {
		tmp = (j * ((t * c) - (y * i))) - t_1;
	} else if (i <= 2.8e-268) {
		tmp = (x * ((y * z) - (t * a))) - (b * (z * c));
	} else if (i <= 3.3e+112) {
		tmp = (t * ((c * j) - (x * a))) - t_1;
	} else {
		tmp = i * ((a * b) - (y * 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) :: tmp
    t_1 = z * (b * c)
    if (i <= (-2.25d+125)) then
        tmp = j * (i * ((a * (b / j)) - y))
    else if (i <= (-7.4d-44)) then
        tmp = (j * ((t * c) - (y * i))) - t_1
    else if (i <= 2.8d-268) then
        tmp = (x * ((y * z) - (t * a))) - (b * (z * c))
    else if (i <= 3.3d+112) then
        tmp = (t * ((c * j) - (x * a))) - t_1
    else
        tmp = i * ((a * b) - (y * 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 = z * (b * c);
	double tmp;
	if (i <= -2.25e+125) {
		tmp = j * (i * ((a * (b / j)) - y));
	} else if (i <= -7.4e-44) {
		tmp = (j * ((t * c) - (y * i))) - t_1;
	} else if (i <= 2.8e-268) {
		tmp = (x * ((y * z) - (t * a))) - (b * (z * c));
	} else if (i <= 3.3e+112) {
		tmp = (t * ((c * j) - (x * a))) - t_1;
	} else {
		tmp = i * ((a * b) - (y * j));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = z * (b * c)
	tmp = 0
	if i <= -2.25e+125:
		tmp = j * (i * ((a * (b / j)) - y))
	elif i <= -7.4e-44:
		tmp = (j * ((t * c) - (y * i))) - t_1
	elif i <= 2.8e-268:
		tmp = (x * ((y * z) - (t * a))) - (b * (z * c))
	elif i <= 3.3e+112:
		tmp = (t * ((c * j) - (x * a))) - t_1
	else:
		tmp = i * ((a * b) - (y * j))
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(z * Float64(b * c))
	tmp = 0.0
	if (i <= -2.25e+125)
		tmp = Float64(j * Float64(i * Float64(Float64(a * Float64(b / j)) - y)));
	elseif (i <= -7.4e-44)
		tmp = Float64(Float64(j * Float64(Float64(t * c) - Float64(y * i))) - t_1);
	elseif (i <= 2.8e-268)
		tmp = Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(b * Float64(z * c)));
	elseif (i <= 3.3e+112)
		tmp = Float64(Float64(t * Float64(Float64(c * j) - Float64(x * a))) - t_1);
	else
		tmp = Float64(i * Float64(Float64(a * b) - Float64(y * j)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = z * (b * c);
	tmp = 0.0;
	if (i <= -2.25e+125)
		tmp = j * (i * ((a * (b / j)) - y));
	elseif (i <= -7.4e-44)
		tmp = (j * ((t * c) - (y * i))) - t_1;
	elseif (i <= 2.8e-268)
		tmp = (x * ((y * z) - (t * a))) - (b * (z * c));
	elseif (i <= 3.3e+112)
		tmp = (t * ((c * j) - (x * a))) - t_1;
	else
		tmp = i * ((a * b) - (y * j));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(z * N[(b * c), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -2.25e+125], N[(j * N[(i * N[(N[(a * N[(b / j), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -7.4e-44], N[(N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t$95$1), $MachinePrecision], If[LessEqual[i, 2.8e-268], N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 3.3e+112], N[(N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t$95$1), $MachinePrecision], N[(i * N[(N[(a * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}

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

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

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

\mathbf{elif}\;i \leq 3.3 \cdot 10^{+112}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) - t\_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if i < -2.25e125

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto j \cdot \left(i \cdot \left(\color{blue}{\left(-y\right)} + \frac{a \cdot b}{j}\right)\right) \]
      2. +-commutative67.5%

        \[\leadsto j \cdot \left(i \cdot \color{blue}{\left(\frac{a \cdot b}{j} + \left(-y\right)\right)}\right) \]
      3. unsub-neg67.5%

        \[\leadsto j \cdot \left(i \cdot \color{blue}{\left(\frac{a \cdot b}{j} - y\right)}\right) \]
      4. associate-/l*67.5%

        \[\leadsto j \cdot \left(i \cdot \left(\color{blue}{a \cdot \frac{b}{j}} - y\right)\right) \]
    9. Simplified67.5%

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

    if -2.25e125 < i < -7.4e-44

    1. Initial program 71.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-sub-inv71.0%

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

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

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

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

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

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

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

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

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

        \[\leadsto \left(x \cdot \mathsf{fma}\left(y, z, a \cdot \left(-t\right)\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.0%

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

      \[\leadsto \color{blue}{-1 \cdot \left(b \cdot \left(c \cdot z\right)\right)} + j \cdot \left(t \cdot c - y \cdot i\right) \]
    6. Step-by-step derivation
      1. mul-1-neg67.7%

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

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

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

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

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

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

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

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

    if -7.4e-44 < i < 2.80000000000000015e-268

    1. Initial program 86.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. +-commutative86.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-define89.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. *-commutative89.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if 2.80000000000000015e-268 < i < 3.2999999999999999e112

    1. Initial program 80.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. +-commutative80.6%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - \color{blue}{b \cdot \left(c \cdot z\right)} \]
    9. Step-by-step derivation
      1. associate-*r*72.4%

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

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

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

    if 3.2999999999999999e112 < i

    1. Initial program 68.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. +-commutative68.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-define70.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. *-commutative70.5%

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(a \cdot b\right)\right)} \]
    6. Step-by-step derivation
      1. distribute-lft-out--77.6%

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -2.25 \cdot 10^{+125}:\\ \;\;\;\;j \cdot \left(i \cdot \left(a \cdot \frac{b}{j} - y\right)\right)\\ \mathbf{elif}\;i \leq -7.4 \cdot 10^{-44}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) - z \cdot \left(b \cdot c\right)\\ \mathbf{elif}\;i \leq 2.8 \cdot 10^{-268}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c\right)\\ \mathbf{elif}\;i \leq 3.3 \cdot 10^{+112}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) - z \cdot \left(b \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 6: 59.9% accurate, 0.8× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;i \leq -8 \cdot 10^{+118}:\\
\;\;\;\;j \cdot \left(i \cdot \left(a \cdot \frac{b}{j} - y\right)\right)\\

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

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

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if i < -7.99999999999999973e118

    1. Initial program 57.6%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto j \cdot \left(i \cdot \left(\color{blue}{\left(-y\right)} + \frac{a \cdot b}{j}\right)\right) \]
      2. +-commutative67.4%

        \[\leadsto j \cdot \left(i \cdot \color{blue}{\left(\frac{a \cdot b}{j} + \left(-y\right)\right)}\right) \]
      3. unsub-neg67.4%

        \[\leadsto j \cdot \left(i \cdot \color{blue}{\left(\frac{a \cdot b}{j} - y\right)}\right) \]
      4. associate-/l*67.4%

        \[\leadsto j \cdot \left(i \cdot \left(\color{blue}{a \cdot \frac{b}{j}} - y\right)\right) \]
    9. Simplified67.4%

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

    if -7.99999999999999973e118 < i < -8.9999999999999997e-45

    1. Initial program 74.3%

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -8.9999999999999997e-45 < i < 1.84999999999999989e-269

    1. Initial program 86.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. +-commutative86.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-define89.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. *-commutative89.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if 1.84999999999999989e-269 < i < 1.8e118

    1. Initial program 80.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. +-commutative80.6%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - \color{blue}{b \cdot \left(c \cdot z\right)} \]
    9. Step-by-step derivation
      1. associate-*r*72.4%

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

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

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

    if 1.8e118 < i

    1. Initial program 68.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. +-commutative68.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-define70.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. *-commutative70.5%

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(a \cdot b\right)\right)} \]
    6. Step-by-step derivation
      1. distribute-lft-out--77.6%

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -8 \cdot 10^{+118}:\\ \;\;\;\;j \cdot \left(i \cdot \left(a \cdot \frac{b}{j} - y\right)\right)\\ \mathbf{elif}\;i \leq -9 \cdot 10^{-45}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;i \leq 1.85 \cdot 10^{-269}:\\ \;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c\right)\\ \mathbf{elif}\;i \leq 1.8 \cdot 10^{+118}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) - z \cdot \left(b \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 7: 55.6% accurate, 0.8× speedup?

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

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

\mathbf{elif}\;b \leq -7.4 \cdot 10^{-143}:\\
\;\;\;\;t\_2\\

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

\mathbf{elif}\;b \leq 3.2 \cdot 10^{+64}:\\
\;\;\;\;t\_2\\

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


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

    1. Initial program 80.2%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -1.9e68 < b < -7.4000000000000001e-143 or -2.0500000000000001e-290 < b < 3.20000000000000019e64

    1. Initial program 80.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-sub-inv80.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -7.4000000000000001e-143 < b < -2.0500000000000001e-290

    1. Initial program 72.8%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. +-commutative72.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-define75.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. *-commutative75.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if 3.20000000000000019e64 < b

    1. Initial program 62.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. +-commutative62.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-define62.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. *-commutative62.3%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.9 \cdot 10^{+68}:\\ \;\;\;\;t \cdot \left(c \cdot j\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;b \leq -7.4 \cdot 10^{-143}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) + a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;b \leq -2.05 \cdot 10^{-290}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;b \leq 3.2 \cdot 10^{+64}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) + a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 8: 54.5% accurate, 0.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{if}\;z \leq -8.2 \cdot 10^{+238}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -2.9 \cdot 10^{-44}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;z \leq -2.3 \cdot 10^{-164}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;z \leq 1.9 \cdot 10^{+34}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + a \cdot \left(b \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 (* z (- (* x y) (* b c)))))
   (if (<= z -8.2e+238)
     t_1
     (if (<= z -2.9e-44)
       (* b (- (* a i) (* z c)))
       (if (<= z -2.3e-164)
         (* a (- (* b i) (* x t)))
         (if (<= z 1.9e+34)
           (+ (* j (- (* t c) (* y i))) (* a (* b 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 = z * ((x * y) - (b * c));
	double tmp;
	if (z <= -8.2e+238) {
		tmp = t_1;
	} else if (z <= -2.9e-44) {
		tmp = b * ((a * i) - (z * c));
	} else if (z <= -2.3e-164) {
		tmp = a * ((b * i) - (x * t));
	} else if (z <= 1.9e+34) {
		tmp = (j * ((t * c) - (y * i))) + (a * (b * 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 = z * ((x * y) - (b * c))
    if (z <= (-8.2d+238)) then
        tmp = t_1
    else if (z <= (-2.9d-44)) then
        tmp = b * ((a * i) - (z * c))
    else if (z <= (-2.3d-164)) then
        tmp = a * ((b * i) - (x * t))
    else if (z <= 1.9d+34) then
        tmp = (j * ((t * c) - (y * i))) + (a * (b * 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 = z * ((x * y) - (b * c));
	double tmp;
	if (z <= -8.2e+238) {
		tmp = t_1;
	} else if (z <= -2.9e-44) {
		tmp = b * ((a * i) - (z * c));
	} else if (z <= -2.3e-164) {
		tmp = a * ((b * i) - (x * t));
	} else if (z <= 1.9e+34) {
		tmp = (j * ((t * c) - (y * i))) + (a * (b * i));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = z * ((x * y) - (b * c))
	tmp = 0
	if z <= -8.2e+238:
		tmp = t_1
	elif z <= -2.9e-44:
		tmp = b * ((a * i) - (z * c))
	elif z <= -2.3e-164:
		tmp = a * ((b * i) - (x * t))
	elif z <= 1.9e+34:
		tmp = (j * ((t * c) - (y * i))) + (a * (b * i))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(z * Float64(Float64(x * y) - Float64(b * c)))
	tmp = 0.0
	if (z <= -8.2e+238)
		tmp = t_1;
	elseif (z <= -2.9e-44)
		tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c)));
	elseif (z <= -2.3e-164)
		tmp = Float64(a * Float64(Float64(b * i) - Float64(x * t)));
	elseif (z <= 1.9e+34)
		tmp = Float64(Float64(j * Float64(Float64(t * c) - Float64(y * i))) + Float64(a * Float64(b * i)));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = z * ((x * y) - (b * c));
	tmp = 0.0;
	if (z <= -8.2e+238)
		tmp = t_1;
	elseif (z <= -2.9e-44)
		tmp = b * ((a * i) - (z * c));
	elseif (z <= -2.3e-164)
		tmp = a * ((b * i) - (x * t));
	elseif (z <= 1.9e+34)
		tmp = (j * ((t * c) - (y * i))) + (a * (b * 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[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -8.2e+238], t$95$1, If[LessEqual[z, -2.9e-44], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -2.3e-164], N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.9e+34], N[(N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}

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

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

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

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if z < -8.1999999999999998e238 or 1.9000000000000001e34 < z

    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-define69.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -8.1999999999999998e238 < z < -2.9000000000000001e-44

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{t \cdot \left(c \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      11. distribute-lft-in65.8%

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

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

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

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

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

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

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

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

    if -2.9000000000000001e-44 < z < -2.29999999999999985e-164

    1. Initial program 94.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. +-commutative94.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-define94.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. *-commutative94.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \color{blue}{\left(-a\right) \cdot \left(-b \cdot i\right)} \]
      7. distribute-lft-in77.0%

        \[\leadsto \color{blue}{\left(-a\right) \cdot \left(t \cdot x + \left(-b \cdot i\right)\right)} \]
      8. sub-neg77.0%

        \[\leadsto \left(-a\right) \cdot \color{blue}{\left(t \cdot x - b \cdot i\right)} \]
      9. distribute-lft-neg-in77.0%

        \[\leadsto \color{blue}{-a \cdot \left(t \cdot x - b \cdot i\right)} \]
      10. distribute-rgt-neg-in77.0%

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

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

        \[\leadsto a \cdot \left(-\color{blue}{\left(\left(-b \cdot i\right) + t \cdot x\right)}\right) \]
      13. distribute-neg-in77.0%

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

        \[\leadsto a \cdot \left(\color{blue}{b \cdot i} + \left(-t \cdot x\right)\right) \]
      15. sub-neg77.0%

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

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

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

    if -2.29999999999999985e-164 < z < 1.9000000000000001e34

    1. Initial program 84.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-sub-inv84.6%

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

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

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

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

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

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

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

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

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

        \[\leadsto \left(x \cdot \mathsf{fma}\left(y, z, a \cdot \left(-t\right)\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. Simplified84.6%

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -8.2 \cdot 10^{+238}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq -2.9 \cdot 10^{-44}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;z \leq -2.3 \cdot 10^{-164}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;z \leq 1.9 \cdot 10^{+34}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + a \cdot \left(b \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 9: 49.5% accurate, 0.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(b \cdot i - x \cdot t\right)\\ t_2 := z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{if}\;z \leq -7.8 \cdot 10^{+238}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;z \leq -3.4 \cdot 10^{-44}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;z \leq -7.5 \cdot 10^{-184}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 3.9 \cdot 10^{-99}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;z \leq 5.6 \cdot 10^{+48}:\\ \;\;\;\;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 (* z (- (* x y) (* b c)))))
   (if (<= z -7.8e+238)
     t_2
     (if (<= z -3.4e-44)
       (* b (- (* a i) (* z c)))
       (if (<= z -7.5e-184)
         t_1
         (if (<= z 3.9e-99)
           (* j (- (* t c) (* y i)))
           (if (<= z 5.6e+48) 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 = z * ((x * y) - (b * c));
	double tmp;
	if (z <= -7.8e+238) {
		tmp = t_2;
	} else if (z <= -3.4e-44) {
		tmp = b * ((a * i) - (z * c));
	} else if (z <= -7.5e-184) {
		tmp = t_1;
	} else if (z <= 3.9e-99) {
		tmp = j * ((t * c) - (y * i));
	} else if (z <= 5.6e+48) {
		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 = z * ((x * y) - (b * c))
    if (z <= (-7.8d+238)) then
        tmp = t_2
    else if (z <= (-3.4d-44)) then
        tmp = b * ((a * i) - (z * c))
    else if (z <= (-7.5d-184)) then
        tmp = t_1
    else if (z <= 3.9d-99) then
        tmp = j * ((t * c) - (y * i))
    else if (z <= 5.6d+48) 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 = z * ((x * y) - (b * c));
	double tmp;
	if (z <= -7.8e+238) {
		tmp = t_2;
	} else if (z <= -3.4e-44) {
		tmp = b * ((a * i) - (z * c));
	} else if (z <= -7.5e-184) {
		tmp = t_1;
	} else if (z <= 3.9e-99) {
		tmp = j * ((t * c) - (y * i));
	} else if (z <= 5.6e+48) {
		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 = z * ((x * y) - (b * c))
	tmp = 0
	if z <= -7.8e+238:
		tmp = t_2
	elif z <= -3.4e-44:
		tmp = b * ((a * i) - (z * c))
	elif z <= -7.5e-184:
		tmp = t_1
	elif z <= 3.9e-99:
		tmp = j * ((t * c) - (y * i))
	elif z <= 5.6e+48:
		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(z * Float64(Float64(x * y) - Float64(b * c)))
	tmp = 0.0
	if (z <= -7.8e+238)
		tmp = t_2;
	elseif (z <= -3.4e-44)
		tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c)));
	elseif (z <= -7.5e-184)
		tmp = t_1;
	elseif (z <= 3.9e-99)
		tmp = Float64(j * Float64(Float64(t * c) - Float64(y * i)));
	elseif (z <= 5.6e+48)
		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 = z * ((x * y) - (b * c));
	tmp = 0.0;
	if (z <= -7.8e+238)
		tmp = t_2;
	elseif (z <= -3.4e-44)
		tmp = b * ((a * i) - (z * c));
	elseif (z <= -7.5e-184)
		tmp = t_1;
	elseif (z <= 3.9e-99)
		tmp = j * ((t * c) - (y * i));
	elseif (z <= 5.6e+48)
		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[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -7.8e+238], t$95$2, If[LessEqual[z, -3.4e-44], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -7.5e-184], t$95$1, If[LessEqual[z, 3.9e-99], N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 5.6e+48], 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 := z \cdot \left(x \cdot y - b \cdot c\right)\\
\mathbf{if}\;z \leq -7.8 \cdot 10^{+238}:\\
\;\;\;\;t\_2\\

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

\mathbf{elif}\;z \leq -7.5 \cdot 10^{-184}:\\
\;\;\;\;t\_1\\

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

\mathbf{elif}\;z \leq 5.6 \cdot 10^{+48}:\\
\;\;\;\;t\_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if z < -7.79999999999999986e238 or 5.60000000000000025e48 < z

    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-define69.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -7.79999999999999986e238 < z < -3.40000000000000016e-44

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{t \cdot \left(c \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      11. distribute-lft-in65.8%

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

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

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

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

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

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

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)} \]
    8. Taylor expanded in b around inf 57.5%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i - c \cdot z\right)} \]

    if -3.40000000000000016e-44 < z < -7.4999999999999995e-184 or 3.89999999999999987e-99 < z < 5.60000000000000025e48

    1. Initial program 87.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. +-commutative87.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-define87.2%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot t - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      3. *-commutative87.2%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative87.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv87.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub87.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def87.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out87.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg87.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative87.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative87.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified87.2%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 83.0%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg83.0%

        \[\leadsto \left(\color{blue}{\left(-a \cdot \left(t \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. *-commutative83.0%

        \[\leadsto \left(\left(-\color{blue}{\left(t \cdot x\right) \cdot a}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. associate-*r*77.5%

        \[\leadsto \left(\left(-\color{blue}{t \cdot \left(x \cdot a\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. *-commutative77.5%

        \[\leadsto \left(\left(-t \cdot \color{blue}{\left(a \cdot x\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-neg-out77.5%

        \[\leadsto \left(\color{blue}{t \cdot \left(-a \cdot x\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      6. mul-1-neg77.5%

        \[\leadsto \left(t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. *-commutative77.5%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + c \cdot \color{blue}{\left(t \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. associate-*r*77.6%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(c \cdot t\right) \cdot j}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative77.6%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(t \cdot c\right)} \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. associate-*r*77.7%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{t \cdot \left(c \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      11. distribute-lft-in81.9%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      12. +-commutative81.9%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      13. mul-1-neg81.9%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      14. unsub-neg81.9%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      15. *-commutative81.9%

        \[\leadsto t \cdot \left(c \cdot j - \color{blue}{x \cdot a}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      16. *-commutative81.9%

        \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right) \]
    7. Simplified81.9%

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)} \]
    8. Taylor expanded in c around 0 72.0%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) - -1 \cdot \left(a \cdot \left(b \cdot i\right)\right)} \]
    9. Step-by-step derivation
      1. sub-neg72.0%

        \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right)} \]
      2. associate-*r*72.0%

        \[\leadsto \color{blue}{\left(-1 \cdot a\right) \cdot \left(t \cdot x\right)} + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right) \]
      3. neg-mul-172.0%

        \[\leadsto \color{blue}{\left(-a\right)} \cdot \left(t \cdot x\right) + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right) \]
      4. associate-*r*72.0%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-1 \cdot a\right) \cdot \left(b \cdot i\right)}\right) \]
      5. neg-mul-172.0%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-a\right)} \cdot \left(b \cdot i\right)\right) \]
      6. distribute-rgt-neg-in72.0%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \color{blue}{\left(-a\right) \cdot \left(-b \cdot i\right)} \]
      7. distribute-lft-in72.0%

        \[\leadsto \color{blue}{\left(-a\right) \cdot \left(t \cdot x + \left(-b \cdot i\right)\right)} \]
      8. sub-neg72.0%

        \[\leadsto \left(-a\right) \cdot \color{blue}{\left(t \cdot x - b \cdot i\right)} \]
      9. distribute-lft-neg-in72.0%

        \[\leadsto \color{blue}{-a \cdot \left(t \cdot x - b \cdot i\right)} \]
      10. distribute-rgt-neg-in72.0%

        \[\leadsto \color{blue}{a \cdot \left(-\left(t \cdot x - b \cdot i\right)\right)} \]
      11. sub-neg72.0%

        \[\leadsto a \cdot \left(-\color{blue}{\left(t \cdot x + \left(-b \cdot i\right)\right)}\right) \]
      12. +-commutative72.0%

        \[\leadsto a \cdot \left(-\color{blue}{\left(\left(-b \cdot i\right) + t \cdot x\right)}\right) \]
      13. distribute-neg-in72.0%

        \[\leadsto a \cdot \color{blue}{\left(\left(-\left(-b \cdot i\right)\right) + \left(-t \cdot x\right)\right)} \]
      14. remove-double-neg72.0%

        \[\leadsto a \cdot \left(\color{blue}{b \cdot i} + \left(-t \cdot x\right)\right) \]
      15. sub-neg72.0%

        \[\leadsto a \cdot \color{blue}{\left(b \cdot i - t \cdot x\right)} \]
      16. *-commutative72.0%

        \[\leadsto a \cdot \left(\color{blue}{i \cdot b} - t \cdot x\right) \]
    10. Simplified72.0%

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]

    if -7.4999999999999995e-184 < z < 3.89999999999999987e-99

    1. Initial program 84.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. +-commutative84.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-define86.3%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot t - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      3. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative86.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified86.3%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in j around inf 57.2%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
    6. Step-by-step derivation
      1. *-commutative57.2%

        \[\leadsto j \cdot \left(\color{blue}{t \cdot c} - i \cdot y\right) \]
      2. *-commutative57.2%

        \[\leadsto j \cdot \left(t \cdot c - \color{blue}{y \cdot i}\right) \]
    7. Simplified57.2%

      \[\leadsto \color{blue}{j \cdot \left(t \cdot c - y \cdot i\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification64.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -7.8 \cdot 10^{+238}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq -3.4 \cdot 10^{-44}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;z \leq -7.5 \cdot 10^{-184}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{elif}\;z \leq 3.9 \cdot 10^{-99}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;z \leq 5.6 \cdot 10^{+48}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 10: 28.2% accurate, 0.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(a \cdot i\right)\\ \mathbf{if}\;b \leq -7.5 \cdot 10^{+220}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq -1.95 \cdot 10^{-143}:\\ \;\;\;\;b \cdot \left(z \cdot \left(-c\right)\right)\\ \mathbf{elif}\;b \leq -9.2 \cdot 10^{-299}:\\ \;\;\;\;\left(y \cdot i\right) \cdot \left(-j\right)\\ \mathbf{elif}\;b \leq 2.7 \cdot 10^{+58}:\\ \;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\ \mathbf{elif}\;b \leq 2.6 \cdot 10^{+244}:\\ \;\;\;\;\left(-c\right) \cdot \left(z \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* b (* a i))))
   (if (<= b -7.5e+220)
     t_1
     (if (<= b -1.95e-143)
       (* b (* z (- c)))
       (if (<= b -9.2e-299)
         (* (* y i) (- j))
         (if (<= b 2.7e+58)
           (* a (* t (- x)))
           (if (<= b 2.6e+244) (* (- c) (* z b)) t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = b * (a * i);
	double tmp;
	if (b <= -7.5e+220) {
		tmp = t_1;
	} else if (b <= -1.95e-143) {
		tmp = b * (z * -c);
	} else if (b <= -9.2e-299) {
		tmp = (y * i) * -j;
	} else if (b <= 2.7e+58) {
		tmp = a * (t * -x);
	} else if (b <= 2.6e+244) {
		tmp = -c * (z * b);
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8) :: t_1
    real(8) :: tmp
    t_1 = b * (a * i)
    if (b <= (-7.5d+220)) then
        tmp = t_1
    else if (b <= (-1.95d-143)) then
        tmp = b * (z * -c)
    else if (b <= (-9.2d-299)) then
        tmp = (y * i) * -j
    else if (b <= 2.7d+58) then
        tmp = a * (t * -x)
    else if (b <= 2.6d+244) then
        tmp = -c * (z * b)
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = b * (a * i);
	double tmp;
	if (b <= -7.5e+220) {
		tmp = t_1;
	} else if (b <= -1.95e-143) {
		tmp = b * (z * -c);
	} else if (b <= -9.2e-299) {
		tmp = (y * i) * -j;
	} else if (b <= 2.7e+58) {
		tmp = a * (t * -x);
	} else if (b <= 2.6e+244) {
		tmp = -c * (z * b);
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = b * (a * i)
	tmp = 0
	if b <= -7.5e+220:
		tmp = t_1
	elif b <= -1.95e-143:
		tmp = b * (z * -c)
	elif b <= -9.2e-299:
		tmp = (y * i) * -j
	elif b <= 2.7e+58:
		tmp = a * (t * -x)
	elif b <= 2.6e+244:
		tmp = -c * (z * b)
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(b * Float64(a * i))
	tmp = 0.0
	if (b <= -7.5e+220)
		tmp = t_1;
	elseif (b <= -1.95e-143)
		tmp = Float64(b * Float64(z * Float64(-c)));
	elseif (b <= -9.2e-299)
		tmp = Float64(Float64(y * i) * Float64(-j));
	elseif (b <= 2.7e+58)
		tmp = Float64(a * Float64(t * Float64(-x)));
	elseif (b <= 2.6e+244)
		tmp = Float64(Float64(-c) * Float64(z * b));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = b * (a * i);
	tmp = 0.0;
	if (b <= -7.5e+220)
		tmp = t_1;
	elseif (b <= -1.95e-143)
		tmp = b * (z * -c);
	elseif (b <= -9.2e-299)
		tmp = (y * i) * -j;
	elseif (b <= 2.7e+58)
		tmp = a * (t * -x);
	elseif (b <= 2.6e+244)
		tmp = -c * (z * b);
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -7.5e+220], t$95$1, If[LessEqual[b, -1.95e-143], N[(b * N[(z * (-c)), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -9.2e-299], N[(N[(y * i), $MachinePrecision] * (-j)), $MachinePrecision], If[LessEqual[b, 2.7e+58], N[(a * N[(t * (-x)), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.6e+244], N[((-c) * N[(z * b), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(a \cdot i\right)\\
\mathbf{if}\;b \leq -7.5 \cdot 10^{+220}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq -1.95 \cdot 10^{-143}:\\
\;\;\;\;b \cdot \left(z \cdot \left(-c\right)\right)\\

\mathbf{elif}\;b \leq -9.2 \cdot 10^{-299}:\\
\;\;\;\;\left(y \cdot i\right) \cdot \left(-j\right)\\

\mathbf{elif}\;b \leq 2.7 \cdot 10^{+58}:\\
\;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\

\mathbf{elif}\;b \leq 2.6 \cdot 10^{+244}:\\
\;\;\;\;\left(-c\right) \cdot \left(z \cdot b\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if b < -7.5000000000000003e220 or 2.6e244 < b

    1. Initial program 68.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. +-commutative68.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-define74.2%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot t - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      3. *-commutative74.2%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative74.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv74.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub74.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def74.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out74.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg74.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative74.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative74.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified74.2%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 82.8%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg82.8%

        \[\leadsto \left(\color{blue}{\left(-a \cdot \left(t \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. *-commutative82.8%

        \[\leadsto \left(\left(-\color{blue}{\left(t \cdot x\right) \cdot a}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. associate-*r*80.0%

        \[\leadsto \left(\left(-\color{blue}{t \cdot \left(x \cdot a\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. *-commutative80.0%

        \[\leadsto \left(\left(-t \cdot \color{blue}{\left(a \cdot x\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-neg-out80.0%

        \[\leadsto \left(\color{blue}{t \cdot \left(-a \cdot x\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      6. mul-1-neg80.0%

        \[\leadsto \left(t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. *-commutative80.0%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + c \cdot \color{blue}{\left(t \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. associate-*r*80.0%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(c \cdot t\right) \cdot j}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative80.0%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(t \cdot c\right)} \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. associate-*r*77.1%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{t \cdot \left(c \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      11. distribute-lft-in80.0%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      12. +-commutative80.0%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      13. mul-1-neg80.0%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      14. unsub-neg80.0%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      15. *-commutative80.0%

        \[\leadsto t \cdot \left(c \cdot j - \color{blue}{x \cdot a}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      16. *-commutative80.0%

        \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right) \]
    7. Simplified80.0%

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)} \]
    8. Taylor expanded in c around 0 72.0%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) - -1 \cdot \left(a \cdot \left(b \cdot i\right)\right)} \]
    9. Step-by-step derivation
      1. sub-neg72.0%

        \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right)} \]
      2. associate-*r*72.0%

        \[\leadsto \color{blue}{\left(-1 \cdot a\right) \cdot \left(t \cdot x\right)} + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right) \]
      3. neg-mul-172.0%

        \[\leadsto \color{blue}{\left(-a\right)} \cdot \left(t \cdot x\right) + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right) \]
      4. associate-*r*72.0%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-1 \cdot a\right) \cdot \left(b \cdot i\right)}\right) \]
      5. neg-mul-172.0%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-a\right)} \cdot \left(b \cdot i\right)\right) \]
      6. distribute-rgt-neg-in72.0%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \color{blue}{\left(-a\right) \cdot \left(-b \cdot i\right)} \]
      7. distribute-lft-in72.0%

        \[\leadsto \color{blue}{\left(-a\right) \cdot \left(t \cdot x + \left(-b \cdot i\right)\right)} \]
      8. sub-neg72.0%

        \[\leadsto \left(-a\right) \cdot \color{blue}{\left(t \cdot x - b \cdot i\right)} \]
      9. distribute-lft-neg-in72.0%

        \[\leadsto \color{blue}{-a \cdot \left(t \cdot x - b \cdot i\right)} \]
      10. distribute-rgt-neg-in72.0%

        \[\leadsto \color{blue}{a \cdot \left(-\left(t \cdot x - b \cdot i\right)\right)} \]
      11. sub-neg72.0%

        \[\leadsto a \cdot \left(-\color{blue}{\left(t \cdot x + \left(-b \cdot i\right)\right)}\right) \]
      12. +-commutative72.0%

        \[\leadsto a \cdot \left(-\color{blue}{\left(\left(-b \cdot i\right) + t \cdot x\right)}\right) \]
      13. distribute-neg-in72.0%

        \[\leadsto a \cdot \color{blue}{\left(\left(-\left(-b \cdot i\right)\right) + \left(-t \cdot x\right)\right)} \]
      14. remove-double-neg72.0%

        \[\leadsto a \cdot \left(\color{blue}{b \cdot i} + \left(-t \cdot x\right)\right) \]
      15. sub-neg72.0%

        \[\leadsto a \cdot \color{blue}{\left(b \cdot i - t \cdot x\right)} \]
      16. *-commutative72.0%

        \[\leadsto a \cdot \left(\color{blue}{i \cdot b} - t \cdot x\right) \]
    10. Simplified72.0%

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]
    11. Taylor expanded in i around inf 62.1%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot i\right)} \]
    12. Step-by-step derivation
      1. *-commutative62.1%

        \[\leadsto a \cdot \color{blue}{\left(i \cdot b\right)} \]
      2. *-commutative62.1%

        \[\leadsto \color{blue}{\left(i \cdot b\right) \cdot a} \]
      3. *-commutative62.1%

        \[\leadsto \color{blue}{\left(b \cdot i\right)} \cdot a \]
      4. associate-*r*67.4%

        \[\leadsto \color{blue}{b \cdot \left(i \cdot a\right)} \]
    13. Simplified67.4%

      \[\leadsto \color{blue}{b \cdot \left(i \cdot a\right)} \]

    if -7.5000000000000003e220 < b < -1.95000000000000002e-143

    1. Initial program 84.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. +-commutative84.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-define86.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. *-commutative86.0%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative86.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv86.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub86.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def86.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out86.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg86.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative86.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative86.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified86.0%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in c around inf 45.6%

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t - b \cdot z\right)} \]
    6. Step-by-step derivation
      1. *-commutative45.6%

        \[\leadsto c \cdot \left(\color{blue}{t \cdot j} - b \cdot z\right) \]
      2. *-commutative45.6%

        \[\leadsto c \cdot \left(t \cdot j - \color{blue}{z \cdot b}\right) \]
    7. Simplified45.6%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j - z \cdot b\right)} \]
    8. Taylor expanded in t around 0 34.1%

      \[\leadsto \color{blue}{-1 \cdot \left(b \cdot \left(c \cdot z\right)\right)} \]
    9. Step-by-step derivation
      1. associate-*r*34.1%

        \[\leadsto \color{blue}{\left(-1 \cdot b\right) \cdot \left(c \cdot z\right)} \]
      2. neg-mul-134.1%

        \[\leadsto \color{blue}{\left(-b\right)} \cdot \left(c \cdot z\right) \]
      3. *-commutative34.1%

        \[\leadsto \left(-b\right) \cdot \color{blue}{\left(z \cdot c\right)} \]
    10. Simplified34.1%

      \[\leadsto \color{blue}{\left(-b\right) \cdot \left(z \cdot c\right)} \]

    if -1.95000000000000002e-143 < b < -9.2000000000000003e-299

    1. Initial program 75.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. +-commutative75.1%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-define75.1%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot t - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      3. *-commutative75.1%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative75.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv75.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub75.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def75.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out75.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg75.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative75.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative75.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified75.1%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in j around inf 62.9%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
    6. Step-by-step derivation
      1. *-commutative62.9%

        \[\leadsto j \cdot \left(\color{blue}{t \cdot c} - i \cdot y\right) \]
      2. *-commutative62.9%

        \[\leadsto j \cdot \left(t \cdot c - \color{blue}{y \cdot i}\right) \]
    7. Simplified62.9%

      \[\leadsto \color{blue}{j \cdot \left(t \cdot c - y \cdot i\right)} \]
    8. Taylor expanded in t around 0 57.0%

      \[\leadsto j \cdot \color{blue}{\left(-1 \cdot \left(i \cdot y\right)\right)} \]
    9. Step-by-step derivation
      1. neg-mul-157.0%

        \[\leadsto j \cdot \color{blue}{\left(-i \cdot y\right)} \]
      2. distribute-rgt-neg-in57.0%

        \[\leadsto j \cdot \color{blue}{\left(i \cdot \left(-y\right)\right)} \]
    10. Simplified57.0%

      \[\leadsto j \cdot \color{blue}{\left(i \cdot \left(-y\right)\right)} \]

    if -9.2000000000000003e-299 < b < 2.7000000000000001e58

    1. Initial program 77.7%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. +-commutative77.7%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-define77.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. *-commutative77.7%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative77.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv77.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub77.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def77.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out77.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg77.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative77.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative77.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified77.7%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 64.5%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg64.5%

        \[\leadsto \left(\color{blue}{\left(-a \cdot \left(t \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. *-commutative64.5%

        \[\leadsto \left(\left(-\color{blue}{\left(t \cdot x\right) \cdot a}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. associate-*r*63.3%

        \[\leadsto \left(\left(-\color{blue}{t \cdot \left(x \cdot a\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. *-commutative63.3%

        \[\leadsto \left(\left(-t \cdot \color{blue}{\left(a \cdot x\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-neg-out63.3%

        \[\leadsto \left(\color{blue}{t \cdot \left(-a \cdot x\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      6. mul-1-neg63.3%

        \[\leadsto \left(t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. *-commutative63.3%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + c \cdot \color{blue}{\left(t \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. associate-*r*60.8%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(c \cdot t\right) \cdot j}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative60.8%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(t \cdot c\right)} \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. associate-*r*60.9%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{t \cdot \left(c \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      11. distribute-lft-in60.9%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      12. +-commutative60.9%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      13. mul-1-neg60.9%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      14. unsub-neg60.9%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      15. *-commutative60.9%

        \[\leadsto t \cdot \left(c \cdot j - \color{blue}{x \cdot a}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      16. *-commutative60.9%

        \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right) \]
    7. Simplified60.9%

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)} \]
    8. Taylor expanded in c around 0 39.7%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) - -1 \cdot \left(a \cdot \left(b \cdot i\right)\right)} \]
    9. Step-by-step derivation
      1. sub-neg39.7%

        \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right)} \]
      2. associate-*r*39.7%

        \[\leadsto \color{blue}{\left(-1 \cdot a\right) \cdot \left(t \cdot x\right)} + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right) \]
      3. neg-mul-139.7%

        \[\leadsto \color{blue}{\left(-a\right)} \cdot \left(t \cdot x\right) + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right) \]
      4. associate-*r*39.7%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-1 \cdot a\right) \cdot \left(b \cdot i\right)}\right) \]
      5. neg-mul-139.7%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-a\right)} \cdot \left(b \cdot i\right)\right) \]
      6. distribute-rgt-neg-in39.7%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \color{blue}{\left(-a\right) \cdot \left(-b \cdot i\right)} \]
      7. distribute-lft-in39.7%

        \[\leadsto \color{blue}{\left(-a\right) \cdot \left(t \cdot x + \left(-b \cdot i\right)\right)} \]
      8. sub-neg39.7%

        \[\leadsto \left(-a\right) \cdot \color{blue}{\left(t \cdot x - b \cdot i\right)} \]
      9. distribute-lft-neg-in39.7%

        \[\leadsto \color{blue}{-a \cdot \left(t \cdot x - b \cdot i\right)} \]
      10. distribute-rgt-neg-in39.7%

        \[\leadsto \color{blue}{a \cdot \left(-\left(t \cdot x - b \cdot i\right)\right)} \]
      11. sub-neg39.7%

        \[\leadsto a \cdot \left(-\color{blue}{\left(t \cdot x + \left(-b \cdot i\right)\right)}\right) \]
      12. +-commutative39.7%

        \[\leadsto a \cdot \left(-\color{blue}{\left(\left(-b \cdot i\right) + t \cdot x\right)}\right) \]
      13. distribute-neg-in39.7%

        \[\leadsto a \cdot \color{blue}{\left(\left(-\left(-b \cdot i\right)\right) + \left(-t \cdot x\right)\right)} \]
      14. remove-double-neg39.7%

        \[\leadsto a \cdot \left(\color{blue}{b \cdot i} + \left(-t \cdot x\right)\right) \]
      15. sub-neg39.7%

        \[\leadsto a \cdot \color{blue}{\left(b \cdot i - t \cdot x\right)} \]
      16. *-commutative39.7%

        \[\leadsto a \cdot \left(\color{blue}{i \cdot b} - t \cdot x\right) \]
    10. Simplified39.7%

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]
    11. Taylor expanded in i around 0 34.6%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right)} \]
    12. Step-by-step derivation
      1. associate-*r*34.6%

        \[\leadsto \color{blue}{\left(-1 \cdot a\right) \cdot \left(t \cdot x\right)} \]
      2. neg-mul-134.6%

        \[\leadsto \color{blue}{\left(-a\right)} \cdot \left(t \cdot x\right) \]
    13. Simplified34.6%

      \[\leadsto \color{blue}{\left(-a\right) \cdot \left(t \cdot x\right)} \]

    if 2.7000000000000001e58 < b < 2.6e244

    1. Initial program 62.0%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. +-commutative62.0%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-define62.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. *-commutative62.0%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative62.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv62.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub62.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def62.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out62.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg62.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative62.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative62.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified62.0%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in c around inf 54.0%

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t - b \cdot z\right)} \]
    6. Step-by-step derivation
      1. *-commutative54.0%

        \[\leadsto c \cdot \left(\color{blue}{t \cdot j} - b \cdot z\right) \]
      2. *-commutative54.0%

        \[\leadsto c \cdot \left(t \cdot j - \color{blue}{z \cdot b}\right) \]
    7. Simplified54.0%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j - z \cdot b\right)} \]
    8. Taylor expanded in t around 0 51.2%

      \[\leadsto c \cdot \color{blue}{\left(-1 \cdot \left(b \cdot z\right)\right)} \]
    9. Step-by-step derivation
      1. mul-1-neg51.2%

        \[\leadsto c \cdot \color{blue}{\left(-b \cdot z\right)} \]
      2. *-commutative51.2%

        \[\leadsto c \cdot \left(-\color{blue}{z \cdot b}\right) \]
      3. distribute-lft-neg-in51.2%

        \[\leadsto c \cdot \color{blue}{\left(\left(-z\right) \cdot b\right)} \]
      4. *-commutative51.2%

        \[\leadsto c \cdot \color{blue}{\left(b \cdot \left(-z\right)\right)} \]
    10. Simplified51.2%

      \[\leadsto c \cdot \color{blue}{\left(b \cdot \left(-z\right)\right)} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification43.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -7.5 \cdot 10^{+220}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;b \leq -1.95 \cdot 10^{-143}:\\ \;\;\;\;b \cdot \left(z \cdot \left(-c\right)\right)\\ \mathbf{elif}\;b \leq -9.2 \cdot 10^{-299}:\\ \;\;\;\;\left(y \cdot i\right) \cdot \left(-j\right)\\ \mathbf{elif}\;b \leq 2.7 \cdot 10^{+58}:\\ \;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\ \mathbf{elif}\;b \leq 2.6 \cdot 10^{+244}:\\ \;\;\;\;\left(-c\right) \cdot \left(z \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 11: 59.6% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;i \leq -4.8 \cdot 10^{+117}:\\ \;\;\;\;j \cdot \left(i \cdot \left(a \cdot \frac{b}{j} - y\right)\right)\\ \mathbf{elif}\;i \leq -4.1 \cdot 10^{-100}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;i \leq 1.6 \cdot 10^{+113}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) - z \cdot \left(b \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (<= i -4.8e+117)
   (* j (* i (- (* a (/ b j)) y)))
   (if (<= i -4.1e-100)
     (+ (* j (- (* t c) (* y i))) (* a (* b i)))
     (if (<= i 1.6e+113)
       (- (* t (- (* c j) (* x a))) (* z (* b c)))
       (* i (- (* a b) (* y j)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (i <= -4.8e+117) {
		tmp = j * (i * ((a * (b / j)) - y));
	} else if (i <= -4.1e-100) {
		tmp = (j * ((t * c) - (y * i))) + (a * (b * i));
	} else if (i <= 1.6e+113) {
		tmp = (t * ((c * j) - (x * a))) - (z * (b * c));
	} else {
		tmp = i * ((a * b) - (y * j));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8) :: tmp
    if (i <= (-4.8d+117)) then
        tmp = j * (i * ((a * (b / j)) - y))
    else if (i <= (-4.1d-100)) then
        tmp = (j * ((t * c) - (y * i))) + (a * (b * i))
    else if (i <= 1.6d+113) then
        tmp = (t * ((c * j) - (x * a))) - (z * (b * c))
    else
        tmp = i * ((a * b) - (y * j))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (i <= -4.8e+117) {
		tmp = j * (i * ((a * (b / j)) - y));
	} else if (i <= -4.1e-100) {
		tmp = (j * ((t * c) - (y * i))) + (a * (b * i));
	} else if (i <= 1.6e+113) {
		tmp = (t * ((c * j) - (x * a))) - (z * (b * c));
	} else {
		tmp = i * ((a * b) - (y * j));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if i <= -4.8e+117:
		tmp = j * (i * ((a * (b / j)) - y))
	elif i <= -4.1e-100:
		tmp = (j * ((t * c) - (y * i))) + (a * (b * i))
	elif i <= 1.6e+113:
		tmp = (t * ((c * j) - (x * a))) - (z * (b * c))
	else:
		tmp = i * ((a * b) - (y * j))
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if (i <= -4.8e+117)
		tmp = Float64(j * Float64(i * Float64(Float64(a * Float64(b / j)) - y)));
	elseif (i <= -4.1e-100)
		tmp = Float64(Float64(j * Float64(Float64(t * c) - Float64(y * i))) + Float64(a * Float64(b * i)));
	elseif (i <= 1.6e+113)
		tmp = Float64(Float64(t * Float64(Float64(c * j) - Float64(x * a))) - Float64(z * Float64(b * c)));
	else
		tmp = Float64(i * Float64(Float64(a * b) - Float64(y * j)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if (i <= -4.8e+117)
		tmp = j * (i * ((a * (b / j)) - y));
	elseif (i <= -4.1e-100)
		tmp = (j * ((t * c) - (y * i))) + (a * (b * i));
	elseif (i <= 1.6e+113)
		tmp = (t * ((c * j) - (x * a))) - (z * (b * c));
	else
		tmp = i * ((a * b) - (y * j));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[i, -4.8e+117], N[(j * N[(i * N[(N[(a * N[(b / j), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -4.1e-100], N[(N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.6e+113], N[(N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(z * N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(N[(a * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;i \leq -4.8 \cdot 10^{+117}:\\
\;\;\;\;j \cdot \left(i \cdot \left(a \cdot \frac{b}{j} - y\right)\right)\\

\mathbf{elif}\;i \leq -4.1 \cdot 10^{-100}:\\
\;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + a \cdot \left(b \cdot i\right)\\

\mathbf{elif}\;i \leq 1.6 \cdot 10^{+113}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) - z \cdot \left(b \cdot c\right)\\

\mathbf{else}:\\
\;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if i < -4.7999999999999998e117

    1. Initial program 57.6%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. +-commutative57.6%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-define57.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. *-commutative57.6%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative57.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv57.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub57.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def57.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out57.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg57.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative57.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative57.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified57.6%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in j around inf 57.6%

      \[\leadsto \color{blue}{j \cdot \left(\left(c \cdot t + \frac{x \cdot \left(-1 \cdot \left(a \cdot t\right) + y \cdot z\right)}{j}\right) - \left(i \cdot y + \frac{b \cdot \left(c \cdot z - a \cdot i\right)}{j}\right)\right)} \]
    6. Simplified69.8%

      \[\leadsto \color{blue}{j \cdot \left(\mathsf{fma}\left(c, t, x \cdot \frac{\mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right)}{j}\right) - \mathsf{fma}\left(i, y, b \cdot \frac{z \cdot c - a \cdot i}{j}\right)\right)} \]
    7. Taylor expanded in i around -inf 67.4%

      \[\leadsto j \cdot \color{blue}{\left(i \cdot \left(-1 \cdot y + \frac{a \cdot b}{j}\right)\right)} \]
    8. Step-by-step derivation
      1. neg-mul-167.4%

        \[\leadsto j \cdot \left(i \cdot \left(\color{blue}{\left(-y\right)} + \frac{a \cdot b}{j}\right)\right) \]
      2. +-commutative67.4%

        \[\leadsto j \cdot \left(i \cdot \color{blue}{\left(\frac{a \cdot b}{j} + \left(-y\right)\right)}\right) \]
      3. unsub-neg67.4%

        \[\leadsto j \cdot \left(i \cdot \color{blue}{\left(\frac{a \cdot b}{j} - y\right)}\right) \]
      4. associate-/l*67.4%

        \[\leadsto j \cdot \left(i \cdot \left(\color{blue}{a \cdot \frac{b}{j}} - y\right)\right) \]
    9. Simplified67.4%

      \[\leadsto j \cdot \color{blue}{\left(i \cdot \left(a \cdot \frac{b}{j} - y\right)\right)} \]

    if -4.7999999999999998e117 < i < -4.0999999999999999e-100

    1. Initial program 78.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-sub-inv78.7%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. cancel-sign-sub78.7%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      3. *-commutative78.7%

        \[\leadsto \left(x \cdot \left(y \cdot z - \color{blue}{a \cdot t}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
      4. fmm-def78.7%

        \[\leadsto \left(x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
      5. distribute-rgt-neg-in78.7%

        \[\leadsto \left(x \cdot \mathsf{fma}\left(y, z, \color{blue}{a \cdot \left(-t\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
      6. remove-double-neg78.7%

        \[\leadsto \left(x \cdot \mathsf{fma}\left(y, z, a \cdot \left(-t\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
      7. *-commutative78.7%

        \[\leadsto \left(x \cdot \mathsf{fma}\left(y, z, a \cdot \left(-t\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
      8. *-commutative78.7%

        \[\leadsto \left(x \cdot \mathsf{fma}\left(y, z, a \cdot \left(-t\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
      9. *-commutative78.7%

        \[\leadsto \left(x \cdot \mathsf{fma}\left(y, z, a \cdot \left(-t\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(\color{blue}{t \cdot c} - i \cdot y\right) \]
      10. *-commutative78.7%

        \[\leadsto \left(x \cdot \mathsf{fma}\left(y, z, a \cdot \left(-t\right)\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. Simplified78.7%

      \[\leadsto \color{blue}{\left(x \cdot \mathsf{fma}\left(y, z, a \cdot \left(-t\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in i around inf 60.8%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot i\right)} + j \cdot \left(t \cdot c - y \cdot i\right) \]

    if -4.0999999999999999e-100 < i < 1.5999999999999999e113

    1. Initial program 82.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. +-commutative82.7%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-define83.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. *-commutative83.4%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative83.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv83.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub83.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def83.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out83.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg83.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative83.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative83.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified83.4%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 73.9%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg73.9%

        \[\leadsto \left(\color{blue}{\left(-a \cdot \left(t \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. *-commutative73.9%

        \[\leadsto \left(\left(-\color{blue}{\left(t \cdot x\right) \cdot a}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. associate-*r*73.3%

        \[\leadsto \left(\left(-\color{blue}{t \cdot \left(x \cdot a\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. *-commutative73.3%

        \[\leadsto \left(\left(-t \cdot \color{blue}{\left(a \cdot x\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-neg-out73.3%

        \[\leadsto \left(\color{blue}{t \cdot \left(-a \cdot x\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      6. mul-1-neg73.3%

        \[\leadsto \left(t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. *-commutative73.3%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + c \cdot \color{blue}{\left(t \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. associate-*r*71.7%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(c \cdot t\right) \cdot j}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative71.7%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(t \cdot c\right)} \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. associate-*r*71.9%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{t \cdot \left(c \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      11. distribute-lft-in73.4%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      12. +-commutative73.4%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      13. mul-1-neg73.4%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      14. unsub-neg73.4%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      15. *-commutative73.4%

        \[\leadsto t \cdot \left(c \cdot j - \color{blue}{x \cdot a}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      16. *-commutative73.4%

        \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right) \]
    7. Simplified73.4%

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)} \]
    8. Taylor expanded in z around inf 70.0%

      \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - \color{blue}{b \cdot \left(c \cdot z\right)} \]
    9. Step-by-step derivation
      1. associate-*r*68.6%

        \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - \color{blue}{\left(b \cdot c\right) \cdot z} \]
      2. *-commutative68.6%

        \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - \color{blue}{\left(c \cdot b\right)} \cdot z \]
    10. Simplified68.6%

      \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - \color{blue}{\left(c \cdot b\right) \cdot z} \]

    if 1.5999999999999999e113 < i

    1. Initial program 68.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. +-commutative68.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-define70.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. *-commutative70.5%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative70.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv70.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub70.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def70.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out70.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg70.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative70.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative70.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified70.5%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in i around inf 77.6%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(a \cdot b\right)\right)} \]
    6. Step-by-step derivation
      1. distribute-lft-out--77.6%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(j \cdot y - a \cdot b\right)\right)} \]
      2. *-commutative77.6%

        \[\leadsto i \cdot \left(-1 \cdot \left(\color{blue}{y \cdot j} - a \cdot b\right)\right) \]
    7. Simplified77.6%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j - a \cdot b\right)\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification68.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -4.8 \cdot 10^{+117}:\\ \;\;\;\;j \cdot \left(i \cdot \left(a \cdot \frac{b}{j} - y\right)\right)\\ \mathbf{elif}\;i \leq -4.1 \cdot 10^{-100}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;i \leq 1.6 \cdot 10^{+113}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) - z \cdot \left(b \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 12: 56.7% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{if}\;z \leq -7.8 \cdot 10^{+238}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -8.5 \cdot 10^{-16}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;z \leq 4.6 \cdot 10^{+109}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) + a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* z (- (* x y) (* b c)))))
   (if (<= z -7.8e+238)
     t_1
     (if (<= z -8.5e-16)
       (* b (- (* a i) (* z c)))
       (if (<= z 4.6e+109) (+ (* c (* t j)) (* a (- (* b i) (* x t)))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = z * ((x * y) - (b * c));
	double tmp;
	if (z <= -7.8e+238) {
		tmp = t_1;
	} else if (z <= -8.5e-16) {
		tmp = b * ((a * i) - (z * c));
	} else if (z <= 4.6e+109) {
		tmp = (c * (t * j)) + (a * ((b * i) - (x * t)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8) :: t_1
    real(8) :: tmp
    t_1 = z * ((x * y) - (b * c))
    if (z <= (-7.8d+238)) then
        tmp = t_1
    else if (z <= (-8.5d-16)) then
        tmp = b * ((a * i) - (z * c))
    else if (z <= 4.6d+109) then
        tmp = (c * (t * j)) + (a * ((b * i) - (x * t)))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = z * ((x * y) - (b * c));
	double tmp;
	if (z <= -7.8e+238) {
		tmp = t_1;
	} else if (z <= -8.5e-16) {
		tmp = b * ((a * i) - (z * c));
	} else if (z <= 4.6e+109) {
		tmp = (c * (t * j)) + (a * ((b * i) - (x * t)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = z * ((x * y) - (b * c))
	tmp = 0
	if z <= -7.8e+238:
		tmp = t_1
	elif z <= -8.5e-16:
		tmp = b * ((a * i) - (z * c))
	elif z <= 4.6e+109:
		tmp = (c * (t * j)) + (a * ((b * i) - (x * t)))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(z * Float64(Float64(x * y) - Float64(b * c)))
	tmp = 0.0
	if (z <= -7.8e+238)
		tmp = t_1;
	elseif (z <= -8.5e-16)
		tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c)));
	elseif (z <= 4.6e+109)
		tmp = Float64(Float64(c * Float64(t * j)) + Float64(a * Float64(Float64(b * i) - Float64(x * t))));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = z * ((x * y) - (b * c));
	tmp = 0.0;
	if (z <= -7.8e+238)
		tmp = t_1;
	elseif (z <= -8.5e-16)
		tmp = b * ((a * i) - (z * c));
	elseif (z <= 4.6e+109)
		tmp = (c * (t * j)) + (a * ((b * i) - (x * t)));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -7.8e+238], t$95$1, If[LessEqual[z, -8.5e-16], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4.6e+109], N[(N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision] + N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := z \cdot \left(x \cdot y - b \cdot c\right)\\
\mathbf{if}\;z \leq -7.8 \cdot 10^{+238}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq -8.5 \cdot 10^{-16}:\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\

\mathbf{elif}\;z \leq 4.6 \cdot 10^{+109}:\\
\;\;\;\;c \cdot \left(t \cdot j\right) + a \cdot \left(b \cdot i - x \cdot t\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if z < -7.79999999999999986e238 or 4.60000000000000021e109 < z

    1. Initial program 65.1%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. +-commutative65.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-define68.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. *-commutative68.5%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative68.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv68.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub68.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def68.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out68.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg68.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative68.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative68.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified68.5%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in j around inf 57.4%

      \[\leadsto \color{blue}{j \cdot \left(\left(c \cdot t + \frac{x \cdot \left(-1 \cdot \left(a \cdot t\right) + y \cdot z\right)}{j}\right) - \left(i \cdot y + \frac{b \cdot \left(c \cdot z - a \cdot i\right)}{j}\right)\right)} \]
    6. Simplified55.9%

      \[\leadsto \color{blue}{j \cdot \left(\mathsf{fma}\left(c, t, x \cdot \frac{\mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right)}{j}\right) - \mathsf{fma}\left(i, y, b \cdot \frac{z \cdot c - a \cdot i}{j}\right)\right)} \]
    7. Taylor expanded in j around 0 71.9%

      \[\leadsto \color{blue}{x \cdot \left(-1 \cdot \left(a \cdot t\right) + y \cdot z\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    8. Step-by-step derivation
      1. +-commutative71.9%

        \[\leadsto x \cdot \color{blue}{\left(y \cdot z + -1 \cdot \left(a \cdot t\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. mul-1-neg71.9%

        \[\leadsto x \cdot \left(y \cdot z + \color{blue}{\left(-a \cdot t\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. *-commutative71.9%

        \[\leadsto x \cdot \left(y \cdot z + \left(-\color{blue}{t \cdot a}\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. sub-neg71.9%

        \[\leadsto x \cdot \color{blue}{\left(y \cdot z - t \cdot a\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. *-commutative71.9%

        \[\leadsto x \cdot \left(y \cdot z - \color{blue}{a \cdot t}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      6. *-commutative71.9%

        \[\leadsto x \cdot \left(y \cdot z - a \cdot t\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right) \]
    9. Simplified71.9%

      \[\leadsto \color{blue}{x \cdot \left(y \cdot z - a \cdot t\right) - b \cdot \left(z \cdot c - a \cdot i\right)} \]
    10. Taylor expanded in z around inf 78.8%

      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]

    if -7.79999999999999986e238 < z < -8.5000000000000001e-16

    1. Initial program 66.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. +-commutative66.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-define66.2%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot t - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      3. *-commutative66.2%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative66.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv66.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub66.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def66.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out66.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg66.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative66.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative66.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified66.2%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 57.6%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg57.6%

        \[\leadsto \left(\color{blue}{\left(-a \cdot \left(t \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. *-commutative57.6%

        \[\leadsto \left(\left(-\color{blue}{\left(t \cdot x\right) \cdot a}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. associate-*r*65.1%

        \[\leadsto \left(\left(-\color{blue}{t \cdot \left(x \cdot a\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. *-commutative65.1%

        \[\leadsto \left(\left(-t \cdot \color{blue}{\left(a \cdot x\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-neg-out65.1%

        \[\leadsto \left(\color{blue}{t \cdot \left(-a \cdot x\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      6. mul-1-neg65.1%

        \[\leadsto \left(t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. *-commutative65.1%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + c \cdot \color{blue}{\left(t \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. associate-*r*61.4%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(c \cdot t\right) \cdot j}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative61.4%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(t \cdot c\right)} \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. associate-*r*65.1%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{t \cdot \left(c \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      11. distribute-lft-in65.1%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      12. +-commutative65.1%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      13. mul-1-neg65.1%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      14. unsub-neg65.1%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      15. *-commutative65.1%

        \[\leadsto t \cdot \left(c \cdot j - \color{blue}{x \cdot a}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      16. *-commutative65.1%

        \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right) \]
    7. Simplified65.1%

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)} \]
    8. Taylor expanded in b around inf 56.2%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i - c \cdot z\right)} \]

    if -8.5000000000000001e-16 < z < 4.60000000000000021e109

    1. Initial program 84.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-sub-inv84.6%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. cancel-sign-sub84.6%

        \[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
      3. *-commutative84.6%

        \[\leadsto \left(x \cdot \left(y \cdot z - \color{blue}{a \cdot t}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
      4. fmm-def84.6%

        \[\leadsto \left(x \cdot \color{blue}{\mathsf{fma}\left(y, z, -a \cdot t\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
      5. distribute-rgt-neg-in84.6%

        \[\leadsto \left(x \cdot \mathsf{fma}\left(y, z, \color{blue}{a \cdot \left(-t\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
      6. remove-double-neg84.6%

        \[\leadsto \left(x \cdot \mathsf{fma}\left(y, z, a \cdot \left(-t\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
      7. *-commutative84.6%

        \[\leadsto \left(x \cdot \mathsf{fma}\left(y, z, a \cdot \left(-t\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
      8. *-commutative84.6%

        \[\leadsto \left(x \cdot \mathsf{fma}\left(y, z, a \cdot \left(-t\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
      9. *-commutative84.6%

        \[\leadsto \left(x \cdot \mathsf{fma}\left(y, z, a \cdot \left(-t\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(\color{blue}{t \cdot c} - i \cdot y\right) \]
      10. *-commutative84.6%

        \[\leadsto \left(x \cdot \mathsf{fma}\left(y, z, a \cdot \left(-t\right)\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. Simplified84.6%

      \[\leadsto \color{blue}{\left(x \cdot \mathsf{fma}\left(y, z, a \cdot \left(-t\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in a around -inf 74.0%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right)} + j \cdot \left(t \cdot c - y \cdot i\right) \]
    6. Taylor expanded in y around 0 61.8%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right) + c \cdot \left(j \cdot t\right)} \]
    7. Step-by-step derivation
      1. +-commutative61.8%

        \[\leadsto \color{blue}{c \cdot \left(j \cdot t\right) + -1 \cdot \left(a \cdot \left(t \cdot x - b \cdot i\right)\right)} \]
      2. mul-1-neg61.8%

        \[\leadsto c \cdot \left(j \cdot t\right) + \color{blue}{\left(-a \cdot \left(t \cdot x - b \cdot i\right)\right)} \]
      3. *-commutative61.8%

        \[\leadsto c \cdot \left(j \cdot t\right) + \left(-a \cdot \left(t \cdot x - \color{blue}{i \cdot b}\right)\right) \]
      4. unsub-neg61.8%

        \[\leadsto \color{blue}{c \cdot \left(j \cdot t\right) - a \cdot \left(t \cdot x - i \cdot b\right)} \]
      5. *-commutative61.8%

        \[\leadsto c \cdot \color{blue}{\left(t \cdot j\right)} - a \cdot \left(t \cdot x - i \cdot b\right) \]
      6. *-commutative61.8%

        \[\leadsto c \cdot \left(t \cdot j\right) - a \cdot \left(\color{blue}{x \cdot t} - i \cdot b\right) \]
      7. *-commutative61.8%

        \[\leadsto c \cdot \left(t \cdot j\right) - a \cdot \left(x \cdot t - \color{blue}{b \cdot i}\right) \]
    8. Simplified61.8%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right) - a \cdot \left(x \cdot t - b \cdot i\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification64.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -7.8 \cdot 10^{+238}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \mathbf{elif}\;z \leq -8.5 \cdot 10^{-16}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;z \leq 4.6 \cdot 10^{+109}:\\ \;\;\;\;c \cdot \left(t \cdot j\right) + a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 13: 68.1% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -2.5 \cdot 10^{-143} \lor \neg \left(b \leq 26000000\right):\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + x \cdot \left(y \cdot z - t \cdot a\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (or (<= b -2.5e-143) (not (<= b 26000000.0)))
   (+ (* t (- (* c j) (* x a))) (* b (- (* a i) (* z c))))
   (+ (* j (- (* t c) (* y i))) (* x (- (* y z) (* t a))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if ((b <= -2.5e-143) || !(b <= 26000000.0)) {
		tmp = (t * ((c * j) - (x * a))) + (b * ((a * i) - (z * c)));
	} else {
		tmp = (j * ((t * c) - (y * i))) + (x * ((y * z) - (t * a)));
	}
	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 <= (-2.5d-143)) .or. (.not. (b <= 26000000.0d0))) then
        tmp = (t * ((c * j) - (x * a))) + (b * ((a * i) - (z * c)))
    else
        tmp = (j * ((t * c) - (y * i))) + (x * ((y * z) - (t * a)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if ((b <= -2.5e-143) || !(b <= 26000000.0)) {
		tmp = (t * ((c * j) - (x * a))) + (b * ((a * i) - (z * c)));
	} else {
		tmp = (j * ((t * c) - (y * i))) + (x * ((y * z) - (t * a)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if (b <= -2.5e-143) or not (b <= 26000000.0):
		tmp = (t * ((c * j) - (x * a))) + (b * ((a * i) - (z * c)))
	else:
		tmp = (j * ((t * c) - (y * i))) + (x * ((y * z) - (t * a)))
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if ((b <= -2.5e-143) || !(b <= 26000000.0))
		tmp = Float64(Float64(t * Float64(Float64(c * j) - Float64(x * a))) + Float64(b * Float64(Float64(a * i) - Float64(z * c))));
	else
		tmp = Float64(Float64(j * Float64(Float64(t * c) - Float64(y * i))) + Float64(x * Float64(Float64(y * z) - Float64(t * a))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if ((b <= -2.5e-143) || ~((b <= 26000000.0)))
		tmp = (t * ((c * j) - (x * a))) + (b * ((a * i) - (z * c)));
	else
		tmp = (j * ((t * c) - (y * i))) + (x * ((y * z) - (t * a)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[b, -2.5e-143], N[Not[LessEqual[b, 26000000.0]], $MachinePrecision]], N[(N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -2.5 \cdot 10^{-143} \lor \neg \left(b \leq 26000000\right):\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\

\mathbf{else}:\\
\;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + x \cdot \left(y \cdot z - t \cdot a\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if b < -2.5000000000000001e-143 or 2.6e7 < b

    1. Initial program 75.7%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. +-commutative75.7%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-define77.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. *-commutative77.7%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative77.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv77.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub77.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def77.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out77.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg77.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative77.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative77.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified77.7%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 74.0%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg74.0%

        \[\leadsto \left(\color{blue}{\left(-a \cdot \left(t \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. *-commutative74.0%

        \[\leadsto \left(\left(-\color{blue}{\left(t \cdot x\right) \cdot a}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. associate-*r*73.4%

        \[\leadsto \left(\left(-\color{blue}{t \cdot \left(x \cdot a\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. *-commutative73.4%

        \[\leadsto \left(\left(-t \cdot \color{blue}{\left(a \cdot x\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-neg-out73.4%

        \[\leadsto \left(\color{blue}{t \cdot \left(-a \cdot x\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      6. mul-1-neg73.4%

        \[\leadsto \left(t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. *-commutative73.4%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + c \cdot \color{blue}{\left(t \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. associate-*r*72.5%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(c \cdot t\right) \cdot j}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative72.5%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(t \cdot c\right)} \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. associate-*r*73.2%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{t \cdot \left(c \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      11. distribute-lft-in74.4%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      12. +-commutative74.4%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      13. mul-1-neg74.4%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      14. unsub-neg74.4%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      15. *-commutative74.4%

        \[\leadsto t \cdot \left(c \cdot j - \color{blue}{x \cdot a}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      16. *-commutative74.4%

        \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right) \]
    7. Simplified74.4%

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)} \]

    if -2.5000000000000001e-143 < b < 2.6e7

    1. Initial program 77.0%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Add Preprocessing
    3. Taylor expanded in b around 0 77.9%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + x \cdot \left(y \cdot z - a \cdot t\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification75.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.5 \cdot 10^{-143} \lor \neg \left(b \leq 26000000\right):\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + x \cdot \left(y \cdot z - t \cdot a\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 14: 67.9% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -5.2 \cdot 10^{-144}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right) - \left(a \cdot \left(x \cdot t\right) - c \cdot \left(t \cdot j\right)\right)\\ \mathbf{elif}\;b \leq 12000000:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (<= b -5.2e-144)
   (- (* b (- (* a i) (* z c))) (- (* a (* x t)) (* c (* t j))))
   (if (<= b 12000000.0)
     (+ (* j (- (* t c) (* y i))) (* x (- (* y z) (* t a))))
     (- (* t (- (* c j) (* x a))) (* b (- (* z c) (* a i)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (b <= -5.2e-144) {
		tmp = (b * ((a * i) - (z * c))) - ((a * (x * t)) - (c * (t * j)));
	} else if (b <= 12000000.0) {
		tmp = (j * ((t * c) - (y * i))) + (x * ((y * z) - (t * a)));
	} else {
		tmp = (t * ((c * j) - (x * a))) - (b * ((z * c) - (a * i)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8) :: tmp
    if (b <= (-5.2d-144)) then
        tmp = (b * ((a * i) - (z * c))) - ((a * (x * t)) - (c * (t * j)))
    else if (b <= 12000000.0d0) then
        tmp = (j * ((t * c) - (y * i))) + (x * ((y * z) - (t * a)))
    else
        tmp = (t * ((c * j) - (x * a))) - (b * ((z * c) - (a * i)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (b <= -5.2e-144) {
		tmp = (b * ((a * i) - (z * c))) - ((a * (x * t)) - (c * (t * j)));
	} else if (b <= 12000000.0) {
		tmp = (j * ((t * c) - (y * i))) + (x * ((y * z) - (t * a)));
	} else {
		tmp = (t * ((c * j) - (x * a))) - (b * ((z * c) - (a * i)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if b <= -5.2e-144:
		tmp = (b * ((a * i) - (z * c))) - ((a * (x * t)) - (c * (t * j)))
	elif b <= 12000000.0:
		tmp = (j * ((t * c) - (y * i))) + (x * ((y * z) - (t * a)))
	else:
		tmp = (t * ((c * j) - (x * a))) - (b * ((z * c) - (a * i)))
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if (b <= -5.2e-144)
		tmp = Float64(Float64(b * Float64(Float64(a * i) - Float64(z * c))) - Float64(Float64(a * Float64(x * t)) - Float64(c * Float64(t * j))));
	elseif (b <= 12000000.0)
		tmp = Float64(Float64(j * Float64(Float64(t * c) - Float64(y * i))) + Float64(x * Float64(Float64(y * z) - Float64(t * a))));
	else
		tmp = Float64(Float64(t * Float64(Float64(c * j) - Float64(x * a))) - Float64(b * Float64(Float64(z * c) - Float64(a * i))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if (b <= -5.2e-144)
		tmp = (b * ((a * i) - (z * c))) - ((a * (x * t)) - (c * (t * j)));
	elseif (b <= 12000000.0)
		tmp = (j * ((t * c) - (y * i))) + (x * ((y * z) - (t * a)));
	else
		tmp = (t * ((c * j) - (x * a))) - (b * ((z * c) - (a * i)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[b, -5.2e-144], N[(N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(a * N[(x * t), $MachinePrecision]), $MachinePrecision] - N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 12000000.0], N[(N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(z * c), $MachinePrecision] - N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -5.2 \cdot 10^{-144}:\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right) - \left(a \cdot \left(x \cdot t\right) - c \cdot \left(t \cdot j\right)\right)\\

\mathbf{elif}\;b \leq 12000000:\\
\;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + x \cdot \left(y \cdot z - t \cdot a\right)\\

\mathbf{else}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -5.2000000000000002e-144

    1. Initial program 81.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. +-commutative81.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-define84.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. *-commutative84.4%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative84.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv84.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub84.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def84.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out84.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg84.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative84.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative84.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified84.4%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 76.0%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]

    if -5.2000000000000002e-144 < b < 1.2e7

    1. Initial program 77.0%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Add Preprocessing
    3. Taylor expanded in b around 0 77.9%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + x \cdot \left(y \cdot z - a \cdot t\right)} \]

    if 1.2e7 < b

    1. Initial program 64.3%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. +-commutative64.3%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-define64.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. *-commutative64.3%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative64.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv64.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub64.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def64.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out64.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg64.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative64.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative64.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified64.3%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 70.1%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg70.1%

        \[\leadsto \left(\color{blue}{\left(-a \cdot \left(t \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. *-commutative70.1%

        \[\leadsto \left(\left(-\color{blue}{\left(t \cdot x\right) \cdot a}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. associate-*r*71.7%

        \[\leadsto \left(\left(-\color{blue}{t \cdot \left(x \cdot a\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. *-commutative71.7%

        \[\leadsto \left(\left(-t \cdot \color{blue}{\left(a \cdot x\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-neg-out71.7%

        \[\leadsto \left(\color{blue}{t \cdot \left(-a \cdot x\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      6. mul-1-neg71.7%

        \[\leadsto \left(t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. *-commutative71.7%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + c \cdot \color{blue}{\left(t \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. associate-*r*68.0%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(c \cdot t\right) \cdot j}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative68.0%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(t \cdot c\right)} \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. associate-*r*69.8%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{t \cdot \left(c \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      11. distribute-lft-in71.7%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      12. +-commutative71.7%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      13. mul-1-neg71.7%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      14. unsub-neg71.7%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      15. *-commutative71.7%

        \[\leadsto t \cdot \left(c \cdot j - \color{blue}{x \cdot a}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      16. *-commutative71.7%

        \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right) \]
    7. Simplified71.7%

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification75.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -5.2 \cdot 10^{-144}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right) - \left(a \cdot \left(x \cdot t\right) - c \cdot \left(t \cdot j\right)\right)\\ \mathbf{elif}\;b \leq 12000000:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 15: 67.6% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{if}\;b \leq -3.4 \cdot 10^{+65}:\\ \;\;\;\;t \cdot \left(c \cdot j\right) + t\_1\\ \mathbf{elif}\;b \leq 10^{+54}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + x \cdot \left(y \cdot z - t \cdot 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 -3.4e+65)
     (+ (* t (* c j)) t_1)
     (if (<= b 1e+54)
       (+ (* j (- (* t c) (* y i))) (* x (- (* y z) (* 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 <= -3.4e+65) {
		tmp = (t * (c * j)) + t_1;
	} else if (b <= 1e+54) {
		tmp = (j * ((t * c) - (y * i))) + (x * ((y * z) - (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 <= (-3.4d+65)) then
        tmp = (t * (c * j)) + t_1
    else if (b <= 1d+54) then
        tmp = (j * ((t * c) - (y * i))) + (x * ((y * z) - (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 <= -3.4e+65) {
		tmp = (t * (c * j)) + t_1;
	} else if (b <= 1e+54) {
		tmp = (j * ((t * c) - (y * i))) + (x * ((y * z) - (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 <= -3.4e+65:
		tmp = (t * (c * j)) + t_1
	elif b <= 1e+54:
		tmp = (j * ((t * c) - (y * i))) + (x * ((y * z) - (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 <= -3.4e+65)
		tmp = Float64(Float64(t * Float64(c * j)) + t_1);
	elseif (b <= 1e+54)
		tmp = Float64(Float64(j * Float64(Float64(t * c) - Float64(y * i))) + Float64(x * Float64(Float64(y * z) - Float64(t * 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 <= -3.4e+65)
		tmp = (t * (c * j)) + t_1;
	elseif (b <= 1e+54)
		tmp = (j * ((t * c) - (y * i))) + (x * ((y * z) - (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, -3.4e+65], N[(N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision], If[LessEqual[b, 1e+54], N[(N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $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 -3.4 \cdot 10^{+65}:\\
\;\;\;\;t \cdot \left(c \cdot j\right) + t\_1\\

\mathbf{elif}\;b \leq 10^{+54}:\\
\;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + x \cdot \left(y \cdot z - t \cdot a\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -3.3999999999999999e65

    1. Initial program 80.2%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. +-commutative80.2%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-define83.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. *-commutative83.5%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative83.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv83.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub83.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def83.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out83.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg83.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative83.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative83.5%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified83.5%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 80.8%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg80.8%

        \[\leadsto \left(\color{blue}{\left(-a \cdot \left(t \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. *-commutative80.8%

        \[\leadsto \left(\left(-\color{blue}{\left(t \cdot x\right) \cdot a}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. associate-*r*76.1%

        \[\leadsto \left(\left(-\color{blue}{t \cdot \left(x \cdot a\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. *-commutative76.1%

        \[\leadsto \left(\left(-t \cdot \color{blue}{\left(a \cdot x\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-neg-out76.1%

        \[\leadsto \left(\color{blue}{t \cdot \left(-a \cdot x\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      6. mul-1-neg76.1%

        \[\leadsto \left(t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. *-commutative76.1%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + c \cdot \color{blue}{\left(t \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. associate-*r*76.8%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(c \cdot t\right) \cdot j}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative76.8%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(t \cdot c\right)} \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. associate-*r*76.8%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{t \cdot \left(c \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      11. distribute-lft-in78.5%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      12. +-commutative78.5%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      13. mul-1-neg78.5%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      14. unsub-neg78.5%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      15. *-commutative78.5%

        \[\leadsto t \cdot \left(c \cdot j - \color{blue}{x \cdot a}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      16. *-commutative78.5%

        \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right) \]
    7. Simplified78.5%

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)} \]
    8. Taylor expanded in c around inf 78.4%

      \[\leadsto t \cdot \color{blue}{\left(c \cdot j\right)} - b \cdot \left(z \cdot c - a \cdot i\right) \]

    if -3.3999999999999999e65 < b < 1.0000000000000001e54

    1. Initial program 78.8%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Add Preprocessing
    3. Taylor expanded in b around 0 72.3%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + x \cdot \left(y \cdot z - a \cdot t\right)} \]

    if 1.0000000000000001e54 < b

    1. Initial program 62.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. +-commutative62.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-define62.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. *-commutative62.3%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative62.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv62.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub62.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def62.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out62.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg62.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative62.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative62.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified62.3%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 67.1%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg67.1%

        \[\leadsto \left(\color{blue}{\left(-a \cdot \left(t \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. *-commutative67.1%

        \[\leadsto \left(\left(-\color{blue}{\left(t \cdot x\right) \cdot a}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. associate-*r*71.1%

        \[\leadsto \left(\left(-\color{blue}{t \cdot \left(x \cdot a\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. *-commutative71.1%

        \[\leadsto \left(\left(-t \cdot \color{blue}{\left(a \cdot x\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-neg-out71.1%

        \[\leadsto \left(\color{blue}{t \cdot \left(-a \cdot x\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      6. mul-1-neg71.1%

        \[\leadsto \left(t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. *-commutative71.1%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + c \cdot \color{blue}{\left(t \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. associate-*r*66.8%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(c \cdot t\right) \cdot j}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative66.8%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(t \cdot c\right)} \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. associate-*r*68.9%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{t \cdot \left(c \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      11. distribute-lft-in71.1%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      12. +-commutative71.1%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      13. mul-1-neg71.1%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      14. unsub-neg71.1%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      15. *-commutative71.1%

        \[\leadsto t \cdot \left(c \cdot j - \color{blue}{x \cdot a}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      16. *-commutative71.1%

        \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right) \]
    7. Simplified71.1%

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)} \]
    8. Taylor expanded in b around inf 72.2%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i - c \cdot z\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification73.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -3.4 \cdot 10^{+65}:\\ \;\;\;\;t \cdot \left(c \cdot j\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;b \leq 10^{+54}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + x \cdot \left(y \cdot z - t \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 16: 49.9% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{if}\;b \leq -9.5 \cdot 10^{-143}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq -2.55 \cdot 10^{-295}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;b \leq 2.9 \cdot 10^{-8}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot 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 -9.5e-143)
     t_1
     (if (<= b -2.55e-295)
       (* y (- (* x z) (* i j)))
       (if (<= b 2.9e-8) (* t (- (* c j) (* x 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 <= -9.5e-143) {
		tmp = t_1;
	} else if (b <= -2.55e-295) {
		tmp = y * ((x * z) - (i * j));
	} else if (b <= 2.9e-8) {
		tmp = t * ((c * j) - (x * 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 <= (-9.5d-143)) then
        tmp = t_1
    else if (b <= (-2.55d-295)) then
        tmp = y * ((x * z) - (i * j))
    else if (b <= 2.9d-8) then
        tmp = t * ((c * j) - (x * 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 <= -9.5e-143) {
		tmp = t_1;
	} else if (b <= -2.55e-295) {
		tmp = y * ((x * z) - (i * j));
	} else if (b <= 2.9e-8) {
		tmp = t * ((c * j) - (x * 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 <= -9.5e-143:
		tmp = t_1
	elif b <= -2.55e-295:
		tmp = y * ((x * z) - (i * j))
	elif b <= 2.9e-8:
		tmp = t * ((c * j) - (x * 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 <= -9.5e-143)
		tmp = t_1;
	elseif (b <= -2.55e-295)
		tmp = Float64(y * Float64(Float64(x * z) - Float64(i * j)));
	elseif (b <= 2.9e-8)
		tmp = Float64(t * Float64(Float64(c * j) - Float64(x * 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 <= -9.5e-143)
		tmp = t_1;
	elseif (b <= -2.55e-295)
		tmp = y * ((x * z) - (i * j));
	elseif (b <= 2.9e-8)
		tmp = t * ((c * j) - (x * 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, -9.5e-143], t$95$1, If[LessEqual[b, -2.55e-295], N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.9e-8], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $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 -9.5 \cdot 10^{-143}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq -2.55 \cdot 10^{-295}:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\

\mathbf{elif}\;b \leq 2.9 \cdot 10^{-8}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -9.4999999999999993e-143 or 2.9000000000000002e-8 < b

    1. Initial program 76.3%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. +-commutative76.3%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-define77.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. *-commutative77.6%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative77.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv77.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub77.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def77.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out77.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg77.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative77.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative77.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified77.6%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 72.9%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg72.9%

        \[\leadsto \left(\color{blue}{\left(-a \cdot \left(t \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. *-commutative72.9%

        \[\leadsto \left(\left(-\color{blue}{\left(t \cdot x\right) \cdot a}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. associate-*r*71.7%

        \[\leadsto \left(\left(-\color{blue}{t \cdot \left(x \cdot a\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. *-commutative71.7%

        \[\leadsto \left(\left(-t \cdot \color{blue}{\left(a \cdot x\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-neg-out71.7%

        \[\leadsto \left(\color{blue}{t \cdot \left(-a \cdot x\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      6. mul-1-neg71.7%

        \[\leadsto \left(t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. *-commutative71.7%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + c \cdot \color{blue}{\left(t \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. associate-*r*70.8%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(c \cdot t\right) \cdot j}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative70.8%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(t \cdot c\right)} \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. associate-*r*71.4%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{t \cdot \left(c \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      11. distribute-lft-in72.7%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      12. +-commutative72.7%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      13. mul-1-neg72.7%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      14. unsub-neg72.7%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      15. *-commutative72.7%

        \[\leadsto t \cdot \left(c \cdot j - \color{blue}{x \cdot a}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      16. *-commutative72.7%

        \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right) \]
    7. Simplified72.7%

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)} \]
    8. Taylor expanded in b around inf 57.7%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i - c \cdot z\right)} \]

    if -9.4999999999999993e-143 < b < -2.54999999999999995e-295

    1. Initial program 72.8%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. +-commutative72.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-define75.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. *-commutative75.8%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative75.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv75.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub75.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def75.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out75.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg75.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative75.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative75.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified75.8%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around inf 67.3%

      \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)} \]
    6. Step-by-step derivation
      1. +-commutative67.3%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z + -1 \cdot \left(i \cdot j\right)\right)} \]
      2. mul-1-neg67.3%

        \[\leadsto y \cdot \left(x \cdot z + \color{blue}{\left(-i \cdot j\right)}\right) \]
      3. unsub-neg67.3%

        \[\leadsto y \cdot \color{blue}{\left(x \cdot z - i \cdot j\right)} \]
    7. Simplified67.3%

      \[\leadsto \color{blue}{y \cdot \left(x \cdot z - i \cdot j\right)} \]

    if -2.54999999999999995e-295 < b < 2.9000000000000002e-8

    1. Initial program 77.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. +-commutative77.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-define77.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. *-commutative77.8%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative77.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv77.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub77.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def77.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out77.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg77.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative77.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative77.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified77.8%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around inf 62.0%

      \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} \]
    6. Step-by-step derivation
      1. +-commutative62.0%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} \]
      2. mul-1-neg62.0%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) \]
      3. unsub-neg62.0%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} \]
      4. *-commutative62.0%

        \[\leadsto t \cdot \left(c \cdot j - \color{blue}{x \cdot a}\right) \]
    7. Simplified62.0%

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - x \cdot a\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification60.0%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -9.5 \cdot 10^{-143}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;b \leq -2.55 \cdot 10^{-295}:\\ \;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\ \mathbf{elif}\;b \leq 2.9 \cdot 10^{-8}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 17: 49.9% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{if}\;b \leq -2.1 \cdot 10^{-143}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq -2.9 \cdot 10^{-290}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;b \leq 9.5 \cdot 10^{-8}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot 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 -2.1e-143)
     t_1
     (if (<= b -2.9e-290)
       (* j (- (* t c) (* y i)))
       (if (<= b 9.5e-8) (* t (- (* c j) (* x 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 <= -2.1e-143) {
		tmp = t_1;
	} else if (b <= -2.9e-290) {
		tmp = j * ((t * c) - (y * i));
	} else if (b <= 9.5e-8) {
		tmp = t * ((c * j) - (x * 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 <= (-2.1d-143)) then
        tmp = t_1
    else if (b <= (-2.9d-290)) then
        tmp = j * ((t * c) - (y * i))
    else if (b <= 9.5d-8) then
        tmp = t * ((c * j) - (x * 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 <= -2.1e-143) {
		tmp = t_1;
	} else if (b <= -2.9e-290) {
		tmp = j * ((t * c) - (y * i));
	} else if (b <= 9.5e-8) {
		tmp = t * ((c * j) - (x * 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 <= -2.1e-143:
		tmp = t_1
	elif b <= -2.9e-290:
		tmp = j * ((t * c) - (y * i))
	elif b <= 9.5e-8:
		tmp = t * ((c * j) - (x * 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 <= -2.1e-143)
		tmp = t_1;
	elseif (b <= -2.9e-290)
		tmp = Float64(j * Float64(Float64(t * c) - Float64(y * i)));
	elseif (b <= 9.5e-8)
		tmp = Float64(t * Float64(Float64(c * j) - Float64(x * 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 <= -2.1e-143)
		tmp = t_1;
	elseif (b <= -2.9e-290)
		tmp = j * ((t * c) - (y * i));
	elseif (b <= 9.5e-8)
		tmp = t * ((c * j) - (x * 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, -2.1e-143], t$95$1, If[LessEqual[b, -2.9e-290], N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 9.5e-8], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $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 -2.1 \cdot 10^{-143}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq -2.9 \cdot 10^{-290}:\\
\;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\

\mathbf{elif}\;b \leq 9.5 \cdot 10^{-8}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -2.1000000000000001e-143 or 9.50000000000000036e-8 < b

    1. Initial program 76.3%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. +-commutative76.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-define78.2%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot t - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      3. *-commutative78.2%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative78.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv78.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub78.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def78.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out78.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg78.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative78.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative78.2%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified78.2%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 73.5%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg73.5%

        \[\leadsto \left(\color{blue}{\left(-a \cdot \left(t \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. *-commutative73.5%

        \[\leadsto \left(\left(-\color{blue}{\left(t \cdot x\right) \cdot a}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. associate-*r*72.3%

        \[\leadsto \left(\left(-\color{blue}{t \cdot \left(x \cdot a\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. *-commutative72.3%

        \[\leadsto \left(\left(-t \cdot \color{blue}{\left(a \cdot x\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-neg-out72.3%

        \[\leadsto \left(\color{blue}{t \cdot \left(-a \cdot x\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      6. mul-1-neg72.3%

        \[\leadsto \left(t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. *-commutative72.3%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + c \cdot \color{blue}{\left(t \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. associate-*r*71.4%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(c \cdot t\right) \cdot j}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative71.4%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(t \cdot c\right)} \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. associate-*r*72.0%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{t \cdot \left(c \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      11. distribute-lft-in73.3%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      12. +-commutative73.3%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      13. mul-1-neg73.3%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      14. unsub-neg73.3%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      15. *-commutative73.3%

        \[\leadsto t \cdot \left(c \cdot j - \color{blue}{x \cdot a}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      16. *-commutative73.3%

        \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right) \]
    7. Simplified73.3%

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)} \]
    8. Taylor expanded in b around inf 58.3%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i - c \cdot z\right)} \]

    if -2.1000000000000001e-143 < b < -2.89999999999999994e-290

    1. Initial program 75.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. +-commutative75.1%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-define75.1%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot t - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      3. *-commutative75.1%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative75.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv75.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub75.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def75.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out75.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg75.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative75.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative75.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified75.1%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in j around inf 62.9%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
    6. Step-by-step derivation
      1. *-commutative62.9%

        \[\leadsto j \cdot \left(\color{blue}{t \cdot c} - i \cdot y\right) \]
      2. *-commutative62.9%

        \[\leadsto j \cdot \left(t \cdot c - \color{blue}{y \cdot i}\right) \]
    7. Simplified62.9%

      \[\leadsto \color{blue}{j \cdot \left(t \cdot c - y \cdot i\right)} \]

    if -2.89999999999999994e-290 < b < 9.50000000000000036e-8

    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-define76.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. *-commutative76.6%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative76.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv76.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub76.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def76.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out76.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg76.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative76.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative76.6%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified76.6%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in t around inf 61.0%

      \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} \]
    6. Step-by-step derivation
      1. +-commutative61.0%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} \]
      2. mul-1-neg61.0%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) \]
      3. unsub-neg61.0%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} \]
      4. *-commutative61.0%

        \[\leadsto t \cdot \left(c \cdot j - \color{blue}{x \cdot a}\right) \]
    7. Simplified61.0%

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - x \cdot a\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification59.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.1 \cdot 10^{-143}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;b \leq -2.9 \cdot 10^{-290}:\\ \;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{elif}\;b \leq 9.5 \cdot 10^{-8}:\\ \;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 18: 28.7% accurate, 1.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(t \cdot j\right)\\ \mathbf{if}\;t \leq -8.8 \cdot 10^{+185}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq -1.16 \cdot 10^{-240}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;t \leq 2.5 \cdot 10^{-47}:\\ \;\;\;\;\left(-c\right) \cdot \left(z \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* c (* t j))))
   (if (<= t -8.8e+185)
     t_1
     (if (<= t -1.16e-240)
       (* b (* a i))
       (if (<= t 2.5e-47) (* (- c) (* z b)) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = c * (t * j);
	double tmp;
	if (t <= -8.8e+185) {
		tmp = t_1;
	} else if (t <= -1.16e-240) {
		tmp = b * (a * i);
	} else if (t <= 2.5e-47) {
		tmp = -c * (z * b);
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8) :: t_1
    real(8) :: tmp
    t_1 = c * (t * j)
    if (t <= (-8.8d+185)) then
        tmp = t_1
    else if (t <= (-1.16d-240)) then
        tmp = b * (a * i)
    else if (t <= 2.5d-47) then
        tmp = -c * (z * b)
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = c * (t * j);
	double tmp;
	if (t <= -8.8e+185) {
		tmp = t_1;
	} else if (t <= -1.16e-240) {
		tmp = b * (a * i);
	} else if (t <= 2.5e-47) {
		tmp = -c * (z * b);
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = c * (t * j)
	tmp = 0
	if t <= -8.8e+185:
		tmp = t_1
	elif t <= -1.16e-240:
		tmp = b * (a * i)
	elif t <= 2.5e-47:
		tmp = -c * (z * b)
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(c * Float64(t * j))
	tmp = 0.0
	if (t <= -8.8e+185)
		tmp = t_1;
	elseif (t <= -1.16e-240)
		tmp = Float64(b * Float64(a * i));
	elseif (t <= 2.5e-47)
		tmp = Float64(Float64(-c) * Float64(z * b));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = c * (t * j);
	tmp = 0.0;
	if (t <= -8.8e+185)
		tmp = t_1;
	elseif (t <= -1.16e-240)
		tmp = b * (a * i);
	elseif (t <= 2.5e-47)
		tmp = -c * (z * b);
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -8.8e+185], t$95$1, If[LessEqual[t, -1.16e-240], N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.5e-47], N[((-c) * N[(z * b), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(t \cdot j\right)\\
\mathbf{if}\;t \leq -8.8 \cdot 10^{+185}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t \leq -1.16 \cdot 10^{-240}:\\
\;\;\;\;b \cdot \left(a \cdot i\right)\\

\mathbf{elif}\;t \leq 2.5 \cdot 10^{-47}:\\
\;\;\;\;\left(-c\right) \cdot \left(z \cdot b\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if t < -8.8000000000000003e185 or 2.50000000000000006e-47 < t

    1. Initial program 63.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. +-commutative63.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-define63.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. *-commutative63.9%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative63.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv63.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub63.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def63.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out63.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg63.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative63.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative63.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified63.9%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in c around inf 48.6%

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t - b \cdot z\right)} \]
    6. Step-by-step derivation
      1. *-commutative48.6%

        \[\leadsto c \cdot \left(\color{blue}{t \cdot j} - b \cdot z\right) \]
      2. *-commutative48.6%

        \[\leadsto c \cdot \left(t \cdot j - \color{blue}{z \cdot b}\right) \]
    7. Simplified48.6%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j - z \cdot b\right)} \]
    8. Taylor expanded in t around inf 41.5%

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t\right)} \]
    9. Step-by-step derivation
      1. *-commutative41.5%

        \[\leadsto c \cdot \color{blue}{\left(t \cdot j\right)} \]
    10. Simplified41.5%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right)} \]

    if -8.8000000000000003e185 < t < -1.16e-240

    1. Initial program 80.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. +-commutative80.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-define81.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. *-commutative81.4%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative81.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv81.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub81.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def81.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out81.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg81.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative81.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative81.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified81.4%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 63.7%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg63.7%

        \[\leadsto \left(\color{blue}{\left(-a \cdot \left(t \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. *-commutative63.7%

        \[\leadsto \left(\left(-\color{blue}{\left(t \cdot x\right) \cdot a}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. associate-*r*60.9%

        \[\leadsto \left(\left(-\color{blue}{t \cdot \left(x \cdot a\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. *-commutative60.9%

        \[\leadsto \left(\left(-t \cdot \color{blue}{\left(a \cdot x\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-neg-out60.9%

        \[\leadsto \left(\color{blue}{t \cdot \left(-a \cdot x\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      6. mul-1-neg60.9%

        \[\leadsto \left(t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. *-commutative60.9%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + c \cdot \color{blue}{\left(t \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. associate-*r*59.8%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(c \cdot t\right) \cdot j}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative59.8%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(t \cdot c\right)} \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. associate-*r*60.0%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{t \cdot \left(c \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      11. distribute-lft-in62.1%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      12. +-commutative62.1%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      13. mul-1-neg62.1%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      14. unsub-neg62.1%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      15. *-commutative62.1%

        \[\leadsto t \cdot \left(c \cdot j - \color{blue}{x \cdot a}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      16. *-commutative62.1%

        \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right) \]
    7. Simplified62.1%

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)} \]
    8. Taylor expanded in c around 0 49.4%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) - -1 \cdot \left(a \cdot \left(b \cdot i\right)\right)} \]
    9. Step-by-step derivation
      1. sub-neg49.4%

        \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right)} \]
      2. associate-*r*49.4%

        \[\leadsto \color{blue}{\left(-1 \cdot a\right) \cdot \left(t \cdot x\right)} + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right) \]
      3. neg-mul-149.4%

        \[\leadsto \color{blue}{\left(-a\right)} \cdot \left(t \cdot x\right) + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right) \]
      4. associate-*r*49.4%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-1 \cdot a\right) \cdot \left(b \cdot i\right)}\right) \]
      5. neg-mul-149.4%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-a\right)} \cdot \left(b \cdot i\right)\right) \]
      6. distribute-rgt-neg-in49.4%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \color{blue}{\left(-a\right) \cdot \left(-b \cdot i\right)} \]
      7. distribute-lft-in50.5%

        \[\leadsto \color{blue}{\left(-a\right) \cdot \left(t \cdot x + \left(-b \cdot i\right)\right)} \]
      8. sub-neg50.5%

        \[\leadsto \left(-a\right) \cdot \color{blue}{\left(t \cdot x - b \cdot i\right)} \]
      9. distribute-lft-neg-in50.5%

        \[\leadsto \color{blue}{-a \cdot \left(t \cdot x - b \cdot i\right)} \]
      10. distribute-rgt-neg-in50.5%

        \[\leadsto \color{blue}{a \cdot \left(-\left(t \cdot x - b \cdot i\right)\right)} \]
      11. sub-neg50.5%

        \[\leadsto a \cdot \left(-\color{blue}{\left(t \cdot x + \left(-b \cdot i\right)\right)}\right) \]
      12. +-commutative50.5%

        \[\leadsto a \cdot \left(-\color{blue}{\left(\left(-b \cdot i\right) + t \cdot x\right)}\right) \]
      13. distribute-neg-in50.5%

        \[\leadsto a \cdot \color{blue}{\left(\left(-\left(-b \cdot i\right)\right) + \left(-t \cdot x\right)\right)} \]
      14. remove-double-neg50.5%

        \[\leadsto a \cdot \left(\color{blue}{b \cdot i} + \left(-t \cdot x\right)\right) \]
      15. sub-neg50.5%

        \[\leadsto a \cdot \color{blue}{\left(b \cdot i - t \cdot x\right)} \]
      16. *-commutative50.5%

        \[\leadsto a \cdot \left(\color{blue}{i \cdot b} - t \cdot x\right) \]
    10. Simplified50.5%

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]
    11. Taylor expanded in i around inf 28.7%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot i\right)} \]
    12. Step-by-step derivation
      1. *-commutative28.7%

        \[\leadsto a \cdot \color{blue}{\left(i \cdot b\right)} \]
      2. *-commutative28.7%

        \[\leadsto \color{blue}{\left(i \cdot b\right) \cdot a} \]
      3. *-commutative28.7%

        \[\leadsto \color{blue}{\left(b \cdot i\right)} \cdot a \]
      4. associate-*r*29.8%

        \[\leadsto \color{blue}{b \cdot \left(i \cdot a\right)} \]
    13. Simplified29.8%

      \[\leadsto \color{blue}{b \cdot \left(i \cdot a\right)} \]

    if -1.16e-240 < t < 2.50000000000000006e-47

    1. Initial program 87.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. +-commutative87.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-define90.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. *-commutative90.0%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative90.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv90.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub90.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def90.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out90.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg90.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative90.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative90.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified90.0%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in c around inf 48.6%

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t - b \cdot z\right)} \]
    6. Step-by-step derivation
      1. *-commutative48.6%

        \[\leadsto c \cdot \left(\color{blue}{t \cdot j} - b \cdot z\right) \]
      2. *-commutative48.6%

        \[\leadsto c \cdot \left(t \cdot j - \color{blue}{z \cdot b}\right) \]
    7. Simplified48.6%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j - z \cdot b\right)} \]
    8. Taylor expanded in t around 0 45.0%

      \[\leadsto c \cdot \color{blue}{\left(-1 \cdot \left(b \cdot z\right)\right)} \]
    9. Step-by-step derivation
      1. mul-1-neg45.0%

        \[\leadsto c \cdot \color{blue}{\left(-b \cdot z\right)} \]
      2. *-commutative45.0%

        \[\leadsto c \cdot \left(-\color{blue}{z \cdot b}\right) \]
      3. distribute-lft-neg-in45.0%

        \[\leadsto c \cdot \color{blue}{\left(\left(-z\right) \cdot b\right)} \]
      4. *-commutative45.0%

        \[\leadsto c \cdot \color{blue}{\left(b \cdot \left(-z\right)\right)} \]
    10. Simplified45.0%

      \[\leadsto c \cdot \color{blue}{\left(b \cdot \left(-z\right)\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification38.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -8.8 \cdot 10^{+185}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;t \leq -1.16 \cdot 10^{-240}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;t \leq 2.5 \cdot 10^{-47}:\\ \;\;\;\;\left(-c\right) \cdot \left(z \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 19: 52.4% accurate, 1.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;a \leq -3.05 \cdot 10^{+25} \lor \neg \left(a \leq 9 \cdot 10^{+69}\right):\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (or (<= a -3.05e+25) (not (<= a 9e+69)))
   (* a (- (* b i) (* x t)))
   (* c (- (* t j) (* z b)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if ((a <= -3.05e+25) || !(a <= 9e+69)) {
		tmp = a * ((b * i) - (x * t));
	} else {
		tmp = c * ((t * j) - (z * b));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8) :: tmp
    if ((a <= (-3.05d+25)) .or. (.not. (a <= 9d+69))) then
        tmp = a * ((b * i) - (x * t))
    else
        tmp = c * ((t * j) - (z * b))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if ((a <= -3.05e+25) || !(a <= 9e+69)) {
		tmp = a * ((b * i) - (x * t));
	} else {
		tmp = c * ((t * j) - (z * b));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if (a <= -3.05e+25) or not (a <= 9e+69):
		tmp = a * ((b * i) - (x * t))
	else:
		tmp = c * ((t * j) - (z * b))
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if ((a <= -3.05e+25) || !(a <= 9e+69))
		tmp = Float64(a * Float64(Float64(b * i) - Float64(x * t)));
	else
		tmp = Float64(c * Float64(Float64(t * j) - Float64(z * b)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if ((a <= -3.05e+25) || ~((a <= 9e+69)))
		tmp = a * ((b * i) - (x * t));
	else
		tmp = c * ((t * j) - (z * b));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[a, -3.05e+25], N[Not[LessEqual[a, 9e+69]], $MachinePrecision]], N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;a \leq -3.05 \cdot 10^{+25} \lor \neg \left(a \leq 9 \cdot 10^{+69}\right):\\
\;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\

\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if a < -3.0500000000000001e25 or 8.9999999999999999e69 < a

    1. Initial program 64.8%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. +-commutative64.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-define67.4%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot t - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      3. *-commutative67.4%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative67.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv67.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub67.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def67.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out67.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg67.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative67.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative67.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified67.4%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 69.4%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg69.4%

        \[\leadsto \left(\color{blue}{\left(-a \cdot \left(t \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. *-commutative69.4%

        \[\leadsto \left(\left(-\color{blue}{\left(t \cdot x\right) \cdot a}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. associate-*r*66.8%

        \[\leadsto \left(\left(-\color{blue}{t \cdot \left(x \cdot a\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. *-commutative66.8%

        \[\leadsto \left(\left(-t \cdot \color{blue}{\left(a \cdot x\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-neg-out66.8%

        \[\leadsto \left(\color{blue}{t \cdot \left(-a \cdot x\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      6. mul-1-neg66.8%

        \[\leadsto \left(t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. *-commutative66.8%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + c \cdot \color{blue}{\left(t \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. associate-*r*65.9%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(c \cdot t\right) \cdot j}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative65.9%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(t \cdot c\right)} \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. associate-*r*66.8%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{t \cdot \left(c \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      11. distribute-lft-in69.4%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      12. +-commutative69.4%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      13. mul-1-neg69.4%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      14. unsub-neg69.4%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      15. *-commutative69.4%

        \[\leadsto t \cdot \left(c \cdot j - \color{blue}{x \cdot a}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      16. *-commutative69.4%

        \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right) \]
    7. Simplified69.4%

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)} \]
    8. Taylor expanded in c around 0 63.7%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) - -1 \cdot \left(a \cdot \left(b \cdot i\right)\right)} \]
    9. Step-by-step derivation
      1. sub-neg63.7%

        \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right)} \]
      2. associate-*r*63.7%

        \[\leadsto \color{blue}{\left(-1 \cdot a\right) \cdot \left(t \cdot x\right)} + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right) \]
      3. neg-mul-163.7%

        \[\leadsto \color{blue}{\left(-a\right)} \cdot \left(t \cdot x\right) + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right) \]
      4. associate-*r*63.7%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-1 \cdot a\right) \cdot \left(b \cdot i\right)}\right) \]
      5. neg-mul-163.7%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-a\right)} \cdot \left(b \cdot i\right)\right) \]
      6. distribute-rgt-neg-in63.7%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \color{blue}{\left(-a\right) \cdot \left(-b \cdot i\right)} \]
      7. distribute-lft-in64.6%

        \[\leadsto \color{blue}{\left(-a\right) \cdot \left(t \cdot x + \left(-b \cdot i\right)\right)} \]
      8. sub-neg64.6%

        \[\leadsto \left(-a\right) \cdot \color{blue}{\left(t \cdot x - b \cdot i\right)} \]
      9. distribute-lft-neg-in64.6%

        \[\leadsto \color{blue}{-a \cdot \left(t \cdot x - b \cdot i\right)} \]
      10. distribute-rgt-neg-in64.6%

        \[\leadsto \color{blue}{a \cdot \left(-\left(t \cdot x - b \cdot i\right)\right)} \]
      11. sub-neg64.6%

        \[\leadsto a \cdot \left(-\color{blue}{\left(t \cdot x + \left(-b \cdot i\right)\right)}\right) \]
      12. +-commutative64.6%

        \[\leadsto a \cdot \left(-\color{blue}{\left(\left(-b \cdot i\right) + t \cdot x\right)}\right) \]
      13. distribute-neg-in64.6%

        \[\leadsto a \cdot \color{blue}{\left(\left(-\left(-b \cdot i\right)\right) + \left(-t \cdot x\right)\right)} \]
      14. remove-double-neg64.6%

        \[\leadsto a \cdot \left(\color{blue}{b \cdot i} + \left(-t \cdot x\right)\right) \]
      15. sub-neg64.6%

        \[\leadsto a \cdot \color{blue}{\left(b \cdot i - t \cdot x\right)} \]
      16. *-commutative64.6%

        \[\leadsto a \cdot \left(\color{blue}{i \cdot b} - t \cdot x\right) \]
    10. Simplified64.6%

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]

    if -3.0500000000000001e25 < a < 8.9999999999999999e69

    1. Initial program 85.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. +-commutative85.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-define85.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. *-commutative85.3%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative85.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv85.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub85.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def85.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out85.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg85.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative85.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative85.3%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified85.3%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in c around inf 49.5%

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t - b \cdot z\right)} \]
    6. Step-by-step derivation
      1. *-commutative49.5%

        \[\leadsto c \cdot \left(\color{blue}{t \cdot j} - b \cdot z\right) \]
      2. *-commutative49.5%

        \[\leadsto c \cdot \left(t \cdot j - \color{blue}{z \cdot b}\right) \]
    7. Simplified49.5%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j - z \cdot b\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification56.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -3.05 \cdot 10^{+25} \lor \neg \left(a \leq 9 \cdot 10^{+69}\right):\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 20: 45.1% accurate, 1.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -2.4 \cdot 10^{-44} \lor \neg \left(z \leq 6.5 \cdot 10^{+86}\right):\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (or (<= z -2.4e-44) (not (<= z 6.5e+86)))
   (* b (- (* a i) (* z c)))
   (* a (- (* b i) (* x t)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if ((z <= -2.4e-44) || !(z <= 6.5e+86)) {
		tmp = b * ((a * i) - (z * c));
	} else {
		tmp = a * ((b * i) - (x * t));
	}
	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 ((z <= (-2.4d-44)) .or. (.not. (z <= 6.5d+86))) then
        tmp = b * ((a * i) - (z * c))
    else
        tmp = a * ((b * i) - (x * t))
    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 ((z <= -2.4e-44) || !(z <= 6.5e+86)) {
		tmp = b * ((a * i) - (z * c));
	} else {
		tmp = a * ((b * i) - (x * t));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if (z <= -2.4e-44) or not (z <= 6.5e+86):
		tmp = b * ((a * i) - (z * c))
	else:
		tmp = a * ((b * i) - (x * t))
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if ((z <= -2.4e-44) || !(z <= 6.5e+86))
		tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c)));
	else
		tmp = Float64(a * Float64(Float64(b * i) - Float64(x * t)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if ((z <= -2.4e-44) || ~((z <= 6.5e+86)))
		tmp = b * ((a * i) - (z * c));
	else
		tmp = a * ((b * i) - (x * t));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[z, -2.4e-44], N[Not[LessEqual[z, 6.5e+86]], $MachinePrecision]], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.4 \cdot 10^{-44} \lor \neg \left(z \leq 6.5 \cdot 10^{+86}\right):\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if z < -2.40000000000000009e-44 or 6.49999999999999996e86 < z

    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-define68.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. *-commutative68.9%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative68.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv68.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub68.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def68.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out68.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg68.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative68.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative68.9%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified68.9%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 61.4%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg61.4%

        \[\leadsto \left(\color{blue}{\left(-a \cdot \left(t \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. *-commutative61.4%

        \[\leadsto \left(\left(-\color{blue}{\left(t \cdot x\right) \cdot a}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. associate-*r*61.4%

        \[\leadsto \left(\left(-\color{blue}{t \cdot \left(x \cdot a\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. *-commutative61.4%

        \[\leadsto \left(\left(-t \cdot \color{blue}{\left(a \cdot x\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-neg-out61.4%

        \[\leadsto \left(\color{blue}{t \cdot \left(-a \cdot x\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      6. mul-1-neg61.4%

        \[\leadsto \left(t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. *-commutative61.4%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + c \cdot \color{blue}{\left(t \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. associate-*r*59.8%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(c \cdot t\right) \cdot j}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative59.8%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(t \cdot c\right)} \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. associate-*r*60.5%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{t \cdot \left(c \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      11. distribute-lft-in60.5%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      12. +-commutative60.5%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      13. mul-1-neg60.5%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      14. unsub-neg60.5%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      15. *-commutative60.5%

        \[\leadsto t \cdot \left(c \cdot j - \color{blue}{x \cdot a}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      16. *-commutative60.5%

        \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right) \]
    7. Simplified60.5%

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)} \]
    8. Taylor expanded in b around inf 56.1%

      \[\leadsto \color{blue}{b \cdot \left(a \cdot i - c \cdot z\right)} \]

    if -2.40000000000000009e-44 < z < 6.49999999999999996e86

    1. Initial program 85.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. +-commutative85.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-define86.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. *-commutative86.0%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative86.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv86.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub86.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def86.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out86.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg86.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative86.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative86.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified86.0%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 67.7%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg67.7%

        \[\leadsto \left(\color{blue}{\left(-a \cdot \left(t \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. *-commutative67.7%

        \[\leadsto \left(\left(-\color{blue}{\left(t \cdot x\right) \cdot a}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. associate-*r*67.9%

        \[\leadsto \left(\left(-\color{blue}{t \cdot \left(x \cdot a\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. *-commutative67.9%

        \[\leadsto \left(\left(-t \cdot \color{blue}{\left(a \cdot x\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-neg-out67.9%

        \[\leadsto \left(\color{blue}{t \cdot \left(-a \cdot x\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      6. mul-1-neg67.9%

        \[\leadsto \left(t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. *-commutative67.9%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + c \cdot \color{blue}{\left(t \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. associate-*r*67.0%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(c \cdot t\right) \cdot j}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative67.0%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(t \cdot c\right)} \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. associate-*r*67.1%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{t \cdot \left(c \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      11. distribute-lft-in69.5%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      12. +-commutative69.5%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      13. mul-1-neg69.5%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      14. unsub-neg69.5%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      15. *-commutative69.5%

        \[\leadsto t \cdot \left(c \cdot j - \color{blue}{x \cdot a}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      16. *-commutative69.5%

        \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right) \]
    7. Simplified69.5%

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)} \]
    8. Taylor expanded in c around 0 48.9%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) - -1 \cdot \left(a \cdot \left(b \cdot i\right)\right)} \]
    9. Step-by-step derivation
      1. sub-neg48.9%

        \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right)} \]
      2. associate-*r*48.9%

        \[\leadsto \color{blue}{\left(-1 \cdot a\right) \cdot \left(t \cdot x\right)} + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right) \]
      3. neg-mul-148.9%

        \[\leadsto \color{blue}{\left(-a\right)} \cdot \left(t \cdot x\right) + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right) \]
      4. associate-*r*48.9%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-1 \cdot a\right) \cdot \left(b \cdot i\right)}\right) \]
      5. neg-mul-148.9%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-a\right)} \cdot \left(b \cdot i\right)\right) \]
      6. distribute-rgt-neg-in48.9%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \color{blue}{\left(-a\right) \cdot \left(-b \cdot i\right)} \]
      7. distribute-lft-in49.0%

        \[\leadsto \color{blue}{\left(-a\right) \cdot \left(t \cdot x + \left(-b \cdot i\right)\right)} \]
      8. sub-neg49.0%

        \[\leadsto \left(-a\right) \cdot \color{blue}{\left(t \cdot x - b \cdot i\right)} \]
      9. distribute-lft-neg-in49.0%

        \[\leadsto \color{blue}{-a \cdot \left(t \cdot x - b \cdot i\right)} \]
      10. distribute-rgt-neg-in49.0%

        \[\leadsto \color{blue}{a \cdot \left(-\left(t \cdot x - b \cdot i\right)\right)} \]
      11. sub-neg49.0%

        \[\leadsto a \cdot \left(-\color{blue}{\left(t \cdot x + \left(-b \cdot i\right)\right)}\right) \]
      12. +-commutative49.0%

        \[\leadsto a \cdot \left(-\color{blue}{\left(\left(-b \cdot i\right) + t \cdot x\right)}\right) \]
      13. distribute-neg-in49.0%

        \[\leadsto a \cdot \color{blue}{\left(\left(-\left(-b \cdot i\right)\right) + \left(-t \cdot x\right)\right)} \]
      14. remove-double-neg49.0%

        \[\leadsto a \cdot \left(\color{blue}{b \cdot i} + \left(-t \cdot x\right)\right) \]
      15. sub-neg49.0%

        \[\leadsto a \cdot \color{blue}{\left(b \cdot i - t \cdot x\right)} \]
      16. *-commutative49.0%

        \[\leadsto a \cdot \left(\color{blue}{i \cdot b} - t \cdot x\right) \]
    10. Simplified49.0%

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification52.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -2.4 \cdot 10^{-44} \lor \neg \left(z \leq 6.5 \cdot 10^{+86}\right):\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 21: 42.0% accurate, 1.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -2 \cdot 10^{+197} \lor \neg \left(z \leq 5.8 \cdot 10^{+108}\right):\\ \;\;\;\;b \cdot \left(z \cdot \left(-c\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (or (<= z -2e+197) (not (<= z 5.8e+108)))
   (* b (* z (- c)))
   (* a (- (* b i) (* x t)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if ((z <= -2e+197) || !(z <= 5.8e+108)) {
		tmp = b * (z * -c);
	} else {
		tmp = a * ((b * i) - (x * t));
	}
	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 ((z <= (-2d+197)) .or. (.not. (z <= 5.8d+108))) then
        tmp = b * (z * -c)
    else
        tmp = a * ((b * i) - (x * t))
    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 ((z <= -2e+197) || !(z <= 5.8e+108)) {
		tmp = b * (z * -c);
	} else {
		tmp = a * ((b * i) - (x * t));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	tmp = 0
	if (z <= -2e+197) or not (z <= 5.8e+108):
		tmp = b * (z * -c)
	else:
		tmp = a * ((b * i) - (x * t))
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if ((z <= -2e+197) || !(z <= 5.8e+108))
		tmp = Float64(b * Float64(z * Float64(-c)));
	else
		tmp = Float64(a * Float64(Float64(b * i) - Float64(x * t)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0;
	if ((z <= -2e+197) || ~((z <= 5.8e+108)))
		tmp = b * (z * -c);
	else
		tmp = a * ((b * i) - (x * t));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[z, -2e+197], N[Not[LessEqual[z, 5.8e+108]], $MachinePrecision]], N[(b * N[(z * (-c)), $MachinePrecision]), $MachinePrecision], N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;z \leq -2 \cdot 10^{+197} \lor \neg \left(z \leq 5.8 \cdot 10^{+108}\right):\\
\;\;\;\;b \cdot \left(z \cdot \left(-c\right)\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if z < -1.9999999999999999e197 or 5.80000000000000015e108 < z

    1. Initial program 61.9%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. +-commutative61.9%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-define64.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. *-commutative64.8%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative64.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv64.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub64.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def64.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out64.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg64.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative64.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative64.8%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified64.8%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in c around inf 52.1%

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t - b \cdot z\right)} \]
    6. Step-by-step derivation
      1. *-commutative52.1%

        \[\leadsto c \cdot \left(\color{blue}{t \cdot j} - b \cdot z\right) \]
      2. *-commutative52.1%

        \[\leadsto c \cdot \left(t \cdot j - \color{blue}{z \cdot b}\right) \]
    7. Simplified52.1%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j - z \cdot b\right)} \]
    8. Taylor expanded in t around 0 59.0%

      \[\leadsto \color{blue}{-1 \cdot \left(b \cdot \left(c \cdot z\right)\right)} \]
    9. Step-by-step derivation
      1. associate-*r*59.0%

        \[\leadsto \color{blue}{\left(-1 \cdot b\right) \cdot \left(c \cdot z\right)} \]
      2. neg-mul-159.0%

        \[\leadsto \color{blue}{\left(-b\right)} \cdot \left(c \cdot z\right) \]
      3. *-commutative59.0%

        \[\leadsto \left(-b\right) \cdot \color{blue}{\left(z \cdot c\right)} \]
    10. Simplified59.0%

      \[\leadsto \color{blue}{\left(-b\right) \cdot \left(z \cdot c\right)} \]

    if -1.9999999999999999e197 < z < 5.80000000000000015e108

    1. Initial program 81.4%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. +-commutative81.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-define82.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. *-commutative82.0%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative82.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv82.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub82.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def82.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out82.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg82.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative82.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative82.0%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified82.0%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 66.1%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg66.1%

        \[\leadsto \left(\color{blue}{\left(-a \cdot \left(t \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. *-commutative66.1%

        \[\leadsto \left(\left(-\color{blue}{\left(t \cdot x\right) \cdot a}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. associate-*r*66.8%

        \[\leadsto \left(\left(-\color{blue}{t \cdot \left(x \cdot a\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. *-commutative66.8%

        \[\leadsto \left(\left(-t \cdot \color{blue}{\left(a \cdot x\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-neg-out66.8%

        \[\leadsto \left(\color{blue}{t \cdot \left(-a \cdot x\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      6. mul-1-neg66.8%

        \[\leadsto \left(t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. *-commutative66.8%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + c \cdot \color{blue}{\left(t \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. associate-*r*65.6%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(c \cdot t\right) \cdot j}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative65.6%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(t \cdot c\right)} \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. associate-*r*65.7%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{t \cdot \left(c \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      11. distribute-lft-in67.3%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      12. +-commutative67.3%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      13. mul-1-neg67.3%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      14. unsub-neg67.3%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      15. *-commutative67.3%

        \[\leadsto t \cdot \left(c \cdot j - \color{blue}{x \cdot a}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      16. *-commutative67.3%

        \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right) \]
    7. Simplified67.3%

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)} \]
    8. Taylor expanded in c around 0 46.1%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) - -1 \cdot \left(a \cdot \left(b \cdot i\right)\right)} \]
    9. Step-by-step derivation
      1. sub-neg46.1%

        \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right)} \]
      2. associate-*r*46.1%

        \[\leadsto \color{blue}{\left(-1 \cdot a\right) \cdot \left(t \cdot x\right)} + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right) \]
      3. neg-mul-146.1%

        \[\leadsto \color{blue}{\left(-a\right)} \cdot \left(t \cdot x\right) + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right) \]
      4. associate-*r*46.1%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-1 \cdot a\right) \cdot \left(b \cdot i\right)}\right) \]
      5. neg-mul-146.1%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-a\right)} \cdot \left(b \cdot i\right)\right) \]
      6. distribute-rgt-neg-in46.1%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \color{blue}{\left(-a\right) \cdot \left(-b \cdot i\right)} \]
      7. distribute-lft-in46.1%

        \[\leadsto \color{blue}{\left(-a\right) \cdot \left(t \cdot x + \left(-b \cdot i\right)\right)} \]
      8. sub-neg46.1%

        \[\leadsto \left(-a\right) \cdot \color{blue}{\left(t \cdot x - b \cdot i\right)} \]
      9. distribute-lft-neg-in46.1%

        \[\leadsto \color{blue}{-a \cdot \left(t \cdot x - b \cdot i\right)} \]
      10. distribute-rgt-neg-in46.1%

        \[\leadsto \color{blue}{a \cdot \left(-\left(t \cdot x - b \cdot i\right)\right)} \]
      11. sub-neg46.1%

        \[\leadsto a \cdot \left(-\color{blue}{\left(t \cdot x + \left(-b \cdot i\right)\right)}\right) \]
      12. +-commutative46.1%

        \[\leadsto a \cdot \left(-\color{blue}{\left(\left(-b \cdot i\right) + t \cdot x\right)}\right) \]
      13. distribute-neg-in46.1%

        \[\leadsto a \cdot \color{blue}{\left(\left(-\left(-b \cdot i\right)\right) + \left(-t \cdot x\right)\right)} \]
      14. remove-double-neg46.1%

        \[\leadsto a \cdot \left(\color{blue}{b \cdot i} + \left(-t \cdot x\right)\right) \]
      15. sub-neg46.1%

        \[\leadsto a \cdot \color{blue}{\left(b \cdot i - t \cdot x\right)} \]
      16. *-commutative46.1%

        \[\leadsto a \cdot \left(\color{blue}{i \cdot b} - t \cdot x\right) \]
    10. Simplified46.1%

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification49.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -2 \cdot 10^{+197} \lor \neg \left(z \leq 5.8 \cdot 10^{+108}\right):\\ \;\;\;\;b \cdot \left(z \cdot \left(-c\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 22: 30.3% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;a \leq -6.1 \cdot 10^{+22}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;a \leq 520:\\ \;\;\;\;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 (<= a -6.1e+22)
   (* i (* a b))
   (if (<= a 520.0) (* 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 (a <= -6.1e+22) {
		tmp = i * (a * b);
	} else if (a <= 520.0) {
		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 (a <= (-6.1d+22)) then
        tmp = i * (a * b)
    else if (a <= 520.0d0) 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 (a <= -6.1e+22) {
		tmp = i * (a * b);
	} else if (a <= 520.0) {
		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 a <= -6.1e+22:
		tmp = i * (a * b)
	elif a <= 520.0:
		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 (a <= -6.1e+22)
		tmp = Float64(i * Float64(a * b));
	elseif (a <= 520.0)
		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 (a <= -6.1e+22)
		tmp = i * (a * b);
	elseif (a <= 520.0)
		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[LessEqual[a, -6.1e+22], N[(i * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 520.0], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;a \leq -6.1 \cdot 10^{+22}:\\
\;\;\;\;i \cdot \left(a \cdot b\right)\\

\mathbf{elif}\;a \leq 520:\\
\;\;\;\;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 3 regimes
  2. if a < -6.0999999999999998e22

    1. Initial program 69.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. +-commutative69.1%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-define73.4%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot t - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      3. *-commutative73.4%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified73.4%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in i around inf 45.0%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(a \cdot b\right)\right)} \]
    6. Step-by-step derivation
      1. distribute-lft-out--45.0%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(j \cdot y - a \cdot b\right)\right)} \]
      2. *-commutative45.0%

        \[\leadsto i \cdot \left(-1 \cdot \left(\color{blue}{y \cdot j} - a \cdot b\right)\right) \]
    7. Simplified45.0%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j - a \cdot b\right)\right)} \]
    8. Taylor expanded in y around 0 38.1%

      \[\leadsto i \cdot \color{blue}{\left(a \cdot b\right)} \]

    if -6.0999999999999998e22 < a < 520

    1. Initial program 84.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. +-commutative84.7%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-define84.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. *-commutative84.7%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative84.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv84.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub84.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def84.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out84.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg84.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative84.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative84.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified84.7%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in c around inf 49.3%

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t - b \cdot z\right)} \]
    6. Step-by-step derivation
      1. *-commutative49.3%

        \[\leadsto c \cdot \left(\color{blue}{t \cdot j} - b \cdot z\right) \]
      2. *-commutative49.3%

        \[\leadsto c \cdot \left(t \cdot j - \color{blue}{z \cdot b}\right) \]
    7. Simplified49.3%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j - z \cdot b\right)} \]
    8. Taylor expanded in t around inf 30.6%

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t\right)} \]
    9. Step-by-step derivation
      1. *-commutative30.6%

        \[\leadsto c \cdot \color{blue}{\left(t \cdot j\right)} \]
    10. Simplified30.6%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right)} \]

    if 520 < a

    1. Initial program 65.1%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. +-commutative65.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-define65.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. *-commutative65.1%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative65.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv65.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub65.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def65.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out65.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg65.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative65.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative65.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified65.1%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in i around inf 52.0%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(a \cdot b\right)\right)} \]
    6. Step-by-step derivation
      1. distribute-lft-out--52.0%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(j \cdot y - a \cdot b\right)\right)} \]
      2. *-commutative52.0%

        \[\leadsto i \cdot \left(-1 \cdot \left(\color{blue}{y \cdot j} - a \cdot b\right)\right) \]
    7. Simplified52.0%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j - a \cdot b\right)\right)} \]
    8. Taylor expanded in y around 0 42.7%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot i\right)} \]
  3. Recombined 3 regimes into one program.
  4. Add Preprocessing

Alternative 23: 30.3% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;a \leq -6.6 \cdot 10^{+22}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;a \leq 0.28:\\ \;\;\;\;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 (<= a -6.6e+22)
   (* b (* a i))
   (if (<= a 0.28) (* 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 (a <= -6.6e+22) {
		tmp = b * (a * i);
	} else if (a <= 0.28) {
		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 (a <= (-6.6d+22)) then
        tmp = b * (a * i)
    else if (a <= 0.28d0) 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 (a <= -6.6e+22) {
		tmp = b * (a * i);
	} else if (a <= 0.28) {
		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 a <= -6.6e+22:
		tmp = b * (a * i)
	elif a <= 0.28:
		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 (a <= -6.6e+22)
		tmp = Float64(b * Float64(a * i));
	elseif (a <= 0.28)
		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 (a <= -6.6e+22)
		tmp = b * (a * i);
	elseif (a <= 0.28)
		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[LessEqual[a, -6.6e+22], N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 0.28], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;a \leq -6.6 \cdot 10^{+22}:\\
\;\;\;\;b \cdot \left(a \cdot i\right)\\

\mathbf{elif}\;a \leq 0.28:\\
\;\;\;\;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 3 regimes
  2. if a < -6.5999999999999996e22

    1. Initial program 69.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. +-commutative69.1%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-define73.4%

        \[\leadsto \color{blue}{\mathsf{fma}\left(j, c \cdot t - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      3. *-commutative73.4%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative73.4%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified73.4%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in y around 0 74.7%

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg74.7%

        \[\leadsto \left(\color{blue}{\left(-a \cdot \left(t \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      2. *-commutative74.7%

        \[\leadsto \left(\left(-\color{blue}{\left(t \cdot x\right) \cdot a}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      3. associate-*r*73.4%

        \[\leadsto \left(\left(-\color{blue}{t \cdot \left(x \cdot a\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      4. *-commutative73.4%

        \[\leadsto \left(\left(-t \cdot \color{blue}{\left(a \cdot x\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      5. distribute-rgt-neg-out73.4%

        \[\leadsto \left(\color{blue}{t \cdot \left(-a \cdot x\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      6. mul-1-neg73.4%

        \[\leadsto \left(t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      7. *-commutative73.4%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + c \cdot \color{blue}{\left(t \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      8. associate-*r*72.0%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(c \cdot t\right) \cdot j}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      9. *-commutative72.0%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(t \cdot c\right)} \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      10. associate-*r*73.4%

        \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{t \cdot \left(c \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      11. distribute-lft-in74.8%

        \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      12. +-commutative74.8%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      13. mul-1-neg74.8%

        \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      14. unsub-neg74.8%

        \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
      15. *-commutative74.8%

        \[\leadsto t \cdot \left(c \cdot j - \color{blue}{x \cdot a}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
      16. *-commutative74.8%

        \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right) \]
    7. Simplified74.8%

      \[\leadsto \color{blue}{t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)} \]
    8. Taylor expanded in c around 0 56.1%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) - -1 \cdot \left(a \cdot \left(b \cdot i\right)\right)} \]
    9. Step-by-step derivation
      1. sub-neg56.1%

        \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right)} \]
      2. associate-*r*56.1%

        \[\leadsto \color{blue}{\left(-1 \cdot a\right) \cdot \left(t \cdot x\right)} + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right) \]
      3. neg-mul-156.1%

        \[\leadsto \color{blue}{\left(-a\right)} \cdot \left(t \cdot x\right) + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right) \]
      4. associate-*r*56.1%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-1 \cdot a\right) \cdot \left(b \cdot i\right)}\right) \]
      5. neg-mul-156.1%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-a\right)} \cdot \left(b \cdot i\right)\right) \]
      6. distribute-rgt-neg-in56.1%

        \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \color{blue}{\left(-a\right) \cdot \left(-b \cdot i\right)} \]
      7. distribute-lft-in57.5%

        \[\leadsto \color{blue}{\left(-a\right) \cdot \left(t \cdot x + \left(-b \cdot i\right)\right)} \]
      8. sub-neg57.5%

        \[\leadsto \left(-a\right) \cdot \color{blue}{\left(t \cdot x - b \cdot i\right)} \]
      9. distribute-lft-neg-in57.5%

        \[\leadsto \color{blue}{-a \cdot \left(t \cdot x - b \cdot i\right)} \]
      10. distribute-rgt-neg-in57.5%

        \[\leadsto \color{blue}{a \cdot \left(-\left(t \cdot x - b \cdot i\right)\right)} \]
      11. sub-neg57.5%

        \[\leadsto a \cdot \left(-\color{blue}{\left(t \cdot x + \left(-b \cdot i\right)\right)}\right) \]
      12. +-commutative57.5%

        \[\leadsto a \cdot \left(-\color{blue}{\left(\left(-b \cdot i\right) + t \cdot x\right)}\right) \]
      13. distribute-neg-in57.5%

        \[\leadsto a \cdot \color{blue}{\left(\left(-\left(-b \cdot i\right)\right) + \left(-t \cdot x\right)\right)} \]
      14. remove-double-neg57.5%

        \[\leadsto a \cdot \left(\color{blue}{b \cdot i} + \left(-t \cdot x\right)\right) \]
      15. sub-neg57.5%

        \[\leadsto a \cdot \color{blue}{\left(b \cdot i - t \cdot x\right)} \]
      16. *-commutative57.5%

        \[\leadsto a \cdot \left(\color{blue}{i \cdot b} - t \cdot x\right) \]
    10. Simplified57.5%

      \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]
    11. Taylor expanded in i around inf 33.2%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot i\right)} \]
    12. Step-by-step derivation
      1. *-commutative33.2%

        \[\leadsto a \cdot \color{blue}{\left(i \cdot b\right)} \]
      2. *-commutative33.2%

        \[\leadsto \color{blue}{\left(i \cdot b\right) \cdot a} \]
      3. *-commutative33.2%

        \[\leadsto \color{blue}{\left(b \cdot i\right)} \cdot a \]
      4. associate-*r*34.6%

        \[\leadsto \color{blue}{b \cdot \left(i \cdot a\right)} \]
    13. Simplified34.6%

      \[\leadsto \color{blue}{b \cdot \left(i \cdot a\right)} \]

    if -6.5999999999999996e22 < a < 0.28000000000000003

    1. Initial program 84.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. +-commutative84.7%

        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
      2. fma-define84.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. *-commutative84.7%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative84.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv84.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub84.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def84.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out84.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg84.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative84.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative84.7%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified84.7%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in c around inf 49.3%

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t - b \cdot z\right)} \]
    6. Step-by-step derivation
      1. *-commutative49.3%

        \[\leadsto c \cdot \left(\color{blue}{t \cdot j} - b \cdot z\right) \]
      2. *-commutative49.3%

        \[\leadsto c \cdot \left(t \cdot j - \color{blue}{z \cdot b}\right) \]
    7. Simplified49.3%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j - z \cdot b\right)} \]
    8. Taylor expanded in t around inf 30.6%

      \[\leadsto \color{blue}{c \cdot \left(j \cdot t\right)} \]
    9. Step-by-step derivation
      1. *-commutative30.6%

        \[\leadsto c \cdot \color{blue}{\left(t \cdot j\right)} \]
    10. Simplified30.6%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot j\right)} \]

    if 0.28000000000000003 < a

    1. Initial program 65.1%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Step-by-step derivation
      1. +-commutative65.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-define65.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. *-commutative65.1%

        \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      4. *-commutative65.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      5. cancel-sign-sub-inv65.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      6. cancel-sign-sub65.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
      7. fmm-def65.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      8. distribute-rgt-neg-out65.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      9. remove-double-neg65.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
      10. *-commutative65.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
      11. *-commutative65.1%

        \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
    3. Simplified65.1%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
    4. Add Preprocessing
    5. Taylor expanded in i around inf 52.0%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(a \cdot b\right)\right)} \]
    6. Step-by-step derivation
      1. distribute-lft-out--52.0%

        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(j \cdot y - a \cdot b\right)\right)} \]
      2. *-commutative52.0%

        \[\leadsto i \cdot \left(-1 \cdot \left(\color{blue}{y \cdot j} - a \cdot b\right)\right) \]
    7. Simplified52.0%

      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j - a \cdot b\right)\right)} \]
    8. Taylor expanded in y around 0 42.7%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot i\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification34.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -6.6 \cdot 10^{+22}:\\ \;\;\;\;b \cdot \left(a \cdot i\right)\\ \mathbf{elif}\;a \leq 0.28:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 24: 22.7% accurate, 5.8× speedup?

\[\begin{array}{l} \\ b \cdot \left(a \cdot i\right) \end{array} \]
(FPCore (x y z t a b c i j) :precision binary64 (* b (* a i)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	return b * (a * i);
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    code = b * (a * i)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	return b * (a * i);
}
def code(x, y, z, t, a, b, c, i, j):
	return b * (a * i)
function code(x, y, z, t, a, b, c, i, j)
	return Float64(b * Float64(a * i))
end
function tmp = code(x, y, z, t, a, b, c, i, j)
	tmp = b * (a * i);
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
b \cdot \left(a \cdot i\right)
\end{array}
Derivation
  1. Initial program 76.2%

    \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
  2. Step-by-step derivation
    1. +-commutative76.2%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
    2. fma-define77.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. *-commutative77.4%

      \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
    4. *-commutative77.4%

      \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
    5. cancel-sign-sub-inv77.4%

      \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
    6. cancel-sign-sub77.4%

      \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
    7. fmm-def77.4%

      \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
    8. distribute-rgt-neg-out77.4%

      \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
    9. remove-double-neg77.4%

      \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
    10. *-commutative77.4%

      \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
    11. *-commutative77.4%

      \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
  3. Simplified77.4%

    \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
  4. Add Preprocessing
  5. Taylor expanded in y around 0 64.5%

    \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
  6. Step-by-step derivation
    1. mul-1-neg64.5%

      \[\leadsto \left(\color{blue}{\left(-a \cdot \left(t \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
    2. *-commutative64.5%

      \[\leadsto \left(\left(-\color{blue}{\left(t \cdot x\right) \cdot a}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
    3. associate-*r*64.7%

      \[\leadsto \left(\left(-\color{blue}{t \cdot \left(x \cdot a\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
    4. *-commutative64.7%

      \[\leadsto \left(\left(-t \cdot \color{blue}{\left(a \cdot x\right)}\right) + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
    5. distribute-rgt-neg-out64.7%

      \[\leadsto \left(\color{blue}{t \cdot \left(-a \cdot x\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
    6. mul-1-neg64.7%

      \[\leadsto \left(t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right)\right)} + c \cdot \left(j \cdot t\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
    7. *-commutative64.7%

      \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + c \cdot \color{blue}{\left(t \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
    8. associate-*r*63.4%

      \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(c \cdot t\right) \cdot j}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
    9. *-commutative63.4%

      \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{\left(t \cdot c\right)} \cdot j\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
    10. associate-*r*63.8%

      \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot x\right)\right) + \color{blue}{t \cdot \left(c \cdot j\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
    11. distribute-lft-in65.0%

      \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
    12. +-commutative65.0%

      \[\leadsto t \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(a \cdot x\right)\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
    13. mul-1-neg65.0%

      \[\leadsto t \cdot \left(c \cdot j + \color{blue}{\left(-a \cdot x\right)}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
    14. unsub-neg65.0%

      \[\leadsto t \cdot \color{blue}{\left(c \cdot j - a \cdot x\right)} - b \cdot \left(c \cdot z - a \cdot i\right) \]
    15. *-commutative65.0%

      \[\leadsto t \cdot \left(c \cdot j - \color{blue}{x \cdot a}\right) - b \cdot \left(c \cdot z - a \cdot i\right) \]
    16. *-commutative65.0%

      \[\leadsto t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(\color{blue}{z \cdot c} - a \cdot i\right) \]
  7. Simplified65.0%

    \[\leadsto \color{blue}{t \cdot \left(c \cdot j - x \cdot a\right) - b \cdot \left(z \cdot c - a \cdot i\right)} \]
  8. Taylor expanded in c around 0 39.5%

    \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) - -1 \cdot \left(a \cdot \left(b \cdot i\right)\right)} \]
  9. Step-by-step derivation
    1. sub-neg39.5%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right)} \]
    2. associate-*r*39.5%

      \[\leadsto \color{blue}{\left(-1 \cdot a\right) \cdot \left(t \cdot x\right)} + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right) \]
    3. neg-mul-139.5%

      \[\leadsto \color{blue}{\left(-a\right)} \cdot \left(t \cdot x\right) + \left(--1 \cdot \left(a \cdot \left(b \cdot i\right)\right)\right) \]
    4. associate-*r*39.5%

      \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-1 \cdot a\right) \cdot \left(b \cdot i\right)}\right) \]
    5. neg-mul-139.5%

      \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \left(-\color{blue}{\left(-a\right)} \cdot \left(b \cdot i\right)\right) \]
    6. distribute-rgt-neg-in39.5%

      \[\leadsto \left(-a\right) \cdot \left(t \cdot x\right) + \color{blue}{\left(-a\right) \cdot \left(-b \cdot i\right)} \]
    7. distribute-lft-in39.9%

      \[\leadsto \color{blue}{\left(-a\right) \cdot \left(t \cdot x + \left(-b \cdot i\right)\right)} \]
    8. sub-neg39.9%

      \[\leadsto \left(-a\right) \cdot \color{blue}{\left(t \cdot x - b \cdot i\right)} \]
    9. distribute-lft-neg-in39.9%

      \[\leadsto \color{blue}{-a \cdot \left(t \cdot x - b \cdot i\right)} \]
    10. distribute-rgt-neg-in39.9%

      \[\leadsto \color{blue}{a \cdot \left(-\left(t \cdot x - b \cdot i\right)\right)} \]
    11. sub-neg39.9%

      \[\leadsto a \cdot \left(-\color{blue}{\left(t \cdot x + \left(-b \cdot i\right)\right)}\right) \]
    12. +-commutative39.9%

      \[\leadsto a \cdot \left(-\color{blue}{\left(\left(-b \cdot i\right) + t \cdot x\right)}\right) \]
    13. distribute-neg-in39.9%

      \[\leadsto a \cdot \color{blue}{\left(\left(-\left(-b \cdot i\right)\right) + \left(-t \cdot x\right)\right)} \]
    14. remove-double-neg39.9%

      \[\leadsto a \cdot \left(\color{blue}{b \cdot i} + \left(-t \cdot x\right)\right) \]
    15. sub-neg39.9%

      \[\leadsto a \cdot \color{blue}{\left(b \cdot i - t \cdot x\right)} \]
    16. *-commutative39.9%

      \[\leadsto a \cdot \left(\color{blue}{i \cdot b} - t \cdot x\right) \]
  10. Simplified39.9%

    \[\leadsto \color{blue}{a \cdot \left(i \cdot b - t \cdot x\right)} \]
  11. Taylor expanded in i around inf 22.1%

    \[\leadsto \color{blue}{a \cdot \left(b \cdot i\right)} \]
  12. Step-by-step derivation
    1. *-commutative22.1%

      \[\leadsto a \cdot \color{blue}{\left(i \cdot b\right)} \]
    2. *-commutative22.1%

      \[\leadsto \color{blue}{\left(i \cdot b\right) \cdot a} \]
    3. *-commutative22.1%

      \[\leadsto \color{blue}{\left(b \cdot i\right)} \cdot a \]
    4. associate-*r*22.8%

      \[\leadsto \color{blue}{b \cdot \left(i \cdot a\right)} \]
  13. Simplified22.8%

    \[\leadsto \color{blue}{b \cdot \left(i \cdot a\right)} \]
  14. Final simplification22.8%

    \[\leadsto b \cdot \left(a \cdot i\right) \]
  15. Add Preprocessing

Alternative 25: 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 76.2%

    \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
  2. Step-by-step derivation
    1. +-commutative76.2%

      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)} \]
    2. fma-define77.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. *-commutative77.4%

      \[\leadsto \mathsf{fma}\left(j, \color{blue}{t \cdot c} - i \cdot y, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
    4. *-commutative77.4%

      \[\leadsto \mathsf{fma}\left(j, t \cdot c - \color{blue}{y \cdot i}, x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) \]
    5. cancel-sign-sub-inv77.4%

      \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) + \left(-b\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
    6. cancel-sign-sub77.4%

      \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, \color{blue}{x \cdot \left(y \cdot z - t \cdot a\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)}\right) \]
    7. fmm-def77.4%

      \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \color{blue}{\mathsf{fma}\left(y, z, -t \cdot a\right)} - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
    8. distribute-rgt-neg-out77.4%

      \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, \color{blue}{t \cdot \left(-a\right)}\right) - \left(-\left(-b\right)\right) \cdot \left(c \cdot z - i \cdot a\right)\right) \]
    9. remove-double-neg77.4%

      \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - \color{blue}{b} \cdot \left(c \cdot z - i \cdot a\right)\right) \]
    10. *-commutative77.4%

      \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(\color{blue}{z \cdot c} - i \cdot a\right)\right) \]
    11. *-commutative77.4%

      \[\leadsto \mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - \color{blue}{a \cdot i}\right)\right) \]
  3. Simplified77.4%

    \[\leadsto \color{blue}{\mathsf{fma}\left(j, t \cdot c - y \cdot i, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)} \]
  4. Add Preprocessing
  5. Taylor expanded in i around inf 38.0%

    \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(a \cdot b\right)\right)} \]
  6. Step-by-step derivation
    1. distribute-lft-out--38.0%

      \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(j \cdot y - a \cdot b\right)\right)} \]
    2. *-commutative38.0%

      \[\leadsto i \cdot \left(-1 \cdot \left(\color{blue}{y \cdot j} - a \cdot b\right)\right) \]
  7. Simplified38.0%

    \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(y \cdot j - a \cdot b\right)\right)} \]
  8. Taylor expanded in y around 0 22.1%

    \[\leadsto \color{blue}{a \cdot \left(b \cdot i\right)} \]
  9. Add Preprocessing

Developer Target 1: 67.6% 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 2024157 
(FPCore (x y z t a b c i j)
  :name "Linear.Matrix:det33 from linear-1.19.1.3"
  :precision binary64

  :alt
  (! :herbie-platform default (if (< t -1015122364899489/125000000000000000000000000000000000000000000000) (- (* x (- (* z y) (* a t))) (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j))) (if (< t -942510763643697/2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (/ (* j (- (pow (* c t) 2) (pow (* i y) 2))) (+ (* c t) (* i y)))) (if (< t -238547917063487/3125000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (- (* x (- (* z y) (* a t))) (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j))) (if (< t 10535888557455487/100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (/ (* j (- (pow (* c t) 2) (pow (* i y) 2))) (+ (* 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)))))