Linear.V4:$cdot from linear-1.19.1.3, C

Percentage Accurate: 95.7% → 99.0%
Time: 10.7s
Alternatives: 13
Speedup: 0.5×

Specification

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

\\
\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i
\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 13 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: 95.7% accurate, 1.0× speedup?

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

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

Alternative 1: 99.0% accurate, 0.3× speedup?

\[\begin{array}{l} [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\ \\ \begin{array}{l} t_1 := \left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i\\ \mathbf{if}\;t\_1 \leq \infty:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;c \cdot \mathsf{fma}\left(a, \frac{b}{c}, \mathsf{fma}\left(x, \frac{y}{c}, \mathsf{fma}\left(t, \frac{z}{c}, i\right)\right)\right)\\ \end{array} \end{array} \]
NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
(FPCore (x y z t a b c i)
 :precision binary64
 (let* ((t_1 (+ (+ (+ (* x y) (* z t)) (* a b)) (* c i))))
   (if (<= t_1 INFINITY)
     t_1
     (* c (fma a (/ b c) (fma x (/ y c) (fma t (/ z c) i)))))))
assert(x < y && y < z && z < t && t < a && a < b && b < c && c < i);
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
	double t_1 = (((x * y) + (z * t)) + (a * b)) + (c * i);
	double tmp;
	if (t_1 <= ((double) INFINITY)) {
		tmp = t_1;
	} else {
		tmp = c * fma(a, (b / c), fma(x, (y / c), fma(t, (z / c), i)));
	}
	return tmp;
}
x, y, z, t, a, b, c, i = sort([x, y, z, t, a, b, c, i])
function code(x, y, z, t, a, b, c, i)
	t_1 = Float64(Float64(Float64(Float64(x * y) + Float64(z * t)) + Float64(a * b)) + Float64(c * i))
	tmp = 0.0
	if (t_1 <= Inf)
		tmp = t_1;
	else
		tmp = Float64(c * fma(a, Float64(b / c), fma(x, Float64(y / c), fma(t, Float64(z / c), i))));
	end
	return tmp
