Diagrams.Solve.Polynomial:cubForm from diagrams-solve-0.1, J

Percentage Accurate: 80.1% → 84.2%
Time: 10.6s
Alternatives: 18
Speedup: 0.7×

Specification

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

\\
\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c}
\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 18 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: 80.1% accurate, 1.0× speedup?

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

\\
\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c}
\end{array}

Alternative 1: 84.2% accurate, 0.7× speedup?

\[\begin{array}{l} [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\\\ [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\ \\ \begin{array}{l} \mathbf{if}\;z \leq -6.2 \cdot 10^{+186} \lor \neg \left(z \leq 4.9 \cdot 10^{+125}\right):\\ \;\;\;\;\mathsf{fma}\left(\frac{\frac{x}{c \cdot z}}{t} \cdot 9, y, \frac{a}{c} \cdot -4\right) \cdot t\\ \mathbf{else}:\\ \;\;\;\;\frac{\frac{\mathsf{fma}\left(\left(-4 \cdot z\right) \cdot a, t, \mathsf{fma}\left(y \cdot 9, x, b\right)\right)}{c}}{z}\\ \end{array} \end{array} \]
NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
(FPCore (x y z t a b c)
 :precision binary64
 (if (or (<= z -6.2e+186) (not (<= z 4.9e+125)))
   (* (fma (* (/ (/ x (* c z)) t) 9.0) y (* (/ a c) -4.0)) t)
   (/ (/ (fma (* (* -4.0 z) a) t (fma (* y 9.0) x b)) c) z)))
assert(x < y && y < z && z < t && t < a && a < b && b < c);
assert(x < y && y < z && z < t && t < a && a < b && b < c);
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if ((z <= -6.2e+186) || !(z <= 4.9e+125)) {
		tmp = fma((((x / (c * z)) / t) * 9.0), y, ((a / c) * -4.0)) * t;
	} else {
		tmp = (fma(((-4.0 * z) * a), t, fma((y * 9.0), x, b)) / c) / z;
	}
	return tmp;
}
x, y, z, t, a, b, c = sort([x, y, z, t, a, b, c])
x, y, z, t, a, b, c = sort([x, y, z, t, a, b, c])
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if ((z <= -6.2e+186) || !(z <= 4.9e+125))
		tmp = Float64(fma(Float64(Float64(Float64(x / Float64(c * z)) / t) * 9.0), y, Float64(Float64(a / c) * -4.0)) * t);
	else
		tmp = Float64(Float64(fma(Float64(Float64(-4.0 * z) * a), t, fma(Float64(y * 9.0), x, b)) / c) / z);
	end
	return tmp
end
NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
code[x_, y_, z_, t_, a_, b_, c_] := If[Or[LessEqual[z, -6.2e+186], N[Not[LessEqual[z, 4.9e+125]], $MachinePrecision]], N[(N[(N[(N[(N[(x / N[(c * z), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision] * 9.0), $MachinePrecision] * y + N[(N[(a / c), $MachinePrecision] * -4.0), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision], N[(N[(N[(N[(N[(-4.0 * z), $MachinePrecision] * a), $MachinePrecision] * t + N[(N[(y * 9.0), $MachinePrecision] * x + b), $MachinePrecision]), $MachinePrecision] / c), $MachinePrecision] / z), $MachinePrecision]]
\begin{array}{l}
[x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\\\
[x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\
\\
\begin{array}{l}
\mathbf{if}\;z \leq -6.2 \cdot 10^{+186} \lor \neg \left(z \leq 4.9 \cdot 10^{+125}\right):\\
\;\;\;\;\mathsf{fma}\left(\frac{\frac{x}{c \cdot z}}{t} \cdot 9, y, \frac{a}{c} \cdot -4\right) \cdot t\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if z < -6.2000000000000002e186 or 4.90000000000000016e125 < z

    1. Initial program 52.8%

      \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf

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

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

        \[\leadsto \color{blue}{\left(-4 \cdot \frac{a}{c} + \left(9 \cdot \frac{x \cdot y}{c \cdot \left(t \cdot z\right)} + \frac{b}{c \cdot \left(t \cdot z\right)}\right)\right) \cdot t} \]
    5. Applied rewrites73.7%

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

      \[\leadsto \left(-4 \cdot \frac{a}{c} + 9 \cdot \frac{x \cdot y}{c \cdot \left(t \cdot z\right)}\right) \cdot t \]
    7. Step-by-step derivation
      1. Applied rewrites79.3%

        \[\leadsto \mathsf{fma}\left(\frac{\frac{x}{c \cdot z}}{t} \cdot 9, y, \frac{a}{c} \cdot -4\right) \cdot t \]

      if -6.2000000000000002e186 < z < 4.90000000000000016e125

      1. Initial program 89.7%

        \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
      2. Add Preprocessing
      3. Step-by-step derivation
        1. lift-/.f64N/A

          \[\leadsto \color{blue}{\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c}} \]
        2. lift-*.f64N/A

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

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

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

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

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

      \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -6.2 \cdot 10^{+186} \lor \neg \left(z \leq 4.9 \cdot 10^{+125}\right):\\ \;\;\;\;\mathsf{fma}\left(\frac{\frac{x}{c \cdot z}}{t} \cdot 9, y, \frac{a}{c} \cdot -4\right) \cdot t\\ \mathbf{else}:\\ \;\;\;\;\frac{\frac{\mathsf{fma}\left(\left(-4 \cdot z\right) \cdot a, t, \mathsf{fma}\left(y \cdot 9, x, b\right)\right)}{c}}{z}\\ \end{array} \]
    10. Add Preprocessing

    Alternative 2: 86.8% accurate, 0.2× speedup?

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

      1. Initial program 89.1%

        \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
      2. Add Preprocessing
      3. Step-by-step derivation
        1. lift-+.f64N/A

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

          \[\leadsto \frac{\color{blue}{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right)} + b}{z \cdot c} \]
        3. lift-*.f64N/A

          \[\leadsto \frac{\left(\left(x \cdot 9\right) \cdot y - \color{blue}{\left(\left(z \cdot 4\right) \cdot t\right) \cdot a}\right) + b}{z \cdot c} \]
        4. fp-cancel-sub-sign-invN/A

          \[\leadsto \frac{\color{blue}{\left(\left(x \cdot 9\right) \cdot y + \left(\mathsf{neg}\left(\left(z \cdot 4\right) \cdot t\right)\right) \cdot a\right)} + b}{z \cdot c} \]
        5. +-commutativeN/A

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

          \[\leadsto \frac{\color{blue}{\left(\mathsf{neg}\left(\left(z \cdot 4\right) \cdot t\right)\right) \cdot a + \left(\left(x \cdot 9\right) \cdot y + b\right)}}{z \cdot c} \]
        7. lift-*.f64N/A

          \[\leadsto \frac{\left(\mathsf{neg}\left(\color{blue}{\left(z \cdot 4\right) \cdot t}\right)\right) \cdot a + \left(\left(x \cdot 9\right) \cdot y + b\right)}{z \cdot c} \]
        8. distribute-lft-neg-inN/A

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

          \[\leadsto \frac{\color{blue}{\left(\mathsf{neg}\left(z \cdot 4\right)\right) \cdot \left(t \cdot a\right)} + \left(\left(x \cdot 9\right) \cdot y + b\right)}{z \cdot c} \]
        10. *-commutativeN/A

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

          \[\leadsto \frac{\color{blue}{\left(\left(\mathsf{neg}\left(z \cdot 4\right)\right) \cdot a\right) \cdot t} + \left(\left(x \cdot 9\right) \cdot y + b\right)}{z \cdot c} \]
        12. +-commutativeN/A

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

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

          \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(z \cdot 4\right)\right) \cdot a}, t, b + \left(x \cdot 9\right) \cdot y\right)}{z \cdot c} \]
        15. lift-*.f64N/A

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

          \[\leadsto \frac{\mathsf{fma}\left(\left(\mathsf{neg}\left(\color{blue}{4 \cdot z}\right)\right) \cdot a, t, b + \left(x \cdot 9\right) \cdot y\right)}{z \cdot c} \]
        17. distribute-lft-neg-inN/A

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

          \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{\left(\left(\mathsf{neg}\left(4\right)\right) \cdot z\right)} \cdot a, t, b + \left(x \cdot 9\right) \cdot y\right)}{z \cdot c} \]
        19. metadata-evalN/A

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

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

      if -9.999999999999969e-311 < (/.f64 (+.f64 (-.f64 (*.f64 (*.f64 x #s(literal 9 binary64)) y) (*.f64 (*.f64 (*.f64 z #s(literal 4 binary64)) t) a)) b) (*.f64 z c)) < 0.0

      1. Initial program 25.2%

        \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
      2. Add Preprocessing
      3. Taylor expanded in x around 0

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

          \[\leadsto \frac{b - 4 \cdot \left(a \cdot \left(t \cdot z\right)\right)}{\color{blue}{z \cdot c}} \]
        2. associate-/r*N/A

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

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

          \[\leadsto \frac{\color{blue}{\frac{b - 4 \cdot \left(a \cdot \left(t \cdot z\right)\right)}{z}}}{c} \]
        5. fp-cancel-sub-sign-invN/A

          \[\leadsto \frac{\frac{\color{blue}{b + \left(\mathsf{neg}\left(4\right)\right) \cdot \left(a \cdot \left(t \cdot z\right)\right)}}{z}}{c} \]
        6. metadata-evalN/A

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

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

          \[\leadsto \frac{\frac{\color{blue}{\mathsf{fma}\left(-4, a \cdot \left(t \cdot z\right), b\right)}}{z}}{c} \]
        9. *-commutativeN/A

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

          \[\leadsto \frac{\frac{\mathsf{fma}\left(-4, \color{blue}{\left(t \cdot z\right) \cdot a}, b\right)}{z}}{c} \]
        11. lower-*.f6480.7

          \[\leadsto \frac{\frac{\mathsf{fma}\left(-4, \color{blue}{\left(t \cdot z\right)} \cdot a, b\right)}{z}}{c} \]
      5. Applied rewrites80.7%

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

      if 0.0 < (/.f64 (+.f64 (-.f64 (*.f64 (*.f64 x #s(literal 9 binary64)) y) (*.f64 (*.f64 (*.f64 z #s(literal 4 binary64)) t) a)) b) (*.f64 z c)) < +inf.0

      1. Initial program 92.7%

        \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
      2. Add Preprocessing
      3. Step-by-step derivation
        1. lift-+.f64N/A

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

          \[\leadsto \frac{\color{blue}{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right)} + b}{z \cdot c} \]
        3. lift-*.f64N/A

          \[\leadsto \frac{\left(\left(x \cdot 9\right) \cdot y - \color{blue}{\left(\left(z \cdot 4\right) \cdot t\right) \cdot a}\right) + b}{z \cdot c} \]
        4. fp-cancel-sub-sign-invN/A

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

          \[\leadsto \frac{\color{blue}{\left(x \cdot 9\right) \cdot y + \left(\left(\mathsf{neg}\left(\left(z \cdot 4\right) \cdot t\right)\right) \cdot a + b\right)}}{z \cdot c} \]
        6. lift-*.f64N/A

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

          \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(x \cdot 9, y, \left(\mathsf{neg}\left(\left(z \cdot 4\right) \cdot t\right)\right) \cdot a + b\right)}}{z \cdot c} \]
        8. lift-*.f64N/A

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

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

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

          \[\leadsto \frac{\mathsf{fma}\left(9 \cdot x, y, \left(\mathsf{neg}\left(\color{blue}{\left(z \cdot 4\right) \cdot t}\right)\right) \cdot a + b\right)}{z \cdot c} \]
        12. distribute-lft-neg-inN/A

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

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

          \[\leadsto \frac{\mathsf{fma}\left(9 \cdot x, y, \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(z \cdot 4\right), t \cdot a, b\right)}\right)}{z \cdot c} \]
        15. lift-*.f64N/A

          \[\leadsto \frac{\mathsf{fma}\left(9 \cdot x, y, \mathsf{fma}\left(\mathsf{neg}\left(\color{blue}{z \cdot 4}\right), t \cdot a, b\right)\right)}{z \cdot c} \]
        16. *-commutativeN/A

          \[\leadsto \frac{\mathsf{fma}\left(9 \cdot x, y, \mathsf{fma}\left(\mathsf{neg}\left(\color{blue}{4 \cdot z}\right), t \cdot a, b\right)\right)}{z \cdot c} \]
        17. distribute-lft-neg-inN/A

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

          \[\leadsto \frac{\mathsf{fma}\left(9 \cdot x, y, \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(4\right)\right) \cdot z}, t \cdot a, b\right)\right)}{z \cdot c} \]
        19. metadata-evalN/A

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

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

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

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

      if +inf.0 < (/.f64 (+.f64 (-.f64 (*.f64 (*.f64 x #s(literal 9 binary64)) y) (*.f64 (*.f64 (*.f64 z #s(literal 4 binary64)) t) a)) b) (*.f64 z c))

      1. Initial program 0.0%

        \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
      2. Add Preprocessing
      3. Taylor expanded in z around inf

        \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
      4. Step-by-step derivation
        1. lower-*.f64N/A

          \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
        2. lower-/.f64N/A

          \[\leadsto -4 \cdot \color{blue}{\frac{a \cdot t}{c}} \]
        3. lower-*.f6479.2

          \[\leadsto -4 \cdot \frac{\color{blue}{a \cdot t}}{c} \]
      5. Applied rewrites79.2%

        \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
    3. Recombined 4 regimes into one program.
    4. Add Preprocessing

    Alternative 3: 83.6% accurate, 0.4× speedup?

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

      1. Initial program 88.2%

        \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
      2. Add Preprocessing
      3. Step-by-step derivation
        1. lift-/.f64N/A

          \[\leadsto \color{blue}{\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c}} \]
        2. lift-*.f64N/A

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

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

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

          \[\leadsto \color{blue}{\frac{\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{c}}{z}} \]
      4. Applied rewrites88.7%

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

      if +inf.0 < (/.f64 (+.f64 (-.f64 (*.f64 (*.f64 x #s(literal 9 binary64)) y) (*.f64 (*.f64 (*.f64 z #s(literal 4 binary64)) t) a)) b) (*.f64 z c))

      1. Initial program 0.0%

        \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
      2. Add Preprocessing
      3. Taylor expanded in t around inf

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

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

          \[\leadsto \color{blue}{\left(-4 \cdot \frac{a}{c} + \left(9 \cdot \frac{x \cdot y}{c \cdot \left(t \cdot z\right)} + \frac{b}{c \cdot \left(t \cdot z\right)}\right)\right) \cdot t} \]
      5. Applied rewrites61.6%

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

        \[\leadsto \left(-4 \cdot \frac{a}{c}\right) \cdot t \]
      7. Step-by-step derivation
        1. Applied rewrites82.1%

          \[\leadsto \left(\frac{a}{c} \cdot -4\right) \cdot t \]
        2. Taylor expanded in b around 0

          \[\leadsto \left(-4 \cdot \frac{a}{c} + 9 \cdot \frac{x \cdot y}{c \cdot \left(t \cdot z\right)}\right) \cdot t \]
        3. Step-by-step derivation
          1. Applied rewrites87.3%

            \[\leadsto \mathsf{fma}\left(x, \frac{\frac{y}{c \cdot z}}{t} \cdot 9, -4 \cdot \frac{a}{c}\right) \cdot t \]
        4. Recombined 2 regimes into one program.
        5. Add Preprocessing

        Alternative 4: 82.6% accurate, 0.5× speedup?

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

          1. Initial program 88.2%

            \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
          2. Add Preprocessing
          3. Step-by-step derivation
            1. lift-/.f64N/A

              \[\leadsto \color{blue}{\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c}} \]
            2. lift-*.f64N/A

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

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

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

              \[\leadsto \color{blue}{\frac{\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{c}}{z}} \]
          4. Applied rewrites88.7%

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

          if +inf.0 < (/.f64 (+.f64 (-.f64 (*.f64 (*.f64 x #s(literal 9 binary64)) y) (*.f64 (*.f64 (*.f64 z #s(literal 4 binary64)) t) a)) b) (*.f64 z c))

          1. Initial program 0.0%

            \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
          2. Add Preprocessing
          3. Taylor expanded in z around inf

            \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
          4. Step-by-step derivation
            1. lower-*.f64N/A

              \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
            2. lower-/.f64N/A

              \[\leadsto -4 \cdot \color{blue}{\frac{a \cdot t}{c}} \]
            3. lower-*.f6479.2

              \[\leadsto -4 \cdot \frac{\color{blue}{a \cdot t}}{c} \]
          5. Applied rewrites79.2%

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

        Alternative 5: 84.6% accurate, 0.5× speedup?

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

          1. Initial program 88.2%

            \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
          2. Add Preprocessing
          3. Step-by-step derivation
            1. lift-+.f64N/A

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

              \[\leadsto \frac{\color{blue}{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right)} + b}{z \cdot c} \]
            3. lift-*.f64N/A

              \[\leadsto \frac{\left(\left(x \cdot 9\right) \cdot y - \color{blue}{\left(\left(z \cdot 4\right) \cdot t\right) \cdot a}\right) + b}{z \cdot c} \]
            4. fp-cancel-sub-sign-invN/A

              \[\leadsto \frac{\color{blue}{\left(\left(x \cdot 9\right) \cdot y + \left(\mathsf{neg}\left(\left(z \cdot 4\right) \cdot t\right)\right) \cdot a\right)} + b}{z \cdot c} \]
            5. +-commutativeN/A

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

              \[\leadsto \frac{\color{blue}{\left(\mathsf{neg}\left(\left(z \cdot 4\right) \cdot t\right)\right) \cdot a + \left(\left(x \cdot 9\right) \cdot y + b\right)}}{z \cdot c} \]
            7. lift-*.f64N/A

              \[\leadsto \frac{\left(\mathsf{neg}\left(\color{blue}{\left(z \cdot 4\right) \cdot t}\right)\right) \cdot a + \left(\left(x \cdot 9\right) \cdot y + b\right)}{z \cdot c} \]
            8. distribute-lft-neg-inN/A

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

              \[\leadsto \frac{\color{blue}{\left(\mathsf{neg}\left(z \cdot 4\right)\right) \cdot \left(t \cdot a\right)} + \left(\left(x \cdot 9\right) \cdot y + b\right)}{z \cdot c} \]
            10. *-commutativeN/A

              \[\leadsto \frac{\color{blue}{\left(t \cdot a\right) \cdot \left(\mathsf{neg}\left(z \cdot 4\right)\right)} + \left(\left(x \cdot 9\right) \cdot y + b\right)}{z \cdot c} \]
            11. +-commutativeN/A

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

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

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

              \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{a \cdot t}, \mathsf{neg}\left(z \cdot 4\right), b + \left(x \cdot 9\right) \cdot y\right)}{z \cdot c} \]
            15. lift-*.f64N/A

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

              \[\leadsto \frac{\mathsf{fma}\left(a \cdot t, \mathsf{neg}\left(\color{blue}{4 \cdot z}\right), b + \left(x \cdot 9\right) \cdot y\right)}{z \cdot c} \]
            17. distribute-lft-neg-inN/A

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

              \[\leadsto \frac{\mathsf{fma}\left(a \cdot t, \color{blue}{\left(\mathsf{neg}\left(4\right)\right) \cdot z}, b + \left(x \cdot 9\right) \cdot y\right)}{z \cdot c} \]
            19. metadata-evalN/A

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

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

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

          if +inf.0 < (/.f64 (+.f64 (-.f64 (*.f64 (*.f64 x #s(literal 9 binary64)) y) (*.f64 (*.f64 (*.f64 z #s(literal 4 binary64)) t) a)) b) (*.f64 z c))

          1. Initial program 0.0%

            \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
          2. Add Preprocessing
          3. Taylor expanded in z around inf

            \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
          4. Step-by-step derivation
            1. lower-*.f64N/A

              \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
            2. lower-/.f64N/A

              \[\leadsto -4 \cdot \color{blue}{\frac{a \cdot t}{c}} \]
            3. lower-*.f6479.2

              \[\leadsto -4 \cdot \frac{\color{blue}{a \cdot t}}{c} \]
          5. Applied rewrites79.2%

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

        Alternative 6: 84.7% accurate, 0.5× speedup?

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

          1. Initial program 88.2%

            \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
          2. Add Preprocessing
          3. Step-by-step derivation
            1. lift-+.f64N/A

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

              \[\leadsto \frac{\color{blue}{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right)} + b}{z \cdot c} \]
            3. lift-*.f64N/A

              \[\leadsto \frac{\left(\left(x \cdot 9\right) \cdot y - \color{blue}{\left(\left(z \cdot 4\right) \cdot t\right) \cdot a}\right) + b}{z \cdot c} \]
            4. fp-cancel-sub-sign-invN/A

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

              \[\leadsto \frac{\color{blue}{\left(x \cdot 9\right) \cdot y + \left(\left(\mathsf{neg}\left(\left(z \cdot 4\right) \cdot t\right)\right) \cdot a + b\right)}}{z \cdot c} \]
            6. lift-*.f64N/A

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

              \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(x \cdot 9, y, \left(\mathsf{neg}\left(\left(z \cdot 4\right) \cdot t\right)\right) \cdot a + b\right)}}{z \cdot c} \]
            8. lift-*.f64N/A

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

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

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

              \[\leadsto \frac{\mathsf{fma}\left(9 \cdot x, y, \left(\mathsf{neg}\left(\color{blue}{\left(z \cdot 4\right) \cdot t}\right)\right) \cdot a + b\right)}{z \cdot c} \]
            12. distribute-lft-neg-inN/A

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

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

              \[\leadsto \frac{\mathsf{fma}\left(9 \cdot x, y, \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(z \cdot 4\right), t \cdot a, b\right)}\right)}{z \cdot c} \]
            15. lift-*.f64N/A

              \[\leadsto \frac{\mathsf{fma}\left(9 \cdot x, y, \mathsf{fma}\left(\mathsf{neg}\left(\color{blue}{z \cdot 4}\right), t \cdot a, b\right)\right)}{z \cdot c} \]
            16. *-commutativeN/A

              \[\leadsto \frac{\mathsf{fma}\left(9 \cdot x, y, \mathsf{fma}\left(\mathsf{neg}\left(\color{blue}{4 \cdot z}\right), t \cdot a, b\right)\right)}{z \cdot c} \]
            17. distribute-lft-neg-inN/A

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

              \[\leadsto \frac{\mathsf{fma}\left(9 \cdot x, y, \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(4\right)\right) \cdot z}, t \cdot a, b\right)\right)}{z \cdot c} \]
            19. metadata-evalN/A

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

              \[\leadsto \frac{\mathsf{fma}\left(9 \cdot x, y, \mathsf{fma}\left(-4 \cdot z, \color{blue}{a \cdot t}, b\right)\right)}{z \cdot c} \]
            21. lower-*.f6487.8

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

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

          if +inf.0 < (/.f64 (+.f64 (-.f64 (*.f64 (*.f64 x #s(literal 9 binary64)) y) (*.f64 (*.f64 (*.f64 z #s(literal 4 binary64)) t) a)) b) (*.f64 z c))

          1. Initial program 0.0%

            \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
          2. Add Preprocessing
          3. Taylor expanded in z around inf

            \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
          4. Step-by-step derivation
            1. lower-*.f64N/A

              \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
            2. lower-/.f64N/A

              \[\leadsto -4 \cdot \color{blue}{\frac{a \cdot t}{c}} \]
            3. lower-*.f6479.2

              \[\leadsto -4 \cdot \frac{\color{blue}{a \cdot t}}{c} \]
          5. Applied rewrites79.2%

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

        Alternative 7: 71.5% accurate, 0.6× speedup?

        \[\begin{array}{l} [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\\\ [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\ \\ \begin{array}{l} t_1 := \left(x \cdot 9\right) \cdot y\\ \mathbf{if}\;t\_1 \leq -5 \cdot 10^{+169}:\\ \;\;\;\;\frac{9 \cdot x}{z} \cdot \frac{y}{c}\\ \mathbf{elif}\;t\_1 \leq 500:\\ \;\;\;\;\frac{\mathsf{fma}\left(t \cdot -4, a \cdot z, b\right)}{z \cdot c}\\ \mathbf{elif}\;t\_1 \leq 4 \cdot 10^{+267}:\\ \;\;\;\;\frac{\frac{\mathsf{fma}\left(y \cdot x, 9, b\right)}{z}}{c}\\ \mathbf{else}:\\ \;\;\;\;\frac{y \cdot 9}{z} \cdot \frac{x}{c}\\ \end{array} \end{array} \]
        NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
        NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
        (FPCore (x y z t a b c)
         :precision binary64
         (let* ((t_1 (* (* x 9.0) y)))
           (if (<= t_1 -5e+169)
             (* (/ (* 9.0 x) z) (/ y c))
             (if (<= t_1 500.0)
               (/ (fma (* t -4.0) (* a z) b) (* z c))
               (if (<= t_1 4e+267)
                 (/ (/ (fma (* y x) 9.0 b) z) c)
                 (* (/ (* y 9.0) z) (/ x c)))))))
        assert(x < y && y < z && z < t && t < a && a < b && b < c);
        assert(x < y && y < z && z < t && t < a && a < b && b < c);
        double code(double x, double y, double z, double t, double a, double b, double c) {
        	double t_1 = (x * 9.0) * y;
        	double tmp;
        	if (t_1 <= -5e+169) {
        		tmp = ((9.0 * x) / z) * (y / c);
        	} else if (t_1 <= 500.0) {
        		tmp = fma((t * -4.0), (a * z), b) / (z * c);
        	} else if (t_1 <= 4e+267) {
        		tmp = (fma((y * x), 9.0, b) / z) / c;
        	} else {
        		tmp = ((y * 9.0) / z) * (x / c);
        	}
        	return tmp;
        }
        
        x, y, z, t, a, b, c = sort([x, y, z, t, a, b, c])
        x, y, z, t, a, b, c = sort([x, y, z, t, a, b, c])
        function code(x, y, z, t, a, b, c)
        	t_1 = Float64(Float64(x * 9.0) * y)
        	tmp = 0.0
        	if (t_1 <= -5e+169)
        		tmp = Float64(Float64(Float64(9.0 * x) / z) * Float64(y / c));
        	elseif (t_1 <= 500.0)
        		tmp = Float64(fma(Float64(t * -4.0), Float64(a * z), b) / Float64(z * c));
        	elseif (t_1 <= 4e+267)
        		tmp = Float64(Float64(fma(Float64(y * x), 9.0, b) / z) / c);
        	else
        		tmp = Float64(Float64(Float64(y * 9.0) / z) * Float64(x / c));
        	end
        	return tmp
        end
        
        NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
        NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
        code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(N[(x * 9.0), $MachinePrecision] * y), $MachinePrecision]}, If[LessEqual[t$95$1, -5e+169], N[(N[(N[(9.0 * x), $MachinePrecision] / z), $MachinePrecision] * N[(y / c), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$1, 500.0], N[(N[(N[(t * -4.0), $MachinePrecision] * N[(a * z), $MachinePrecision] + b), $MachinePrecision] / N[(z * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$1, 4e+267], N[(N[(N[(N[(y * x), $MachinePrecision] * 9.0 + b), $MachinePrecision] / z), $MachinePrecision] / c), $MachinePrecision], N[(N[(N[(y * 9.0), $MachinePrecision] / z), $MachinePrecision] * N[(x / c), $MachinePrecision]), $MachinePrecision]]]]]
        
        \begin{array}{l}
        [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\\\
        [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\
        \\
        \begin{array}{l}
        t_1 := \left(x \cdot 9\right) \cdot y\\
        \mathbf{if}\;t\_1 \leq -5 \cdot 10^{+169}:\\
        \;\;\;\;\frac{9 \cdot x}{z} \cdot \frac{y}{c}\\
        
        \mathbf{elif}\;t\_1 \leq 500:\\
        \;\;\;\;\frac{\mathsf{fma}\left(t \cdot -4, a \cdot z, b\right)}{z \cdot c}\\
        
        \mathbf{elif}\;t\_1 \leq 4 \cdot 10^{+267}:\\
        \;\;\;\;\frac{\frac{\mathsf{fma}\left(y \cdot x, 9, b\right)}{z}}{c}\\
        
        \mathbf{else}:\\
        \;\;\;\;\frac{y \cdot 9}{z} \cdot \frac{x}{c}\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 4 regimes
        2. if (*.f64 (*.f64 x #s(literal 9 binary64)) y) < -5.00000000000000017e169

          1. Initial program 72.6%

            \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
          2. Add Preprocessing
          3. Step-by-step derivation
            1. lift-/.f64N/A

              \[\leadsto \color{blue}{\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c}} \]
            2. lift-*.f64N/A

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

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

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

              \[\leadsto \color{blue}{\frac{\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{c}}{z}} \]
          4. Applied rewrites76.0%

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

            \[\leadsto \color{blue}{9 \cdot \frac{x \cdot y}{c \cdot z}} \]
          6. Step-by-step derivation
            1. associate-*r/N/A

              \[\leadsto \color{blue}{\frac{9 \cdot \left(x \cdot y\right)}{c \cdot z}} \]
            2. associate-*r*N/A

              \[\leadsto \frac{\color{blue}{\left(9 \cdot x\right) \cdot y}}{c \cdot z} \]
            3. *-commutativeN/A

              \[\leadsto \frac{\left(9 \cdot x\right) \cdot y}{\color{blue}{z \cdot c}} \]
            4. times-fracN/A

              \[\leadsto \color{blue}{\frac{9 \cdot x}{z} \cdot \frac{y}{c}} \]
            5. lower-*.f64N/A

              \[\leadsto \color{blue}{\frac{9 \cdot x}{z} \cdot \frac{y}{c}} \]
            6. lower-/.f64N/A

              \[\leadsto \color{blue}{\frac{9 \cdot x}{z}} \cdot \frac{y}{c} \]
            7. lower-*.f64N/A

              \[\leadsto \frac{\color{blue}{9 \cdot x}}{z} \cdot \frac{y}{c} \]
            8. lower-/.f6479.4

              \[\leadsto \frac{9 \cdot x}{z} \cdot \color{blue}{\frac{y}{c}} \]
          7. Applied rewrites79.4%

            \[\leadsto \color{blue}{\frac{9 \cdot x}{z} \cdot \frac{y}{c}} \]

          if -5.00000000000000017e169 < (*.f64 (*.f64 x #s(literal 9 binary64)) y) < 500

          1. Initial program 85.1%

            \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
          2. Add Preprocessing
          3. Taylor expanded in x around 0

            \[\leadsto \frac{\color{blue}{b - 4 \cdot \left(a \cdot \left(t \cdot z\right)\right)}}{z \cdot c} \]
          4. Step-by-step derivation
            1. fp-cancel-sub-sign-invN/A

              \[\leadsto \frac{\color{blue}{b + \left(\mathsf{neg}\left(4\right)\right) \cdot \left(a \cdot \left(t \cdot z\right)\right)}}{z \cdot c} \]
            2. metadata-evalN/A

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

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

              \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(-4, a \cdot \left(t \cdot z\right), b\right)}}{z \cdot c} \]
            5. *-commutativeN/A

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

              \[\leadsto \frac{\mathsf{fma}\left(-4, \color{blue}{\left(t \cdot z\right) \cdot a}, b\right)}{z \cdot c} \]
            7. lower-*.f6476.8

              \[\leadsto \frac{\mathsf{fma}\left(-4, \color{blue}{\left(t \cdot z\right)} \cdot a, b\right)}{z \cdot c} \]
          5. Applied rewrites76.8%

            \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(-4, \left(t \cdot z\right) \cdot a, b\right)}}{z \cdot c} \]
          6. Step-by-step derivation
            1. Applied rewrites76.9%

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

            if 500 < (*.f64 (*.f64 x #s(literal 9 binary64)) y) < 3.9999999999999999e267

            1. Initial program 83.7%

              \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
            2. Add Preprocessing
            3. Taylor expanded in z around 0

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

                \[\leadsto \frac{b + 9 \cdot \left(x \cdot y\right)}{\color{blue}{z \cdot c}} \]
              2. associate-/r*N/A

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

                \[\leadsto \color{blue}{\frac{\frac{b + 9 \cdot \left(x \cdot y\right)}{z}}{c}} \]
              4. lower-/.f64N/A

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

                \[\leadsto \frac{\frac{\color{blue}{9 \cdot \left(x \cdot y\right) + b}}{z}}{c} \]
              6. *-commutativeN/A

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

                \[\leadsto \frac{\frac{\color{blue}{\mathsf{fma}\left(x \cdot y, 9, b\right)}}{z}}{c} \]
              8. *-commutativeN/A

                \[\leadsto \frac{\frac{\mathsf{fma}\left(\color{blue}{y \cdot x}, 9, b\right)}{z}}{c} \]
              9. lower-*.f6471.9

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

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

            if 3.9999999999999999e267 < (*.f64 (*.f64 x #s(literal 9 binary64)) y)

            1. Initial program 62.4%

              \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
            2. Add Preprocessing
            3. Taylor expanded in x around inf

              \[\leadsto \color{blue}{9 \cdot \frac{x \cdot y}{c \cdot z}} \]
            4. Step-by-step derivation
              1. associate-*r/N/A

                \[\leadsto \color{blue}{\frac{9 \cdot \left(x \cdot y\right)}{c \cdot z}} \]
              2. *-commutativeN/A

                \[\leadsto \frac{9 \cdot \color{blue}{\left(y \cdot x\right)}}{c \cdot z} \]
              3. associate-*r*N/A

                \[\leadsto \frac{\color{blue}{\left(9 \cdot y\right) \cdot x}}{c \cdot z} \]
              4. times-fracN/A

                \[\leadsto \color{blue}{\frac{9 \cdot y}{c} \cdot \frac{x}{z}} \]
              5. lower-*.f64N/A

                \[\leadsto \color{blue}{\frac{9 \cdot y}{c} \cdot \frac{x}{z}} \]
              6. *-commutativeN/A

                \[\leadsto \frac{\color{blue}{y \cdot 9}}{c} \cdot \frac{x}{z} \]
              7. associate-*l/N/A

                \[\leadsto \color{blue}{\left(\frac{y}{c} \cdot 9\right)} \cdot \frac{x}{z} \]
              8. lower-*.f64N/A

                \[\leadsto \color{blue}{\left(\frac{y}{c} \cdot 9\right)} \cdot \frac{x}{z} \]
              9. lower-/.f64N/A

                \[\leadsto \left(\color{blue}{\frac{y}{c}} \cdot 9\right) \cdot \frac{x}{z} \]
              10. lower-/.f6480.5

                \[\leadsto \left(\frac{y}{c} \cdot 9\right) \cdot \color{blue}{\frac{x}{z}} \]
            5. Applied rewrites80.5%

              \[\leadsto \color{blue}{\left(\frac{y}{c} \cdot 9\right) \cdot \frac{x}{z}} \]
            6. Step-by-step derivation
              1. Applied rewrites84.9%

                \[\leadsto \frac{y \cdot 9}{z} \cdot \color{blue}{\frac{x}{c}} \]
            7. Recombined 4 regimes into one program.
            8. Add Preprocessing

            Alternative 8: 83.3% accurate, 0.6× speedup?

            \[\begin{array}{l} [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\\\ [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\ \\ \begin{array}{l} \mathbf{if}\;c \leq 7500000000:\\ \;\;\;\;\frac{\mathsf{fma}\left(9 \cdot x, y, \mathsf{fma}\left(-4 \cdot z, a \cdot t, b\right)\right)}{z \cdot c}\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\frac{a}{c}, -4, \frac{\mathsf{fma}\left(x \cdot 9, \frac{y}{c}, \frac{b}{c}\right)}{t \cdot z}\right) \cdot t\\ \end{array} \end{array} \]
            NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
            NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
            (FPCore (x y z t a b c)
             :precision binary64
             (if (<= c 7500000000.0)
               (/ (fma (* 9.0 x) y (fma (* -4.0 z) (* a t) b)) (* z c))
               (* (fma (/ a c) -4.0 (/ (fma (* x 9.0) (/ y c) (/ b c)) (* t z))) t)))
            assert(x < y && y < z && z < t && t < a && a < b && b < c);
            assert(x < y && y < z && z < t && t < a && a < b && b < c);
            double code(double x, double y, double z, double t, double a, double b, double c) {
            	double tmp;
            	if (c <= 7500000000.0) {
            		tmp = fma((9.0 * x), y, fma((-4.0 * z), (a * t), b)) / (z * c);
            	} else {
            		tmp = fma((a / c), -4.0, (fma((x * 9.0), (y / c), (b / c)) / (t * z))) * t;
            	}
            	return tmp;
            }
            
            x, y, z, t, a, b, c = sort([x, y, z, t, a, b, c])
            x, y, z, t, a, b, c = sort([x, y, z, t, a, b, c])
            function code(x, y, z, t, a, b, c)
            	tmp = 0.0
            	if (c <= 7500000000.0)
            		tmp = Float64(fma(Float64(9.0 * x), y, fma(Float64(-4.0 * z), Float64(a * t), b)) / Float64(z * c));
            	else
            		tmp = Float64(fma(Float64(a / c), -4.0, Float64(fma(Float64(x * 9.0), Float64(y / c), Float64(b / c)) / Float64(t * z))) * t);
            	end
            	return tmp
            end
            
            NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
            NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
            code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[c, 7500000000.0], N[(N[(N[(9.0 * x), $MachinePrecision] * y + N[(N[(-4.0 * z), $MachinePrecision] * N[(a * t), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(z * c), $MachinePrecision]), $MachinePrecision], N[(N[(N[(a / c), $MachinePrecision] * -4.0 + N[(N[(N[(x * 9.0), $MachinePrecision] * N[(y / c), $MachinePrecision] + N[(b / c), $MachinePrecision]), $MachinePrecision] / N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]]
            
            \begin{array}{l}
            [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\\\
            [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\
            \\
            \begin{array}{l}
            \mathbf{if}\;c \leq 7500000000:\\
            \;\;\;\;\frac{\mathsf{fma}\left(9 \cdot x, y, \mathsf{fma}\left(-4 \cdot z, a \cdot t, b\right)\right)}{z \cdot c}\\
            
            \mathbf{else}:\\
            \;\;\;\;\mathsf{fma}\left(\frac{a}{c}, -4, \frac{\mathsf{fma}\left(x \cdot 9, \frac{y}{c}, \frac{b}{c}\right)}{t \cdot z}\right) \cdot t\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 2 regimes
            2. if c < 7.5e9

              1. Initial program 88.9%

                \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
              2. Add Preprocessing
              3. Step-by-step derivation
                1. lift-+.f64N/A

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

                  \[\leadsto \frac{\color{blue}{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right)} + b}{z \cdot c} \]
                3. lift-*.f64N/A

                  \[\leadsto \frac{\left(\left(x \cdot 9\right) \cdot y - \color{blue}{\left(\left(z \cdot 4\right) \cdot t\right) \cdot a}\right) + b}{z \cdot c} \]
                4. fp-cancel-sub-sign-invN/A

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

                  \[\leadsto \frac{\color{blue}{\left(x \cdot 9\right) \cdot y + \left(\left(\mathsf{neg}\left(\left(z \cdot 4\right) \cdot t\right)\right) \cdot a + b\right)}}{z \cdot c} \]
                6. lift-*.f64N/A

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

                  \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(x \cdot 9, y, \left(\mathsf{neg}\left(\left(z \cdot 4\right) \cdot t\right)\right) \cdot a + b\right)}}{z \cdot c} \]
                8. lift-*.f64N/A

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

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

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

                  \[\leadsto \frac{\mathsf{fma}\left(9 \cdot x, y, \left(\mathsf{neg}\left(\color{blue}{\left(z \cdot 4\right) \cdot t}\right)\right) \cdot a + b\right)}{z \cdot c} \]
                12. distribute-lft-neg-inN/A

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

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

                  \[\leadsto \frac{\mathsf{fma}\left(9 \cdot x, y, \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(z \cdot 4\right), t \cdot a, b\right)}\right)}{z \cdot c} \]
                15. lift-*.f64N/A

                  \[\leadsto \frac{\mathsf{fma}\left(9 \cdot x, y, \mathsf{fma}\left(\mathsf{neg}\left(\color{blue}{z \cdot 4}\right), t \cdot a, b\right)\right)}{z \cdot c} \]
                16. *-commutativeN/A

                  \[\leadsto \frac{\mathsf{fma}\left(9 \cdot x, y, \mathsf{fma}\left(\mathsf{neg}\left(\color{blue}{4 \cdot z}\right), t \cdot a, b\right)\right)}{z \cdot c} \]
                17. distribute-lft-neg-inN/A

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

                  \[\leadsto \frac{\mathsf{fma}\left(9 \cdot x, y, \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(4\right)\right) \cdot z}, t \cdot a, b\right)\right)}{z \cdot c} \]
                19. metadata-evalN/A

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

                  \[\leadsto \frac{\mathsf{fma}\left(9 \cdot x, y, \mathsf{fma}\left(-4 \cdot z, \color{blue}{a \cdot t}, b\right)\right)}{z \cdot c} \]
                21. lower-*.f6489.0

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

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

              if 7.5e9 < c

              1. Initial program 62.4%

                \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
              2. Add Preprocessing
              3. Taylor expanded in t around inf

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

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

                  \[\leadsto \color{blue}{\left(-4 \cdot \frac{a}{c} + \left(9 \cdot \frac{x \cdot y}{c \cdot \left(t \cdot z\right)} + \frac{b}{c \cdot \left(t \cdot z\right)}\right)\right) \cdot t} \]
              5. Applied rewrites75.4%

                \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{a}{c}, -4, \frac{\frac{\mathsf{fma}\left(y \cdot x, 9, b\right)}{c}}{t \cdot z}\right) \cdot t} \]
              6. Step-by-step derivation
                1. Applied rewrites76.2%

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

              Alternative 9: 68.2% accurate, 1.1× speedup?

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

                1. Initial program 78.8%

                  \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                2. Add Preprocessing
                3. Step-by-step derivation
                  1. lift-/.f64N/A

                    \[\leadsto \color{blue}{\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c}} \]
                  2. lift-*.f64N/A

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

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

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

                    \[\leadsto \color{blue}{\frac{\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{c}}{z}} \]
                4. Applied rewrites78.1%

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

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

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

                    \[\leadsto \color{blue}{\left(-4 \cdot \frac{t}{c} + \left(9 \cdot \frac{x \cdot y}{a \cdot \left(c \cdot z\right)} + \frac{b}{a \cdot \left(c \cdot z\right)}\right)\right) \cdot a} \]
                7. Applied rewrites83.3%

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

                  \[\leadsto \left(-4 \cdot \frac{t}{c}\right) \cdot a \]
                9. Step-by-step derivation
                  1. Applied rewrites52.0%

                    \[\leadsto \left(\frac{t}{c} \cdot -4\right) \cdot a \]

                  if -5.1000000000000001e-142 < a < 5.5000000000000002e56

                  1. Initial program 83.2%

                    \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                  2. Add Preprocessing
                  3. Taylor expanded in z around 0

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

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

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

                      \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(x \cdot y, 9, b\right)}}{z \cdot c} \]
                    4. *-commutativeN/A

                      \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{y \cdot x}, 9, b\right)}{z \cdot c} \]
                    5. lower-*.f6475.3

                      \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{y \cdot x}, 9, b\right)}{z \cdot c} \]
                  5. Applied rewrites75.3%

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

                  if 5.5000000000000002e56 < a

                  1. Initial program 84.1%

                    \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                  2. Add Preprocessing
                  3. Taylor expanded in x around 0

                    \[\leadsto \frac{\color{blue}{b - 4 \cdot \left(a \cdot \left(t \cdot z\right)\right)}}{z \cdot c} \]
                  4. Step-by-step derivation
                    1. fp-cancel-sub-sign-invN/A

                      \[\leadsto \frac{\color{blue}{b + \left(\mathsf{neg}\left(4\right)\right) \cdot \left(a \cdot \left(t \cdot z\right)\right)}}{z \cdot c} \]
                    2. metadata-evalN/A

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

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

                      \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(-4, a \cdot \left(t \cdot z\right), b\right)}}{z \cdot c} \]
                    5. *-commutativeN/A

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

                      \[\leadsto \frac{\mathsf{fma}\left(-4, \color{blue}{\left(t \cdot z\right) \cdot a}, b\right)}{z \cdot c} \]
                    7. lower-*.f6478.4

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

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

                Alternative 10: 49.7% accurate, 1.2× speedup?

                \[\begin{array}{l} [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\\\ [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\ \\ \begin{array}{l} \mathbf{if}\;b \leq -2.7 \cdot 10^{+53}:\\ \;\;\;\;\frac{b}{c \cdot z}\\ \mathbf{elif}\;b \leq -1.42 \cdot 10^{-70}:\\ \;\;\;\;\frac{\left(y \cdot x\right) \cdot 9}{z \cdot c}\\ \mathbf{elif}\;b \leq 10^{+111}:\\ \;\;\;\;\left(\frac{a}{c} \cdot -4\right) \cdot t\\ \mathbf{else}:\\ \;\;\;\;\frac{\frac{b}{c}}{z}\\ \end{array} \end{array} \]
                NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                (FPCore (x y z t a b c)
                 :precision binary64
                 (if (<= b -2.7e+53)
                   (/ b (* c z))
                   (if (<= b -1.42e-70)
                     (/ (* (* y x) 9.0) (* z c))
                     (if (<= b 1e+111) (* (* (/ a c) -4.0) t) (/ (/ b c) z)))))
                assert(x < y && y < z && z < t && t < a && a < b && b < c);
                assert(x < y && y < z && z < t && t < a && a < b && b < c);
                double code(double x, double y, double z, double t, double a, double b, double c) {
                	double tmp;
                	if (b <= -2.7e+53) {
                		tmp = b / (c * z);
                	} else if (b <= -1.42e-70) {
                		tmp = ((y * x) * 9.0) / (z * c);
                	} else if (b <= 1e+111) {
                		tmp = ((a / c) * -4.0) * t;
                	} else {
                		tmp = (b / c) / z;
                	}
                	return tmp;
                }
                
                NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                real(8) function code(x, y, z, t, a, b, c)
                    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) :: tmp
                    if (b <= (-2.7d+53)) then
                        tmp = b / (c * z)
                    else if (b <= (-1.42d-70)) then
                        tmp = ((y * x) * 9.0d0) / (z * c)
                    else if (b <= 1d+111) then
                        tmp = ((a / c) * (-4.0d0)) * t
                    else
                        tmp = (b / c) / z
                    end if
                    code = tmp
                end function
                
                assert x < y && y < z && z < t && t < a && a < b && b < c;
                assert x < y && y < z && z < t && t < a && a < b && b < c;
                public static double code(double x, double y, double z, double t, double a, double b, double c) {
                	double tmp;
                	if (b <= -2.7e+53) {
                		tmp = b / (c * z);
                	} else if (b <= -1.42e-70) {
                		tmp = ((y * x) * 9.0) / (z * c);
                	} else if (b <= 1e+111) {
                		tmp = ((a / c) * -4.0) * t;
                	} else {
                		tmp = (b / c) / z;
                	}
                	return tmp;
                }
                
                [x, y, z, t, a, b, c] = sort([x, y, z, t, a, b, c])
                [x, y, z, t, a, b, c] = sort([x, y, z, t, a, b, c])
                def code(x, y, z, t, a, b, c):
                	tmp = 0
                	if b <= -2.7e+53:
                		tmp = b / (c * z)
                	elif b <= -1.42e-70:
                		tmp = ((y * x) * 9.0) / (z * c)
                	elif b <= 1e+111:
                		tmp = ((a / c) * -4.0) * t
                	else:
                		tmp = (b / c) / z
                	return tmp
                
                x, y, z, t, a, b, c = sort([x, y, z, t, a, b, c])
                x, y, z, t, a, b, c = sort([x, y, z, t, a, b, c])
                function code(x, y, z, t, a, b, c)
                	tmp = 0.0
                	if (b <= -2.7e+53)
                		tmp = Float64(b / Float64(c * z));
                	elseif (b <= -1.42e-70)
                		tmp = Float64(Float64(Float64(y * x) * 9.0) / Float64(z * c));
                	elseif (b <= 1e+111)
                		tmp = Float64(Float64(Float64(a / c) * -4.0) * t);
                	else
                		tmp = Float64(Float64(b / c) / z);
                	end
                	return tmp
                end
                
                x, y, z, t, a, b, c = num2cell(sort([x, y, z, t, a, b, c])){:}
                x, y, z, t, a, b, c = num2cell(sort([x, y, z, t, a, b, c])){:}
                function tmp_2 = code(x, y, z, t, a, b, c)
                	tmp = 0.0;
                	if (b <= -2.7e+53)
                		tmp = b / (c * z);
                	elseif (b <= -1.42e-70)
                		tmp = ((y * x) * 9.0) / (z * c);
                	elseif (b <= 1e+111)
                		tmp = ((a / c) * -4.0) * t;
                	else
                		tmp = (b / c) / z;
                	end
                	tmp_2 = tmp;
                end
                
                NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -2.7e+53], N[(b / N[(c * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -1.42e-70], N[(N[(N[(y * x), $MachinePrecision] * 9.0), $MachinePrecision] / N[(z * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1e+111], N[(N[(N[(a / c), $MachinePrecision] * -4.0), $MachinePrecision] * t), $MachinePrecision], N[(N[(b / c), $MachinePrecision] / z), $MachinePrecision]]]]
                
                \begin{array}{l}
                [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\\\
                [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\
                \\
                \begin{array}{l}
                \mathbf{if}\;b \leq -2.7 \cdot 10^{+53}:\\
                \;\;\;\;\frac{b}{c \cdot z}\\
                
                \mathbf{elif}\;b \leq -1.42 \cdot 10^{-70}:\\
                \;\;\;\;\frac{\left(y \cdot x\right) \cdot 9}{z \cdot c}\\
                
                \mathbf{elif}\;b \leq 10^{+111}:\\
                \;\;\;\;\left(\frac{a}{c} \cdot -4\right) \cdot t\\
                
                \mathbf{else}:\\
                \;\;\;\;\frac{\frac{b}{c}}{z}\\
                
                
                \end{array}
                \end{array}
                
                Derivation
                1. Split input into 4 regimes
                2. if b < -2.70000000000000019e53

                  1. Initial program 85.8%

                    \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                  2. Add Preprocessing
                  3. Taylor expanded in b around inf

                    \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                  4. Step-by-step derivation
                    1. lower-/.f64N/A

                      \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                    2. lower-*.f6467.1

                      \[\leadsto \frac{b}{\color{blue}{c \cdot z}} \]
                  5. Applied rewrites67.1%

                    \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]

                  if -2.70000000000000019e53 < b < -1.42000000000000002e-70

                  1. Initial program 90.0%

                    \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                  2. Add Preprocessing
                  3. Step-by-step derivation
                    1. lift-+.f64N/A

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

                      \[\leadsto \frac{\color{blue}{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right)} + b}{z \cdot c} \]
                    3. lift-*.f64N/A

                      \[\leadsto \frac{\left(\left(x \cdot 9\right) \cdot y - \color{blue}{\left(\left(z \cdot 4\right) \cdot t\right) \cdot a}\right) + b}{z \cdot c} \]
                    4. fp-cancel-sub-sign-invN/A

                      \[\leadsto \frac{\color{blue}{\left(\left(x \cdot 9\right) \cdot y + \left(\mathsf{neg}\left(\left(z \cdot 4\right) \cdot t\right)\right) \cdot a\right)} + b}{z \cdot c} \]
                    5. +-commutativeN/A

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

                      \[\leadsto \frac{\color{blue}{\left(\mathsf{neg}\left(\left(z \cdot 4\right) \cdot t\right)\right) \cdot a + \left(\left(x \cdot 9\right) \cdot y + b\right)}}{z \cdot c} \]
                    7. lift-*.f64N/A

                      \[\leadsto \frac{\left(\mathsf{neg}\left(\color{blue}{\left(z \cdot 4\right) \cdot t}\right)\right) \cdot a + \left(\left(x \cdot 9\right) \cdot y + b\right)}{z \cdot c} \]
                    8. distribute-lft-neg-inN/A

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

                      \[\leadsto \frac{\color{blue}{\left(\mathsf{neg}\left(z \cdot 4\right)\right) \cdot \left(t \cdot a\right)} + \left(\left(x \cdot 9\right) \cdot y + b\right)}{z \cdot c} \]
                    10. *-commutativeN/A

                      \[\leadsto \frac{\color{blue}{\left(t \cdot a\right) \cdot \left(\mathsf{neg}\left(z \cdot 4\right)\right)} + \left(\left(x \cdot 9\right) \cdot y + b\right)}{z \cdot c} \]
                    11. +-commutativeN/A

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

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

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

                      \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{a \cdot t}, \mathsf{neg}\left(z \cdot 4\right), b + \left(x \cdot 9\right) \cdot y\right)}{z \cdot c} \]
                    15. lift-*.f64N/A

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

                      \[\leadsto \frac{\mathsf{fma}\left(a \cdot t, \mathsf{neg}\left(\color{blue}{4 \cdot z}\right), b + \left(x \cdot 9\right) \cdot y\right)}{z \cdot c} \]
                    17. distribute-lft-neg-inN/A

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

                      \[\leadsto \frac{\mathsf{fma}\left(a \cdot t, \color{blue}{\left(\mathsf{neg}\left(4\right)\right) \cdot z}, b + \left(x \cdot 9\right) \cdot y\right)}{z \cdot c} \]
                    19. metadata-evalN/A

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

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

                    \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(a \cdot t, -4 \cdot z, \mathsf{fma}\left(y \cdot 9, x, b\right)\right)}}{z \cdot c} \]
                  5. Step-by-step derivation
                    1. lift-fma.f64N/A

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

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

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

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

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

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

                      \[\leadsto \frac{\mathsf{fma}\left(a \cdot t, -4 \cdot z, \mathsf{fma}\left(\color{blue}{x \cdot 9}, y, b\right)\right)}{z \cdot c} \]
                  6. Applied rewrites90.0%

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

                    \[\leadsto \frac{\color{blue}{9 \cdot \left(x \cdot y\right)}}{z \cdot c} \]
                  8. Step-by-step derivation
                    1. *-commutativeN/A

                      \[\leadsto \frac{\color{blue}{\left(x \cdot y\right) \cdot 9}}{z \cdot c} \]
                    2. lower-*.f64N/A

                      \[\leadsto \frac{\color{blue}{\left(x \cdot y\right) \cdot 9}}{z \cdot c} \]
                    3. *-commutativeN/A

                      \[\leadsto \frac{\color{blue}{\left(y \cdot x\right)} \cdot 9}{z \cdot c} \]
                    4. lower-*.f6470.6

                      \[\leadsto \frac{\color{blue}{\left(y \cdot x\right)} \cdot 9}{z \cdot c} \]
                  9. Applied rewrites70.6%

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

                  if -1.42000000000000002e-70 < b < 9.99999999999999957e110

                  1. Initial program 78.2%

                    \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                  2. Add Preprocessing
                  3. Taylor expanded in t around inf

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

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

                      \[\leadsto \color{blue}{\left(-4 \cdot \frac{a}{c} + \left(9 \cdot \frac{x \cdot y}{c \cdot \left(t \cdot z\right)} + \frac{b}{c \cdot \left(t \cdot z\right)}\right)\right) \cdot t} \]
                  5. Applied rewrites74.3%

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

                    \[\leadsto \left(-4 \cdot \frac{a}{c}\right) \cdot t \]
                  7. Step-by-step derivation
                    1. Applied rewrites56.2%

                      \[\leadsto \left(\frac{a}{c} \cdot -4\right) \cdot t \]

                    if 9.99999999999999957e110 < b

                    1. Initial program 83.9%

                      \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                    2. Add Preprocessing
                    3. Taylor expanded in b around inf

                      \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                    4. Step-by-step derivation
                      1. lower-/.f64N/A

                        \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                      2. lower-*.f6467.4

                        \[\leadsto \frac{b}{\color{blue}{c \cdot z}} \]
                    5. Applied rewrites67.4%

                      \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                    6. Step-by-step derivation
                      1. Applied rewrites70.3%

                        \[\leadsto \frac{\frac{b}{c}}{\color{blue}{z}} \]
                    7. Recombined 4 regimes into one program.
                    8. Add Preprocessing

                    Alternative 11: 49.7% accurate, 1.2× speedup?

                    \[\begin{array}{l} [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\\\ [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\ \\ \begin{array}{l} \mathbf{if}\;b \leq -2.7 \cdot 10^{+53}:\\ \;\;\;\;\frac{b}{c \cdot z}\\ \mathbf{elif}\;b \leq -1.42 \cdot 10^{-70}:\\ \;\;\;\;\frac{\left(y \cdot 9\right) \cdot x}{c \cdot z}\\ \mathbf{elif}\;b \leq 10^{+111}:\\ \;\;\;\;\left(\frac{a}{c} \cdot -4\right) \cdot t\\ \mathbf{else}:\\ \;\;\;\;\frac{\frac{b}{c}}{z}\\ \end{array} \end{array} \]
                    NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                    NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                    (FPCore (x y z t a b c)
                     :precision binary64
                     (if (<= b -2.7e+53)
                       (/ b (* c z))
                       (if (<= b -1.42e-70)
                         (/ (* (* y 9.0) x) (* c z))
                         (if (<= b 1e+111) (* (* (/ a c) -4.0) t) (/ (/ b c) z)))))
                    assert(x < y && y < z && z < t && t < a && a < b && b < c);
                    assert(x < y && y < z && z < t && t < a && a < b && b < c);
                    double code(double x, double y, double z, double t, double a, double b, double c) {
                    	double tmp;
                    	if (b <= -2.7e+53) {
                    		tmp = b / (c * z);
                    	} else if (b <= -1.42e-70) {
                    		tmp = ((y * 9.0) * x) / (c * z);
                    	} else if (b <= 1e+111) {
                    		tmp = ((a / c) * -4.0) * t;
                    	} else {
                    		tmp = (b / c) / z;
                    	}
                    	return tmp;
                    }
                    
                    NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                    NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                    real(8) function code(x, y, z, t, a, b, c)
                        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) :: tmp
                        if (b <= (-2.7d+53)) then
                            tmp = b / (c * z)
                        else if (b <= (-1.42d-70)) then
                            tmp = ((y * 9.0d0) * x) / (c * z)
                        else if (b <= 1d+111) then
                            tmp = ((a / c) * (-4.0d0)) * t
                        else
                            tmp = (b / c) / z
                        end if
                        code = tmp
                    end function
                    
                    assert x < y && y < z && z < t && t < a && a < b && b < c;
                    assert x < y && y < z && z < t && t < a && a < b && b < c;
                    public static double code(double x, double y, double z, double t, double a, double b, double c) {
                    	double tmp;
                    	if (b <= -2.7e+53) {
                    		tmp = b / (c * z);
                    	} else if (b <= -1.42e-70) {
                    		tmp = ((y * 9.0) * x) / (c * z);
                    	} else if (b <= 1e+111) {
                    		tmp = ((a / c) * -4.0) * t;
                    	} else {
                    		tmp = (b / c) / z;
                    	}
                    	return tmp;
                    }
                    
                    [x, y, z, t, a, b, c] = sort([x, y, z, t, a, b, c])
                    [x, y, z, t, a, b, c] = sort([x, y, z, t, a, b, c])
                    def code(x, y, z, t, a, b, c):
                    	tmp = 0
                    	if b <= -2.7e+53:
                    		tmp = b / (c * z)
                    	elif b <= -1.42e-70:
                    		tmp = ((y * 9.0) * x) / (c * z)
                    	elif b <= 1e+111:
                    		tmp = ((a / c) * -4.0) * t
                    	else:
                    		tmp = (b / c) / z
                    	return tmp
                    
                    x, y, z, t, a, b, c = sort([x, y, z, t, a, b, c])
                    x, y, z, t, a, b, c = sort([x, y, z, t, a, b, c])
                    function code(x, y, z, t, a, b, c)
                    	tmp = 0.0
                    	if (b <= -2.7e+53)
                    		tmp = Float64(b / Float64(c * z));
                    	elseif (b <= -1.42e-70)
                    		tmp = Float64(Float64(Float64(y * 9.0) * x) / Float64(c * z));
                    	elseif (b <= 1e+111)
                    		tmp = Float64(Float64(Float64(a / c) * -4.0) * t);
                    	else
                    		tmp = Float64(Float64(b / c) / z);
                    	end
                    	return tmp
                    end
                    
                    x, y, z, t, a, b, c = num2cell(sort([x, y, z, t, a, b, c])){:}
                    x, y, z, t, a, b, c = num2cell(sort([x, y, z, t, a, b, c])){:}
                    function tmp_2 = code(x, y, z, t, a, b, c)
                    	tmp = 0.0;
                    	if (b <= -2.7e+53)
                    		tmp = b / (c * z);
                    	elseif (b <= -1.42e-70)
                    		tmp = ((y * 9.0) * x) / (c * z);
                    	elseif (b <= 1e+111)
                    		tmp = ((a / c) * -4.0) * t;
                    	else
                    		tmp = (b / c) / z;
                    	end
                    	tmp_2 = tmp;
                    end
                    
                    NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                    NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                    code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -2.7e+53], N[(b / N[(c * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -1.42e-70], N[(N[(N[(y * 9.0), $MachinePrecision] * x), $MachinePrecision] / N[(c * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1e+111], N[(N[(N[(a / c), $MachinePrecision] * -4.0), $MachinePrecision] * t), $MachinePrecision], N[(N[(b / c), $MachinePrecision] / z), $MachinePrecision]]]]
                    
                    \begin{array}{l}
                    [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\\\
                    [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\
                    \\
                    \begin{array}{l}
                    \mathbf{if}\;b \leq -2.7 \cdot 10^{+53}:\\
                    \;\;\;\;\frac{b}{c \cdot z}\\
                    
                    \mathbf{elif}\;b \leq -1.42 \cdot 10^{-70}:\\
                    \;\;\;\;\frac{\left(y \cdot 9\right) \cdot x}{c \cdot z}\\
                    
                    \mathbf{elif}\;b \leq 10^{+111}:\\
                    \;\;\;\;\left(\frac{a}{c} \cdot -4\right) \cdot t\\
                    
                    \mathbf{else}:\\
                    \;\;\;\;\frac{\frac{b}{c}}{z}\\
                    
                    
                    \end{array}
                    \end{array}
                    
                    Derivation
                    1. Split input into 4 regimes
                    2. if b < -2.70000000000000019e53

                      1. Initial program 85.8%

                        \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                      2. Add Preprocessing
                      3. Taylor expanded in b around inf

                        \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                      4. Step-by-step derivation
                        1. lower-/.f64N/A

                          \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                        2. lower-*.f6467.1

                          \[\leadsto \frac{b}{\color{blue}{c \cdot z}} \]
                      5. Applied rewrites67.1%

                        \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]

                      if -2.70000000000000019e53 < b < -1.42000000000000002e-70

                      1. Initial program 90.0%

                        \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                      2. Add Preprocessing
                      3. Taylor expanded in x around inf

                        \[\leadsto \color{blue}{9 \cdot \frac{x \cdot y}{c \cdot z}} \]
                      4. Step-by-step derivation
                        1. associate-*r/N/A

                          \[\leadsto \color{blue}{\frac{9 \cdot \left(x \cdot y\right)}{c \cdot z}} \]
                        2. *-commutativeN/A

                          \[\leadsto \frac{9 \cdot \color{blue}{\left(y \cdot x\right)}}{c \cdot z} \]
                        3. associate-*r*N/A

                          \[\leadsto \frac{\color{blue}{\left(9 \cdot y\right) \cdot x}}{c \cdot z} \]
                        4. times-fracN/A

                          \[\leadsto \color{blue}{\frac{9 \cdot y}{c} \cdot \frac{x}{z}} \]
                        5. lower-*.f64N/A

                          \[\leadsto \color{blue}{\frac{9 \cdot y}{c} \cdot \frac{x}{z}} \]
                        6. *-commutativeN/A

                          \[\leadsto \frac{\color{blue}{y \cdot 9}}{c} \cdot \frac{x}{z} \]
                        7. associate-*l/N/A

                          \[\leadsto \color{blue}{\left(\frac{y}{c} \cdot 9\right)} \cdot \frac{x}{z} \]
                        8. lower-*.f64N/A

                          \[\leadsto \color{blue}{\left(\frac{y}{c} \cdot 9\right)} \cdot \frac{x}{z} \]
                        9. lower-/.f64N/A

                          \[\leadsto \left(\color{blue}{\frac{y}{c}} \cdot 9\right) \cdot \frac{x}{z} \]
                        10. lower-/.f6455.7

                          \[\leadsto \left(\frac{y}{c} \cdot 9\right) \cdot \color{blue}{\frac{x}{z}} \]
                      5. Applied rewrites55.7%

                        \[\leadsto \color{blue}{\left(\frac{y}{c} \cdot 9\right) \cdot \frac{x}{z}} \]
                      6. Step-by-step derivation
                        1. Applied rewrites70.6%

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

                        if -1.42000000000000002e-70 < b < 9.99999999999999957e110

                        1. Initial program 78.2%

                          \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                        2. Add Preprocessing
                        3. Taylor expanded in t around inf

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

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

                            \[\leadsto \color{blue}{\left(-4 \cdot \frac{a}{c} + \left(9 \cdot \frac{x \cdot y}{c \cdot \left(t \cdot z\right)} + \frac{b}{c \cdot \left(t \cdot z\right)}\right)\right) \cdot t} \]
                        5. Applied rewrites74.3%

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

                          \[\leadsto \left(-4 \cdot \frac{a}{c}\right) \cdot t \]
                        7. Step-by-step derivation
                          1. Applied rewrites56.2%

                            \[\leadsto \left(\frac{a}{c} \cdot -4\right) \cdot t \]

                          if 9.99999999999999957e110 < b

                          1. Initial program 83.9%

                            \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                          2. Add Preprocessing
                          3. Taylor expanded in b around inf

                            \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                          4. Step-by-step derivation
                            1. lower-/.f64N/A

                              \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                            2. lower-*.f6467.4

                              \[\leadsto \frac{b}{\color{blue}{c \cdot z}} \]
                          5. Applied rewrites67.4%

                            \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                          6. Step-by-step derivation
                            1. Applied rewrites70.3%

                              \[\leadsto \frac{\frac{b}{c}}{\color{blue}{z}} \]
                          7. Recombined 4 regimes into one program.
                          8. Add Preprocessing

                          Alternative 12: 69.1% accurate, 1.2× speedup?

                          \[\begin{array}{l} [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\\\ [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\ \\ \begin{array}{l} \mathbf{if}\;z \leq -9.5 \cdot 10^{+76} \lor \neg \left(z \leq 1.02 \cdot 10^{+126}\right):\\ \;\;\;\;\left(\frac{a}{c} \cdot -4\right) \cdot t\\ \mathbf{else}:\\ \;\;\;\;\frac{\mathsf{fma}\left(y \cdot x, 9, b\right)}{z \cdot c}\\ \end{array} \end{array} \]
                          NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                          NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                          (FPCore (x y z t a b c)
                           :precision binary64
                           (if (or (<= z -9.5e+76) (not (<= z 1.02e+126)))
                             (* (* (/ a c) -4.0) t)
                             (/ (fma (* y x) 9.0 b) (* z c))))
                          assert(x < y && y < z && z < t && t < a && a < b && b < c);
                          assert(x < y && y < z && z < t && t < a && a < b && b < c);
                          double code(double x, double y, double z, double t, double a, double b, double c) {
                          	double tmp;
                          	if ((z <= -9.5e+76) || !(z <= 1.02e+126)) {
                          		tmp = ((a / c) * -4.0) * t;
                          	} else {
                          		tmp = fma((y * x), 9.0, b) / (z * c);
                          	}
                          	return tmp;
                          }
                          
                          x, y, z, t, a, b, c = sort([x, y, z, t, a, b, c])
                          x, y, z, t, a, b, c = sort([x, y, z, t, a, b, c])
                          function code(x, y, z, t, a, b, c)
                          	tmp = 0.0
                          	if ((z <= -9.5e+76) || !(z <= 1.02e+126))
                          		tmp = Float64(Float64(Float64(a / c) * -4.0) * t);
                          	else
                          		tmp = Float64(fma(Float64(y * x), 9.0, b) / Float64(z * c));
                          	end
                          	return tmp
                          end
                          
                          NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                          NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                          code[x_, y_, z_, t_, a_, b_, c_] := If[Or[LessEqual[z, -9.5e+76], N[Not[LessEqual[z, 1.02e+126]], $MachinePrecision]], N[(N[(N[(a / c), $MachinePrecision] * -4.0), $MachinePrecision] * t), $MachinePrecision], N[(N[(N[(y * x), $MachinePrecision] * 9.0 + b), $MachinePrecision] / N[(z * c), $MachinePrecision]), $MachinePrecision]]
                          
                          \begin{array}{l}
                          [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\\\
                          [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\
                          \\
                          \begin{array}{l}
                          \mathbf{if}\;z \leq -9.5 \cdot 10^{+76} \lor \neg \left(z \leq 1.02 \cdot 10^{+126}\right):\\
                          \;\;\;\;\left(\frac{a}{c} \cdot -4\right) \cdot t\\
                          
                          \mathbf{else}:\\
                          \;\;\;\;\frac{\mathsf{fma}\left(y \cdot x, 9, b\right)}{z \cdot c}\\
                          
                          
                          \end{array}
                          \end{array}
                          
                          Derivation
                          1. Split input into 2 regimes
                          2. if z < -9.5000000000000003e76 or 1.02e126 < z

                            1. Initial program 61.2%

                              \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                            2. Add Preprocessing
                            3. Taylor expanded in t around inf

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

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

                                \[\leadsto \color{blue}{\left(-4 \cdot \frac{a}{c} + \left(9 \cdot \frac{x \cdot y}{c \cdot \left(t \cdot z\right)} + \frac{b}{c \cdot \left(t \cdot z\right)}\right)\right) \cdot t} \]
                            5. Applied rewrites73.2%

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

                              \[\leadsto \left(-4 \cdot \frac{a}{c}\right) \cdot t \]
                            7. Step-by-step derivation
                              1. Applied rewrites66.9%

                                \[\leadsto \left(\frac{a}{c} \cdot -4\right) \cdot t \]

                              if -9.5000000000000003e76 < z < 1.02e126

                              1. Initial program 92.0%

                                \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                              2. Add Preprocessing
                              3. Taylor expanded in z around 0

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

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

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

                                  \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(x \cdot y, 9, b\right)}}{z \cdot c} \]
                                4. *-commutativeN/A

                                  \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{y \cdot x}, 9, b\right)}{z \cdot c} \]
                                5. lower-*.f6477.0

                                  \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{y \cdot x}, 9, b\right)}{z \cdot c} \]
                              5. Applied rewrites77.0%

                                \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(y \cdot x, 9, b\right)}}{z \cdot c} \]
                            8. Recombined 2 regimes into one program.
                            9. Final simplification73.6%

                              \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -9.5 \cdot 10^{+76} \lor \neg \left(z \leq 1.02 \cdot 10^{+126}\right):\\ \;\;\;\;\left(\frac{a}{c} \cdot -4\right) \cdot t\\ \mathbf{else}:\\ \;\;\;\;\frac{\mathsf{fma}\left(y \cdot x, 9, b\right)}{z \cdot c}\\ \end{array} \]
                            10. Add Preprocessing

                            Alternative 13: 69.1% accurate, 1.2× speedup?

                            \[\begin{array}{l} [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\\\ [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\ \\ \begin{array}{l} \mathbf{if}\;z \leq -9.5 \cdot 10^{+76} \lor \neg \left(z \leq 1.02 \cdot 10^{+126}\right):\\ \;\;\;\;\left(\frac{a}{c} \cdot -4\right) \cdot t\\ \mathbf{else}:\\ \;\;\;\;\frac{\mathsf{fma}\left(y, 9 \cdot x, b\right)}{c \cdot z}\\ \end{array} \end{array} \]
                            NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                            NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                            (FPCore (x y z t a b c)
                             :precision binary64
                             (if (or (<= z -9.5e+76) (not (<= z 1.02e+126)))
                               (* (* (/ a c) -4.0) t)
                               (/ (fma y (* 9.0 x) b) (* c z))))
                            assert(x < y && y < z && z < t && t < a && a < b && b < c);
                            assert(x < y && y < z && z < t && t < a && a < b && b < c);
                            double code(double x, double y, double z, double t, double a, double b, double c) {
                            	double tmp;
                            	if ((z <= -9.5e+76) || !(z <= 1.02e+126)) {
                            		tmp = ((a / c) * -4.0) * t;
                            	} else {
                            		tmp = fma(y, (9.0 * x), b) / (c * z);
                            	}
                            	return tmp;
                            }
                            
                            x, y, z, t, a, b, c = sort([x, y, z, t, a, b, c])
                            x, y, z, t, a, b, c = sort([x, y, z, t, a, b, c])
                            function code(x, y, z, t, a, b, c)
                            	tmp = 0.0
                            	if ((z <= -9.5e+76) || !(z <= 1.02e+126))
                            		tmp = Float64(Float64(Float64(a / c) * -4.0) * t);
                            	else
                            		tmp = Float64(fma(y, Float64(9.0 * x), b) / Float64(c * z));
                            	end
                            	return tmp
                            end
                            
                            NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                            NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                            code[x_, y_, z_, t_, a_, b_, c_] := If[Or[LessEqual[z, -9.5e+76], N[Not[LessEqual[z, 1.02e+126]], $MachinePrecision]], N[(N[(N[(a / c), $MachinePrecision] * -4.0), $MachinePrecision] * t), $MachinePrecision], N[(N[(y * N[(9.0 * x), $MachinePrecision] + b), $MachinePrecision] / N[(c * z), $MachinePrecision]), $MachinePrecision]]
                            
                            \begin{array}{l}
                            [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\\\
                            [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\
                            \\
                            \begin{array}{l}
                            \mathbf{if}\;z \leq -9.5 \cdot 10^{+76} \lor \neg \left(z \leq 1.02 \cdot 10^{+126}\right):\\
                            \;\;\;\;\left(\frac{a}{c} \cdot -4\right) \cdot t\\
                            
                            \mathbf{else}:\\
                            \;\;\;\;\frac{\mathsf{fma}\left(y, 9 \cdot x, b\right)}{c \cdot z}\\
                            
                            
                            \end{array}
                            \end{array}
                            
                            Derivation
                            1. Split input into 2 regimes
                            2. if z < -9.5000000000000003e76 or 1.02e126 < z

                              1. Initial program 61.2%

                                \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                              2. Add Preprocessing
                              3. Taylor expanded in t around inf

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

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

                                  \[\leadsto \color{blue}{\left(-4 \cdot \frac{a}{c} + \left(9 \cdot \frac{x \cdot y}{c \cdot \left(t \cdot z\right)} + \frac{b}{c \cdot \left(t \cdot z\right)}\right)\right) \cdot t} \]
                              5. Applied rewrites73.2%

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

                                \[\leadsto \left(-4 \cdot \frac{a}{c}\right) \cdot t \]
                              7. Step-by-step derivation
                                1. Applied rewrites66.9%

                                  \[\leadsto \left(\frac{a}{c} \cdot -4\right) \cdot t \]

                                if -9.5000000000000003e76 < z < 1.02e126

                                1. Initial program 92.0%

                                  \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                                2. Add Preprocessing
                                3. Step-by-step derivation
                                  1. lift-/.f64N/A

                                    \[\leadsto \color{blue}{\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c}} \]
                                  2. lift-*.f64N/A

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

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

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

                                    \[\leadsto \color{blue}{\frac{\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{c}}{z}} \]
                                4. Applied rewrites91.7%

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

                                  \[\leadsto \color{blue}{\frac{b + 9 \cdot \left(x \cdot y\right)}{c \cdot z}} \]
                                6. Step-by-step derivation
                                  1. *-commutativeN/A

                                    \[\leadsto \frac{b + 9 \cdot \left(x \cdot y\right)}{\color{blue}{z \cdot c}} \]
                                  2. associate-/r*N/A

                                    \[\leadsto \color{blue}{\frac{\frac{b + 9 \cdot \left(x \cdot y\right)}{z}}{c}} \]
                                  3. div-addN/A

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

                                    \[\leadsto \frac{\frac{b}{z} + \color{blue}{9 \cdot \frac{x \cdot y}{z}}}{c} \]
                                  5. +-commutativeN/A

                                    \[\leadsto \frac{\color{blue}{9 \cdot \frac{x \cdot y}{z} + \frac{b}{z}}}{c} \]
                                  6. lower-/.f64N/A

                                    \[\leadsto \color{blue}{\frac{9 \cdot \frac{x \cdot y}{z} + \frac{b}{z}}{c}} \]
                                  7. +-commutativeN/A

                                    \[\leadsto \frac{\color{blue}{\frac{b}{z} + 9 \cdot \frac{x \cdot y}{z}}}{c} \]
                                  8. associate-*r/N/A

                                    \[\leadsto \frac{\frac{b}{z} + \color{blue}{\frac{9 \cdot \left(x \cdot y\right)}{z}}}{c} \]
                                  9. div-addN/A

                                    \[\leadsto \frac{\color{blue}{\frac{b + 9 \cdot \left(x \cdot y\right)}{z}}}{c} \]
                                  10. lower-/.f64N/A

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

                                    \[\leadsto \frac{\frac{\color{blue}{9 \cdot \left(x \cdot y\right) + b}}{z}}{c} \]
                                  12. *-commutativeN/A

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

                                    \[\leadsto \frac{\frac{\color{blue}{\mathsf{fma}\left(x \cdot y, 9, b\right)}}{z}}{c} \]
                                  14. lower-*.f6470.5

                                    \[\leadsto \frac{\frac{\mathsf{fma}\left(\color{blue}{x \cdot y}, 9, b\right)}{z}}{c} \]
                                7. Applied rewrites70.5%

                                  \[\leadsto \color{blue}{\frac{\frac{\mathsf{fma}\left(x \cdot y, 9, b\right)}{z}}{c}} \]
                                8. Step-by-step derivation
                                  1. Applied rewrites77.0%

                                    \[\leadsto \frac{\mathsf{fma}\left(y, 9 \cdot x, b\right)}{\color{blue}{c \cdot z}} \]
                                9. Recombined 2 regimes into one program.
                                10. Final simplification73.6%

                                  \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -9.5 \cdot 10^{+76} \lor \neg \left(z \leq 1.02 \cdot 10^{+126}\right):\\ \;\;\;\;\left(\frac{a}{c} \cdot -4\right) \cdot t\\ \mathbf{else}:\\ \;\;\;\;\frac{\mathsf{fma}\left(y, 9 \cdot x, b\right)}{c \cdot z}\\ \end{array} \]
                                11. Add Preprocessing

                                Alternative 14: 49.1% accurate, 1.4× speedup?

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

                                  1. Initial program 87.1%

                                    \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                                  2. Add Preprocessing
                                  3. Taylor expanded in b around inf

                                    \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                                  4. Step-by-step derivation
                                    1. lower-/.f64N/A

                                      \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                                    2. lower-*.f6455.5

                                      \[\leadsto \frac{b}{\color{blue}{c \cdot z}} \]
                                  5. Applied rewrites55.5%

                                    \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]

                                  if -2.6999999999999999e-58 < b < 9.99999999999999957e110

                                  1. Initial program 78.2%

                                    \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                                  2. Add Preprocessing
                                  3. Taylor expanded in t around inf

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

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

                                      \[\leadsto \color{blue}{\left(-4 \cdot \frac{a}{c} + \left(9 \cdot \frac{x \cdot y}{c \cdot \left(t \cdot z\right)} + \frac{b}{c \cdot \left(t \cdot z\right)}\right)\right) \cdot t} \]
                                  5. Applied rewrites74.3%

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

                                    \[\leadsto \left(-4 \cdot \frac{a}{c}\right) \cdot t \]
                                  7. Step-by-step derivation
                                    1. Applied rewrites56.2%

                                      \[\leadsto \left(\frac{a}{c} \cdot -4\right) \cdot t \]

                                    if 9.99999999999999957e110 < b

                                    1. Initial program 83.9%

                                      \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                                    2. Add Preprocessing
                                    3. Taylor expanded in b around inf

                                      \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                                    4. Step-by-step derivation
                                      1. lower-/.f64N/A

                                        \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                                      2. lower-*.f6467.4

                                        \[\leadsto \frac{b}{\color{blue}{c \cdot z}} \]
                                    5. Applied rewrites67.4%

                                      \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                                    6. Step-by-step derivation
                                      1. Applied rewrites70.3%

                                        \[\leadsto \frac{\frac{b}{c}}{\color{blue}{z}} \]
                                    7. Recombined 3 regimes into one program.
                                    8. Add Preprocessing

                                    Alternative 15: 48.8% accurate, 1.4× speedup?

                                    \[\begin{array}{l} [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\\\ [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\ \\ \begin{array}{l} \mathbf{if}\;b \leq -2.7 \cdot 10^{-58} \lor \neg \left(b \leq 4.3 \cdot 10^{+116}\right):\\ \;\;\;\;\frac{b}{c \cdot z}\\ \mathbf{else}:\\ \;\;\;\;\left(\frac{a}{c} \cdot -4\right) \cdot t\\ \end{array} \end{array} \]
                                    NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                                    NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                                    (FPCore (x y z t a b c)
                                     :precision binary64
                                     (if (or (<= b -2.7e-58) (not (<= b 4.3e+116)))
                                       (/ b (* c z))
                                       (* (* (/ a c) -4.0) t)))
                                    assert(x < y && y < z && z < t && t < a && a < b && b < c);
                                    assert(x < y && y < z && z < t && t < a && a < b && b < c);
                                    double code(double x, double y, double z, double t, double a, double b, double c) {
                                    	double tmp;
                                    	if ((b <= -2.7e-58) || !(b <= 4.3e+116)) {
                                    		tmp = b / (c * z);
                                    	} else {
                                    		tmp = ((a / c) * -4.0) * t;
                                    	}
                                    	return tmp;
                                    }
                                    
                                    NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                                    NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                                    real(8) function code(x, y, z, t, a, b, c)
                                        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) :: tmp
                                        if ((b <= (-2.7d-58)) .or. (.not. (b <= 4.3d+116))) then
                                            tmp = b / (c * z)
                                        else
                                            tmp = ((a / c) * (-4.0d0)) * t
                                        end if
                                        code = tmp
                                    end function
                                    
                                    assert x < y && y < z && z < t && t < a && a < b && b < c;
                                    assert x < y && y < z && z < t && t < a && a < b && b < c;
                                    public static double code(double x, double y, double z, double t, double a, double b, double c) {
                                    	double tmp;
                                    	if ((b <= -2.7e-58) || !(b <= 4.3e+116)) {
                                    		tmp = b / (c * z);
                                    	} else {
                                    		tmp = ((a / c) * -4.0) * t;
                                    	}
                                    	return tmp;
                                    }
                                    
                                    [x, y, z, t, a, b, c] = sort([x, y, z, t, a, b, c])
                                    [x, y, z, t, a, b, c] = sort([x, y, z, t, a, b, c])
                                    def code(x, y, z, t, a, b, c):
                                    	tmp = 0
                                    	if (b <= -2.7e-58) or not (b <= 4.3e+116):
                                    		tmp = b / (c * z)
                                    	else:
                                    		tmp = ((a / c) * -4.0) * t
                                    	return tmp
                                    
                                    x, y, z, t, a, b, c = sort([x, y, z, t, a, b, c])
                                    x, y, z, t, a, b, c = sort([x, y, z, t, a, b, c])
                                    function code(x, y, z, t, a, b, c)
                                    	tmp = 0.0
                                    	if ((b <= -2.7e-58) || !(b <= 4.3e+116))
                                    		tmp = Float64(b / Float64(c * z));
                                    	else
                                    		tmp = Float64(Float64(Float64(a / c) * -4.0) * t);
                                    	end
                                    	return tmp
                                    end
                                    
                                    x, y, z, t, a, b, c = num2cell(sort([x, y, z, t, a, b, c])){:}
                                    x, y, z, t, a, b, c = num2cell(sort([x, y, z, t, a, b, c])){:}
                                    function tmp_2 = code(x, y, z, t, a, b, c)
                                    	tmp = 0.0;
                                    	if ((b <= -2.7e-58) || ~((b <= 4.3e+116)))
                                    		tmp = b / (c * z);
                                    	else
                                    		tmp = ((a / c) * -4.0) * t;
                                    	end
                                    	tmp_2 = tmp;
                                    end
                                    
                                    NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                                    NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                                    code[x_, y_, z_, t_, a_, b_, c_] := If[Or[LessEqual[b, -2.7e-58], N[Not[LessEqual[b, 4.3e+116]], $MachinePrecision]], N[(b / N[(c * z), $MachinePrecision]), $MachinePrecision], N[(N[(N[(a / c), $MachinePrecision] * -4.0), $MachinePrecision] * t), $MachinePrecision]]
                                    
                                    \begin{array}{l}
                                    [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\\\
                                    [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\
                                    \\
                                    \begin{array}{l}
                                    \mathbf{if}\;b \leq -2.7 \cdot 10^{-58} \lor \neg \left(b \leq 4.3 \cdot 10^{+116}\right):\\
                                    \;\;\;\;\frac{b}{c \cdot z}\\
                                    
                                    \mathbf{else}:\\
                                    \;\;\;\;\left(\frac{a}{c} \cdot -4\right) \cdot t\\
                                    
                                    
                                    \end{array}
                                    \end{array}
                                    
                                    Derivation
                                    1. Split input into 2 regimes
                                    2. if b < -2.6999999999999999e-58 or 4.3e116 < b

                                      1. Initial program 86.8%

                                        \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                                      2. Add Preprocessing
                                      3. Taylor expanded in b around inf

                                        \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                                      4. Step-by-step derivation
                                        1. lower-/.f64N/A

                                          \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                                        2. lower-*.f6462.3

                                          \[\leadsto \frac{b}{\color{blue}{c \cdot z}} \]
                                      5. Applied rewrites62.3%

                                        \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]

                                      if -2.6999999999999999e-58 < b < 4.3e116

                                      1. Initial program 77.1%

                                        \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                                      2. Add Preprocessing
                                      3. Taylor expanded in t around inf

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

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

                                          \[\leadsto \color{blue}{\left(-4 \cdot \frac{a}{c} + \left(9 \cdot \frac{x \cdot y}{c \cdot \left(t \cdot z\right)} + \frac{b}{c \cdot \left(t \cdot z\right)}\right)\right) \cdot t} \]
                                      5. Applied rewrites74.0%

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

                                        \[\leadsto \left(-4 \cdot \frac{a}{c}\right) \cdot t \]
                                      7. Step-by-step derivation
                                        1. Applied rewrites55.5%

                                          \[\leadsto \left(\frac{a}{c} \cdot -4\right) \cdot t \]
                                      8. Recombined 2 regimes into one program.
                                      9. Final simplification58.7%

                                        \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.7 \cdot 10^{-58} \lor \neg \left(b \leq 4.3 \cdot 10^{+116}\right):\\ \;\;\;\;\frac{b}{c \cdot z}\\ \mathbf{else}:\\ \;\;\;\;\left(\frac{a}{c} \cdot -4\right) \cdot t\\ \end{array} \]
                                      10. Add Preprocessing

                                      Alternative 16: 48.8% accurate, 1.4× speedup?

                                      \[\begin{array}{l} [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\\\ [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\ \\ \begin{array}{l} \mathbf{if}\;b \leq -2.7 \cdot 10^{-58} \lor \neg \left(b \leq 4.3 \cdot 10^{+116}\right):\\ \;\;\;\;\frac{b}{c \cdot z}\\ \mathbf{else}:\\ \;\;\;\;\left(a \cdot \frac{-4}{c}\right) \cdot t\\ \end{array} \end{array} \]
                                      NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                                      NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                                      (FPCore (x y z t a b c)
                                       :precision binary64
                                       (if (or (<= b -2.7e-58) (not (<= b 4.3e+116)))
                                         (/ b (* c z))
                                         (* (* a (/ -4.0 c)) t)))
                                      assert(x < y && y < z && z < t && t < a && a < b && b < c);
                                      assert(x < y && y < z && z < t && t < a && a < b && b < c);
                                      double code(double x, double y, double z, double t, double a, double b, double c) {
                                      	double tmp;
                                      	if ((b <= -2.7e-58) || !(b <= 4.3e+116)) {
                                      		tmp = b / (c * z);
                                      	} else {
                                      		tmp = (a * (-4.0 / c)) * t;
                                      	}
                                      	return tmp;
                                      }
                                      
                                      NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                                      NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                                      real(8) function code(x, y, z, t, a, b, c)
                                          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) :: tmp
                                          if ((b <= (-2.7d-58)) .or. (.not. (b <= 4.3d+116))) then
                                              tmp = b / (c * z)
                                          else
                                              tmp = (a * ((-4.0d0) / c)) * t
                                          end if
                                          code = tmp
                                      end function
                                      
                                      assert x < y && y < z && z < t && t < a && a < b && b < c;
                                      assert x < y && y < z && z < t && t < a && a < b && b < c;
                                      public static double code(double x, double y, double z, double t, double a, double b, double c) {
                                      	double tmp;
                                      	if ((b <= -2.7e-58) || !(b <= 4.3e+116)) {
                                      		tmp = b / (c * z);
                                      	} else {
                                      		tmp = (a * (-4.0 / c)) * t;
                                      	}
                                      	return tmp;
                                      }
                                      
                                      [x, y, z, t, a, b, c] = sort([x, y, z, t, a, b, c])
                                      [x, y, z, t, a, b, c] = sort([x, y, z, t, a, b, c])
                                      def code(x, y, z, t, a, b, c):
                                      	tmp = 0
                                      	if (b <= -2.7e-58) or not (b <= 4.3e+116):
                                      		tmp = b / (c * z)
                                      	else:
                                      		tmp = (a * (-4.0 / c)) * t
                                      	return tmp
                                      
                                      x, y, z, t, a, b, c = sort([x, y, z, t, a, b, c])
                                      x, y, z, t, a, b, c = sort([x, y, z, t, a, b, c])
                                      function code(x, y, z, t, a, b, c)
                                      	tmp = 0.0
                                      	if ((b <= -2.7e-58) || !(b <= 4.3e+116))
                                      		tmp = Float64(b / Float64(c * z));
                                      	else
                                      		tmp = Float64(Float64(a * Float64(-4.0 / c)) * t);
                                      	end
                                      	return tmp
                                      end
                                      
                                      x, y, z, t, a, b, c = num2cell(sort([x, y, z, t, a, b, c])){:}
                                      x, y, z, t, a, b, c = num2cell(sort([x, y, z, t, a, b, c])){:}
                                      function tmp_2 = code(x, y, z, t, a, b, c)
                                      	tmp = 0.0;
                                      	if ((b <= -2.7e-58) || ~((b <= 4.3e+116)))
                                      		tmp = b / (c * z);
                                      	else
                                      		tmp = (a * (-4.0 / c)) * t;
                                      	end
                                      	tmp_2 = tmp;
                                      end
                                      
                                      NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                                      NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                                      code[x_, y_, z_, t_, a_, b_, c_] := If[Or[LessEqual[b, -2.7e-58], N[Not[LessEqual[b, 4.3e+116]], $MachinePrecision]], N[(b / N[(c * z), $MachinePrecision]), $MachinePrecision], N[(N[(a * N[(-4.0 / c), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]]
                                      
                                      \begin{array}{l}
                                      [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\\\
                                      [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\
                                      \\
                                      \begin{array}{l}
                                      \mathbf{if}\;b \leq -2.7 \cdot 10^{-58} \lor \neg \left(b \leq 4.3 \cdot 10^{+116}\right):\\
                                      \;\;\;\;\frac{b}{c \cdot z}\\
                                      
                                      \mathbf{else}:\\
                                      \;\;\;\;\left(a \cdot \frac{-4}{c}\right) \cdot t\\
                                      
                                      
                                      \end{array}
                                      \end{array}
                                      
                                      Derivation
                                      1. Split input into 2 regimes
                                      2. if b < -2.6999999999999999e-58 or 4.3e116 < b

                                        1. Initial program 86.8%

                                          \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                                        2. Add Preprocessing
                                        3. Taylor expanded in b around inf

                                          \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                                        4. Step-by-step derivation
                                          1. lower-/.f64N/A

                                            \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                                          2. lower-*.f6462.3

                                            \[\leadsto \frac{b}{\color{blue}{c \cdot z}} \]
                                        5. Applied rewrites62.3%

                                          \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]

                                        if -2.6999999999999999e-58 < b < 4.3e116

                                        1. Initial program 77.1%

                                          \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                                        2. Add Preprocessing
                                        3. Taylor expanded in t around inf

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

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

                                            \[\leadsto \color{blue}{\left(-4 \cdot \frac{a}{c} + \left(9 \cdot \frac{x \cdot y}{c \cdot \left(t \cdot z\right)} + \frac{b}{c \cdot \left(t \cdot z\right)}\right)\right) \cdot t} \]
                                        5. Applied rewrites74.0%

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

                                          \[\leadsto \left(-4 \cdot \frac{a}{c}\right) \cdot t \]
                                        7. Step-by-step derivation
                                          1. Applied rewrites55.5%

                                            \[\leadsto \left(\frac{a}{c} \cdot -4\right) \cdot t \]
                                          2. Step-by-step derivation
                                            1. Applied rewrites55.5%

                                              \[\leadsto \left(a \cdot \frac{-4}{c}\right) \cdot t \]
                                          3. Recombined 2 regimes into one program.
                                          4. Final simplification58.7%

                                            \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.7 \cdot 10^{-58} \lor \neg \left(b \leq 4.3 \cdot 10^{+116}\right):\\ \;\;\;\;\frac{b}{c \cdot z}\\ \mathbf{else}:\\ \;\;\;\;\left(a \cdot \frac{-4}{c}\right) \cdot t\\ \end{array} \]
                                          5. Add Preprocessing

                                          Alternative 17: 47.9% accurate, 1.4× speedup?

                                          \[\begin{array}{l} [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\\\ [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\ \\ \begin{array}{l} \mathbf{if}\;b \leq -3.25 \cdot 10^{-63} \lor \neg \left(b \leq 4.3 \cdot 10^{+116}\right):\\ \;\;\;\;\frac{b}{c \cdot z}\\ \mathbf{else}:\\ \;\;\;\;-4 \cdot \frac{a \cdot t}{c}\\ \end{array} \end{array} \]
                                          NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                                          NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                                          (FPCore (x y z t a b c)
                                           :precision binary64
                                           (if (or (<= b -3.25e-63) (not (<= b 4.3e+116)))
                                             (/ b (* c z))
                                             (* -4.0 (/ (* a t) c))))
                                          assert(x < y && y < z && z < t && t < a && a < b && b < c);
                                          assert(x < y && y < z && z < t && t < a && a < b && b < c);
                                          double code(double x, double y, double z, double t, double a, double b, double c) {
                                          	double tmp;
                                          	if ((b <= -3.25e-63) || !(b <= 4.3e+116)) {
                                          		tmp = b / (c * z);
                                          	} else {
                                          		tmp = -4.0 * ((a * t) / c);
                                          	}
                                          	return tmp;
                                          }
                                          
                                          NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                                          NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                                          real(8) function code(x, y, z, t, a, b, c)
                                              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) :: tmp
                                              if ((b <= (-3.25d-63)) .or. (.not. (b <= 4.3d+116))) then
                                                  tmp = b / (c * z)
                                              else
                                                  tmp = (-4.0d0) * ((a * t) / c)
                                              end if
                                              code = tmp
                                          end function
                                          
                                          assert x < y && y < z && z < t && t < a && a < b && b < c;
                                          assert x < y && y < z && z < t && t < a && a < b && b < c;
                                          public static double code(double x, double y, double z, double t, double a, double b, double c) {
                                          	double tmp;
                                          	if ((b <= -3.25e-63) || !(b <= 4.3e+116)) {
                                          		tmp = b / (c * z);
                                          	} else {
                                          		tmp = -4.0 * ((a * t) / c);
                                          	}
                                          	return tmp;
                                          }
                                          
                                          [x, y, z, t, a, b, c] = sort([x, y, z, t, a, b, c])
                                          [x, y, z, t, a, b, c] = sort([x, y, z, t, a, b, c])
                                          def code(x, y, z, t, a, b, c):
                                          	tmp = 0
                                          	if (b <= -3.25e-63) or not (b <= 4.3e+116):
                                          		tmp = b / (c * z)
                                          	else:
                                          		tmp = -4.0 * ((a * t) / c)
                                          	return tmp
                                          
                                          x, y, z, t, a, b, c = sort([x, y, z, t, a, b, c])
                                          x, y, z, t, a, b, c = sort([x, y, z, t, a, b, c])
                                          function code(x, y, z, t, a, b, c)
                                          	tmp = 0.0
                                          	if ((b <= -3.25e-63) || !(b <= 4.3e+116))
                                          		tmp = Float64(b / Float64(c * z));
                                          	else
                                          		tmp = Float64(-4.0 * Float64(Float64(a * t) / c));
                                          	end
                                          	return tmp
                                          end
                                          
                                          x, y, z, t, a, b, c = num2cell(sort([x, y, z, t, a, b, c])){:}
                                          x, y, z, t, a, b, c = num2cell(sort([x, y, z, t, a, b, c])){:}
                                          function tmp_2 = code(x, y, z, t, a, b, c)
                                          	tmp = 0.0;
                                          	if ((b <= -3.25e-63) || ~((b <= 4.3e+116)))
                                          		tmp = b / (c * z);
                                          	else
                                          		tmp = -4.0 * ((a * t) / c);
                                          	end
                                          	tmp_2 = tmp;
                                          end
                                          
                                          NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                                          NOTE: x, y, z, t, a, b, and c should be sorted in increasing order before calling this function.
                                          code[x_, y_, z_, t_, a_, b_, c_] := If[Or[LessEqual[b, -3.25e-63], N[Not[LessEqual[b, 4.3e+116]], $MachinePrecision]], N[(b / N[(c * z), $MachinePrecision]), $MachinePrecision], N[(-4.0 * N[(N[(a * t), $MachinePrecision] / c), $MachinePrecision]), $MachinePrecision]]
                                          
                                          \begin{array}{l}
                                          [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\\\
                                          [x, y, z, t, a, b, c] = \mathsf{sort}([x, y, z, t, a, b, c])\\
                                          \\
                                          \begin{array}{l}
                                          \mathbf{if}\;b \leq -3.25 \cdot 10^{-63} \lor \neg \left(b \leq 4.3 \cdot 10^{+116}\right):\\
                                          \;\;\;\;\frac{b}{c \cdot z}\\
                                          
                                          \mathbf{else}:\\
                                          \;\;\;\;-4 \cdot \frac{a \cdot t}{c}\\
                                          
                                          
                                          \end{array}
                                          \end{array}
                                          
                                          Derivation
                                          1. Split input into 2 regimes
                                          2. if b < -3.2499999999999999e-63 or 4.3e116 < b

                                            1. Initial program 86.8%

                                              \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                                            2. Add Preprocessing
                                            3. Taylor expanded in b around inf

                                              \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                                            4. Step-by-step derivation
                                              1. lower-/.f64N/A

                                                \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                                              2. lower-*.f6462.3

                                                \[\leadsto \frac{b}{\color{blue}{c \cdot z}} \]
                                            5. Applied rewrites62.3%

                                              \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]

                                            if -3.2499999999999999e-63 < b < 4.3e116

                                            1. Initial program 77.1%

                                              \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                                            2. Add Preprocessing
                                            3. Taylor expanded in z around inf

                                              \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
                                            4. Step-by-step derivation
                                              1. lower-*.f64N/A

                                                \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
                                              2. lower-/.f64N/A

                                                \[\leadsto -4 \cdot \color{blue}{\frac{a \cdot t}{c}} \]
                                              3. lower-*.f6451.6

                                                \[\leadsto -4 \cdot \frac{\color{blue}{a \cdot t}}{c} \]
                                            5. Applied rewrites51.6%

                                              \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
                                          3. Recombined 2 regimes into one program.
                                          4. Final simplification56.6%

                                            \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -3.25 \cdot 10^{-63} \lor \neg \left(b \leq 4.3 \cdot 10^{+116}\right):\\ \;\;\;\;\frac{b}{c \cdot z}\\ \mathbf{else}:\\ \;\;\;\;-4 \cdot \frac{a \cdot t}{c}\\ \end{array} \]
                                          5. Add Preprocessing

                                          Alternative 18: 35.9% accurate, 2.8× speedup?

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

                                            \[\frac{\left(\left(x \cdot 9\right) \cdot y - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b}{z \cdot c} \]
                                          2. Add Preprocessing
                                          3. Taylor expanded in b around inf

                                            \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                                          4. Step-by-step derivation
                                            1. lower-/.f64N/A

                                              \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                                            2. lower-*.f6439.9

                                              \[\leadsto \frac{b}{\color{blue}{c \cdot z}} \]
                                          5. Applied rewrites39.9%

                                            \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
                                          6. Add Preprocessing

                                          Developer Target 1: 81.0% accurate, 0.1× speedup?

                                          \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{b}{c \cdot z}\\ t_2 := 4 \cdot \frac{a \cdot t}{c}\\ t_3 := \left(x \cdot 9\right) \cdot y\\ t_4 := \left(t\_3 - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b\\ t_5 := \frac{t\_4}{z \cdot c}\\ t_6 := \frac{\left(t\_3 - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}\\ \mathbf{if}\;t\_5 < -1.100156740804105 \cdot 10^{-171}:\\ \;\;\;\;t\_6\\ \mathbf{elif}\;t\_5 < 0:\\ \;\;\;\;\frac{\frac{t\_4}{z}}{c}\\ \mathbf{elif}\;t\_5 < 1.1708877911747488 \cdot 10^{-53}:\\ \;\;\;\;t\_6\\ \mathbf{elif}\;t\_5 < 2.876823679546137 \cdot 10^{+130}:\\ \;\;\;\;\left(\left(9 \cdot \frac{y}{c}\right) \cdot \frac{x}{z} + t\_1\right) - t\_2\\ \mathbf{elif}\;t\_5 < 1.3838515042456319 \cdot 10^{+158}:\\ \;\;\;\;t\_6\\ \mathbf{else}:\\ \;\;\;\;\left(9 \cdot \left(\frac{y}{c \cdot z} \cdot x\right) + t\_1\right) - t\_2\\ \end{array} \end{array} \]
                                          (FPCore (x y z t a b c)
                                           :precision binary64
                                           (let* ((t_1 (/ b (* c z)))
                                                  (t_2 (* 4.0 (/ (* a t) c)))
                                                  (t_3 (* (* x 9.0) y))
                                                  (t_4 (+ (- t_3 (* (* (* z 4.0) t) a)) b))
                                                  (t_5 (/ t_4 (* z c)))
                                                  (t_6 (/ (+ (- t_3 (* (* z 4.0) (* t a))) b) (* z c))))
                                             (if (< t_5 -1.100156740804105e-171)
                                               t_6
                                               (if (< t_5 0.0)
                                                 (/ (/ t_4 z) c)
                                                 (if (< t_5 1.1708877911747488e-53)
                                                   t_6
                                                   (if (< t_5 2.876823679546137e+130)
                                                     (- (+ (* (* 9.0 (/ y c)) (/ x z)) t_1) t_2)
                                                     (if (< t_5 1.3838515042456319e+158)
                                                       t_6
                                                       (- (+ (* 9.0 (* (/ y (* c z)) x)) t_1) t_2))))))))
                                          double code(double x, double y, double z, double t, double a, double b, double c) {
                                          	double t_1 = b / (c * z);
                                          	double t_2 = 4.0 * ((a * t) / c);
                                          	double t_3 = (x * 9.0) * y;
                                          	double t_4 = (t_3 - (((z * 4.0) * t) * a)) + b;
                                          	double t_5 = t_4 / (z * c);
                                          	double t_6 = ((t_3 - ((z * 4.0) * (t * a))) + b) / (z * c);
                                          	double tmp;
                                          	if (t_5 < -1.100156740804105e-171) {
                                          		tmp = t_6;
                                          	} else if (t_5 < 0.0) {
                                          		tmp = (t_4 / z) / c;
                                          	} else if (t_5 < 1.1708877911747488e-53) {
                                          		tmp = t_6;
                                          	} else if (t_5 < 2.876823679546137e+130) {
                                          		tmp = (((9.0 * (y / c)) * (x / z)) + t_1) - t_2;
                                          	} else if (t_5 < 1.3838515042456319e+158) {
                                          		tmp = t_6;
                                          	} else {
                                          		tmp = ((9.0 * ((y / (c * z)) * x)) + t_1) - t_2;
                                          	}
                                          	return tmp;
                                          }
                                          
                                          real(8) function code(x, y, z, t, a, b, c)
                                              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) :: t_1
                                              real(8) :: t_2
                                              real(8) :: t_3
                                              real(8) :: t_4
                                              real(8) :: t_5
                                              real(8) :: t_6
                                              real(8) :: tmp
                                              t_1 = b / (c * z)
                                              t_2 = 4.0d0 * ((a * t) / c)
                                              t_3 = (x * 9.0d0) * y
                                              t_4 = (t_3 - (((z * 4.0d0) * t) * a)) + b
                                              t_5 = t_4 / (z * c)
                                              t_6 = ((t_3 - ((z * 4.0d0) * (t * a))) + b) / (z * c)
                                              if (t_5 < (-1.100156740804105d-171)) then
                                                  tmp = t_6
                                              else if (t_5 < 0.0d0) then
                                                  tmp = (t_4 / z) / c
                                              else if (t_5 < 1.1708877911747488d-53) then
                                                  tmp = t_6
                                              else if (t_5 < 2.876823679546137d+130) then
                                                  tmp = (((9.0d0 * (y / c)) * (x / z)) + t_1) - t_2
                                              else if (t_5 < 1.3838515042456319d+158) then
                                                  tmp = t_6
                                              else
                                                  tmp = ((9.0d0 * ((y / (c * z)) * x)) + t_1) - 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 t_1 = b / (c * z);
                                          	double t_2 = 4.0 * ((a * t) / c);
                                          	double t_3 = (x * 9.0) * y;
                                          	double t_4 = (t_3 - (((z * 4.0) * t) * a)) + b;
                                          	double t_5 = t_4 / (z * c);
                                          	double t_6 = ((t_3 - ((z * 4.0) * (t * a))) + b) / (z * c);
                                          	double tmp;
                                          	if (t_5 < -1.100156740804105e-171) {
                                          		tmp = t_6;
                                          	} else if (t_5 < 0.0) {
                                          		tmp = (t_4 / z) / c;
                                          	} else if (t_5 < 1.1708877911747488e-53) {
                                          		tmp = t_6;
                                          	} else if (t_5 < 2.876823679546137e+130) {
                                          		tmp = (((9.0 * (y / c)) * (x / z)) + t_1) - t_2;
                                          	} else if (t_5 < 1.3838515042456319e+158) {
                                          		tmp = t_6;
                                          	} else {
                                          		tmp = ((9.0 * ((y / (c * z)) * x)) + t_1) - t_2;
                                          	}
                                          	return tmp;
                                          }
                                          
                                          def code(x, y, z, t, a, b, c):
                                          	t_1 = b / (c * z)
                                          	t_2 = 4.0 * ((a * t) / c)
                                          	t_3 = (x * 9.0) * y
                                          	t_4 = (t_3 - (((z * 4.0) * t) * a)) + b
                                          	t_5 = t_4 / (z * c)
                                          	t_6 = ((t_3 - ((z * 4.0) * (t * a))) + b) / (z * c)
                                          	tmp = 0
                                          	if t_5 < -1.100156740804105e-171:
                                          		tmp = t_6
                                          	elif t_5 < 0.0:
                                          		tmp = (t_4 / z) / c
                                          	elif t_5 < 1.1708877911747488e-53:
                                          		tmp = t_6
                                          	elif t_5 < 2.876823679546137e+130:
                                          		tmp = (((9.0 * (y / c)) * (x / z)) + t_1) - t_2
                                          	elif t_5 < 1.3838515042456319e+158:
                                          		tmp = t_6
                                          	else:
                                          		tmp = ((9.0 * ((y / (c * z)) * x)) + t_1) - t_2
                                          	return tmp
                                          
                                          function code(x, y, z, t, a, b, c)
                                          	t_1 = Float64(b / Float64(c * z))
                                          	t_2 = Float64(4.0 * Float64(Float64(a * t) / c))
                                          	t_3 = Float64(Float64(x * 9.0) * y)
                                          	t_4 = Float64(Float64(t_3 - Float64(Float64(Float64(z * 4.0) * t) * a)) + b)
                                          	t_5 = Float64(t_4 / Float64(z * c))
                                          	t_6 = Float64(Float64(Float64(t_3 - Float64(Float64(z * 4.0) * Float64(t * a))) + b) / Float64(z * c))
                                          	tmp = 0.0
                                          	if (t_5 < -1.100156740804105e-171)
                                          		tmp = t_6;
                                          	elseif (t_5 < 0.0)
                                          		tmp = Float64(Float64(t_4 / z) / c);
                                          	elseif (t_5 < 1.1708877911747488e-53)
                                          		tmp = t_6;
                                          	elseif (t_5 < 2.876823679546137e+130)
                                          		tmp = Float64(Float64(Float64(Float64(9.0 * Float64(y / c)) * Float64(x / z)) + t_1) - t_2);
                                          	elseif (t_5 < 1.3838515042456319e+158)
                                          		tmp = t_6;
                                          	else
                                          		tmp = Float64(Float64(Float64(9.0 * Float64(Float64(y / Float64(c * z)) * x)) + t_1) - t_2);
                                          	end
                                          	return tmp
                                          end
                                          
                                          function tmp_2 = code(x, y, z, t, a, b, c)
                                          	t_1 = b / (c * z);
                                          	t_2 = 4.0 * ((a * t) / c);
                                          	t_3 = (x * 9.0) * y;
                                          	t_4 = (t_3 - (((z * 4.0) * t) * a)) + b;
                                          	t_5 = t_4 / (z * c);
                                          	t_6 = ((t_3 - ((z * 4.0) * (t * a))) + b) / (z * c);
                                          	tmp = 0.0;
                                          	if (t_5 < -1.100156740804105e-171)
                                          		tmp = t_6;
                                          	elseif (t_5 < 0.0)
                                          		tmp = (t_4 / z) / c;
                                          	elseif (t_5 < 1.1708877911747488e-53)
                                          		tmp = t_6;
                                          	elseif (t_5 < 2.876823679546137e+130)
                                          		tmp = (((9.0 * (y / c)) * (x / z)) + t_1) - t_2;
                                          	elseif (t_5 < 1.3838515042456319e+158)
                                          		tmp = t_6;
                                          	else
                                          		tmp = ((9.0 * ((y / (c * z)) * x)) + t_1) - t_2;
                                          	end
                                          	tmp_2 = tmp;
                                          end
                                          
                                          code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(b / N[(c * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(4.0 * N[(N[(a * t), $MachinePrecision] / c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * 9.0), $MachinePrecision] * y), $MachinePrecision]}, Block[{t$95$4 = N[(N[(t$95$3 - N[(N[(N[(z * 4.0), $MachinePrecision] * t), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision] + b), $MachinePrecision]}, Block[{t$95$5 = N[(t$95$4 / N[(z * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(N[(t$95$3 - N[(N[(z * 4.0), $MachinePrecision] * N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + b), $MachinePrecision] / N[(z * c), $MachinePrecision]), $MachinePrecision]}, If[Less[t$95$5, -1.100156740804105e-171], t$95$6, If[Less[t$95$5, 0.0], N[(N[(t$95$4 / z), $MachinePrecision] / c), $MachinePrecision], If[Less[t$95$5, 1.1708877911747488e-53], t$95$6, If[Less[t$95$5, 2.876823679546137e+130], N[(N[(N[(N[(9.0 * N[(y / c), $MachinePrecision]), $MachinePrecision] * N[(x / z), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision] - t$95$2), $MachinePrecision], If[Less[t$95$5, 1.3838515042456319e+158], t$95$6, N[(N[(N[(9.0 * N[(N[(y / N[(c * z), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision] - t$95$2), $MachinePrecision]]]]]]]]]]]]
                                          
                                          \begin{array}{l}
                                          
                                          \\
                                          \begin{array}{l}
                                          t_1 := \frac{b}{c \cdot z}\\
                                          t_2 := 4 \cdot \frac{a \cdot t}{c}\\
                                          t_3 := \left(x \cdot 9\right) \cdot y\\
                                          t_4 := \left(t\_3 - \left(\left(z \cdot 4\right) \cdot t\right) \cdot a\right) + b\\
                                          t_5 := \frac{t\_4}{z \cdot c}\\
                                          t_6 := \frac{\left(t\_3 - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}\\
                                          \mathbf{if}\;t\_5 < -1.100156740804105 \cdot 10^{-171}:\\
                                          \;\;\;\;t\_6\\
                                          
                                          \mathbf{elif}\;t\_5 < 0:\\
                                          \;\;\;\;\frac{\frac{t\_4}{z}}{c}\\
                                          
                                          \mathbf{elif}\;t\_5 < 1.1708877911747488 \cdot 10^{-53}:\\
                                          \;\;\;\;t\_6\\
                                          
                                          \mathbf{elif}\;t\_5 < 2.876823679546137 \cdot 10^{+130}:\\
                                          \;\;\;\;\left(\left(9 \cdot \frac{y}{c}\right) \cdot \frac{x}{z} + t\_1\right) - t\_2\\
                                          
                                          \mathbf{elif}\;t\_5 < 1.3838515042456319 \cdot 10^{+158}:\\
                                          \;\;\;\;t\_6\\
                                          
                                          \mathbf{else}:\\
                                          \;\;\;\;\left(9 \cdot \left(\frac{y}{c \cdot z} \cdot x\right) + t\_1\right) - t\_2\\
                                          
                                          
                                          \end{array}
                                          \end{array}
                                          

                                          Reproduce

                                          ?
                                          herbie shell --seed 2024326 
                                          (FPCore (x y z t a b c)
                                            :name "Diagrams.Solve.Polynomial:cubForm  from diagrams-solve-0.1, J"
                                            :precision binary64
                                          
                                            :alt
                                            (! :herbie-platform default (if (< (/ (+ (- (* (* x 9) y) (* (* (* z 4) t) a)) b) (* z c)) -220031348160821/200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (/ (+ (- (* (* x 9) y) (* (* z 4) (* t a))) b) (* z c)) (if (< (/ (+ (- (* (* x 9) y) (* (* (* z 4) t) a)) b) (* z c)) 0) (/ (/ (+ (- (* (* x 9) y) (* (* (* z 4) t) a)) b) z) c) (if (< (/ (+ (- (* (* x 9) y) (* (* (* z 4) t) a)) b) (* z c)) 365902434742109/31250000000000000000000000000000000000000000000000000000000000000000) (/ (+ (- (* (* x 9) y) (* (* z 4) (* t a))) b) (* z c)) (if (< (/ (+ (- (* (* x 9) y) (* (* (* z 4) t) a)) b) (* z c)) 28768236795461370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (- (+ (* (* 9 (/ y c)) (/ x z)) (/ b (* c z))) (* 4 (/ (* a t) c))) (if (< (/ (+ (- (* (* x 9) y) (* (* (* z 4) t) a)) b) (* z c)) 138385150424563190000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (/ (+ (- (* (* x 9) y) (* (* z 4) (* t a))) b) (* z c)) (- (+ (* 9 (* (/ y (* c z)) x)) (/ b (* c z))) (* 4 (/ (* a t) c)))))))))
                                          
                                            (/ (+ (- (* (* x 9.0) y) (* (* (* z 4.0) t) a)) b) (* z c)))