end
NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(N[(x * y), $MachinePrecision] + N[(z * t), $MachinePrecision]), $MachinePrecision] + N[(a * b), $MachinePrecision]), $MachinePrecision] + N[(c * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(c * N[(a * N[(b / c), $MachinePrecision] + N[(x * N[(y / c), $MachinePrecision] + N[(t * N[(z / c), $MachinePrecision] + i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
[x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\
\\
\begin{array}{l}
t_1 := \left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if (+.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) (*.f64 c i)) < +inf.0

    1. Initial program 100.0%

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

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

    1. Initial program 0.0%

      \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf

      \[\leadsto \color{blue}{c \cdot \left(i + \left(\frac{a \cdot b}{c} + \left(\frac{t \cdot z}{c} + \frac{x \cdot y}{c}\right)\right)\right)} \]
    4. Step-by-step derivation
      1. lower-*.f64N/A

        \[\leadsto \color{blue}{c \cdot \left(i + \left(\frac{a \cdot b}{c} + \left(\frac{t \cdot z}{c} + \frac{x \cdot y}{c}\right)\right)\right)} \]
      2. +-commutativeN/A

        \[\leadsto c \cdot \color{blue}{\left(\left(\frac{a \cdot b}{c} + \left(\frac{t \cdot z}{c} + \frac{x \cdot y}{c}\right)\right) + i\right)} \]
      3. associate-+l+N/A

        \[\leadsto c \cdot \color{blue}{\left(\frac{a \cdot b}{c} + \left(\left(\frac{t \cdot z}{c} + \frac{x \cdot y}{c}\right) + i\right)\right)} \]
      4. associate-/l*N/A

        \[\leadsto c \cdot \left(\color{blue}{a \cdot \frac{b}{c}} + \left(\left(\frac{t \cdot z}{c} + \frac{x \cdot y}{c}\right) + i\right)\right) \]
      5. lower-fma.f64N/A

        \[\leadsto c \cdot \color{blue}{\mathsf{fma}\left(a, \frac{b}{c}, \left(\frac{t \cdot z}{c} + \frac{x \cdot y}{c}\right) + i\right)} \]
      6. lower-/.f64N/A

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

        \[\leadsto c \cdot \mathsf{fma}\left(a, \frac{b}{c}, \color{blue}{\left(\frac{x \cdot y}{c} + \frac{t \cdot z}{c}\right)} + i\right) \]
      8. associate-+l+N/A

        \[\leadsto c \cdot \mathsf{fma}\left(a, \frac{b}{c}, \color{blue}{\frac{x \cdot y}{c} + \left(\frac{t \cdot z}{c} + i\right)}\right) \]
      9. associate-/l*N/A

        \[\leadsto c \cdot \mathsf{fma}\left(a, \frac{b}{c}, \color{blue}{x \cdot \frac{y}{c}} + \left(\frac{t \cdot z}{c} + i\right)\right) \]
      10. lower-fma.f64N/A

        \[\leadsto c \cdot \mathsf{fma}\left(a, \frac{b}{c}, \color{blue}{\mathsf{fma}\left(x, \frac{y}{c}, \frac{t \cdot z}{c} + i\right)}\right) \]
      11. lower-/.f64N/A

        \[\leadsto c \cdot \mathsf{fma}\left(a, \frac{b}{c}, \mathsf{fma}\left(x, \color{blue}{\frac{y}{c}}, \frac{t \cdot z}{c} + i\right)\right) \]
      12. associate-/l*N/A

        \[\leadsto c \cdot \mathsf{fma}\left(a, \frac{b}{c}, \mathsf{fma}\left(x, \frac{y}{c}, \color{blue}{t \cdot \frac{z}{c}} + i\right)\right) \]
      13. lower-fma.f64N/A

        \[\leadsto c \cdot \mathsf{fma}\left(a, \frac{b}{c}, \mathsf{fma}\left(x, \frac{y}{c}, \color{blue}{\mathsf{fma}\left(t, \frac{z}{c}, i\right)}\right)\right) \]
      14. lower-/.f6471.4

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

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

Alternative 2: 98.5% accurate, 0.4× speedup?

\[\begin{array}{l} [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\ \\ \begin{array}{l} t_1 := \left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i\\ \mathbf{if}\;t\_1 \leq \infty:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;x \cdot \mathsf{fma}\left(t, \frac{z}{x}, \mathsf{fma}\left(a, \frac{b}{x}, y\right)\right)\\ \end{array} \end{array} \]
NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
(FPCore (x y z t a b c i)
 :precision binary64
 (let* ((t_1 (+ (+ (+ (* x y) (* z t)) (* a b)) (* c i))))
   (if (<= t_1 INFINITY) t_1 (* x (fma t (/ z x) (fma a (/ b x) y))))))
assert(x < y && y < z && z < t && t < a && a < b && b < c && c < i);
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
	double t_1 = (((x * y) + (z * t)) + (a * b)) + (c * i);
	double tmp;
	if (t_1 <= ((double) INFINITY)) {
		tmp = t_1;
	} else {
		tmp = x * fma(t, (z / x), fma(a, (b / x), y));
	}
	return tmp;
}
x, y, z, t, a, b, c, i = sort([x, y, z, t, a, b, c, i])
function code(x, y, z, t, a, b, c, i)
	t_1 = Float64(Float64(Float64(Float64(x * y) + Float64(z * t)) + Float64(a * b)) + Float64(c * i))
	tmp = 0.0
	if (t_1 <= Inf)
		tmp = t_1;
	else
		tmp = Float64(x * fma(t, Float64(z / x), fma(a, Float64(b / x), y)));
	end
	return tmp
end
NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(N[(x * y), $MachinePrecision] + N[(z * t), $MachinePrecision]), $MachinePrecision] + N[(a * b), $MachinePrecision]), $MachinePrecision] + N[(c * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(x * N[(t * N[(z / x), $MachinePrecision] + N[(a * N[(b / x), $MachinePrecision] + y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
[x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\
\\
\begin{array}{l}
t_1 := \left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;x \cdot \mathsf{fma}\left(t, \frac{z}{x}, \mathsf{fma}\left(a, \frac{b}{x}, y\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if (+.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) (*.f64 c i)) < +inf.0

    1. Initial program 100.0%

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

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

    1. Initial program 0.0%

      \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
    2. Add Preprocessing
    3. Taylor expanded in c around 0

      \[\leadsto \color{blue}{a \cdot b + \left(t \cdot z + x \cdot y\right)} \]
    4. Step-by-step derivation
      1. associate-+r+N/A

        \[\leadsto \color{blue}{\left(a \cdot b + t \cdot z\right) + x \cdot y} \]
      2. +-commutativeN/A

        \[\leadsto \color{blue}{x \cdot y + \left(a \cdot b + t \cdot z\right)} \]
      3. lower-fma.f64N/A

        \[\leadsto \color{blue}{\mathsf{fma}\left(x, y, a \cdot b + t \cdot z\right)} \]
      4. lower-fma.f64N/A

        \[\leadsto \mathsf{fma}\left(x, y, \color{blue}{\mathsf{fma}\left(a, b, t \cdot z\right)}\right) \]
      5. lower-*.f6450.0

        \[\leadsto \mathsf{fma}\left(x, y, \mathsf{fma}\left(a, b, \color{blue}{t \cdot z}\right)\right) \]
    5. Applied rewrites50.0%

      \[\leadsto \color{blue}{\mathsf{fma}\left(x, y, \mathsf{fma}\left(a, b, t \cdot z\right)\right)} \]
    6. Taylor expanded in x around inf

      \[\leadsto x \cdot \color{blue}{\left(y + \left(\frac{a \cdot b}{x} + \frac{t \cdot z}{x}\right)\right)} \]
    7. Step-by-step derivation
      1. Applied rewrites71.4%

        \[\leadsto x \cdot \color{blue}{\mathsf{fma}\left(t, \frac{z}{x}, \mathsf{fma}\left(a, \frac{b}{x}, y\right)\right)} \]
    8. Recombined 2 regimes into one program.
    9. Add Preprocessing

    Alternative 3: 73.8% accurate, 0.4× speedup?

    \[\begin{array}{l} [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\ \\ \begin{array}{l} t_1 := \mathsf{fma}\left(x, y, z \cdot t\right)\\ t_2 := x \cdot y + z \cdot t\\ \mathbf{if}\;t\_2 \leq -2 \cdot 10^{+87}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t\_2 \leq 5 \cdot 10^{+18}:\\ \;\;\;\;\mathsf{fma}\left(i, c, a \cdot b\right)\\ \mathbf{elif}\;t\_2 \leq 10^{+141}:\\ \;\;\;\;\mathsf{fma}\left(x, y, a \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
    NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
    (FPCore (x y z t a b c i)
     :precision binary64
     (let* ((t_1 (fma x y (* z t))) (t_2 (+ (* x y) (* z t))))
       (if (<= t_2 -2e+87)
         t_1
         (if (<= t_2 5e+18)
           (fma i c (* a b))
           (if (<= t_2 1e+141) (fma x y (* a b)) t_1)))))
    assert(x < y && y < z && z < t && t < a && a < b && b < c && c < i);
    double code(double x, double y, double z, double t, double a, double b, double c, double i) {
    	double t_1 = fma(x, y, (z * t));
    	double t_2 = (x * y) + (z * t);
    	double tmp;
    	if (t_2 <= -2e+87) {
    		tmp = t_1;
    	} else if (t_2 <= 5e+18) {
    		tmp = fma(i, c, (a * b));
    	} else if (t_2 <= 1e+141) {
    		tmp = fma(x, y, (a * b));
    	} else {
    		tmp = t_1;
    	}
    	return tmp;
    }
    
    x, y, z, t, a, b, c, i = sort([x, y, z, t, a, b, c, i])
    function code(x, y, z, t, a, b, c, i)
    	t_1 = fma(x, y, Float64(z * t))
    	t_2 = Float64(Float64(x * y) + Float64(z * t))
    	tmp = 0.0
    	if (t_2 <= -2e+87)
    		tmp = t_1;
    	elseif (t_2 <= 5e+18)
    		tmp = fma(i, c, Float64(a * b));
    	elseif (t_2 <= 1e+141)
    		tmp = fma(x, y, Float64(a * b));
    	else
    		tmp = t_1;
    	end
    	return tmp
    end
    
    NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
    code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(x * y + N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y), $MachinePrecision] + N[(z * t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$2, -2e+87], t$95$1, If[LessEqual[t$95$2, 5e+18], N[(i * c + N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$2, 1e+141], N[(x * y + N[(a * b), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
    
    \begin{array}{l}
    [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\
    \\
    \begin{array}{l}
    t_1 := \mathsf{fma}\left(x, y, z \cdot t\right)\\
    t_2 := x \cdot y + z \cdot t\\
    \mathbf{if}\;t\_2 \leq -2 \cdot 10^{+87}:\\
    \;\;\;\;t\_1\\
    
    \mathbf{elif}\;t\_2 \leq 5 \cdot 10^{+18}:\\
    \;\;\;\;\mathsf{fma}\left(i, c, a \cdot b\right)\\
    
    \mathbf{elif}\;t\_2 \leq 10^{+141}:\\
    \;\;\;\;\mathsf{fma}\left(x, y, a \cdot b\right)\\
    
    \mathbf{else}:\\
    \;\;\;\;t\_1\\
    
    
    \end{array}
    \end{array}
    
    Derivation
    1. Split input into 3 regimes
    2. if (+.f64 (*.f64 x y) (*.f64 z t)) < -1.9999999999999999e87 or 1.00000000000000002e141 < (+.f64 (*.f64 x y) (*.f64 z t))

      1. Initial program 92.4%

        \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
      2. Add Preprocessing
      3. Taylor expanded in c around 0

        \[\leadsto \color{blue}{a \cdot b + \left(t \cdot z + x \cdot y\right)} \]
      4. Step-by-step derivation
        1. associate-+r+N/A

          \[\leadsto \color{blue}{\left(a \cdot b + t \cdot z\right) + x \cdot y} \]
        2. +-commutativeN/A

          \[\leadsto \color{blue}{x \cdot y + \left(a \cdot b + t \cdot z\right)} \]
        3. lower-fma.f64N/A

          \[\leadsto \color{blue}{\mathsf{fma}\left(x, y, a \cdot b + t \cdot z\right)} \]
        4. lower-fma.f64N/A

          \[\leadsto \mathsf{fma}\left(x, y, \color{blue}{\mathsf{fma}\left(a, b, t \cdot z\right)}\right) \]
        5. lower-*.f6490.9

          \[\leadsto \mathsf{fma}\left(x, y, \mathsf{fma}\left(a, b, \color{blue}{t \cdot z}\right)\right) \]
      5. Applied rewrites90.9%

        \[\leadsto \color{blue}{\mathsf{fma}\left(x, y, \mathsf{fma}\left(a, b, t \cdot z\right)\right)} \]
      6. Taylor expanded in a around 0

        \[\leadsto \mathsf{fma}\left(x, y, t \cdot z\right) \]
      7. Step-by-step derivation
        1. Applied rewrites79.5%

          \[\leadsto \mathsf{fma}\left(x, y, t \cdot z\right) \]

        if -1.9999999999999999e87 < (+.f64 (*.f64 x y) (*.f64 z t)) < 5e18

        1. Initial program 96.4%

          \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
        2. Add Preprocessing
        3. Taylor expanded in a around inf

          \[\leadsto \color{blue}{a \cdot b} + c \cdot i \]
        4. Step-by-step derivation
          1. lower-*.f6481.9

            \[\leadsto \color{blue}{a \cdot b} + c \cdot i \]
        5. Applied rewrites81.9%

          \[\leadsto \color{blue}{a \cdot b} + c \cdot i \]
        6. Step-by-step derivation
          1. lift-+.f64N/A

            \[\leadsto \color{blue}{a \cdot b + c \cdot i} \]
          2. +-commutativeN/A

            \[\leadsto \color{blue}{c \cdot i + a \cdot b} \]
          3. lift-*.f64N/A

            \[\leadsto \color{blue}{c \cdot i} + a \cdot b \]
          4. *-commutativeN/A

            \[\leadsto \color{blue}{i \cdot c} + a \cdot b \]
          5. lower-fma.f6483.2

            \[\leadsto \color{blue}{\mathsf{fma}\left(i, c, a \cdot b\right)} \]
        7. Applied rewrites83.2%

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

        if 5e18 < (+.f64 (*.f64 x y) (*.f64 z t)) < 1.00000000000000002e141

        1. Initial program 99.8%

          \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
        2. Add Preprocessing
        3. Taylor expanded in c around 0

          \[\leadsto \color{blue}{a \cdot b + \left(t \cdot z + x \cdot y\right)} \]
        4. Step-by-step derivation
          1. associate-+r+N/A

            \[\leadsto \color{blue}{\left(a \cdot b + t \cdot z\right) + x \cdot y} \]
          2. +-commutativeN/A

            \[\leadsto \color{blue}{x \cdot y + \left(a \cdot b + t \cdot z\right)} \]
          3. lower-fma.f64N/A

            \[\leadsto \color{blue}{\mathsf{fma}\left(x, y, a \cdot b + t \cdot z\right)} \]
          4. lower-fma.f64N/A

            \[\leadsto \mathsf{fma}\left(x, y, \color{blue}{\mathsf{fma}\left(a, b, t \cdot z\right)}\right) \]
          5. lower-*.f6486.1

            \[\leadsto \mathsf{fma}\left(x, y, \mathsf{fma}\left(a, b, \color{blue}{t \cdot z}\right)\right) \]
        5. Applied rewrites86.1%

          \[\leadsto \color{blue}{\mathsf{fma}\left(x, y, \mathsf{fma}\left(a, b, t \cdot z\right)\right)} \]
        6. Taylor expanded in a around inf

          \[\leadsto \mathsf{fma}\left(x, y, a \cdot b\right) \]
        7. Step-by-step derivation
          1. Applied rewrites72.8%

            \[\leadsto \mathsf{fma}\left(x, y, a \cdot b\right) \]
        8. Recombined 3 regimes into one program.
        9. Final simplification79.9%

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

        Alternative 4: 97.5% accurate, 0.5× speedup?

        \[\begin{array}{l} [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\ \\ \begin{array}{l} t_1 := \left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i\\ \mathbf{if}\;t\_1 \leq \infty:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(x, y, z \cdot t\right)\\ \end{array} \end{array} \]
        NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
        (FPCore (x y z t a b c i)
         :precision binary64
         (let* ((t_1 (+ (+ (+ (* x y) (* z t)) (* a b)) (* c i))))
           (if (<= t_1 INFINITY) t_1 (fma x y (* z t)))))
        assert(x < y && y < z && z < t && t < a && a < b && b < c && c < i);
        double code(double x, double y, double z, double t, double a, double b, double c, double i) {
        	double t_1 = (((x * y) + (z * t)) + (a * b)) + (c * i);
        	double tmp;
        	if (t_1 <= ((double) INFINITY)) {
        		tmp = t_1;
        	} else {
        		tmp = fma(x, y, (z * t));
        	}
        	return tmp;
        }
        
        x, y, z, t, a, b, c, i = sort([x, y, z, t, a, b, c, i])
        function code(x, y, z, t, a, b, c, i)
        	t_1 = Float64(Float64(Float64(Float64(x * y) + Float64(z * t)) + Float64(a * b)) + Float64(c * i))
        	tmp = 0.0
        	if (t_1 <= Inf)
        		tmp = t_1;
        	else
        		tmp = fma(x, y, Float64(z * t));
        	end
        	return tmp
        end
        
        NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
        code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(N[(x * y), $MachinePrecision] + N[(z * t), $MachinePrecision]), $MachinePrecision] + N[(a * b), $MachinePrecision]), $MachinePrecision] + N[(c * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(x * y + N[(z * t), $MachinePrecision]), $MachinePrecision]]]
        
        \begin{array}{l}
        [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\
        \\
        \begin{array}{l}
        t_1 := \left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i\\
        \mathbf{if}\;t\_1 \leq \infty:\\
        \;\;\;\;t\_1\\
        
        \mathbf{else}:\\
        \;\;\;\;\mathsf{fma}\left(x, y, z \cdot t\right)\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 2 regimes
        2. if (+.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) (*.f64 c i)) < +inf.0

          1. Initial program 100.0%

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

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

          1. Initial program 0.0%

            \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
          2. Add Preprocessing
          3. Taylor expanded in c around 0

            \[\leadsto \color{blue}{a \cdot b + \left(t \cdot z + x \cdot y\right)} \]
          4. Step-by-step derivation
            1. associate-+r+N/A

              \[\leadsto \color{blue}{\left(a \cdot b + t \cdot z\right) + x \cdot y} \]
            2. +-commutativeN/A

              \[\leadsto \color{blue}{x \cdot y + \left(a \cdot b + t \cdot z\right)} \]
            3. lower-fma.f64N/A

              \[\leadsto \color{blue}{\mathsf{fma}\left(x, y, a \cdot b + t \cdot z\right)} \]
            4. lower-fma.f64N/A

              \[\leadsto \mathsf{fma}\left(x, y, \color{blue}{\mathsf{fma}\left(a, b, t \cdot z\right)}\right) \]
            5. lower-*.f6450.0

              \[\leadsto \mathsf{fma}\left(x, y, \mathsf{fma}\left(a, b, \color{blue}{t \cdot z}\right)\right) \]
          5. Applied rewrites50.0%

            \[\leadsto \color{blue}{\mathsf{fma}\left(x, y, \mathsf{fma}\left(a, b, t \cdot z\right)\right)} \]
          6. Taylor expanded in a around 0

            \[\leadsto \mathsf{fma}\left(x, y, t \cdot z\right) \]
          7. Step-by-step derivation
            1. Applied rewrites50.6%

              \[\leadsto \mathsf{fma}\left(x, y, t \cdot z\right) \]
          8. Recombined 2 regimes into one program.
          9. Final simplification97.3%

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

          Alternative 5: 42.4% accurate, 0.6× speedup?

          \[\begin{array}{l} [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\ \\ \begin{array}{l} \mathbf{if}\;a \cdot b \leq -2.2 \cdot 10^{+194}:\\ \;\;\;\;a \cdot b\\ \mathbf{elif}\;a \cdot b \leq -1.25 \cdot 10^{-9}:\\ \;\;\;\;x \cdot y\\ \mathbf{elif}\;a \cdot b \leq 1.28 \cdot 10^{-263}:\\ \;\;\;\;z \cdot t\\ \mathbf{elif}\;a \cdot b \leq 3.1 \cdot 10^{+112}:\\ \;\;\;\;x \cdot y\\ \mathbf{else}:\\ \;\;\;\;a \cdot b\\ \end{array} \end{array} \]
          NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
          (FPCore (x y z t a b c i)
           :precision binary64
           (if (<= (* a b) -2.2e+194)
             (* a b)
             (if (<= (* a b) -1.25e-9)
               (* x y)
               (if (<= (* a b) 1.28e-263)
                 (* z t)
                 (if (<= (* a b) 3.1e+112) (* x y) (* a b))))))
          assert(x < y && y < z && z < t && t < a && a < b && b < c && c < i);
          double code(double x, double y, double z, double t, double a, double b, double c, double i) {
          	double tmp;
          	if ((a * b) <= -2.2e+194) {
          		tmp = a * b;
          	} else if ((a * b) <= -1.25e-9) {
          		tmp = x * y;
          	} else if ((a * b) <= 1.28e-263) {
          		tmp = z * t;
          	} else if ((a * b) <= 3.1e+112) {
          		tmp = x * y;
          	} else {
          		tmp = a * b;
          	}
          	return tmp;
          }
          
          NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
          real(8) function code(x, y, z, t, a, b, c, i)
              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) :: tmp
              if ((a * b) <= (-2.2d+194)) then
                  tmp = a * b
              else if ((a * b) <= (-1.25d-9)) then
                  tmp = x * y
              else if ((a * b) <= 1.28d-263) then
                  tmp = z * t
              else if ((a * b) <= 3.1d+112) then
                  tmp = x * y
              else
                  tmp = a * b
              end if
              code = tmp
          end function
          
          assert x < y && y < z && z < t && t < a && a < b && b < c && c < i;
          public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
          	double tmp;
          	if ((a * b) <= -2.2e+194) {
          		tmp = a * b;
          	} else if ((a * b) <= -1.25e-9) {
          		tmp = x * y;
          	} else if ((a * b) <= 1.28e-263) {
          		tmp = z * t;
          	} else if ((a * b) <= 3.1e+112) {
          		tmp = x * y;
          	} else {
          		tmp = a * b;
          	}
          	return tmp;
          }
          
          [x, y, z, t, a, b, c, i] = sort([x, y, z, t, a, b, c, i])
          def code(x, y, z, t, a, b, c, i):
          	tmp = 0
          	if (a * b) <= -2.2e+194:
          		tmp = a * b
          	elif (a * b) <= -1.25e-9:
          		tmp = x * y
          	elif (a * b) <= 1.28e-263:
          		tmp = z * t
          	elif (a * b) <= 3.1e+112:
          		tmp = x * y
          	else:
          		tmp = a * b
          	return tmp
          
          x, y, z, t, a, b, c, i = sort([x, y, z, t, a, b, c, i])
          function code(x, y, z, t, a, b, c, i)
          	tmp = 0.0
          	if (Float64(a * b) <= -2.2e+194)
          		tmp = Float64(a * b);
          	elseif (Float64(a * b) <= -1.25e-9)
          		tmp = Float64(x * y);
          	elseif (Float64(a * b) <= 1.28e-263)
          		tmp = Float64(z * t);
          	elseif (Float64(a * b) <= 3.1e+112)
          		tmp = Float64(x * y);
          	else
          		tmp = Float64(a * b);
          	end
          	return tmp
          end
          
          x, y, z, t, a, b, c, i = num2cell(sort([x, y, z, t, a, b, c, i])){:}
          function tmp_2 = code(x, y, z, t, a, b, c, i)
          	tmp = 0.0;
          	if ((a * b) <= -2.2e+194)
          		tmp = a * b;
          	elseif ((a * b) <= -1.25e-9)
          		tmp = x * y;
          	elseif ((a * b) <= 1.28e-263)
          		tmp = z * t;
          	elseif ((a * b) <= 3.1e+112)
          		tmp = x * y;
          	else
          		tmp = a * b;
          	end
          	tmp_2 = tmp;
          end
          
          NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
          code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[N[(a * b), $MachinePrecision], -2.2e+194], N[(a * b), $MachinePrecision], If[LessEqual[N[(a * b), $MachinePrecision], -1.25e-9], N[(x * y), $MachinePrecision], If[LessEqual[N[(a * b), $MachinePrecision], 1.28e-263], N[(z * t), $MachinePrecision], If[LessEqual[N[(a * b), $MachinePrecision], 3.1e+112], N[(x * y), $MachinePrecision], N[(a * b), $MachinePrecision]]]]]
          
          \begin{array}{l}
          [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\
          \\
          \begin{array}{l}
          \mathbf{if}\;a \cdot b \leq -2.2 \cdot 10^{+194}:\\
          \;\;\;\;a \cdot b\\
          
          \mathbf{elif}\;a \cdot b \leq -1.25 \cdot 10^{-9}:\\
          \;\;\;\;x \cdot y\\
          
          \mathbf{elif}\;a \cdot b \leq 1.28 \cdot 10^{-263}:\\
          \;\;\;\;z \cdot t\\
          
          \mathbf{elif}\;a \cdot b \leq 3.1 \cdot 10^{+112}:\\
          \;\;\;\;x \cdot y\\
          
          \mathbf{else}:\\
          \;\;\;\;a \cdot b\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 3 regimes
          2. if (*.f64 a b) < -2.2000000000000001e194 or 3.09999999999999983e112 < (*.f64 a b)

            1. Initial program 85.9%

              \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
            2. Add Preprocessing
            3. Taylor expanded in a around inf

              \[\leadsto \color{blue}{a \cdot b} \]
            4. Step-by-step derivation
              1. lower-*.f6474.4

                \[\leadsto \color{blue}{a \cdot b} \]
            5. Applied rewrites74.4%

              \[\leadsto \color{blue}{a \cdot b} \]

            if -2.2000000000000001e194 < (*.f64 a b) < -1.25e-9 or 1.27999999999999998e-263 < (*.f64 a b) < 3.09999999999999983e112

            1. Initial program 98.0%

              \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
            2. Add Preprocessing
            3. Taylor expanded in x around inf

              \[\leadsto \color{blue}{x \cdot y} \]
            4. Step-by-step derivation
              1. lower-*.f6445.4

                \[\leadsto \color{blue}{x \cdot y} \]
            5. Applied rewrites45.4%

              \[\leadsto \color{blue}{x \cdot y} \]

            if -1.25e-9 < (*.f64 a b) < 1.27999999999999998e-263

            1. Initial program 99.9%

              \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
            2. Add Preprocessing
            3. Taylor expanded in z around inf

              \[\leadsto \color{blue}{t \cdot z} \]
            4. Step-by-step derivation
              1. lower-*.f6443.8

                \[\leadsto \color{blue}{t \cdot z} \]
            5. Applied rewrites43.8%

              \[\leadsto \color{blue}{t \cdot z} \]
          3. Recombined 3 regimes into one program.
          4. Final simplification54.6%

            \[\leadsto \begin{array}{l} \mathbf{if}\;a \cdot b \leq -2.2 \cdot 10^{+194}:\\ \;\;\;\;a \cdot b\\ \mathbf{elif}\;a \cdot b \leq -1.25 \cdot 10^{-9}:\\ \;\;\;\;x \cdot y\\ \mathbf{elif}\;a \cdot b \leq 1.28 \cdot 10^{-263}:\\ \;\;\;\;z \cdot t\\ \mathbf{elif}\;a \cdot b \leq 3.1 \cdot 10^{+112}:\\ \;\;\;\;x \cdot y\\ \mathbf{else}:\\ \;\;\;\;a \cdot b\\ \end{array} \]
          5. Add Preprocessing

          Alternative 6: 89.6% accurate, 0.7× speedup?

          \[\begin{array}{l} [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\ \\ \begin{array}{l} t_1 := \mathsf{fma}\left(a, b, z \cdot t\right)\\ t_2 := \mathsf{fma}\left(x, y, t\_1\right)\\ \mathbf{if}\;x \cdot y \leq -2 \cdot 10^{-12}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;x \cdot y \leq 1.5 \cdot 10^{+33}:\\ \;\;\;\;\mathsf{fma}\left(c, i, t\_1\right)\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
          NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
          (FPCore (x y z t a b c i)
           :precision binary64
           (let* ((t_1 (fma a b (* z t))) (t_2 (fma x y t_1)))
             (if (<= (* x y) -2e-12) t_2 (if (<= (* x y) 1.5e+33) (fma c i t_1) t_2))))
          assert(x < y && y < z && z < t && t < a && a < b && b < c && c < i);
          double code(double x, double y, double z, double t, double a, double b, double c, double i) {
          	double t_1 = fma(a, b, (z * t));
          	double t_2 = fma(x, y, t_1);
          	double tmp;
          	if ((x * y) <= -2e-12) {
          		tmp = t_2;
          	} else if ((x * y) <= 1.5e+33) {
          		tmp = fma(c, i, t_1);
          	} else {
          		tmp = t_2;
          	}
          	return tmp;
          }
          
          x, y, z, t, a, b, c, i = sort([x, y, z, t, a, b, c, i])
          function code(x, y, z, t, a, b, c, i)
          	t_1 = fma(a, b, Float64(z * t))
          	t_2 = fma(x, y, t_1)
          	tmp = 0.0
          	if (Float64(x * y) <= -2e-12)
          		tmp = t_2;
          	elseif (Float64(x * y) <= 1.5e+33)
          		tmp = fma(c, i, t_1);
          	else
          		tmp = t_2;
          	end
          	return tmp
          end
          
          NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
          code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(a * b + N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x * y + t$95$1), $MachinePrecision]}, If[LessEqual[N[(x * y), $MachinePrecision], -2e-12], t$95$2, If[LessEqual[N[(x * y), $MachinePrecision], 1.5e+33], N[(c * i + t$95$1), $MachinePrecision], t$95$2]]]]
          
          \begin{array}{l}
          [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\
          \\
          \begin{array}{l}
          t_1 := \mathsf{fma}\left(a, b, z \cdot t\right)\\
          t_2 := \mathsf{fma}\left(x, y, t\_1\right)\\
          \mathbf{if}\;x \cdot y \leq -2 \cdot 10^{-12}:\\
          \;\;\;\;t\_2\\
          
          \mathbf{elif}\;x \cdot y \leq 1.5 \cdot 10^{+33}:\\
          \;\;\;\;\mathsf{fma}\left(c, i, t\_1\right)\\
          
          \mathbf{else}:\\
          \;\;\;\;t\_2\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 2 regimes
          2. if (*.f64 x y) < -1.99999999999999996e-12 or 1.49999999999999992e33 < (*.f64 x y)

            1. Initial program 91.8%

              \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
            2. Add Preprocessing
            3. Taylor expanded in c around 0

              \[\leadsto \color{blue}{a \cdot b + \left(t \cdot z + x \cdot y\right)} \]
            4. Step-by-step derivation
              1. associate-+r+N/A

                \[\leadsto \color{blue}{\left(a \cdot b + t \cdot z\right) + x \cdot y} \]
              2. +-commutativeN/A

                \[\leadsto \color{blue}{x \cdot y + \left(a \cdot b + t \cdot z\right)} \]
              3. lower-fma.f64N/A

                \[\leadsto \color{blue}{\mathsf{fma}\left(x, y, a \cdot b + t \cdot z\right)} \]
              4. lower-fma.f64N/A

                \[\leadsto \mathsf{fma}\left(x, y, \color{blue}{\mathsf{fma}\left(a, b, t \cdot z\right)}\right) \]
              5. lower-*.f6490.4

                \[\leadsto \mathsf{fma}\left(x, y, \mathsf{fma}\left(a, b, \color{blue}{t \cdot z}\right)\right) \]
            5. Applied rewrites90.4%

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

            if -1.99999999999999996e-12 < (*.f64 x y) < 1.49999999999999992e33

            1. Initial program 97.0%

              \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
            2. Add Preprocessing
            3. Taylor expanded in x around 0

              \[\leadsto \color{blue}{a \cdot b + \left(c \cdot i + t \cdot z\right)} \]
            4. Step-by-step derivation
              1. +-commutativeN/A

                \[\leadsto \color{blue}{\left(c \cdot i + t \cdot z\right) + a \cdot b} \]
              2. associate-+l+N/A

                \[\leadsto \color{blue}{c \cdot i + \left(t \cdot z + a \cdot b\right)} \]
              3. +-commutativeN/A

                \[\leadsto c \cdot i + \color{blue}{\left(a \cdot b + t \cdot z\right)} \]
              4. lower-fma.f64N/A

                \[\leadsto \color{blue}{\mathsf{fma}\left(c, i, a \cdot b + t \cdot z\right)} \]
              5. lower-fma.f64N/A

                \[\leadsto \mathsf{fma}\left(c, i, \color{blue}{\mathsf{fma}\left(a, b, t \cdot z\right)}\right) \]
              6. lower-*.f6494.5

                \[\leadsto \mathsf{fma}\left(c, i, \mathsf{fma}\left(a, b, \color{blue}{t \cdot z}\right)\right) \]
            5. Applied rewrites94.5%

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

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

          Alternative 7: 83.5% accurate, 0.7× speedup?

          \[\begin{array}{l} [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\ \\ \begin{array}{l} t_1 := \mathsf{fma}\left(x, y, a \cdot b\right)\\ \mathbf{if}\;x \cdot y \leq -1 \cdot 10^{+64}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;x \cdot y \leq 2 \cdot 10^{+33}:\\ \;\;\;\;\mathsf{fma}\left(c, i, \mathsf{fma}\left(a, b, z \cdot t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
          NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
          (FPCore (x y z t a b c i)
           :precision binary64
           (let* ((t_1 (fma x y (* a b))))
             (if (<= (* x y) -1e+64)
               t_1
               (if (<= (* x y) 2e+33) (fma c i (fma a b (* z t))) t_1))))
          assert(x < y && y < z && z < t && t < a && a < b && b < c && c < i);
          double code(double x, double y, double z, double t, double a, double b, double c, double i) {
          	double t_1 = fma(x, y, (a * b));
          	double tmp;
          	if ((x * y) <= -1e+64) {
          		tmp = t_1;
          	} else if ((x * y) <= 2e+33) {
          		tmp = fma(c, i, fma(a, b, (z * t)));
          	} else {
          		tmp = t_1;
          	}
          	return tmp;
          }
          
          x, y, z, t, a, b, c, i = sort([x, y, z, t, a, b, c, i])
          function code(x, y, z, t, a, b, c, i)
          	t_1 = fma(x, y, Float64(a * b))
          	tmp = 0.0
          	if (Float64(x * y) <= -1e+64)
          		tmp = t_1;
          	elseif (Float64(x * y) <= 2e+33)
          		tmp = fma(c, i, fma(a, b, Float64(z * t)));
          	else
          		tmp = t_1;
          	end
          	return tmp
          end
          
          NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
          code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(x * y + N[(a * b), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[N[(x * y), $MachinePrecision], -1e+64], t$95$1, If[LessEqual[N[(x * y), $MachinePrecision], 2e+33], N[(c * i + N[(a * b + N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
          
          \begin{array}{l}
          [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\
          \\
          \begin{array}{l}
          t_1 := \mathsf{fma}\left(x, y, a \cdot b\right)\\
          \mathbf{if}\;x \cdot y \leq -1 \cdot 10^{+64}:\\
          \;\;\;\;t\_1\\
          
          \mathbf{elif}\;x \cdot y \leq 2 \cdot 10^{+33}:\\
          \;\;\;\;\mathsf{fma}\left(c, i, \mathsf{fma}\left(a, b, z \cdot t\right)\right)\\
          
          \mathbf{else}:\\
          \;\;\;\;t\_1\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 2 regimes
          2. if (*.f64 x y) < -1.00000000000000002e64 or 1.9999999999999999e33 < (*.f64 x y)

            1. Initial program 91.5%

              \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
            2. Add Preprocessing
            3. Taylor expanded in c around 0

              \[\leadsto \color{blue}{a \cdot b + \left(t \cdot z + x \cdot y\right)} \]
            4. Step-by-step derivation
              1. associate-+r+N/A

                \[\leadsto \color{blue}{\left(a \cdot b + t \cdot z\right) + x \cdot y} \]
              2. +-commutativeN/A

                \[\leadsto \color{blue}{x \cdot y + \left(a \cdot b + t \cdot z\right)} \]
              3. lower-fma.f64N/A

                \[\leadsto \color{blue}{\mathsf{fma}\left(x, y, a \cdot b + t \cdot z\right)} \]
              4. lower-fma.f64N/A

                \[\leadsto \mathsf{fma}\left(x, y, \color{blue}{\mathsf{fma}\left(a, b, t \cdot z\right)}\right) \]
              5. lower-*.f6490.0

                \[\leadsto \mathsf{fma}\left(x, y, \mathsf{fma}\left(a, b, \color{blue}{t \cdot z}\right)\right) \]
            5. Applied rewrites90.0%

              \[\leadsto \color{blue}{\mathsf{fma}\left(x, y, \mathsf{fma}\left(a, b, t \cdot z\right)\right)} \]
            6. Taylor expanded in a around inf

              \[\leadsto \mathsf{fma}\left(x, y, a \cdot b\right) \]
            7. Step-by-step derivation
              1. Applied rewrites79.3%

                \[\leadsto \mathsf{fma}\left(x, y, a \cdot b\right) \]

              if -1.00000000000000002e64 < (*.f64 x y) < 1.9999999999999999e33

              1. Initial program 96.6%

                \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
              2. Add Preprocessing
              3. Taylor expanded in x around 0

                \[\leadsto \color{blue}{a \cdot b + \left(c \cdot i + t \cdot z\right)} \]
              4. Step-by-step derivation
                1. +-commutativeN/A

                  \[\leadsto \color{blue}{\left(c \cdot i + t \cdot z\right) + a \cdot b} \]
                2. associate-+l+N/A

                  \[\leadsto \color{blue}{c \cdot i + \left(t \cdot z + a \cdot b\right)} \]
                3. +-commutativeN/A

                  \[\leadsto c \cdot i + \color{blue}{\left(a \cdot b + t \cdot z\right)} \]
                4. lower-fma.f64N/A

                  \[\leadsto \color{blue}{\mathsf{fma}\left(c, i, a \cdot b + t \cdot z\right)} \]
                5. lower-fma.f64N/A

                  \[\leadsto \mathsf{fma}\left(c, i, \color{blue}{\mathsf{fma}\left(a, b, t \cdot z\right)}\right) \]
                6. lower-*.f6493.2

                  \[\leadsto \mathsf{fma}\left(c, i, \mathsf{fma}\left(a, b, \color{blue}{t \cdot z}\right)\right) \]
              5. Applied rewrites93.2%

                \[\leadsto \color{blue}{\mathsf{fma}\left(c, i, \mathsf{fma}\left(a, b, t \cdot z\right)\right)} \]
            8. Recombined 2 regimes into one program.
            9. Final simplification87.4%

              \[\leadsto \begin{array}{l} \mathbf{if}\;x \cdot y \leq -1 \cdot 10^{+64}:\\ \;\;\;\;\mathsf{fma}\left(x, y, a \cdot b\right)\\ \mathbf{elif}\;x \cdot y \leq 2 \cdot 10^{+33}:\\ \;\;\;\;\mathsf{fma}\left(c, i, \mathsf{fma}\left(a, b, z \cdot t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(x, y, a \cdot b\right)\\ \end{array} \]
            10. Add Preprocessing

            Alternative 8: 42.6% accurate, 0.8× speedup?

            \[\begin{array}{l} [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\ \\ \begin{array}{l} \mathbf{if}\;a \cdot b \leq -5.5 \cdot 10^{+162}:\\ \;\;\;\;a \cdot b\\ \mathbf{elif}\;a \cdot b \leq -5.2 \cdot 10^{-18}:\\ \;\;\;\;c \cdot i\\ \mathbf{elif}\;a \cdot b \leq 9 \cdot 10^{+148}:\\ \;\;\;\;z \cdot t\\ \mathbf{else}:\\ \;\;\;\;a \cdot b\\ \end{array} \end{array} \]
            NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
            (FPCore (x y z t a b c i)
             :precision binary64
             (if (<= (* a b) -5.5e+162)
               (* a b)
               (if (<= (* a b) -5.2e-18)
                 (* c i)
                 (if (<= (* a b) 9e+148) (* z t) (* a b)))))
            assert(x < y && y < z && z < t && t < a && a < b && b < c && c < i);
            double code(double x, double y, double z, double t, double a, double b, double c, double i) {
            	double tmp;
            	if ((a * b) <= -5.5e+162) {
            		tmp = a * b;
            	} else if ((a * b) <= -5.2e-18) {
            		tmp = c * i;
            	} else if ((a * b) <= 9e+148) {
            		tmp = z * t;
            	} else {
            		tmp = a * b;
            	}
            	return tmp;
            }
            
            NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
            real(8) function code(x, y, z, t, a, b, c, i)
                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) :: tmp
                if ((a * b) <= (-5.5d+162)) then
                    tmp = a * b
                else if ((a * b) <= (-5.2d-18)) then
                    tmp = c * i
                else if ((a * b) <= 9d+148) then
                    tmp = z * t
                else
                    tmp = a * b
                end if
                code = tmp
            end function
            
            assert x < y && y < z && z < t && t < a && a < b && b < c && c < i;
            public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
            	double tmp;
            	if ((a * b) <= -5.5e+162) {
            		tmp = a * b;
            	} else if ((a * b) <= -5.2e-18) {
            		tmp = c * i;
            	} else if ((a * b) <= 9e+148) {
            		tmp = z * t;
            	} else {
            		tmp = a * b;
            	}
            	return tmp;
            }
            
            [x, y, z, t, a, b, c, i] = sort([x, y, z, t, a, b, c, i])
            def code(x, y, z, t, a, b, c, i):
            	tmp = 0
            	if (a * b) <= -5.5e+162:
            		tmp = a * b
            	elif (a * b) <= -5.2e-18:
            		tmp = c * i
            	elif (a * b) <= 9e+148:
            		tmp = z * t
            	else:
            		tmp = a * b
            	return tmp
            
            x, y, z, t, a, b, c, i = sort([x, y, z, t, a, b, c, i])
            function code(x, y, z, t, a, b, c, i)
            	tmp = 0.0
            	if (Float64(a * b) <= -5.5e+162)
            		tmp = Float64(a * b);
            	elseif (Float64(a * b) <= -5.2e-18)
            		tmp = Float64(c * i);
            	elseif (Float64(a * b) <= 9e+148)
            		tmp = Float64(z * t);
            	else
            		tmp = Float64(a * b);
            	end
            	return tmp
            end
            
            x, y, z, t, a, b, c, i = num2cell(sort([x, y, z, t, a, b, c, i])){:}
            function tmp_2 = code(x, y, z, t, a, b, c, i)
            	tmp = 0.0;
            	if ((a * b) <= -5.5e+162)
            		tmp = a * b;
            	elseif ((a * b) <= -5.2e-18)
            		tmp = c * i;
            	elseif ((a * b) <= 9e+148)
            		tmp = z * t;
            	else
            		tmp = a * b;
            	end
            	tmp_2 = tmp;
            end
            
            NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
            code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[N[(a * b), $MachinePrecision], -5.5e+162], N[(a * b), $MachinePrecision], If[LessEqual[N[(a * b), $MachinePrecision], -5.2e-18], N[(c * i), $MachinePrecision], If[LessEqual[N[(a * b), $MachinePrecision], 9e+148], N[(z * t), $MachinePrecision], N[(a * b), $MachinePrecision]]]]
            
            \begin{array}{l}
            [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\
            \\
            \begin{array}{l}
            \mathbf{if}\;a \cdot b \leq -5.5 \cdot 10^{+162}:\\
            \;\;\;\;a \cdot b\\
            
            \mathbf{elif}\;a \cdot b \leq -5.2 \cdot 10^{-18}:\\
            \;\;\;\;c \cdot i\\
            
            \mathbf{elif}\;a \cdot b \leq 9 \cdot 10^{+148}:\\
            \;\;\;\;z \cdot t\\
            
            \mathbf{else}:\\
            \;\;\;\;a \cdot b\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 3 regimes
            2. if (*.f64 a b) < -5.49999999999999966e162 or 8.99999999999999987e148 < (*.f64 a b)

              1. Initial program 85.5%

                \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
              2. Add Preprocessing
              3. Taylor expanded in a around inf

                \[\leadsto \color{blue}{a \cdot b} \]
              4. Step-by-step derivation
                1. lower-*.f6474.9

                  \[\leadsto \color{blue}{a \cdot b} \]
              5. Applied rewrites74.9%

                \[\leadsto \color{blue}{a \cdot b} \]

              if -5.49999999999999966e162 < (*.f64 a b) < -5.2000000000000001e-18

              1. Initial program 97.0%

                \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
              2. Add Preprocessing
              3. Taylor expanded in c around inf

                \[\leadsto \color{blue}{c \cdot i} \]
              4. Step-by-step derivation
                1. lower-*.f6438.0

                  \[\leadsto \color{blue}{c \cdot i} \]
              5. Applied rewrites38.0%

                \[\leadsto \color{blue}{c \cdot i} \]

              if -5.2000000000000001e-18 < (*.f64 a b) < 8.99999999999999987e148

              1. Initial program 99.2%

                \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
              2. Add Preprocessing
              3. Taylor expanded in z around inf

                \[\leadsto \color{blue}{t \cdot z} \]
              4. Step-by-step derivation
                1. lower-*.f6437.6

                  \[\leadsto \color{blue}{t \cdot z} \]
              5. Applied rewrites37.6%

                \[\leadsto \color{blue}{t \cdot z} \]
            3. Recombined 3 regimes into one program.
            4. Final simplification49.8%

              \[\leadsto \begin{array}{l} \mathbf{if}\;a \cdot b \leq -5.5 \cdot 10^{+162}:\\ \;\;\;\;a \cdot b\\ \mathbf{elif}\;a \cdot b \leq -5.2 \cdot 10^{-18}:\\ \;\;\;\;c \cdot i\\ \mathbf{elif}\;a \cdot b \leq 9 \cdot 10^{+148}:\\ \;\;\;\;z \cdot t\\ \mathbf{else}:\\ \;\;\;\;a \cdot b\\ \end{array} \]
            5. Add Preprocessing

            Alternative 9: 67.1% accurate, 0.9× speedup?

            \[\begin{array}{l} [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\ \\ \begin{array}{l} \mathbf{if}\;a \cdot b \leq -5 \cdot 10^{+77}:\\ \;\;\;\;\mathsf{fma}\left(x, y, a \cdot b\right)\\ \mathbf{elif}\;a \cdot b \leq 2 \cdot 10^{+110}:\\ \;\;\;\;\mathsf{fma}\left(x, y, z \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(a, b, z \cdot t\right)\\ \end{array} \end{array} \]
            NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
            (FPCore (x y z t a b c i)
             :precision binary64
             (if (<= (* a b) -5e+77)
               (fma x y (* a b))
               (if (<= (* a b) 2e+110) (fma x y (* z t)) (fma a b (* z t)))))
            assert(x < y && y < z && z < t && t < a && a < b && b < c && c < i);
            double code(double x, double y, double z, double t, double a, double b, double c, double i) {
            	double tmp;
            	if ((a * b) <= -5e+77) {
            		tmp = fma(x, y, (a * b));
            	} else if ((a * b) <= 2e+110) {
            		tmp = fma(x, y, (z * t));
            	} else {
            		tmp = fma(a, b, (z * t));
            	}
            	return tmp;
            }
            
            x, y, z, t, a, b, c, i = sort([x, y, z, t, a, b, c, i])
            function code(x, y, z, t, a, b, c, i)
            	tmp = 0.0
            	if (Float64(a * b) <= -5e+77)
            		tmp = fma(x, y, Float64(a * b));
            	elseif (Float64(a * b) <= 2e+110)
            		tmp = fma(x, y, Float64(z * t));
            	else
            		tmp = fma(a, b, Float64(z * t));
            	end
            	return tmp
            end
            
            NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
            code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[N[(a * b), $MachinePrecision], -5e+77], N[(x * y + N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[N[(a * b), $MachinePrecision], 2e+110], N[(x * y + N[(z * t), $MachinePrecision]), $MachinePrecision], N[(a * b + N[(z * t), $MachinePrecision]), $MachinePrecision]]]
            
            \begin{array}{l}
            [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\
            \\
            \begin{array}{l}
            \mathbf{if}\;a \cdot b \leq -5 \cdot 10^{+77}:\\
            \;\;\;\;\mathsf{fma}\left(x, y, a \cdot b\right)\\
            
            \mathbf{elif}\;a \cdot b \leq 2 \cdot 10^{+110}:\\
            \;\;\;\;\mathsf{fma}\left(x, y, z \cdot t\right)\\
            
            \mathbf{else}:\\
            \;\;\;\;\mathsf{fma}\left(a, b, z \cdot t\right)\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 3 regimes
            2. if (*.f64 a b) < -5.00000000000000004e77

              1. Initial program 88.1%

                \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
              2. Add Preprocessing
              3. Taylor expanded in c around 0

                \[\leadsto \color{blue}{a \cdot b + \left(t \cdot z + x \cdot y\right)} \]
              4. Step-by-step derivation
                1. associate-+r+N/A

                  \[\leadsto \color{blue}{\left(a \cdot b + t \cdot z\right) + x \cdot y} \]
                2. +-commutativeN/A

                  \[\leadsto \color{blue}{x \cdot y + \left(a \cdot b + t \cdot z\right)} \]
                3. lower-fma.f64N/A

                  \[\leadsto \color{blue}{\mathsf{fma}\left(x, y, a \cdot b + t \cdot z\right)} \]
                4. lower-fma.f64N/A

                  \[\leadsto \mathsf{fma}\left(x, y, \color{blue}{\mathsf{fma}\left(a, b, t \cdot z\right)}\right) \]
                5. lower-*.f6483.0

                  \[\leadsto \mathsf{fma}\left(x, y, \mathsf{fma}\left(a, b, \color{blue}{t \cdot z}\right)\right) \]
              5. Applied rewrites83.0%

                \[\leadsto \color{blue}{\mathsf{fma}\left(x, y, \mathsf{fma}\left(a, b, t \cdot z\right)\right)} \]
              6. Taylor expanded in a around inf

                \[\leadsto \mathsf{fma}\left(x, y, a \cdot b\right) \]
              7. Step-by-step derivation
                1. Applied rewrites75.3%

                  \[\leadsto \mathsf{fma}\left(x, y, a \cdot b\right) \]

                if -5.00000000000000004e77 < (*.f64 a b) < 2e110

                1. Initial program 99.3%

                  \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
                2. Add Preprocessing
                3. Taylor expanded in c around 0

                  \[\leadsto \color{blue}{a \cdot b + \left(t \cdot z + x \cdot y\right)} \]
                4. Step-by-step derivation
                  1. associate-+r+N/A

                    \[\leadsto \color{blue}{\left(a \cdot b + t \cdot z\right) + x \cdot y} \]
                  2. +-commutativeN/A

                    \[\leadsto \color{blue}{x \cdot y + \left(a \cdot b + t \cdot z\right)} \]
                  3. lower-fma.f64N/A

                    \[\leadsto \color{blue}{\mathsf{fma}\left(x, y, a \cdot b + t \cdot z\right)} \]
                  4. lower-fma.f64N/A

                    \[\leadsto \mathsf{fma}\left(x, y, \color{blue}{\mathsf{fma}\left(a, b, t \cdot z\right)}\right) \]
                  5. lower-*.f6474.7

                    \[\leadsto \mathsf{fma}\left(x, y, \mathsf{fma}\left(a, b, \color{blue}{t \cdot z}\right)\right) \]
                5. Applied rewrites74.7%

                  \[\leadsto \color{blue}{\mathsf{fma}\left(x, y, \mathsf{fma}\left(a, b, t \cdot z\right)\right)} \]
                6. Taylor expanded in a around 0

                  \[\leadsto \mathsf{fma}\left(x, y, t \cdot z\right) \]
                7. Step-by-step derivation
                  1. Applied rewrites71.8%

                    \[\leadsto \mathsf{fma}\left(x, y, t \cdot z\right) \]

                  if 2e110 < (*.f64 a b)

                  1. Initial program 87.5%

                    \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
                  2. Add Preprocessing
                  3. Taylor expanded in c around 0

                    \[\leadsto \color{blue}{a \cdot b + \left(t \cdot z + x \cdot y\right)} \]
                  4. Step-by-step derivation
                    1. associate-+r+N/A

                      \[\leadsto \color{blue}{\left(a \cdot b + t \cdot z\right) + x \cdot y} \]
                    2. +-commutativeN/A

                      \[\leadsto \color{blue}{x \cdot y + \left(a \cdot b + t \cdot z\right)} \]
                    3. lower-fma.f64N/A

                      \[\leadsto \color{blue}{\mathsf{fma}\left(x, y, a \cdot b + t \cdot z\right)} \]
                    4. lower-fma.f64N/A

                      \[\leadsto \mathsf{fma}\left(x, y, \color{blue}{\mathsf{fma}\left(a, b, t \cdot z\right)}\right) \]
                    5. lower-*.f6481.8

                      \[\leadsto \mathsf{fma}\left(x, y, \mathsf{fma}\left(a, b, \color{blue}{t \cdot z}\right)\right) \]
                  5. Applied rewrites81.8%

                    \[\leadsto \color{blue}{\mathsf{fma}\left(x, y, \mathsf{fma}\left(a, b, t \cdot z\right)\right)} \]
                  6. Taylor expanded in x around 0

                    \[\leadsto a \cdot b + \color{blue}{t \cdot z} \]
                  7. Step-by-step derivation
                    1. Applied rewrites79.3%

                      \[\leadsto \mathsf{fma}\left(a, \color{blue}{b}, t \cdot z\right) \]
                  8. Recombined 3 regimes into one program.
                  9. Final simplification74.0%

                    \[\leadsto \begin{array}{l} \mathbf{if}\;a \cdot b \leq -5 \cdot 10^{+77}:\\ \;\;\;\;\mathsf{fma}\left(x, y, a \cdot b\right)\\ \mathbf{elif}\;a \cdot b \leq 2 \cdot 10^{+110}:\\ \;\;\;\;\mathsf{fma}\left(x, y, z \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(a, b, z \cdot t\right)\\ \end{array} \]
                  10. Add Preprocessing

                  Alternative 10: 66.3% accurate, 0.9× speedup?

                  \[\begin{array}{l} [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\ \\ \begin{array}{l} t_1 := \mathsf{fma}\left(a, b, z \cdot t\right)\\ \mathbf{if}\;z \cdot t \leq -2 \cdot 10^{+87}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \cdot t \leq 5 \cdot 10^{+149}:\\ \;\;\;\;\mathsf{fma}\left(x, y, a \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                  NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
                  (FPCore (x y z t a b c i)
                   :precision binary64
                   (let* ((t_1 (fma a b (* z t))))
                     (if (<= (* z t) -2e+87)
                       t_1
                       (if (<= (* z t) 5e+149) (fma x y (* a b)) t_1))))
                  assert(x < y && y < z && z < t && t < a && a < b && b < c && c < i);
                  double code(double x, double y, double z, double t, double a, double b, double c, double i) {
                  	double t_1 = fma(a, b, (z * t));
                  	double tmp;
                  	if ((z * t) <= -2e+87) {
                  		tmp = t_1;
                  	} else if ((z * t) <= 5e+149) {
                  		tmp = fma(x, y, (a * b));
                  	} else {
                  		tmp = t_1;
                  	}
                  	return tmp;
                  }
                  
                  x, y, z, t, a, b, c, i = sort([x, y, z, t, a, b, c, i])
                  function code(x, y, z, t, a, b, c, i)
                  	t_1 = fma(a, b, Float64(z * t))
                  	tmp = 0.0
                  	if (Float64(z * t) <= -2e+87)
                  		tmp = t_1;
                  	elseif (Float64(z * t) <= 5e+149)
                  		tmp = fma(x, y, Float64(a * b));
                  	else
                  		tmp = t_1;
                  	end
                  	return tmp
                  end
                  
                  NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
                  code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(a * b + N[(z * t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[N[(z * t), $MachinePrecision], -2e+87], t$95$1, If[LessEqual[N[(z * t), $MachinePrecision], 5e+149], N[(x * y + N[(a * b), $MachinePrecision]), $MachinePrecision], t$95$1]]]
                  
                  \begin{array}{l}
                  [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\
                  \\
                  \begin{array}{l}
                  t_1 := \mathsf{fma}\left(a, b, z \cdot t\right)\\
                  \mathbf{if}\;z \cdot t \leq -2 \cdot 10^{+87}:\\
                  \;\;\;\;t\_1\\
                  
                  \mathbf{elif}\;z \cdot t \leq 5 \cdot 10^{+149}:\\
                  \;\;\;\;\mathsf{fma}\left(x, y, a \cdot b\right)\\
                  
                  \mathbf{else}:\\
                  \;\;\;\;t\_1\\
                  
                  
                  \end{array}
                  \end{array}
                  
                  Derivation
                  1. Split input into 2 regimes
                  2. if (*.f64 z t) < -1.9999999999999999e87 or 4.9999999999999999e149 < (*.f64 z t)

                    1. Initial program 92.9%

                      \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
                    2. Add Preprocessing
                    3. Taylor expanded in c around 0

                      \[\leadsto \color{blue}{a \cdot b + \left(t \cdot z + x \cdot y\right)} \]
                    4. Step-by-step derivation
                      1. associate-+r+N/A

                        \[\leadsto \color{blue}{\left(a \cdot b + t \cdot z\right) + x \cdot y} \]
                      2. +-commutativeN/A

                        \[\leadsto \color{blue}{x \cdot y + \left(a \cdot b + t \cdot z\right)} \]
                      3. lower-fma.f64N/A

                        \[\leadsto \color{blue}{\mathsf{fma}\left(x, y, a \cdot b + t \cdot z\right)} \]
                      4. lower-fma.f64N/A

                        \[\leadsto \mathsf{fma}\left(x, y, \color{blue}{\mathsf{fma}\left(a, b, t \cdot z\right)}\right) \]
                      5. lower-*.f6493.5

                        \[\leadsto \mathsf{fma}\left(x, y, \mathsf{fma}\left(a, b, \color{blue}{t \cdot z}\right)\right) \]
                    5. Applied rewrites93.5%

                      \[\leadsto \color{blue}{\mathsf{fma}\left(x, y, \mathsf{fma}\left(a, b, t \cdot z\right)\right)} \]
                    6. Taylor expanded in x around 0

                      \[\leadsto a \cdot b + \color{blue}{t \cdot z} \]
                    7. Step-by-step derivation
                      1. Applied rewrites86.7%

                        \[\leadsto \mathsf{fma}\left(a, \color{blue}{b}, t \cdot z\right) \]

                      if -1.9999999999999999e87 < (*.f64 z t) < 4.9999999999999999e149

                      1. Initial program 95.3%

                        \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
                      2. Add Preprocessing
                      3. Taylor expanded in c around 0

                        \[\leadsto \color{blue}{a \cdot b + \left(t \cdot z + x \cdot y\right)} \]
                      4. Step-by-step derivation
                        1. associate-+r+N/A

                          \[\leadsto \color{blue}{\left(a \cdot b + t \cdot z\right) + x \cdot y} \]
                        2. +-commutativeN/A

                          \[\leadsto \color{blue}{x \cdot y + \left(a \cdot b + t \cdot z\right)} \]
                        3. lower-fma.f64N/A

                          \[\leadsto \color{blue}{\mathsf{fma}\left(x, y, a \cdot b + t \cdot z\right)} \]
                        4. lower-fma.f64N/A

                          \[\leadsto \mathsf{fma}\left(x, y, \color{blue}{\mathsf{fma}\left(a, b, t \cdot z\right)}\right) \]
                        5. lower-*.f6470.4

                          \[\leadsto \mathsf{fma}\left(x, y, \mathsf{fma}\left(a, b, \color{blue}{t \cdot z}\right)\right) \]
                      5. Applied rewrites70.4%

                        \[\leadsto \color{blue}{\mathsf{fma}\left(x, y, \mathsf{fma}\left(a, b, t \cdot z\right)\right)} \]
                      6. Taylor expanded in a around inf

                        \[\leadsto \mathsf{fma}\left(x, y, a \cdot b\right) \]
                      7. Step-by-step derivation
                        1. Applied rewrites64.8%

                          \[\leadsto \mathsf{fma}\left(x, y, a \cdot b\right) \]
                      8. Recombined 2 regimes into one program.
                      9. Final simplification72.0%

                        \[\leadsto \begin{array}{l} \mathbf{if}\;z \cdot t \leq -2 \cdot 10^{+87}:\\ \;\;\;\;\mathsf{fma}\left(a, b, z \cdot t\right)\\ \mathbf{elif}\;z \cdot t \leq 5 \cdot 10^{+149}:\\ \;\;\;\;\mathsf{fma}\left(x, y, a \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(a, b, z \cdot t\right)\\ \end{array} \]
                      10. Add Preprocessing

                      Alternative 11: 63.7% accurate, 0.9× speedup?

                      \[\begin{array}{l} [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\ \\ \begin{array}{l} \mathbf{if}\;x \cdot y \leq -8.5 \cdot 10^{+148}:\\ \;\;\;\;x \cdot y\\ \mathbf{elif}\;x \cdot y \leq 3.3 \cdot 10^{+180}:\\ \;\;\;\;\mathsf{fma}\left(a, b, z \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot y\\ \end{array} \end{array} \]
                      NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
                      (FPCore (x y z t a b c i)
                       :precision binary64
                       (if (<= (* x y) -8.5e+148)
                         (* x y)
                         (if (<= (* x y) 3.3e+180) (fma a b (* z t)) (* x y))))
                      assert(x < y && y < z && z < t && t < a && a < b && b < c && c < i);
                      double code(double x, double y, double z, double t, double a, double b, double c, double i) {
                      	double tmp;
                      	if ((x * y) <= -8.5e+148) {
                      		tmp = x * y;
                      	} else if ((x * y) <= 3.3e+180) {
                      		tmp = fma(a, b, (z * t));
                      	} else {
                      		tmp = x * y;
                      	}
                      	return tmp;
                      }
                      
                      x, y, z, t, a, b, c, i = sort([x, y, z, t, a, b, c, i])
                      function code(x, y, z, t, a, b, c, i)
                      	tmp = 0.0
                      	if (Float64(x * y) <= -8.5e+148)
                      		tmp = Float64(x * y);
                      	elseif (Float64(x * y) <= 3.3e+180)
                      		tmp = fma(a, b, Float64(z * t));
                      	else
                      		tmp = Float64(x * y);
                      	end
                      	return tmp
                      end
                      
                      NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
                      code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[N[(x * y), $MachinePrecision], -8.5e+148], N[(x * y), $MachinePrecision], If[LessEqual[N[(x * y), $MachinePrecision], 3.3e+180], N[(a * b + N[(z * t), $MachinePrecision]), $MachinePrecision], N[(x * y), $MachinePrecision]]]
                      
                      \begin{array}{l}
                      [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\
                      \\
                      \begin{array}{l}
                      \mathbf{if}\;x \cdot y \leq -8.5 \cdot 10^{+148}:\\
                      \;\;\;\;x \cdot y\\
                      
                      \mathbf{elif}\;x \cdot y \leq 3.3 \cdot 10^{+180}:\\
                      \;\;\;\;\mathsf{fma}\left(a, b, z \cdot t\right)\\
                      
                      \mathbf{else}:\\
                      \;\;\;\;x \cdot y\\
                      
                      
                      \end{array}
                      \end{array}
                      
                      Derivation
                      1. Split input into 2 regimes
                      2. if (*.f64 x y) < -8.4999999999999996e148 or 3.29999999999999989e180 < (*.f64 x y)

                        1. Initial program 88.2%

                          \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
                        2. Add Preprocessing
                        3. Taylor expanded in x around inf

                          \[\leadsto \color{blue}{x \cdot y} \]
                        4. Step-by-step derivation
                          1. lower-*.f6480.0

                            \[\leadsto \color{blue}{x \cdot y} \]
                        5. Applied rewrites80.0%

                          \[\leadsto \color{blue}{x \cdot y} \]

                        if -8.4999999999999996e148 < (*.f64 x y) < 3.29999999999999989e180

                        1. Initial program 96.8%

                          \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
                        2. Add Preprocessing
                        3. Taylor expanded in c around 0

                          \[\leadsto \color{blue}{a \cdot b + \left(t \cdot z + x \cdot y\right)} \]
                        4. Step-by-step derivation
                          1. associate-+r+N/A

                            \[\leadsto \color{blue}{\left(a \cdot b + t \cdot z\right) + x \cdot y} \]
                          2. +-commutativeN/A

                            \[\leadsto \color{blue}{x \cdot y + \left(a \cdot b + t \cdot z\right)} \]
                          3. lower-fma.f64N/A

                            \[\leadsto \color{blue}{\mathsf{fma}\left(x, y, a \cdot b + t \cdot z\right)} \]
                          4. lower-fma.f64N/A

                            \[\leadsto \mathsf{fma}\left(x, y, \color{blue}{\mathsf{fma}\left(a, b, t \cdot z\right)}\right) \]
                          5. lower-*.f6473.6

                            \[\leadsto \mathsf{fma}\left(x, y, \mathsf{fma}\left(a, b, \color{blue}{t \cdot z}\right)\right) \]
                        5. Applied rewrites73.6%

                          \[\leadsto \color{blue}{\mathsf{fma}\left(x, y, \mathsf{fma}\left(a, b, t \cdot z\right)\right)} \]
                        6. Taylor expanded in x around 0

                          \[\leadsto a \cdot b + \color{blue}{t \cdot z} \]
                        7. Step-by-step derivation
                          1. Applied rewrites62.6%

                            \[\leadsto \mathsf{fma}\left(a, \color{blue}{b}, t \cdot z\right) \]
                        8. Recombined 2 regimes into one program.
                        9. Final simplification67.2%

                          \[\leadsto \begin{array}{l} \mathbf{if}\;x \cdot y \leq -8.5 \cdot 10^{+148}:\\ \;\;\;\;x \cdot y\\ \mathbf{elif}\;x \cdot y \leq 3.3 \cdot 10^{+180}:\\ \;\;\;\;\mathsf{fma}\left(a, b, z \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot y\\ \end{array} \]
                        10. Add Preprocessing

                        Alternative 12: 42.0% accurate, 1.1× speedup?

                        \[\begin{array}{l} [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\ \\ \begin{array}{l} \mathbf{if}\;a \cdot b \leq -5.5 \cdot 10^{+162}:\\ \;\;\;\;a \cdot b\\ \mathbf{elif}\;a \cdot b \leq 5 \cdot 10^{+148}:\\ \;\;\;\;c \cdot i\\ \mathbf{else}:\\ \;\;\;\;a \cdot b\\ \end{array} \end{array} \]
                        NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
                        (FPCore (x y z t a b c i)
                         :precision binary64
                         (if (<= (* a b) -5.5e+162) (* a b) (if (<= (* a b) 5e+148) (* c i) (* a b))))
                        assert(x < y && y < z && z < t && t < a && a < b && b < c && c < i);
                        double code(double x, double y, double z, double t, double a, double b, double c, double i) {
                        	double tmp;
                        	if ((a * b) <= -5.5e+162) {
                        		tmp = a * b;
                        	} else if ((a * b) <= 5e+148) {
                        		tmp = c * i;
                        	} else {
                        		tmp = a * b;
                        	}
                        	return tmp;
                        }
                        
                        NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
                        real(8) function code(x, y, z, t, a, b, c, i)
                            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) :: tmp
                            if ((a * b) <= (-5.5d+162)) then
                                tmp = a * b
                            else if ((a * b) <= 5d+148) then
                                tmp = c * i
                            else
                                tmp = a * b
                            end if
                            code = tmp
                        end function
                        
                        assert x < y && y < z && z < t && t < a && a < b && b < c && c < i;
                        public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
                        	double tmp;
                        	if ((a * b) <= -5.5e+162) {
                        		tmp = a * b;
                        	} else if ((a * b) <= 5e+148) {
                        		tmp = c * i;
                        	} else {
                        		tmp = a * b;
                        	}
                        	return tmp;
                        }
                        
                        [x, y, z, t, a, b, c, i] = sort([x, y, z, t, a, b, c, i])
                        def code(x, y, z, t, a, b, c, i):
                        	tmp = 0
                        	if (a * b) <= -5.5e+162:
                        		tmp = a * b
                        	elif (a * b) <= 5e+148:
                        		tmp = c * i
                        	else:
                        		tmp = a * b
                        	return tmp
                        
                        x, y, z, t, a, b, c, i = sort([x, y, z, t, a, b, c, i])
                        function code(x, y, z, t, a, b, c, i)
                        	tmp = 0.0
                        	if (Float64(a * b) <= -5.5e+162)
                        		tmp = Float64(a * b);
                        	elseif (Float64(a * b) <= 5e+148)
                        		tmp = Float64(c * i);
                        	else
                        		tmp = Float64(a * b);
                        	end
                        	return tmp
                        end
                        
                        x, y, z, t, a, b, c, i = num2cell(sort([x, y, z, t, a, b, c, i])){:}
                        function tmp_2 = code(x, y, z, t, a, b, c, i)
                        	tmp = 0.0;
                        	if ((a * b) <= -5.5e+162)
                        		tmp = a * b;
                        	elseif ((a * b) <= 5e+148)
                        		tmp = c * i;
                        	else
                        		tmp = a * b;
                        	end
                        	tmp_2 = tmp;
                        end
                        
                        NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
                        code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[N[(a * b), $MachinePrecision], -5.5e+162], N[(a * b), $MachinePrecision], If[LessEqual[N[(a * b), $MachinePrecision], 5e+148], N[(c * i), $MachinePrecision], N[(a * b), $MachinePrecision]]]
                        
                        \begin{array}{l}
                        [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\
                        \\
                        \begin{array}{l}
                        \mathbf{if}\;a \cdot b \leq -5.5 \cdot 10^{+162}:\\
                        \;\;\;\;a \cdot b\\
                        
                        \mathbf{elif}\;a \cdot b \leq 5 \cdot 10^{+148}:\\
                        \;\;\;\;c \cdot i\\
                        
                        \mathbf{else}:\\
                        \;\;\;\;a \cdot b\\
                        
                        
                        \end{array}
                        \end{array}
                        
                        Derivation
                        1. Split input into 2 regimes
                        2. if (*.f64 a b) < -5.49999999999999966e162 or 5.00000000000000024e148 < (*.f64 a b)

                          1. Initial program 85.5%

                            \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
                          2. Add Preprocessing
                          3. Taylor expanded in a around inf

                            \[\leadsto \color{blue}{a \cdot b} \]
                          4. Step-by-step derivation
                            1. lower-*.f6474.9

                              \[\leadsto \color{blue}{a \cdot b} \]
                          5. Applied rewrites74.9%

                            \[\leadsto \color{blue}{a \cdot b} \]

                          if -5.49999999999999966e162 < (*.f64 a b) < 5.00000000000000024e148

                          1. Initial program 98.8%

                            \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
                          2. Add Preprocessing
                          3. Taylor expanded in c around inf

                            \[\leadsto \color{blue}{c \cdot i} \]
                          4. Step-by-step derivation
                            1. lower-*.f6431.0

                              \[\leadsto \color{blue}{c \cdot i} \]
                          5. Applied rewrites31.0%

                            \[\leadsto \color{blue}{c \cdot i} \]
                        3. Recombined 2 regimes into one program.
                        4. Add Preprocessing

                        Alternative 13: 27.0% accurate, 5.0× speedup?

                        \[\begin{array}{l} [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\ \\ a \cdot b \end{array} \]
                        NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
                        (FPCore (x y z t a b c i) :precision binary64 (* a b))
                        assert(x < y && y < z && z < t && t < a && a < b && b < c && c < i);
                        double code(double x, double y, double z, double t, double a, double b, double c, double i) {
                        	return a * b;
                        }
                        
                        NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
                        real(8) function code(x, y, z, t, a, b, c, i)
                            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
                            code = a * b
                        end function
                        
                        assert x < y && y < z && z < t && t < a && a < b && b < c && c < i;
                        public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
                        	return a * b;
                        }
                        
                        [x, y, z, t, a, b, c, i] = sort([x, y, z, t, a, b, c, i])
                        def code(x, y, z, t, a, b, c, i):
                        	return a * b
                        
                        x, y, z, t, a, b, c, i = sort([x, y, z, t, a, b, c, i])
                        function code(x, y, z, t, a, b, c, i)
                        	return Float64(a * b)
                        end
                        
                        x, y, z, t, a, b, c, i = num2cell(sort([x, y, z, t, a, b, c, i])){:}
                        function tmp = code(x, y, z, t, a, b, c, i)
                        	tmp = a * b;
                        end
                        
                        NOTE: x, y, z, t, a, b, c, and i should be sorted in increasing order before calling this function.
                        code[x_, y_, z_, t_, a_, b_, c_, i_] := N[(a * b), $MachinePrecision]
                        
                        \begin{array}{l}
                        [x, y, z, t, a, b, c, i] = \mathsf{sort}([x, y, z, t, a, b, c, i])\\
                        \\
                        a \cdot b
                        \end{array}
                        
                        Derivation
                        1. Initial program 94.5%

                          \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i \]
                        2. Add Preprocessing
                        3. Taylor expanded in a around inf

                          \[\leadsto \color{blue}{a \cdot b} \]
                        4. Step-by-step derivation
                          1. lower-*.f6429.5

                            \[\leadsto \color{blue}{a \cdot b} \]
                        5. Applied rewrites29.5%

                          \[\leadsto \color{blue}{a \cdot b} \]
                        6. Add Preprocessing

                        Reproduce

                        ?
                        herbie shell --seed 2024238 
                        (FPCore (x y z t a b c i)
                          :name "Linear.V4:$cdot from linear-1.19.1.3, C"
                          :precision binary64
                          (+ (+ (+ (* x y) (* z t)) (* a b)) (* c i)))