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

Percentage Accurate: 79.8% → 89.7%
Time: 15.6s
Alternatives: 20
Speedup: 0.8×

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 20 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: 79.8% 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: 89.7% 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}\;z \leq -4.2 \cdot 10^{+43} \lor \neg \left(z \leq 9 \cdot 10^{+58}\right):\\ \;\;\;\;\frac{y \cdot \left(\left(9 \cdot \frac{x}{z} + \frac{b}{z \cdot y}\right) - 4 \cdot \frac{a \cdot t}{y}\right)}{c}\\ \mathbf{else}:\\ \;\;\;\;\frac{b + \left(y \cdot \left(9 \cdot x\right) - a \cdot \left(t \cdot \left(z \cdot 4\right)\right)\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 -4.2e+43) (not (<= z 9e+58)))
   (/ (* y (- (+ (* 9.0 (/ x z)) (/ b (* z y))) (* 4.0 (/ (* a t) y)))) c)
   (/ (+ b (- (* y (* 9.0 x)) (* a (* t (* z 4.0))))) (* 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 <= -4.2e+43) || !(z <= 9e+58)) {
		tmp = (y * (((9.0 * (x / z)) + (b / (z * y))) - (4.0 * ((a * t) / y)))) / c;
	} else {
		tmp = (b + ((y * (9.0 * x)) - (a * (t * (z * 4.0))))) / (z * 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 ((z <= (-4.2d+43)) .or. (.not. (z <= 9d+58))) then
        tmp = (y * (((9.0d0 * (x / z)) + (b / (z * y))) - (4.0d0 * ((a * t) / y)))) / c
    else
        tmp = (b + ((y * (9.0d0 * x)) - (a * (t * (z * 4.0d0))))) / (z * 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 ((z <= -4.2e+43) || !(z <= 9e+58)) {
		tmp = (y * (((9.0 * (x / z)) + (b / (z * y))) - (4.0 * ((a * t) / y)))) / c;
	} else {
		tmp = (b + ((y * (9.0 * x)) - (a * (t * (z * 4.0))))) / (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])
def code(x, y, z, t, a, b, c):
	tmp = 0
	if (z <= -4.2e+43) or not (z <= 9e+58):
		tmp = (y * (((9.0 * (x / z)) + (b / (z * y))) - (4.0 * ((a * t) / y)))) / c
	else:
		tmp = (b + ((y * (9.0 * x)) - (a * (t * (z * 4.0))))) / (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 <= -4.2e+43) || !(z <= 9e+58))
		tmp = Float64(Float64(y * Float64(Float64(Float64(9.0 * Float64(x / z)) + Float64(b / Float64(z * y))) - Float64(4.0 * Float64(Float64(a * t) / y)))) / c);
	else
		tmp = Float64(Float64(b + Float64(Float64(y * Float64(9.0 * x)) - Float64(a * Float64(t * Float64(z * 4.0))))) / Float64(z * 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 ((z <= -4.2e+43) || ~((z <= 9e+58)))
		tmp = (y * (((9.0 * (x / z)) + (b / (z * y))) - (4.0 * ((a * t) / y)))) / c;
	else
		tmp = (b + ((y * (9.0 * x)) - (a * (t * (z * 4.0))))) / (z * 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[z, -4.2e+43], N[Not[LessEqual[z, 9e+58]], $MachinePrecision]], N[(N[(y * N[(N[(N[(9.0 * N[(x / z), $MachinePrecision]), $MachinePrecision] + N[(b / N[(z * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(4.0 * N[(N[(a * t), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / c), $MachinePrecision], N[(N[(b + N[(N[(y * N[(9.0 * x), $MachinePrecision]), $MachinePrecision] - N[(a * N[(t * N[(z * 4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $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 -4.2 \cdot 10^{+43} \lor \neg \left(z \leq 9 \cdot 10^{+58}\right):\\
\;\;\;\;\frac{y \cdot \left(\left(9 \cdot \frac{x}{z} + \frac{b}{z \cdot y}\right) - 4 \cdot \frac{a \cdot t}{y}\right)}{c}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if z < -4.20000000000000003e43 or 8.9999999999999996e58 < z

    1. Initial program 56.3%

      \[\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. Step-by-step derivation
      1. associate-+l-56.3%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in y around inf 70.6%

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

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

    if -4.20000000000000003e43 < z < 8.9999999999999996e58

    1. Initial program 97.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. Recombined 2 regimes into one program.
  4. Final simplification92.2%

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

Alternative 2: 86.9% 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{b + \left(y \cdot \left(9 \cdot x\right) - a \cdot \left(t \cdot \left(z \cdot 4\right)\right)\right)}{z \cdot c}\\ \mathbf{if}\;t\_1 \leq -5 \cdot 10^{-215}:\\ \;\;\;\;\frac{b + \left(x \cdot \left(y \cdot 9\right) - \left(a \cdot t\right) \cdot \left(z \cdot 4\right)\right)}{z \cdot c}\\ \mathbf{elif}\;t\_1 \leq 10^{-180}:\\ \;\;\;\;\frac{\frac{b}{z} - t \cdot \left(4 \cdot a\right)}{c}\\ \mathbf{elif}\;t\_1 \leq \infty:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(-4 \cdot \frac{a}{c} + \frac{b}{c \cdot \left(z \cdot t\right)}\right)\\ \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 (/ (+ b (- (* y (* 9.0 x)) (* a (* t (* z 4.0))))) (* z c))))
   (if (<= t_1 -5e-215)
     (/ (+ b (- (* x (* y 9.0)) (* (* a t) (* z 4.0)))) (* z c))
     (if (<= t_1 1e-180)
       (/ (- (/ b z) (* t (* 4.0 a))) c)
       (if (<= t_1 INFINITY)
         t_1
         (* t (+ (* -4.0 (/ a c)) (/ b (* c (* 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 t_1 = (b + ((y * (9.0 * x)) - (a * (t * (z * 4.0))))) / (z * c);
	double tmp;
	if (t_1 <= -5e-215) {
		tmp = (b + ((x * (y * 9.0)) - ((a * t) * (z * 4.0)))) / (z * c);
	} else if (t_1 <= 1e-180) {
		tmp = ((b / z) - (t * (4.0 * a))) / c;
	} else if (t_1 <= ((double) INFINITY)) {
		tmp = t_1;
	} else {
		tmp = t * ((-4.0 * (a / c)) + (b / (c * (z * t))));
	}
	return tmp;
}
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 t_1 = (b + ((y * (9.0 * x)) - (a * (t * (z * 4.0))))) / (z * c);
	double tmp;
	if (t_1 <= -5e-215) {
		tmp = (b + ((x * (y * 9.0)) - ((a * t) * (z * 4.0)))) / (z * c);
	} else if (t_1 <= 1e-180) {
		tmp = ((b / z) - (t * (4.0 * a))) / c;
	} else if (t_1 <= Double.POSITIVE_INFINITY) {
		tmp = t_1;
	} else {
		tmp = t * ((-4.0 * (a / c)) + (b / (c * (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])
def code(x, y, z, t, a, b, c):
	t_1 = (b + ((y * (9.0 * x)) - (a * (t * (z * 4.0))))) / (z * c)
	tmp = 0
	if t_1 <= -5e-215:
		tmp = (b + ((x * (y * 9.0)) - ((a * t) * (z * 4.0)))) / (z * c)
	elif t_1 <= 1e-180:
		tmp = ((b / z) - (t * (4.0 * a))) / c
	elif t_1 <= math.inf:
		tmp = t_1
	else:
		tmp = t * ((-4.0 * (a / c)) + (b / (c * (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)
	t_1 = Float64(Float64(b + Float64(Float64(y * Float64(9.0 * x)) - Float64(a * Float64(t * Float64(z * 4.0))))) / Float64(z * c))
	tmp = 0.0
	if (t_1 <= -5e-215)
		tmp = Float64(Float64(b + Float64(Float64(x * Float64(y * 9.0)) - Float64(Float64(a * t) * Float64(z * 4.0)))) / Float64(z * c));
	elseif (t_1 <= 1e-180)
		tmp = Float64(Float64(Float64(b / z) - Float64(t * Float64(4.0 * a))) / c);
	elseif (t_1 <= Inf)
		tmp = t_1;
	else
		tmp = Float64(t * Float64(Float64(-4.0 * Float64(a / c)) + Float64(b / Float64(c * Float64(z * 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)
	t_1 = (b + ((y * (9.0 * x)) - (a * (t * (z * 4.0))))) / (z * c);
	tmp = 0.0;
	if (t_1 <= -5e-215)
		tmp = (b + ((x * (y * 9.0)) - ((a * t) * (z * 4.0)))) / (z * c);
	elseif (t_1 <= 1e-180)
		tmp = ((b / z) - (t * (4.0 * a))) / c;
	elseif (t_1 <= Inf)
		tmp = t_1;
	else
		tmp = t * ((-4.0 * (a / c)) + (b / (c * (z * 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_] := Block[{t$95$1 = N[(N[(b + N[(N[(y * N[(9.0 * x), $MachinePrecision]), $MachinePrecision] - N[(a * N[(t * N[(z * 4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(z * c), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, -5e-215], N[(N[(b + N[(N[(x * N[(y * 9.0), $MachinePrecision]), $MachinePrecision] - N[(N[(a * t), $MachinePrecision] * N[(z * 4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(z * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$1, 1e-180], N[(N[(N[(b / z), $MachinePrecision] - N[(t * N[(4.0 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / c), $MachinePrecision], If[LessEqual[t$95$1, Infinity], t$95$1, N[(t * N[(N[(-4.0 * N[(a / c), $MachinePrecision]), $MachinePrecision] + N[(b / N[(c * N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $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{b + \left(y \cdot \left(9 \cdot x\right) - a \cdot \left(t \cdot \left(z \cdot 4\right)\right)\right)}{z \cdot c}\\
\mathbf{if}\;t\_1 \leq -5 \cdot 10^{-215}:\\
\;\;\;\;\frac{b + \left(x \cdot \left(y \cdot 9\right) - \left(a \cdot t\right) \cdot \left(z \cdot 4\right)\right)}{z \cdot c}\\

\mathbf{elif}\;t\_1 \leq 10^{-180}:\\
\;\;\;\;\frac{\frac{b}{z} - t \cdot \left(4 \cdot a\right)}{c}\\

\mathbf{elif}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;t \cdot \left(-4 \cdot \frac{a}{c} + \frac{b}{c \cdot \left(z \cdot t\right)}\right)\\


\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)) < -4.99999999999999956e-215

    1. Initial program 88.5%

      \[\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. Step-by-step derivation
      1. associate-+l-88.5%

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

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

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

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

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

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

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

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

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

    if -4.99999999999999956e-215 < (/.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)) < 1e-180

    1. Initial program 43.5%

      \[\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. Step-by-step derivation
      1. associate-+l-43.5%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in y around inf 69.1%

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

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

      \[\leadsto \color{blue}{\frac{\frac{b}{z} - 4 \cdot \left(a \cdot t\right)}{c}} \]
    8. Step-by-step derivation
      1. associate-*r*82.5%

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

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

    if 1e-180 < (/.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.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

    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. Step-by-step derivation
      1. associate-+l-0.0%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in y around inf 36.2%

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

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

      \[\leadsto \color{blue}{\frac{\frac{b}{z} - 4 \cdot \left(a \cdot t\right)}{c}} \]
    8. Step-by-step derivation
      1. associate-*r*49.1%

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

      \[\leadsto \color{blue}{\frac{\frac{b}{z} - \left(4 \cdot a\right) \cdot t}{c}} \]
    10. Taylor expanded in t around inf 67.5%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{b + \left(y \cdot \left(9 \cdot x\right) - a \cdot \left(t \cdot \left(z \cdot 4\right)\right)\right)}{z \cdot c} \leq -5 \cdot 10^{-215}:\\ \;\;\;\;\frac{b + \left(x \cdot \left(y \cdot 9\right) - \left(a \cdot t\right) \cdot \left(z \cdot 4\right)\right)}{z \cdot c}\\ \mathbf{elif}\;\frac{b + \left(y \cdot \left(9 \cdot x\right) - a \cdot \left(t \cdot \left(z \cdot 4\right)\right)\right)}{z \cdot c} \leq 10^{-180}:\\ \;\;\;\;\frac{\frac{b}{z} - t \cdot \left(4 \cdot a\right)}{c}\\ \mathbf{elif}\;\frac{b + \left(y \cdot \left(9 \cdot x\right) - a \cdot \left(t \cdot \left(z \cdot 4\right)\right)\right)}{z \cdot c} \leq \infty:\\ \;\;\;\;\frac{b + \left(y \cdot \left(9 \cdot x\right) - a \cdot \left(t \cdot \left(z \cdot 4\right)\right)\right)}{z \cdot c}\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(-4 \cdot \frac{a}{c} + \frac{b}{c \cdot \left(z \cdot t\right)}\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 3: 50.0% 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} t_1 := -4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \mathbf{if}\;t \leq -2.3 \cdot 10^{+85}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq -3 \cdot 10^{+58}:\\ \;\;\;\;\frac{y \cdot \left(9 \cdot x\right)}{z \cdot c}\\ \mathbf{elif}\;t \leq -3.2 \cdot 10^{+36}:\\ \;\;\;\;a \cdot \left(t \cdot \frac{-4}{c}\right)\\ \mathbf{elif}\;t \leq -5.6 \cdot 10^{-210}:\\ \;\;\;\;\frac{x}{c} \cdot \frac{y \cdot 9}{z}\\ \mathbf{elif}\;t \leq -2.1 \cdot 10^{-255}:\\ \;\;\;\;\frac{\frac{b}{z}}{c}\\ \mathbf{elif}\;t \leq 4 \cdot 10^{-99}:\\ \;\;\;\;\left(9 \cdot x\right) \cdot \frac{y}{z \cdot c}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \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 (* -4.0 (* t (/ a c)))))
   (if (<= t -2.3e+85)
     t_1
     (if (<= t -3e+58)
       (/ (* y (* 9.0 x)) (* z c))
       (if (<= t -3.2e+36)
         (* a (* t (/ -4.0 c)))
         (if (<= t -5.6e-210)
           (* (/ x c) (/ (* y 9.0) z))
           (if (<= t -2.1e-255)
             (/ (/ b z) c)
             (if (<= t 4e-99) (* (* 9.0 x) (/ y (* z c))) t_1))))))))
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 = -4.0 * (t * (a / c));
	double tmp;
	if (t <= -2.3e+85) {
		tmp = t_1;
	} else if (t <= -3e+58) {
		tmp = (y * (9.0 * x)) / (z * c);
	} else if (t <= -3.2e+36) {
		tmp = a * (t * (-4.0 / c));
	} else if (t <= -5.6e-210) {
		tmp = (x / c) * ((y * 9.0) / z);
	} else if (t <= -2.1e-255) {
		tmp = (b / z) / c;
	} else if (t <= 4e-99) {
		tmp = (9.0 * x) * (y / (z * c));
	} else {
		tmp = t_1;
	}
	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) :: t_1
    real(8) :: tmp
    t_1 = (-4.0d0) * (t * (a / c))
    if (t <= (-2.3d+85)) then
        tmp = t_1
    else if (t <= (-3d+58)) then
        tmp = (y * (9.0d0 * x)) / (z * c)
    else if (t <= (-3.2d+36)) then
        tmp = a * (t * ((-4.0d0) / c))
    else if (t <= (-5.6d-210)) then
        tmp = (x / c) * ((y * 9.0d0) / z)
    else if (t <= (-2.1d-255)) then
        tmp = (b / z) / c
    else if (t <= 4d-99) then
        tmp = (9.0d0 * x) * (y / (z * c))
    else
        tmp = t_1
    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 t_1 = -4.0 * (t * (a / c));
	double tmp;
	if (t <= -2.3e+85) {
		tmp = t_1;
	} else if (t <= -3e+58) {
		tmp = (y * (9.0 * x)) / (z * c);
	} else if (t <= -3.2e+36) {
		tmp = a * (t * (-4.0 / c));
	} else if (t <= -5.6e-210) {
		tmp = (x / c) * ((y * 9.0) / z);
	} else if (t <= -2.1e-255) {
		tmp = (b / z) / c;
	} else if (t <= 4e-99) {
		tmp = (9.0 * x) * (y / (z * c));
	} else {
		tmp = t_1;
	}
	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):
	t_1 = -4.0 * (t * (a / c))
	tmp = 0
	if t <= -2.3e+85:
		tmp = t_1
	elif t <= -3e+58:
		tmp = (y * (9.0 * x)) / (z * c)
	elif t <= -3.2e+36:
		tmp = a * (t * (-4.0 / c))
	elif t <= -5.6e-210:
		tmp = (x / c) * ((y * 9.0) / z)
	elif t <= -2.1e-255:
		tmp = (b / z) / c
	elif t <= 4e-99:
		tmp = (9.0 * x) * (y / (z * c))
	else:
		tmp = t_1
	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(-4.0 * Float64(t * Float64(a / c)))
	tmp = 0.0
	if (t <= -2.3e+85)
		tmp = t_1;
	elseif (t <= -3e+58)
		tmp = Float64(Float64(y * Float64(9.0 * x)) / Float64(z * c));
	elseif (t <= -3.2e+36)
		tmp = Float64(a * Float64(t * Float64(-4.0 / c)));
	elseif (t <= -5.6e-210)
		tmp = Float64(Float64(x / c) * Float64(Float64(y * 9.0) / z));
	elseif (t <= -2.1e-255)
		tmp = Float64(Float64(b / z) / c);
	elseif (t <= 4e-99)
		tmp = Float64(Float64(9.0 * x) * Float64(y / Float64(z * c)));
	else
		tmp = t_1;
	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)
	t_1 = -4.0 * (t * (a / c));
	tmp = 0.0;
	if (t <= -2.3e+85)
		tmp = t_1;
	elseif (t <= -3e+58)
		tmp = (y * (9.0 * x)) / (z * c);
	elseif (t <= -3.2e+36)
		tmp = a * (t * (-4.0 / c));
	elseif (t <= -5.6e-210)
		tmp = (x / c) * ((y * 9.0) / z);
	elseif (t <= -2.1e-255)
		tmp = (b / z) / c;
	elseif (t <= 4e-99)
		tmp = (9.0 * x) * (y / (z * c));
	else
		tmp = t_1;
	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_] := Block[{t$95$1 = N[(-4.0 * N[(t * N[(a / c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.3e+85], t$95$1, If[LessEqual[t, -3e+58], N[(N[(y * N[(9.0 * x), $MachinePrecision]), $MachinePrecision] / N[(z * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -3.2e+36], N[(a * N[(t * N[(-4.0 / c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -5.6e-210], N[(N[(x / c), $MachinePrecision] * N[(N[(y * 9.0), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -2.1e-255], N[(N[(b / z), $MachinePrecision] / c), $MachinePrecision], If[LessEqual[t, 4e-99], N[(N[(9.0 * x), $MachinePrecision] * N[(y / N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]
\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 := -4 \cdot \left(t \cdot \frac{a}{c}\right)\\
\mathbf{if}\;t \leq -2.3 \cdot 10^{+85}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t \leq -3 \cdot 10^{+58}:\\
\;\;\;\;\frac{y \cdot \left(9 \cdot x\right)}{z \cdot c}\\

\mathbf{elif}\;t \leq -3.2 \cdot 10^{+36}:\\
\;\;\;\;a \cdot \left(t \cdot \frac{-4}{c}\right)\\

\mathbf{elif}\;t \leq -5.6 \cdot 10^{-210}:\\
\;\;\;\;\frac{x}{c} \cdot \frac{y \cdot 9}{z}\\

\mathbf{elif}\;t \leq -2.1 \cdot 10^{-255}:\\
\;\;\;\;\frac{\frac{b}{z}}{c}\\

\mathbf{elif}\;t \leq 4 \cdot 10^{-99}:\\
\;\;\;\;\left(9 \cdot x\right) \cdot \frac{y}{z \cdot c}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if t < -2.2999999999999999e85 or 4.0000000000000001e-99 < t

    1. Initial program 75.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. Step-by-step derivation
      1. associate-+l-75.8%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around 0 71.0%

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
    9. Step-by-step derivation
      1. associate-*r/48.1%

        \[\leadsto \color{blue}{\frac{-4 \cdot \left(a \cdot t\right)}{c}} \]
      2. associate-*r*48.1%

        \[\leadsto \frac{\color{blue}{\left(-4 \cdot a\right) \cdot t}}{c} \]
      3. associate-*l/56.6%

        \[\leadsto \color{blue}{\frac{-4 \cdot a}{c} \cdot t} \]
      4. associate-*r/56.6%

        \[\leadsto \color{blue}{\left(-4 \cdot \frac{a}{c}\right)} \cdot t \]
      5. associate-*l*56.6%

        \[\leadsto \color{blue}{-4 \cdot \left(\frac{a}{c} \cdot t\right)} \]
    10. Simplified56.6%

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

    if -2.2999999999999999e85 < t < -3.0000000000000002e58

    1. Initial program 100.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. Step-by-step derivation
      1. associate-+l-100.0%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in x around inf 99.5%

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

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

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

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

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

    if -3.0000000000000002e58 < t < -3.1999999999999999e36

    1. Initial program 68.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. Step-by-step derivation
      1. associate-+l-68.7%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in y around inf 99.5%

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

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

      \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
    8. Step-by-step derivation
      1. *-commutative99.5%

        \[\leadsto \color{blue}{\frac{a \cdot t}{c} \cdot -4} \]
      2. associate-/l*100.0%

        \[\leadsto \color{blue}{\left(a \cdot \frac{t}{c}\right)} \cdot -4 \]
      3. associate-*r*100.0%

        \[\leadsto \color{blue}{a \cdot \left(\frac{t}{c} \cdot -4\right)} \]
      4. *-commutative100.0%

        \[\leadsto a \cdot \color{blue}{\left(-4 \cdot \frac{t}{c}\right)} \]
      5. associate-*r/100.0%

        \[\leadsto a \cdot \color{blue}{\frac{-4 \cdot t}{c}} \]
      6. *-commutative100.0%

        \[\leadsto a \cdot \frac{\color{blue}{t \cdot -4}}{c} \]
      7. associate-/l*100.0%

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

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

    if -3.1999999999999999e36 < t < -5.6e-210

    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. Step-by-step derivation
      1. associate-+l-89.1%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in x around inf 48.8%

      \[\leadsto \color{blue}{9 \cdot \frac{x \cdot y}{c \cdot z}} \]
    6. Step-by-step derivation
      1. *-commutative48.8%

        \[\leadsto \color{blue}{\frac{x \cdot y}{c \cdot z} \cdot 9} \]
      2. times-frac50.5%

        \[\leadsto \color{blue}{\left(\frac{x}{c} \cdot \frac{y}{z}\right)} \cdot 9 \]
      3. associate-*l*50.5%

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

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

        \[\leadsto \frac{x}{c} \cdot \color{blue}{\frac{y \cdot 9}{z}} \]
    9. Applied egg-rr50.4%

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

    if -5.6e-210 < t < -2.1e-255

    1. Initial program 90.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. Step-by-step derivation
      1. associate-+l-90.1%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in y around inf 72.5%

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

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

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

    if -2.1e-255 < t < 4.0000000000000001e-99

    1. Initial program 86.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. Step-by-step derivation
      1. associate-+l-86.0%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around inf 80.8%

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

      \[\leadsto \color{blue}{9 \cdot \frac{x \cdot y}{c \cdot z}} \]
    7. Step-by-step derivation
      1. associate-/l*53.9%

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -2.3 \cdot 10^{+85}:\\ \;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \mathbf{elif}\;t \leq -3 \cdot 10^{+58}:\\ \;\;\;\;\frac{y \cdot \left(9 \cdot x\right)}{z \cdot c}\\ \mathbf{elif}\;t \leq -3.2 \cdot 10^{+36}:\\ \;\;\;\;a \cdot \left(t \cdot \frac{-4}{c}\right)\\ \mathbf{elif}\;t \leq -5.6 \cdot 10^{-210}:\\ \;\;\;\;\frac{x}{c} \cdot \frac{y \cdot 9}{z}\\ \mathbf{elif}\;t \leq -2.1 \cdot 10^{-255}:\\ \;\;\;\;\frac{\frac{b}{z}}{c}\\ \mathbf{elif}\;t \leq 4 \cdot 10^{-99}:\\ \;\;\;\;\left(9 \cdot x\right) \cdot \frac{y}{z \cdot c}\\ \mathbf{else}:\\ \;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 4: 50.1% 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} t_1 := -4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \mathbf{if}\;t \leq -1.25 \cdot 10^{+85}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq -3.1 \cdot 10^{+62}:\\ \;\;\;\;x \cdot \left(9 \cdot \frac{\frac{y}{z}}{c}\right)\\ \mathbf{elif}\;t \leq -3.5 \cdot 10^{+35}:\\ \;\;\;\;a \cdot \left(t \cdot \frac{-4}{c}\right)\\ \mathbf{elif}\;t \leq -2.4 \cdot 10^{-209}:\\ \;\;\;\;\frac{x}{c} \cdot \frac{y \cdot 9}{z}\\ \mathbf{elif}\;t \leq -1.6 \cdot 10^{-255}:\\ \;\;\;\;\frac{\frac{b}{z}}{c}\\ \mathbf{elif}\;t \leq 1.3 \cdot 10^{-102}:\\ \;\;\;\;\left(9 \cdot x\right) \cdot \frac{y}{z \cdot c}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \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 (* -4.0 (* t (/ a c)))))
   (if (<= t -1.25e+85)
     t_1
     (if (<= t -3.1e+62)
       (* x (* 9.0 (/ (/ y z) c)))
       (if (<= t -3.5e+35)
         (* a (* t (/ -4.0 c)))
         (if (<= t -2.4e-209)
           (* (/ x c) (/ (* y 9.0) z))
           (if (<= t -1.6e-255)
             (/ (/ b z) c)
             (if (<= t 1.3e-102) (* (* 9.0 x) (/ y (* z c))) t_1))))))))
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 = -4.0 * (t * (a / c));
	double tmp;
	if (t <= -1.25e+85) {
		tmp = t_1;
	} else if (t <= -3.1e+62) {
		tmp = x * (9.0 * ((y / z) / c));
	} else if (t <= -3.5e+35) {
		tmp = a * (t * (-4.0 / c));
	} else if (t <= -2.4e-209) {
		tmp = (x / c) * ((y * 9.0) / z);
	} else if (t <= -1.6e-255) {
		tmp = (b / z) / c;
	} else if (t <= 1.3e-102) {
		tmp = (9.0 * x) * (y / (z * c));
	} else {
		tmp = t_1;
	}
	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) :: t_1
    real(8) :: tmp
    t_1 = (-4.0d0) * (t * (a / c))
    if (t <= (-1.25d+85)) then
        tmp = t_1
    else if (t <= (-3.1d+62)) then
        tmp = x * (9.0d0 * ((y / z) / c))
    else if (t <= (-3.5d+35)) then
        tmp = a * (t * ((-4.0d0) / c))
    else if (t <= (-2.4d-209)) then
        tmp = (x / c) * ((y * 9.0d0) / z)
    else if (t <= (-1.6d-255)) then
        tmp = (b / z) / c
    else if (t <= 1.3d-102) then
        tmp = (9.0d0 * x) * (y / (z * c))
    else
        tmp = t_1
    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 t_1 = -4.0 * (t * (a / c));
	double tmp;
	if (t <= -1.25e+85) {
		tmp = t_1;
	} else if (t <= -3.1e+62) {
		tmp = x * (9.0 * ((y / z) / c));
	} else if (t <= -3.5e+35) {
		tmp = a * (t * (-4.0 / c));
	} else if (t <= -2.4e-209) {
		tmp = (x / c) * ((y * 9.0) / z);
	} else if (t <= -1.6e-255) {
		tmp = (b / z) / c;
	} else if (t <= 1.3e-102) {
		tmp = (9.0 * x) * (y / (z * c));
	} else {
		tmp = t_1;
	}
	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):
	t_1 = -4.0 * (t * (a / c))
	tmp = 0
	if t <= -1.25e+85:
		tmp = t_1
	elif t <= -3.1e+62:
		tmp = x * (9.0 * ((y / z) / c))
	elif t <= -3.5e+35:
		tmp = a * (t * (-4.0 / c))
	elif t <= -2.4e-209:
		tmp = (x / c) * ((y * 9.0) / z)
	elif t <= -1.6e-255:
		tmp = (b / z) / c
	elif t <= 1.3e-102:
		tmp = (9.0 * x) * (y / (z * c))
	else:
		tmp = t_1
	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(-4.0 * Float64(t * Float64(a / c)))
	tmp = 0.0
	if (t <= -1.25e+85)
		tmp = t_1;
	elseif (t <= -3.1e+62)
		tmp = Float64(x * Float64(9.0 * Float64(Float64(y / z) / c)));
	elseif (t <= -3.5e+35)
		tmp = Float64(a * Float64(t * Float64(-4.0 / c)));
	elseif (t <= -2.4e-209)
		tmp = Float64(Float64(x / c) * Float64(Float64(y * 9.0) / z));
	elseif (t <= -1.6e-255)
		tmp = Float64(Float64(b / z) / c);
	elseif (t <= 1.3e-102)
		tmp = Float64(Float64(9.0 * x) * Float64(y / Float64(z * c)));
	else
		tmp = t_1;
	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)
	t_1 = -4.0 * (t * (a / c));
	tmp = 0.0;
	if (t <= -1.25e+85)
		tmp = t_1;
	elseif (t <= -3.1e+62)
		tmp = x * (9.0 * ((y / z) / c));
	elseif (t <= -3.5e+35)
		tmp = a * (t * (-4.0 / c));
	elseif (t <= -2.4e-209)
		tmp = (x / c) * ((y * 9.0) / z);
	elseif (t <= -1.6e-255)
		tmp = (b / z) / c;
	elseif (t <= 1.3e-102)
		tmp = (9.0 * x) * (y / (z * c));
	else
		tmp = t_1;
	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_] := Block[{t$95$1 = N[(-4.0 * N[(t * N[(a / c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.25e+85], t$95$1, If[LessEqual[t, -3.1e+62], N[(x * N[(9.0 * N[(N[(y / z), $MachinePrecision] / c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -3.5e+35], N[(a * N[(t * N[(-4.0 / c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -2.4e-209], N[(N[(x / c), $MachinePrecision] * N[(N[(y * 9.0), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.6e-255], N[(N[(b / z), $MachinePrecision] / c), $MachinePrecision], If[LessEqual[t, 1.3e-102], N[(N[(9.0 * x), $MachinePrecision] * N[(y / N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]
\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 := -4 \cdot \left(t \cdot \frac{a}{c}\right)\\
\mathbf{if}\;t \leq -1.25 \cdot 10^{+85}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t \leq -3.1 \cdot 10^{+62}:\\
\;\;\;\;x \cdot \left(9 \cdot \frac{\frac{y}{z}}{c}\right)\\

\mathbf{elif}\;t \leq -3.5 \cdot 10^{+35}:\\
\;\;\;\;a \cdot \left(t \cdot \frac{-4}{c}\right)\\

\mathbf{elif}\;t \leq -2.4 \cdot 10^{-209}:\\
\;\;\;\;\frac{x}{c} \cdot \frac{y \cdot 9}{z}\\

\mathbf{elif}\;t \leq -1.6 \cdot 10^{-255}:\\
\;\;\;\;\frac{\frac{b}{z}}{c}\\

\mathbf{elif}\;t \leq 1.3 \cdot 10^{-102}:\\
\;\;\;\;\left(9 \cdot x\right) \cdot \frac{y}{z \cdot c}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if t < -1.25e85 or 1.29999999999999993e-102 < t

    1. Initial program 75.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. Step-by-step derivation
      1. associate-+l-75.8%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around 0 71.0%

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
    9. Step-by-step derivation
      1. associate-*r/48.1%

        \[\leadsto \color{blue}{\frac{-4 \cdot \left(a \cdot t\right)}{c}} \]
      2. associate-*r*48.1%

        \[\leadsto \frac{\color{blue}{\left(-4 \cdot a\right) \cdot t}}{c} \]
      3. associate-*l/56.6%

        \[\leadsto \color{blue}{\frac{-4 \cdot a}{c} \cdot t} \]
      4. associate-*r/56.6%

        \[\leadsto \color{blue}{\left(-4 \cdot \frac{a}{c}\right)} \cdot t \]
      5. associate-*l*56.6%

        \[\leadsto \color{blue}{-4 \cdot \left(\frac{a}{c} \cdot t\right)} \]
    10. Simplified56.6%

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

    if -1.25e85 < t < -3.10000000000000014e62

    1. Initial program 100.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. Step-by-step derivation
      1. associate-+l-100.0%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around inf 100.0%

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

      \[\leadsto \color{blue}{9 \cdot \frac{x \cdot y}{c \cdot z}} \]
    7. Step-by-step derivation
      1. *-commutative99.5%

        \[\leadsto \color{blue}{\frac{x \cdot y}{c \cdot z} \cdot 9} \]
      2. associate-/l*100.0%

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

        \[\leadsto \color{blue}{x \cdot \left(\frac{y}{c \cdot z} \cdot 9\right)} \]
      4. *-commutative100.0%

        \[\leadsto x \cdot \color{blue}{\left(9 \cdot \frac{y}{c \cdot z}\right)} \]
      5. *-commutative100.0%

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

        \[\leadsto x \cdot \left(9 \cdot \color{blue}{\frac{\frac{y}{z}}{c}}\right) \]
    8. Simplified100.0%

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

    if -3.10000000000000014e62 < t < -3.5000000000000001e35

    1. Initial program 68.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. Step-by-step derivation
      1. associate-+l-68.7%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in y around inf 99.5%

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

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

      \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
    8. Step-by-step derivation
      1. *-commutative99.5%

        \[\leadsto \color{blue}{\frac{a \cdot t}{c} \cdot -4} \]
      2. associate-/l*100.0%

        \[\leadsto \color{blue}{\left(a \cdot \frac{t}{c}\right)} \cdot -4 \]
      3. associate-*r*100.0%

        \[\leadsto \color{blue}{a \cdot \left(\frac{t}{c} \cdot -4\right)} \]
      4. *-commutative100.0%

        \[\leadsto a \cdot \color{blue}{\left(-4 \cdot \frac{t}{c}\right)} \]
      5. associate-*r/100.0%

        \[\leadsto a \cdot \color{blue}{\frac{-4 \cdot t}{c}} \]
      6. *-commutative100.0%

        \[\leadsto a \cdot \frac{\color{blue}{t \cdot -4}}{c} \]
      7. associate-/l*100.0%

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

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

    if -3.5000000000000001e35 < t < -2.4000000000000001e-209

    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. Step-by-step derivation
      1. associate-+l-89.1%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in x around inf 48.8%

      \[\leadsto \color{blue}{9 \cdot \frac{x \cdot y}{c \cdot z}} \]
    6. Step-by-step derivation
      1. *-commutative48.8%

        \[\leadsto \color{blue}{\frac{x \cdot y}{c \cdot z} \cdot 9} \]
      2. times-frac50.5%

        \[\leadsto \color{blue}{\left(\frac{x}{c} \cdot \frac{y}{z}\right)} \cdot 9 \]
      3. associate-*l*50.5%

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

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

        \[\leadsto \frac{x}{c} \cdot \color{blue}{\frac{y \cdot 9}{z}} \]
    9. Applied egg-rr50.4%

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

    if -2.4000000000000001e-209 < t < -1.59999999999999996e-255

    1. Initial program 90.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. Step-by-step derivation
      1. associate-+l-90.1%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in y around inf 72.5%

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

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

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

    if -1.59999999999999996e-255 < t < 1.29999999999999993e-102

    1. Initial program 86.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. Step-by-step derivation
      1. associate-+l-86.0%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around inf 80.8%

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

      \[\leadsto \color{blue}{9 \cdot \frac{x \cdot y}{c \cdot z}} \]
    7. Step-by-step derivation
      1. associate-/l*53.9%

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.25 \cdot 10^{+85}:\\ \;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \mathbf{elif}\;t \leq -3.1 \cdot 10^{+62}:\\ \;\;\;\;x \cdot \left(9 \cdot \frac{\frac{y}{z}}{c}\right)\\ \mathbf{elif}\;t \leq -3.5 \cdot 10^{+35}:\\ \;\;\;\;a \cdot \left(t \cdot \frac{-4}{c}\right)\\ \mathbf{elif}\;t \leq -2.4 \cdot 10^{-209}:\\ \;\;\;\;\frac{x}{c} \cdot \frac{y \cdot 9}{z}\\ \mathbf{elif}\;t \leq -1.6 \cdot 10^{-255}:\\ \;\;\;\;\frac{\frac{b}{z}}{c}\\ \mathbf{elif}\;t \leq 1.3 \cdot 10^{-102}:\\ \;\;\;\;\left(9 \cdot x\right) \cdot \frac{y}{z \cdot c}\\ \mathbf{else}:\\ \;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 5: 50.0% 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} t_1 := -4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \mathbf{if}\;t \leq -1.6 \cdot 10^{+85}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq -1.7 \cdot 10^{+63}:\\ \;\;\;\;x \cdot \left(9 \cdot \frac{\frac{y}{z}}{c}\right)\\ \mathbf{elif}\;t \leq -2.4 \cdot 10^{+36}:\\ \;\;\;\;a \cdot \left(t \cdot \frac{-4}{c}\right)\\ \mathbf{elif}\;t \leq -3.4 \cdot 10^{-203}:\\ \;\;\;\;\frac{x}{c} \cdot \frac{y \cdot 9}{z}\\ \mathbf{elif}\;t \leq -1.75 \cdot 10^{-255}:\\ \;\;\;\;\frac{\frac{b}{z}}{c}\\ \mathbf{elif}\;t \leq 5.4 \cdot 10^{-100}:\\ \;\;\;\;9 \cdot \left(x \cdot \frac{\frac{y}{c}}{z}\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \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 (* -4.0 (* t (/ a c)))))
   (if (<= t -1.6e+85)
     t_1
     (if (<= t -1.7e+63)
       (* x (* 9.0 (/ (/ y z) c)))
       (if (<= t -2.4e+36)
         (* a (* t (/ -4.0 c)))
         (if (<= t -3.4e-203)
           (* (/ x c) (/ (* y 9.0) z))
           (if (<= t -1.75e-255)
             (/ (/ b z) c)
             (if (<= t 5.4e-100) (* 9.0 (* x (/ (/ y c) z))) t_1))))))))
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 = -4.0 * (t * (a / c));
	double tmp;
	if (t <= -1.6e+85) {
		tmp = t_1;
	} else if (t <= -1.7e+63) {
		tmp = x * (9.0 * ((y / z) / c));
	} else if (t <= -2.4e+36) {
		tmp = a * (t * (-4.0 / c));
	} else if (t <= -3.4e-203) {
		tmp = (x / c) * ((y * 9.0) / z);
	} else if (t <= -1.75e-255) {
		tmp = (b / z) / c;
	} else if (t <= 5.4e-100) {
		tmp = 9.0 * (x * ((y / c) / z));
	} else {
		tmp = t_1;
	}
	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) :: t_1
    real(8) :: tmp
    t_1 = (-4.0d0) * (t * (a / c))
    if (t <= (-1.6d+85)) then
        tmp = t_1
    else if (t <= (-1.7d+63)) then
        tmp = x * (9.0d0 * ((y / z) / c))
    else if (t <= (-2.4d+36)) then
        tmp = a * (t * ((-4.0d0) / c))
    else if (t <= (-3.4d-203)) then
        tmp = (x / c) * ((y * 9.0d0) / z)
    else if (t <= (-1.75d-255)) then
        tmp = (b / z) / c
    else if (t <= 5.4d-100) then
        tmp = 9.0d0 * (x * ((y / c) / z))
    else
        tmp = t_1
    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 t_1 = -4.0 * (t * (a / c));
	double tmp;
	if (t <= -1.6e+85) {
		tmp = t_1;
	} else if (t <= -1.7e+63) {
		tmp = x * (9.0 * ((y / z) / c));
	} else if (t <= -2.4e+36) {
		tmp = a * (t * (-4.0 / c));
	} else if (t <= -3.4e-203) {
		tmp = (x / c) * ((y * 9.0) / z);
	} else if (t <= -1.75e-255) {
		tmp = (b / z) / c;
	} else if (t <= 5.4e-100) {
		tmp = 9.0 * (x * ((y / c) / z));
	} else {
		tmp = t_1;
	}
	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):
	t_1 = -4.0 * (t * (a / c))
	tmp = 0
	if t <= -1.6e+85:
		tmp = t_1
	elif t <= -1.7e+63:
		tmp = x * (9.0 * ((y / z) / c))
	elif t <= -2.4e+36:
		tmp = a * (t * (-4.0 / c))
	elif t <= -3.4e-203:
		tmp = (x / c) * ((y * 9.0) / z)
	elif t <= -1.75e-255:
		tmp = (b / z) / c
	elif t <= 5.4e-100:
		tmp = 9.0 * (x * ((y / c) / z))
	else:
		tmp = t_1
	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(-4.0 * Float64(t * Float64(a / c)))
	tmp = 0.0
	if (t <= -1.6e+85)
		tmp = t_1;
	elseif (t <= -1.7e+63)
		tmp = Float64(x * Float64(9.0 * Float64(Float64(y / z) / c)));
	elseif (t <= -2.4e+36)
		tmp = Float64(a * Float64(t * Float64(-4.0 / c)));
	elseif (t <= -3.4e-203)
		tmp = Float64(Float64(x / c) * Float64(Float64(y * 9.0) / z));
	elseif (t <= -1.75e-255)
		tmp = Float64(Float64(b / z) / c);
	elseif (t <= 5.4e-100)
		tmp = Float64(9.0 * Float64(x * Float64(Float64(y / c) / z)));
	else
		tmp = t_1;
	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)
	t_1 = -4.0 * (t * (a / c));
	tmp = 0.0;
	if (t <= -1.6e+85)
		tmp = t_1;
	elseif (t <= -1.7e+63)
		tmp = x * (9.0 * ((y / z) / c));
	elseif (t <= -2.4e+36)
		tmp = a * (t * (-4.0 / c));
	elseif (t <= -3.4e-203)
		tmp = (x / c) * ((y * 9.0) / z);
	elseif (t <= -1.75e-255)
		tmp = (b / z) / c;
	elseif (t <= 5.4e-100)
		tmp = 9.0 * (x * ((y / c) / z));
	else
		tmp = t_1;
	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_] := Block[{t$95$1 = N[(-4.0 * N[(t * N[(a / c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.6e+85], t$95$1, If[LessEqual[t, -1.7e+63], N[(x * N[(9.0 * N[(N[(y / z), $MachinePrecision] / c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -2.4e+36], N[(a * N[(t * N[(-4.0 / c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -3.4e-203], N[(N[(x / c), $MachinePrecision] * N[(N[(y * 9.0), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.75e-255], N[(N[(b / z), $MachinePrecision] / c), $MachinePrecision], If[LessEqual[t, 5.4e-100], N[(9.0 * N[(x * N[(N[(y / c), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]
\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 := -4 \cdot \left(t \cdot \frac{a}{c}\right)\\
\mathbf{if}\;t \leq -1.6 \cdot 10^{+85}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t \leq -1.7 \cdot 10^{+63}:\\
\;\;\;\;x \cdot \left(9 \cdot \frac{\frac{y}{z}}{c}\right)\\

\mathbf{elif}\;t \leq -2.4 \cdot 10^{+36}:\\
\;\;\;\;a \cdot \left(t \cdot \frac{-4}{c}\right)\\

\mathbf{elif}\;t \leq -3.4 \cdot 10^{-203}:\\
\;\;\;\;\frac{x}{c} \cdot \frac{y \cdot 9}{z}\\

\mathbf{elif}\;t \leq -1.75 \cdot 10^{-255}:\\
\;\;\;\;\frac{\frac{b}{z}}{c}\\

\mathbf{elif}\;t \leq 5.4 \cdot 10^{-100}:\\
\;\;\;\;9 \cdot \left(x \cdot \frac{\frac{y}{c}}{z}\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if t < -1.60000000000000009e85 or 5.40000000000000031e-100 < t

    1. Initial program 75.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. Step-by-step derivation
      1. associate-+l-75.8%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around 0 71.0%

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
    9. Step-by-step derivation
      1. associate-*r/48.1%

        \[\leadsto \color{blue}{\frac{-4 \cdot \left(a \cdot t\right)}{c}} \]
      2. associate-*r*48.1%

        \[\leadsto \frac{\color{blue}{\left(-4 \cdot a\right) \cdot t}}{c} \]
      3. associate-*l/56.6%

        \[\leadsto \color{blue}{\frac{-4 \cdot a}{c} \cdot t} \]
      4. associate-*r/56.6%

        \[\leadsto \color{blue}{\left(-4 \cdot \frac{a}{c}\right)} \cdot t \]
      5. associate-*l*56.6%

        \[\leadsto \color{blue}{-4 \cdot \left(\frac{a}{c} \cdot t\right)} \]
    10. Simplified56.6%

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

    if -1.60000000000000009e85 < t < -1.6999999999999999e63

    1. Initial program 100.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. Step-by-step derivation
      1. associate-+l-100.0%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around inf 100.0%

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

      \[\leadsto \color{blue}{9 \cdot \frac{x \cdot y}{c \cdot z}} \]
    7. Step-by-step derivation
      1. *-commutative99.5%

        \[\leadsto \color{blue}{\frac{x \cdot y}{c \cdot z} \cdot 9} \]
      2. associate-/l*100.0%

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

        \[\leadsto \color{blue}{x \cdot \left(\frac{y}{c \cdot z} \cdot 9\right)} \]
      4. *-commutative100.0%

        \[\leadsto x \cdot \color{blue}{\left(9 \cdot \frac{y}{c \cdot z}\right)} \]
      5. *-commutative100.0%

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

        \[\leadsto x \cdot \left(9 \cdot \color{blue}{\frac{\frac{y}{z}}{c}}\right) \]
    8. Simplified100.0%

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

    if -1.6999999999999999e63 < t < -2.39999999999999992e36

    1. Initial program 68.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. Step-by-step derivation
      1. associate-+l-68.7%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in y around inf 99.5%

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

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

      \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
    8. Step-by-step derivation
      1. *-commutative99.5%

        \[\leadsto \color{blue}{\frac{a \cdot t}{c} \cdot -4} \]
      2. associate-/l*100.0%

        \[\leadsto \color{blue}{\left(a \cdot \frac{t}{c}\right)} \cdot -4 \]
      3. associate-*r*100.0%

        \[\leadsto \color{blue}{a \cdot \left(\frac{t}{c} \cdot -4\right)} \]
      4. *-commutative100.0%

        \[\leadsto a \cdot \color{blue}{\left(-4 \cdot \frac{t}{c}\right)} \]
      5. associate-*r/100.0%

        \[\leadsto a \cdot \color{blue}{\frac{-4 \cdot t}{c}} \]
      6. *-commutative100.0%

        \[\leadsto a \cdot \frac{\color{blue}{t \cdot -4}}{c} \]
      7. associate-/l*100.0%

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

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

    if -2.39999999999999992e36 < t < -3.3999999999999999e-203

    1. Initial program 88.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. Step-by-step derivation
      1. associate-+l-88.8%

        \[\leadsto \frac{\color{blue}{\left(x \cdot 9\right) \cdot y - \left(\left(\left(z \cdot 4\right) \cdot t\right) \cdot a - b\right)}}{z \cdot c} \]
      2. *-commutative88.8%

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in x around inf 49.8%

      \[\leadsto \color{blue}{9 \cdot \frac{x \cdot y}{c \cdot z}} \]
    6. Step-by-step derivation
      1. *-commutative49.8%

        \[\leadsto \color{blue}{\frac{x \cdot y}{c \cdot z} \cdot 9} \]
      2. times-frac51.6%

        \[\leadsto \color{blue}{\left(\frac{x}{c} \cdot \frac{y}{z}\right)} \cdot 9 \]
      3. associate-*l*51.6%

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

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

        \[\leadsto \frac{x}{c} \cdot \color{blue}{\frac{y \cdot 9}{z}} \]
    9. Applied egg-rr51.5%

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

    if -3.3999999999999999e-203 < t < -1.74999999999999989e-255

    1. Initial program 91.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. Step-by-step derivation
      1. associate-+l-91.0%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in y around inf 66.6%

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

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

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

    if -1.74999999999999989e-255 < t < 5.40000000000000031e-100

    1. Initial program 86.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. Step-by-step derivation
      1. associate-+l-86.0%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around 0 84.4%

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{9 \cdot \frac{x \cdot y}{c \cdot z}} \]
    9. Step-by-step derivation
      1. associate-/l*53.9%

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.6 \cdot 10^{+85}:\\ \;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \mathbf{elif}\;t \leq -1.7 \cdot 10^{+63}:\\ \;\;\;\;x \cdot \left(9 \cdot \frac{\frac{y}{z}}{c}\right)\\ \mathbf{elif}\;t \leq -2.4 \cdot 10^{+36}:\\ \;\;\;\;a \cdot \left(t \cdot \frac{-4}{c}\right)\\ \mathbf{elif}\;t \leq -3.4 \cdot 10^{-203}:\\ \;\;\;\;\frac{x}{c} \cdot \frac{y \cdot 9}{z}\\ \mathbf{elif}\;t \leq -1.75 \cdot 10^{-255}:\\ \;\;\;\;\frac{\frac{b}{z}}{c}\\ \mathbf{elif}\;t \leq 5.4 \cdot 10^{-100}:\\ \;\;\;\;9 \cdot \left(x \cdot \frac{\frac{y}{c}}{z}\right)\\ \mathbf{else}:\\ \;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 6: 50.1% 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} t_1 := -4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \mathbf{if}\;t \leq -4.3 \cdot 10^{+86}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq -3.8 \cdot 10^{+58}:\\ \;\;\;\;x \cdot \left(9 \cdot \frac{\frac{y}{z}}{c}\right)\\ \mathbf{elif}\;t \leq -2 \cdot 10^{+36}:\\ \;\;\;\;a \cdot \left(t \cdot \frac{-4}{c}\right)\\ \mathbf{elif}\;t \leq -1.1 \cdot 10^{-209}:\\ \;\;\;\;\frac{x}{c} \cdot \left(9 \cdot \frac{y}{z}\right)\\ \mathbf{elif}\;t \leq -1.82 \cdot 10^{-255}:\\ \;\;\;\;\frac{\frac{b}{z}}{c}\\ \mathbf{elif}\;t \leq 4.9 \cdot 10^{-113}:\\ \;\;\;\;9 \cdot \left(x \cdot \frac{\frac{y}{c}}{z}\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \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 (* -4.0 (* t (/ a c)))))
   (if (<= t -4.3e+86)
     t_1
     (if (<= t -3.8e+58)
       (* x (* 9.0 (/ (/ y z) c)))
       (if (<= t -2e+36)
         (* a (* t (/ -4.0 c)))
         (if (<= t -1.1e-209)
           (* (/ x c) (* 9.0 (/ y z)))
           (if (<= t -1.82e-255)
             (/ (/ b z) c)
             (if (<= t 4.9e-113) (* 9.0 (* x (/ (/ y c) z))) t_1))))))))
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 = -4.0 * (t * (a / c));
	double tmp;
	if (t <= -4.3e+86) {
		tmp = t_1;
	} else if (t <= -3.8e+58) {
		tmp = x * (9.0 * ((y / z) / c));
	} else if (t <= -2e+36) {
		tmp = a * (t * (-4.0 / c));
	} else if (t <= -1.1e-209) {
		tmp = (x / c) * (9.0 * (y / z));
	} else if (t <= -1.82e-255) {
		tmp = (b / z) / c;
	} else if (t <= 4.9e-113) {
		tmp = 9.0 * (x * ((y / c) / z));
	} else {
		tmp = t_1;
	}
	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) :: t_1
    real(8) :: tmp
    t_1 = (-4.0d0) * (t * (a / c))
    if (t <= (-4.3d+86)) then
        tmp = t_1
    else if (t <= (-3.8d+58)) then
        tmp = x * (9.0d0 * ((y / z) / c))
    else if (t <= (-2d+36)) then
        tmp = a * (t * ((-4.0d0) / c))
    else if (t <= (-1.1d-209)) then
        tmp = (x / c) * (9.0d0 * (y / z))
    else if (t <= (-1.82d-255)) then
        tmp = (b / z) / c
    else if (t <= 4.9d-113) then
        tmp = 9.0d0 * (x * ((y / c) / z))
    else
        tmp = t_1
    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 t_1 = -4.0 * (t * (a / c));
	double tmp;
	if (t <= -4.3e+86) {
		tmp = t_1;
	} else if (t <= -3.8e+58) {
		tmp = x * (9.0 * ((y / z) / c));
	} else if (t <= -2e+36) {
		tmp = a * (t * (-4.0 / c));
	} else if (t <= -1.1e-209) {
		tmp = (x / c) * (9.0 * (y / z));
	} else if (t <= -1.82e-255) {
		tmp = (b / z) / c;
	} else if (t <= 4.9e-113) {
		tmp = 9.0 * (x * ((y / c) / z));
	} else {
		tmp = t_1;
	}
	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):
	t_1 = -4.0 * (t * (a / c))
	tmp = 0
	if t <= -4.3e+86:
		tmp = t_1
	elif t <= -3.8e+58:
		tmp = x * (9.0 * ((y / z) / c))
	elif t <= -2e+36:
		tmp = a * (t * (-4.0 / c))
	elif t <= -1.1e-209:
		tmp = (x / c) * (9.0 * (y / z))
	elif t <= -1.82e-255:
		tmp = (b / z) / c
	elif t <= 4.9e-113:
		tmp = 9.0 * (x * ((y / c) / z))
	else:
		tmp = t_1
	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(-4.0 * Float64(t * Float64(a / c)))
	tmp = 0.0
	if (t <= -4.3e+86)
		tmp = t_1;
	elseif (t <= -3.8e+58)
		tmp = Float64(x * Float64(9.0 * Float64(Float64(y / z) / c)));
	elseif (t <= -2e+36)
		tmp = Float64(a * Float64(t * Float64(-4.0 / c)));
	elseif (t <= -1.1e-209)
		tmp = Float64(Float64(x / c) * Float64(9.0 * Float64(y / z)));
	elseif (t <= -1.82e-255)
		tmp = Float64(Float64(b / z) / c);
	elseif (t <= 4.9e-113)
		tmp = Float64(9.0 * Float64(x * Float64(Float64(y / c) / z)));
	else
		tmp = t_1;
	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)
	t_1 = -4.0 * (t * (a / c));
	tmp = 0.0;
	if (t <= -4.3e+86)
		tmp = t_1;
	elseif (t <= -3.8e+58)
		tmp = x * (9.0 * ((y / z) / c));
	elseif (t <= -2e+36)
		tmp = a * (t * (-4.0 / c));
	elseif (t <= -1.1e-209)
		tmp = (x / c) * (9.0 * (y / z));
	elseif (t <= -1.82e-255)
		tmp = (b / z) / c;
	elseif (t <= 4.9e-113)
		tmp = 9.0 * (x * ((y / c) / z));
	else
		tmp = t_1;
	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_] := Block[{t$95$1 = N[(-4.0 * N[(t * N[(a / c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -4.3e+86], t$95$1, If[LessEqual[t, -3.8e+58], N[(x * N[(9.0 * N[(N[(y / z), $MachinePrecision] / c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -2e+36], N[(a * N[(t * N[(-4.0 / c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.1e-209], N[(N[(x / c), $MachinePrecision] * N[(9.0 * N[(y / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.82e-255], N[(N[(b / z), $MachinePrecision] / c), $MachinePrecision], If[LessEqual[t, 4.9e-113], N[(9.0 * N[(x * N[(N[(y / c), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]
\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 := -4 \cdot \left(t \cdot \frac{a}{c}\right)\\
\mathbf{if}\;t \leq -4.3 \cdot 10^{+86}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t \leq -3.8 \cdot 10^{+58}:\\
\;\;\;\;x \cdot \left(9 \cdot \frac{\frac{y}{z}}{c}\right)\\

\mathbf{elif}\;t \leq -2 \cdot 10^{+36}:\\
\;\;\;\;a \cdot \left(t \cdot \frac{-4}{c}\right)\\

\mathbf{elif}\;t \leq -1.1 \cdot 10^{-209}:\\
\;\;\;\;\frac{x}{c} \cdot \left(9 \cdot \frac{y}{z}\right)\\

\mathbf{elif}\;t \leq -1.82 \cdot 10^{-255}:\\
\;\;\;\;\frac{\frac{b}{z}}{c}\\

\mathbf{elif}\;t \leq 4.9 \cdot 10^{-113}:\\
\;\;\;\;9 \cdot \left(x \cdot \frac{\frac{y}{c}}{z}\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if t < -4.3000000000000002e86 or 4.9000000000000003e-113 < t

    1. Initial program 76.3%

      \[\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. Step-by-step derivation
      1. associate-+l-76.3%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around 0 70.9%

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
    9. Step-by-step derivation
      1. associate-*r/47.8%

        \[\leadsto \color{blue}{\frac{-4 \cdot \left(a \cdot t\right)}{c}} \]
      2. associate-*r*47.8%

        \[\leadsto \frac{\color{blue}{\left(-4 \cdot a\right) \cdot t}}{c} \]
      3. associate-*l/55.4%

        \[\leadsto \color{blue}{\frac{-4 \cdot a}{c} \cdot t} \]
      4. associate-*r/55.4%

        \[\leadsto \color{blue}{\left(-4 \cdot \frac{a}{c}\right)} \cdot t \]
      5. associate-*l*55.4%

        \[\leadsto \color{blue}{-4 \cdot \left(\frac{a}{c} \cdot t\right)} \]
    10. Simplified55.4%

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

    if -4.3000000000000002e86 < t < -3.7999999999999999e58

    1. Initial program 100.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. Step-by-step derivation
      1. associate-+l-100.0%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around inf 100.0%

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

      \[\leadsto \color{blue}{9 \cdot \frac{x \cdot y}{c \cdot z}} \]
    7. Step-by-step derivation
      1. *-commutative99.5%

        \[\leadsto \color{blue}{\frac{x \cdot y}{c \cdot z} \cdot 9} \]
      2. associate-/l*100.0%

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

        \[\leadsto \color{blue}{x \cdot \left(\frac{y}{c \cdot z} \cdot 9\right)} \]
      4. *-commutative100.0%

        \[\leadsto x \cdot \color{blue}{\left(9 \cdot \frac{y}{c \cdot z}\right)} \]
      5. *-commutative100.0%

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

        \[\leadsto x \cdot \left(9 \cdot \color{blue}{\frac{\frac{y}{z}}{c}}\right) \]
    8. Simplified100.0%

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

    if -3.7999999999999999e58 < t < -2.00000000000000008e36

    1. Initial program 68.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. Step-by-step derivation
      1. associate-+l-68.7%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in y around inf 99.5%

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

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

      \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
    8. Step-by-step derivation
      1. *-commutative99.5%

        \[\leadsto \color{blue}{\frac{a \cdot t}{c} \cdot -4} \]
      2. associate-/l*100.0%

        \[\leadsto \color{blue}{\left(a \cdot \frac{t}{c}\right)} \cdot -4 \]
      3. associate-*r*100.0%

        \[\leadsto \color{blue}{a \cdot \left(\frac{t}{c} \cdot -4\right)} \]
      4. *-commutative100.0%

        \[\leadsto a \cdot \color{blue}{\left(-4 \cdot \frac{t}{c}\right)} \]
      5. associate-*r/100.0%

        \[\leadsto a \cdot \color{blue}{\frac{-4 \cdot t}{c}} \]
      6. *-commutative100.0%

        \[\leadsto a \cdot \frac{\color{blue}{t \cdot -4}}{c} \]
      7. associate-/l*100.0%

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

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

    if -2.00000000000000008e36 < t < -1.10000000000000005e-209

    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. Step-by-step derivation
      1. associate-+l-89.1%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in x around inf 48.8%

      \[\leadsto \color{blue}{9 \cdot \frac{x \cdot y}{c \cdot z}} \]
    6. Step-by-step derivation
      1. *-commutative48.8%

        \[\leadsto \color{blue}{\frac{x \cdot y}{c \cdot z} \cdot 9} \]
      2. times-frac50.5%

        \[\leadsto \color{blue}{\left(\frac{x}{c} \cdot \frac{y}{z}\right)} \cdot 9 \]
      3. associate-*l*50.5%

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

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

    if -1.10000000000000005e-209 < t < -1.82e-255

    1. Initial program 90.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. Step-by-step derivation
      1. associate-+l-90.1%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in y around inf 72.5%

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

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

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

    if -1.82e-255 < t < 4.9000000000000003e-113

    1. Initial program 85.3%

      \[\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. Step-by-step derivation
      1. associate-+l-85.3%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around 0 85.3%

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{9 \cdot \frac{x \cdot y}{c \cdot z}} \]
    9. Step-by-step derivation
      1. associate-/l*55.0%

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

        \[\leadsto 9 \cdot \left(x \cdot \color{blue}{\frac{\frac{y}{c}}{z}}\right) \]
    10. Simplified55.0%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -4.3 \cdot 10^{+86}:\\ \;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \mathbf{elif}\;t \leq -3.8 \cdot 10^{+58}:\\ \;\;\;\;x \cdot \left(9 \cdot \frac{\frac{y}{z}}{c}\right)\\ \mathbf{elif}\;t \leq -2 \cdot 10^{+36}:\\ \;\;\;\;a \cdot \left(t \cdot \frac{-4}{c}\right)\\ \mathbf{elif}\;t \leq -1.1 \cdot 10^{-209}:\\ \;\;\;\;\frac{x}{c} \cdot \left(9 \cdot \frac{y}{z}\right)\\ \mathbf{elif}\;t \leq -1.82 \cdot 10^{-255}:\\ \;\;\;\;\frac{\frac{b}{z}}{c}\\ \mathbf{elif}\;t \leq 4.9 \cdot 10^{-113}:\\ \;\;\;\;9 \cdot \left(x \cdot \frac{\frac{y}{c}}{z}\right)\\ \mathbf{else}:\\ \;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 7: 50.2% 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} t_1 := 9 \cdot \left(x \cdot \frac{\frac{y}{c}}{z}\right)\\ t_2 := -4 \cdot \left(t \cdot \frac{a}{c}\right)\\ t_3 := \frac{\frac{b}{z}}{c}\\ \mathbf{if}\;t \leq -4.4 \cdot 10^{+86}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;t \leq -1.32 \cdot 10^{-23}:\\ \;\;\;\;9 \cdot \left(x \cdot \frac{\frac{y}{z}}{c}\right)\\ \mathbf{elif}\;t \leq -1.35 \cdot 10^{-55}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;t \leq -3.2 \cdot 10^{-147}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq -5.1 \cdot 10^{-256}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;t \leq 1.36 \cdot 10^{-102}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \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 (* 9.0 (* x (/ (/ y c) z))))
        (t_2 (* -4.0 (* t (/ a c))))
        (t_3 (/ (/ b z) c)))
   (if (<= t -4.4e+86)
     t_2
     (if (<= t -1.32e-23)
       (* 9.0 (* x (/ (/ y z) c)))
       (if (<= t -1.35e-55)
         t_3
         (if (<= t -3.2e-147)
           t_1
           (if (<= t -5.1e-256) t_3 (if (<= t 1.36e-102) t_1 t_2))))))))
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 = 9.0 * (x * ((y / c) / z));
	double t_2 = -4.0 * (t * (a / c));
	double t_3 = (b / z) / c;
	double tmp;
	if (t <= -4.4e+86) {
		tmp = t_2;
	} else if (t <= -1.32e-23) {
		tmp = 9.0 * (x * ((y / z) / c));
	} else if (t <= -1.35e-55) {
		tmp = t_3;
	} else if (t <= -3.2e-147) {
		tmp = t_1;
	} else if (t <= -5.1e-256) {
		tmp = t_3;
	} else if (t <= 1.36e-102) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	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) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = 9.0d0 * (x * ((y / c) / z))
    t_2 = (-4.0d0) * (t * (a / c))
    t_3 = (b / z) / c
    if (t <= (-4.4d+86)) then
        tmp = t_2
    else if (t <= (-1.32d-23)) then
        tmp = 9.0d0 * (x * ((y / z) / c))
    else if (t <= (-1.35d-55)) then
        tmp = t_3
    else if (t <= (-3.2d-147)) then
        tmp = t_1
    else if (t <= (-5.1d-256)) then
        tmp = t_3
    else if (t <= 1.36d-102) then
        tmp = t_1
    else
        tmp = t_2
    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 t_1 = 9.0 * (x * ((y / c) / z));
	double t_2 = -4.0 * (t * (a / c));
	double t_3 = (b / z) / c;
	double tmp;
	if (t <= -4.4e+86) {
		tmp = t_2;
	} else if (t <= -1.32e-23) {
		tmp = 9.0 * (x * ((y / z) / c));
	} else if (t <= -1.35e-55) {
		tmp = t_3;
	} else if (t <= -3.2e-147) {
		tmp = t_1;
	} else if (t <= -5.1e-256) {
		tmp = t_3;
	} else if (t <= 1.36e-102) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	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):
	t_1 = 9.0 * (x * ((y / c) / z))
	t_2 = -4.0 * (t * (a / c))
	t_3 = (b / z) / c
	tmp = 0
	if t <= -4.4e+86:
		tmp = t_2
	elif t <= -1.32e-23:
		tmp = 9.0 * (x * ((y / z) / c))
	elif t <= -1.35e-55:
		tmp = t_3
	elif t <= -3.2e-147:
		tmp = t_1
	elif t <= -5.1e-256:
		tmp = t_3
	elif t <= 1.36e-102:
		tmp = t_1
	else:
		tmp = t_2
	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(9.0 * Float64(x * Float64(Float64(y / c) / z)))
	t_2 = Float64(-4.0 * Float64(t * Float64(a / c)))
	t_3 = Float64(Float64(b / z) / c)
	tmp = 0.0
	if (t <= -4.4e+86)
		tmp = t_2;
	elseif (t <= -1.32e-23)
		tmp = Float64(9.0 * Float64(x * Float64(Float64(y / z) / c)));
	elseif (t <= -1.35e-55)
		tmp = t_3;
	elseif (t <= -3.2e-147)
		tmp = t_1;
	elseif (t <= -5.1e-256)
		tmp = t_3;
	elseif (t <= 1.36e-102)
		tmp = t_1;
	else
		tmp = t_2;
	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)
	t_1 = 9.0 * (x * ((y / c) / z));
	t_2 = -4.0 * (t * (a / c));
	t_3 = (b / z) / c;
	tmp = 0.0;
	if (t <= -4.4e+86)
		tmp = t_2;
	elseif (t <= -1.32e-23)
		tmp = 9.0 * (x * ((y / z) / c));
	elseif (t <= -1.35e-55)
		tmp = t_3;
	elseif (t <= -3.2e-147)
		tmp = t_1;
	elseif (t <= -5.1e-256)
		tmp = t_3;
	elseif (t <= 1.36e-102)
		tmp = t_1;
	else
		tmp = t_2;
	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_] := Block[{t$95$1 = N[(9.0 * N[(x * N[(N[(y / c), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(-4.0 * N[(t * N[(a / c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(b / z), $MachinePrecision] / c), $MachinePrecision]}, If[LessEqual[t, -4.4e+86], t$95$2, If[LessEqual[t, -1.32e-23], N[(9.0 * N[(x * N[(N[(y / z), $MachinePrecision] / c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.35e-55], t$95$3, If[LessEqual[t, -3.2e-147], t$95$1, If[LessEqual[t, -5.1e-256], t$95$3, If[LessEqual[t, 1.36e-102], t$95$1, t$95$2]]]]]]]]]
\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 := 9 \cdot \left(x \cdot \frac{\frac{y}{c}}{z}\right)\\
t_2 := -4 \cdot \left(t \cdot \frac{a}{c}\right)\\
t_3 := \frac{\frac{b}{z}}{c}\\
\mathbf{if}\;t \leq -4.4 \cdot 10^{+86}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;t \leq -1.32 \cdot 10^{-23}:\\
\;\;\;\;9 \cdot \left(x \cdot \frac{\frac{y}{z}}{c}\right)\\

\mathbf{elif}\;t \leq -1.35 \cdot 10^{-55}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;t \leq -3.2 \cdot 10^{-147}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t \leq -5.1 \cdot 10^{-256}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;t \leq 1.36 \cdot 10^{-102}:\\
\;\;\;\;t\_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if t < -4.40000000000000006e86 or 1.36000000000000001e-102 < t

    1. Initial program 75.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. Step-by-step derivation
      1. associate-+l-75.8%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around 0 71.0%

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
    9. Step-by-step derivation
      1. associate-*r/48.1%

        \[\leadsto \color{blue}{\frac{-4 \cdot \left(a \cdot t\right)}{c}} \]
      2. associate-*r*48.1%

        \[\leadsto \frac{\color{blue}{\left(-4 \cdot a\right) \cdot t}}{c} \]
      3. associate-*l/56.6%

        \[\leadsto \color{blue}{\frac{-4 \cdot a}{c} \cdot t} \]
      4. associate-*r/56.6%

        \[\leadsto \color{blue}{\left(-4 \cdot \frac{a}{c}\right)} \cdot t \]
      5. associate-*l*56.6%

        \[\leadsto \color{blue}{-4 \cdot \left(\frac{a}{c} \cdot t\right)} \]
    10. Simplified56.6%

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

    if -4.40000000000000006e86 < t < -1.31999999999999994e-23

    1. Initial program 82.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. Step-by-step derivation
      1. associate-+l-82.7%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in y around inf 82.7%

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

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

      \[\leadsto \color{blue}{9 \cdot \frac{x \cdot y}{c \cdot z}} \]
    8. Step-by-step derivation
      1. associate-/l*49.4%

        \[\leadsto 9 \cdot \color{blue}{\left(x \cdot \frac{y}{c \cdot z}\right)} \]
      2. *-commutative49.4%

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

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

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

    if -1.31999999999999994e-23 < t < -1.35000000000000002e-55 or -3.19999999999999979e-147 < t < -5.10000000000000011e-256

    1. Initial program 90.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. Step-by-step derivation
      1. associate-+l-90.9%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in y around inf 65.5%

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

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

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

    if -1.35000000000000002e-55 < t < -3.19999999999999979e-147 or -5.10000000000000011e-256 < t < 1.36000000000000001e-102

    1. Initial program 87.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. Step-by-step derivation
      1. associate-+l-87.9%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around 0 78.8%

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{9 \cdot \frac{x \cdot y}{c \cdot z}} \]
    9. Step-by-step derivation
      1. associate-/l*53.2%

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -4.4 \cdot 10^{+86}:\\ \;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \mathbf{elif}\;t \leq -1.32 \cdot 10^{-23}:\\ \;\;\;\;9 \cdot \left(x \cdot \frac{\frac{y}{z}}{c}\right)\\ \mathbf{elif}\;t \leq -1.35 \cdot 10^{-55}:\\ \;\;\;\;\frac{\frac{b}{z}}{c}\\ \mathbf{elif}\;t \leq -3.2 \cdot 10^{-147}:\\ \;\;\;\;9 \cdot \left(x \cdot \frac{\frac{y}{c}}{z}\right)\\ \mathbf{elif}\;t \leq -5.1 \cdot 10^{-256}:\\ \;\;\;\;\frac{\frac{b}{z}}{c}\\ \mathbf{elif}\;t \leq 1.36 \cdot 10^{-102}:\\ \;\;\;\;9 \cdot \left(x \cdot \frac{\frac{y}{c}}{z}\right)\\ \mathbf{else}:\\ \;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 8: 50.1% 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} t_1 := 9 \cdot \left(x \cdot \frac{\frac{y}{c}}{z}\right)\\ t_2 := -4 \cdot \left(t \cdot \frac{a}{c}\right)\\ t_3 := \frac{\frac{b}{z}}{c}\\ \mathbf{if}\;t \leq -9.8 \cdot 10^{+35}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;t \leq -5 \cdot 10^{-21}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq -2.65 \cdot 10^{-59}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;t \leq -1 \cdot 10^{-148}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq -2.8 \cdot 10^{-255}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;t \leq 4 \cdot 10^{-99}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \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 (* 9.0 (* x (/ (/ y c) z))))
        (t_2 (* -4.0 (* t (/ a c))))
        (t_3 (/ (/ b z) c)))
   (if (<= t -9.8e+35)
     t_2
     (if (<= t -5e-21)
       t_1
       (if (<= t -2.65e-59)
         t_3
         (if (<= t -1e-148)
           t_1
           (if (<= t -2.8e-255) t_3 (if (<= t 4e-99) t_1 t_2))))))))
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 = 9.0 * (x * ((y / c) / z));
	double t_2 = -4.0 * (t * (a / c));
	double t_3 = (b / z) / c;
	double tmp;
	if (t <= -9.8e+35) {
		tmp = t_2;
	} else if (t <= -5e-21) {
		tmp = t_1;
	} else if (t <= -2.65e-59) {
		tmp = t_3;
	} else if (t <= -1e-148) {
		tmp = t_1;
	} else if (t <= -2.8e-255) {
		tmp = t_3;
	} else if (t <= 4e-99) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	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) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = 9.0d0 * (x * ((y / c) / z))
    t_2 = (-4.0d0) * (t * (a / c))
    t_3 = (b / z) / c
    if (t <= (-9.8d+35)) then
        tmp = t_2
    else if (t <= (-5d-21)) then
        tmp = t_1
    else if (t <= (-2.65d-59)) then
        tmp = t_3
    else if (t <= (-1d-148)) then
        tmp = t_1
    else if (t <= (-2.8d-255)) then
        tmp = t_3
    else if (t <= 4d-99) then
        tmp = t_1
    else
        tmp = t_2
    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 t_1 = 9.0 * (x * ((y / c) / z));
	double t_2 = -4.0 * (t * (a / c));
	double t_3 = (b / z) / c;
	double tmp;
	if (t <= -9.8e+35) {
		tmp = t_2;
	} else if (t <= -5e-21) {
		tmp = t_1;
	} else if (t <= -2.65e-59) {
		tmp = t_3;
	} else if (t <= -1e-148) {
		tmp = t_1;
	} else if (t <= -2.8e-255) {
		tmp = t_3;
	} else if (t <= 4e-99) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	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):
	t_1 = 9.0 * (x * ((y / c) / z))
	t_2 = -4.0 * (t * (a / c))
	t_3 = (b / z) / c
	tmp = 0
	if t <= -9.8e+35:
		tmp = t_2
	elif t <= -5e-21:
		tmp = t_1
	elif t <= -2.65e-59:
		tmp = t_3
	elif t <= -1e-148:
		tmp = t_1
	elif t <= -2.8e-255:
		tmp = t_3
	elif t <= 4e-99:
		tmp = t_1
	else:
		tmp = t_2
	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(9.0 * Float64(x * Float64(Float64(y / c) / z)))
	t_2 = Float64(-4.0 * Float64(t * Float64(a / c)))
	t_3 = Float64(Float64(b / z) / c)
	tmp = 0.0
	if (t <= -9.8e+35)
		tmp = t_2;
	elseif (t <= -5e-21)
		tmp = t_1;
	elseif (t <= -2.65e-59)
		tmp = t_3;
	elseif (t <= -1e-148)
		tmp = t_1;
	elseif (t <= -2.8e-255)
		tmp = t_3;
	elseif (t <= 4e-99)
		tmp = t_1;
	else
		tmp = t_2;
	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)
	t_1 = 9.0 * (x * ((y / c) / z));
	t_2 = -4.0 * (t * (a / c));
	t_3 = (b / z) / c;
	tmp = 0.0;
	if (t <= -9.8e+35)
		tmp = t_2;
	elseif (t <= -5e-21)
		tmp = t_1;
	elseif (t <= -2.65e-59)
		tmp = t_3;
	elseif (t <= -1e-148)
		tmp = t_1;
	elseif (t <= -2.8e-255)
		tmp = t_3;
	elseif (t <= 4e-99)
		tmp = t_1;
	else
		tmp = t_2;
	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_] := Block[{t$95$1 = N[(9.0 * N[(x * N[(N[(y / c), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(-4.0 * N[(t * N[(a / c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(b / z), $MachinePrecision] / c), $MachinePrecision]}, If[LessEqual[t, -9.8e+35], t$95$2, If[LessEqual[t, -5e-21], t$95$1, If[LessEqual[t, -2.65e-59], t$95$3, If[LessEqual[t, -1e-148], t$95$1, If[LessEqual[t, -2.8e-255], t$95$3, If[LessEqual[t, 4e-99], t$95$1, t$95$2]]]]]]]]]
\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 := 9 \cdot \left(x \cdot \frac{\frac{y}{c}}{z}\right)\\
t_2 := -4 \cdot \left(t \cdot \frac{a}{c}\right)\\
t_3 := \frac{\frac{b}{z}}{c}\\
\mathbf{if}\;t \leq -9.8 \cdot 10^{+35}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;t \leq -5 \cdot 10^{-21}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t \leq -2.65 \cdot 10^{-59}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;t \leq -1 \cdot 10^{-148}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t \leq -2.8 \cdot 10^{-255}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;t \leq 4 \cdot 10^{-99}:\\
\;\;\;\;t\_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if t < -9.8000000000000005e35 or 4.0000000000000001e-99 < t

    1. Initial program 76.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. Step-by-step derivation
      1. associate-+l-76.1%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around 0 72.2%

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
    9. Step-by-step derivation
      1. associate-*r/48.9%

        \[\leadsto \color{blue}{\frac{-4 \cdot \left(a \cdot t\right)}{c}} \]
      2. associate-*r*48.9%

        \[\leadsto \frac{\color{blue}{\left(-4 \cdot a\right) \cdot t}}{c} \]
      3. associate-*l/57.0%

        \[\leadsto \color{blue}{\frac{-4 \cdot a}{c} \cdot t} \]
      4. associate-*r/57.0%

        \[\leadsto \color{blue}{\left(-4 \cdot \frac{a}{c}\right)} \cdot t \]
      5. associate-*l*57.0%

        \[\leadsto \color{blue}{-4 \cdot \left(\frac{a}{c} \cdot t\right)} \]
    10. Simplified57.0%

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

    if -9.8000000000000005e35 < t < -4.99999999999999973e-21 or -2.6500000000000002e-59 < t < -9.99999999999999936e-149 or -2.80000000000000011e-255 < t < 4.0000000000000001e-99

    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. Step-by-step derivation
      1. associate-+l-86.8%

        \[\leadsto \frac{\color{blue}{\left(x \cdot 9\right) \cdot y - \left(\left(\left(z \cdot 4\right) \cdot t\right) \cdot a - b\right)}}{z \cdot c} \]
      2. *-commutative86.8%

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around 0 78.5%

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{9 \cdot \frac{x \cdot y}{c \cdot z}} \]
    9. Step-by-step derivation
      1. associate-/l*51.3%

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

        \[\leadsto 9 \cdot \left(x \cdot \color{blue}{\frac{\frac{y}{c}}{z}}\right) \]
    10. Simplified51.1%

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

    if -4.99999999999999973e-21 < t < -2.6500000000000002e-59 or -9.99999999999999936e-149 < t < -2.80000000000000011e-255

    1. Initial program 91.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. Step-by-step derivation
      1. associate-+l-91.0%

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \frac{\color{blue}{\frac{b}{z}}}{c} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification54.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -9.8 \cdot 10^{+35}:\\ \;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \mathbf{elif}\;t \leq -5 \cdot 10^{-21}:\\ \;\;\;\;9 \cdot \left(x \cdot \frac{\frac{y}{c}}{z}\right)\\ \mathbf{elif}\;t \leq -2.65 \cdot 10^{-59}:\\ \;\;\;\;\frac{\frac{b}{z}}{c}\\ \mathbf{elif}\;t \leq -1 \cdot 10^{-148}:\\ \;\;\;\;9 \cdot \left(x \cdot \frac{\frac{y}{c}}{z}\right)\\ \mathbf{elif}\;t \leq -2.8 \cdot 10^{-255}:\\ \;\;\;\;\frac{\frac{b}{z}}{c}\\ \mathbf{elif}\;t \leq 4 \cdot 10^{-99}:\\ \;\;\;\;9 \cdot \left(x \cdot \frac{\frac{y}{c}}{z}\right)\\ \mathbf{else}:\\ \;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 9: 69.2% 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 := \frac{b + y \cdot \left(9 \cdot x\right)}{z \cdot c}\\ t_2 := \frac{\frac{b}{z} - t \cdot \left(4 \cdot a\right)}{c}\\ \mathbf{if}\;a \leq -1.4 \cdot 10^{-133}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;a \leq 8.6 \cdot 10^{+33}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;a \leq 1.82 \cdot 10^{+124}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;a \leq 7.3 \cdot 10^{+168}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \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 (/ (+ b (* y (* 9.0 x))) (* z c)))
        (t_2 (/ (- (/ b z) (* t (* 4.0 a))) c)))
   (if (<= a -1.4e-133)
     t_2
     (if (<= a 8.6e+33)
       t_1
       (if (<= a 1.82e+124)
         t_2
         (if (<= a 7.3e+168) t_1 (* -4.0 (* t (/ a 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 = (b + (y * (9.0 * x))) / (z * c);
	double t_2 = ((b / z) - (t * (4.0 * a))) / c;
	double tmp;
	if (a <= -1.4e-133) {
		tmp = t_2;
	} else if (a <= 8.6e+33) {
		tmp = t_1;
	} else if (a <= 1.82e+124) {
		tmp = t_2;
	} else if (a <= 7.3e+168) {
		tmp = t_1;
	} else {
		tmp = -4.0 * (t * (a / 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) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = (b + (y * (9.0d0 * x))) / (z * c)
    t_2 = ((b / z) - (t * (4.0d0 * a))) / c
    if (a <= (-1.4d-133)) then
        tmp = t_2
    else if (a <= 8.6d+33) then
        tmp = t_1
    else if (a <= 1.82d+124) then
        tmp = t_2
    else if (a <= 7.3d+168) then
        tmp = t_1
    else
        tmp = (-4.0d0) * (t * (a / 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 t_1 = (b + (y * (9.0 * x))) / (z * c);
	double t_2 = ((b / z) - (t * (4.0 * a))) / c;
	double tmp;
	if (a <= -1.4e-133) {
		tmp = t_2;
	} else if (a <= 8.6e+33) {
		tmp = t_1;
	} else if (a <= 1.82e+124) {
		tmp = t_2;
	} else if (a <= 7.3e+168) {
		tmp = t_1;
	} else {
		tmp = -4.0 * (t * (a / 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):
	t_1 = (b + (y * (9.0 * x))) / (z * c)
	t_2 = ((b / z) - (t * (4.0 * a))) / c
	tmp = 0
	if a <= -1.4e-133:
		tmp = t_2
	elif a <= 8.6e+33:
		tmp = t_1
	elif a <= 1.82e+124:
		tmp = t_2
	elif a <= 7.3e+168:
		tmp = t_1
	else:
		tmp = -4.0 * (t * (a / 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(b + Float64(y * Float64(9.0 * x))) / Float64(z * c))
	t_2 = Float64(Float64(Float64(b / z) - Float64(t * Float64(4.0 * a))) / c)
	tmp = 0.0
	if (a <= -1.4e-133)
		tmp = t_2;
	elseif (a <= 8.6e+33)
		tmp = t_1;
	elseif (a <= 1.82e+124)
		tmp = t_2;
	elseif (a <= 7.3e+168)
		tmp = t_1;
	else
		tmp = Float64(-4.0 * Float64(t * Float64(a / 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)
	t_1 = (b + (y * (9.0 * x))) / (z * c);
	t_2 = ((b / z) - (t * (4.0 * a))) / c;
	tmp = 0.0;
	if (a <= -1.4e-133)
		tmp = t_2;
	elseif (a <= 8.6e+33)
		tmp = t_1;
	elseif (a <= 1.82e+124)
		tmp = t_2;
	elseif (a <= 7.3e+168)
		tmp = t_1;
	else
		tmp = -4.0 * (t * (a / 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_] := Block[{t$95$1 = N[(N[(b + N[(y * N[(9.0 * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(z * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(b / z), $MachinePrecision] - N[(t * N[(4.0 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / c), $MachinePrecision]}, If[LessEqual[a, -1.4e-133], t$95$2, If[LessEqual[a, 8.6e+33], t$95$1, If[LessEqual[a, 1.82e+124], t$95$2, If[LessEqual[a, 7.3e+168], t$95$1, N[(-4.0 * N[(t * N[(a / c), $MachinePrecision]), $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{b + y \cdot \left(9 \cdot x\right)}{z \cdot c}\\
t_2 := \frac{\frac{b}{z} - t \cdot \left(4 \cdot a\right)}{c}\\
\mathbf{if}\;a \leq -1.4 \cdot 10^{-133}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;a \leq 8.6 \cdot 10^{+33}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;a \leq 1.82 \cdot 10^{+124}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;a \leq 7.3 \cdot 10^{+168}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if a < -1.3999999999999999e-133 or 8.60000000000000057e33 < a < 1.8199999999999999e124

    1. Initial program 82.3%

      \[\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. Step-by-step derivation
      1. associate-+l-82.3%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in y around inf 57.1%

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

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

      \[\leadsto \color{blue}{\frac{\frac{b}{z} - 4 \cdot \left(a \cdot t\right)}{c}} \]
    8. Step-by-step derivation
      1. associate-*r*68.9%

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

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

    if -1.3999999999999999e-133 < a < 8.60000000000000057e33 or 1.8199999999999999e124 < a < 7.2999999999999996e168

    1. Initial program 80.3%

      \[\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. Step-by-step derivation
      1. associate-+l-80.3%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in x around inf 76.0%

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

        \[\leadsto \frac{\color{blue}{\left(9 \cdot x\right) \cdot y} + b}{z \cdot c} \]
    7. Simplified76.1%

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

    if 7.2999999999999996e168 < a

    1. Initial program 80.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. Step-by-step derivation
      1. associate-+l-80.2%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around 0 84.1%

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
    9. Step-by-step derivation
      1. associate-*r/61.1%

        \[\leadsto \color{blue}{\frac{-4 \cdot \left(a \cdot t\right)}{c}} \]
      2. associate-*r*61.1%

        \[\leadsto \frac{\color{blue}{\left(-4 \cdot a\right) \cdot t}}{c} \]
      3. associate-*l/72.4%

        \[\leadsto \color{blue}{\frac{-4 \cdot a}{c} \cdot t} \]
      4. associate-*r/72.4%

        \[\leadsto \color{blue}{\left(-4 \cdot \frac{a}{c}\right)} \cdot t \]
      5. associate-*l*72.4%

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -1.4 \cdot 10^{-133}:\\ \;\;\;\;\frac{\frac{b}{z} - t \cdot \left(4 \cdot a\right)}{c}\\ \mathbf{elif}\;a \leq 8.6 \cdot 10^{+33}:\\ \;\;\;\;\frac{b + y \cdot \left(9 \cdot x\right)}{z \cdot c}\\ \mathbf{elif}\;a \leq 1.82 \cdot 10^{+124}:\\ \;\;\;\;\frac{\frac{b}{z} - t \cdot \left(4 \cdot a\right)}{c}\\ \mathbf{elif}\;a \leq 7.3 \cdot 10^{+168}:\\ \;\;\;\;\frac{b + y \cdot \left(9 \cdot x\right)}{z \cdot c}\\ \mathbf{else}:\\ \;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 10: 83.4% 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}\;c \leq 4 \cdot 10^{+68}:\\ \;\;\;\;\frac{b + \left(x \cdot \left(y \cdot 9\right) - \left(a \cdot t\right) \cdot \left(z \cdot 4\right)\right)}{z \cdot c}\\ \mathbf{else}:\\ \;\;\;\;-4 \cdot \frac{a \cdot t}{c} + \frac{y \cdot \left(9 \cdot \frac{x}{c} + \frac{b}{y \cdot c}\right)}{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 (<= c 4e+68)
   (/ (+ b (- (* x (* y 9.0)) (* (* a t) (* z 4.0)))) (* z c))
   (+ (* -4.0 (/ (* a t) c)) (/ (* y (+ (* 9.0 (/ x c)) (/ b (* y 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 (c <= 4e+68) {
		tmp = (b + ((x * (y * 9.0)) - ((a * t) * (z * 4.0)))) / (z * c);
	} else {
		tmp = (-4.0 * ((a * t) / c)) + ((y * ((9.0 * (x / c)) + (b / (y * 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 (c <= 4d+68) then
        tmp = (b + ((x * (y * 9.0d0)) - ((a * t) * (z * 4.0d0)))) / (z * c)
    else
        tmp = ((-4.0d0) * ((a * t) / c)) + ((y * ((9.0d0 * (x / c)) + (b / (y * 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 (c <= 4e+68) {
		tmp = (b + ((x * (y * 9.0)) - ((a * t) * (z * 4.0)))) / (z * c);
	} else {
		tmp = (-4.0 * ((a * t) / c)) + ((y * ((9.0 * (x / c)) + (b / (y * 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 c <= 4e+68:
		tmp = (b + ((x * (y * 9.0)) - ((a * t) * (z * 4.0)))) / (z * c)
	else:
		tmp = (-4.0 * ((a * t) / c)) + ((y * ((9.0 * (x / c)) + (b / (y * 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 (c <= 4e+68)
		tmp = Float64(Float64(b + Float64(Float64(x * Float64(y * 9.0)) - Float64(Float64(a * t) * Float64(z * 4.0)))) / Float64(z * c));
	else
		tmp = Float64(Float64(-4.0 * Float64(Float64(a * t) / c)) + Float64(Float64(y * Float64(Float64(9.0 * Float64(x / c)) + Float64(b / Float64(y * 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 (c <= 4e+68)
		tmp = (b + ((x * (y * 9.0)) - ((a * t) * (z * 4.0)))) / (z * c);
	else
		tmp = (-4.0 * ((a * t) / c)) + ((y * ((9.0 * (x / c)) + (b / (y * 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[c, 4e+68], N[(N[(b + N[(N[(x * N[(y * 9.0), $MachinePrecision]), $MachinePrecision] - N[(N[(a * t), $MachinePrecision] * N[(z * 4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(z * c), $MachinePrecision]), $MachinePrecision], N[(N[(-4.0 * N[(N[(a * t), $MachinePrecision] / c), $MachinePrecision]), $MachinePrecision] + N[(N[(y * N[(N[(9.0 * N[(x / c), $MachinePrecision]), $MachinePrecision] + N[(b / N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / 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}\;c \leq 4 \cdot 10^{+68}:\\
\;\;\;\;\frac{b + \left(x \cdot \left(y \cdot 9\right) - \left(a \cdot t\right) \cdot \left(z \cdot 4\right)\right)}{z \cdot c}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if c < 3.99999999999999981e68

    1. Initial program 86.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. Step-by-step derivation
      1. associate-+l-86.2%

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

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

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

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

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

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

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

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

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

    if 3.99999999999999981e68 < c

    1. Initial program 62.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. Step-by-step derivation
      1. associate-+l-62.7%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in y around inf 59.4%

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq 4 \cdot 10^{+68}:\\ \;\;\;\;\frac{b + \left(x \cdot \left(y \cdot 9\right) - \left(a \cdot t\right) \cdot \left(z \cdot 4\right)\right)}{z \cdot c}\\ \mathbf{else}:\\ \;\;\;\;-4 \cdot \frac{a \cdot t}{c} + \frac{y \cdot \left(9 \cdot \frac{x}{c} + \frac{b}{y \cdot c}\right)}{z}\\ \end{array} \]
  5. Add Preprocessing

Alternative 11: 71.8% 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}\;t \leq -2.15 \cdot 10^{+128}:\\ \;\;\;\;t \cdot \left(-4 \cdot \frac{a}{c} + \frac{b}{c \cdot \left(z \cdot t\right)}\right)\\ \mathbf{elif}\;t \leq -2.4 \cdot 10^{-22}:\\ \;\;\;\;\frac{9 \cdot \frac{y \cdot x}{z} - 4 \cdot \left(a \cdot t\right)}{c}\\ \mathbf{elif}\;t \leq 4.6 \cdot 10^{-100}:\\ \;\;\;\;\frac{b + y \cdot \left(9 \cdot x\right)}{z \cdot c}\\ \mathbf{else}:\\ \;\;\;\;\frac{\frac{b}{z} - t \cdot \left(4 \cdot a\right)}{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 (<= t -2.15e+128)
   (* t (+ (* -4.0 (/ a c)) (/ b (* c (* z t)))))
   (if (<= t -2.4e-22)
     (/ (- (* 9.0 (/ (* y x) z)) (* 4.0 (* a t))) c)
     (if (<= t 4.6e-100)
       (/ (+ b (* y (* 9.0 x))) (* z c))
       (/ (- (/ b z) (* t (* 4.0 a))) 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 (t <= -2.15e+128) {
		tmp = t * ((-4.0 * (a / c)) + (b / (c * (z * t))));
	} else if (t <= -2.4e-22) {
		tmp = ((9.0 * ((y * x) / z)) - (4.0 * (a * t))) / c;
	} else if (t <= 4.6e-100) {
		tmp = (b + (y * (9.0 * x))) / (z * c);
	} else {
		tmp = ((b / z) - (t * (4.0 * a))) / 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 (t <= (-2.15d+128)) then
        tmp = t * (((-4.0d0) * (a / c)) + (b / (c * (z * t))))
    else if (t <= (-2.4d-22)) then
        tmp = ((9.0d0 * ((y * x) / z)) - (4.0d0 * (a * t))) / c
    else if (t <= 4.6d-100) then
        tmp = (b + (y * (9.0d0 * x))) / (z * c)
    else
        tmp = ((b / z) - (t * (4.0d0 * a))) / 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 (t <= -2.15e+128) {
		tmp = t * ((-4.0 * (a / c)) + (b / (c * (z * t))));
	} else if (t <= -2.4e-22) {
		tmp = ((9.0 * ((y * x) / z)) - (4.0 * (a * t))) / c;
	} else if (t <= 4.6e-100) {
		tmp = (b + (y * (9.0 * x))) / (z * c);
	} else {
		tmp = ((b / z) - (t * (4.0 * a))) / 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 t <= -2.15e+128:
		tmp = t * ((-4.0 * (a / c)) + (b / (c * (z * t))))
	elif t <= -2.4e-22:
		tmp = ((9.0 * ((y * x) / z)) - (4.0 * (a * t))) / c
	elif t <= 4.6e-100:
		tmp = (b + (y * (9.0 * x))) / (z * c)
	else:
		tmp = ((b / z) - (t * (4.0 * a))) / 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 (t <= -2.15e+128)
		tmp = Float64(t * Float64(Float64(-4.0 * Float64(a / c)) + Float64(b / Float64(c * Float64(z * t)))));
	elseif (t <= -2.4e-22)
		tmp = Float64(Float64(Float64(9.0 * Float64(Float64(y * x) / z)) - Float64(4.0 * Float64(a * t))) / c);
	elseif (t <= 4.6e-100)
		tmp = Float64(Float64(b + Float64(y * Float64(9.0 * x))) / Float64(z * c));
	else
		tmp = Float64(Float64(Float64(b / z) - Float64(t * Float64(4.0 * a))) / 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 (t <= -2.15e+128)
		tmp = t * ((-4.0 * (a / c)) + (b / (c * (z * t))));
	elseif (t <= -2.4e-22)
		tmp = ((9.0 * ((y * x) / z)) - (4.0 * (a * t))) / c;
	elseif (t <= 4.6e-100)
		tmp = (b + (y * (9.0 * x))) / (z * c);
	else
		tmp = ((b / z) - (t * (4.0 * a))) / 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[LessEqual[t, -2.15e+128], N[(t * N[(N[(-4.0 * N[(a / c), $MachinePrecision]), $MachinePrecision] + N[(b / N[(c * N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -2.4e-22], N[(N[(N[(9.0 * N[(N[(y * x), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision] - N[(4.0 * N[(a * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / c), $MachinePrecision], If[LessEqual[t, 4.6e-100], N[(N[(b + N[(y * N[(9.0 * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(z * c), $MachinePrecision]), $MachinePrecision], N[(N[(N[(b / z), $MachinePrecision] - N[(t * N[(4.0 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / c), $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}\;t \leq -2.15 \cdot 10^{+128}:\\
\;\;\;\;t \cdot \left(-4 \cdot \frac{a}{c} + \frac{b}{c \cdot \left(z \cdot t\right)}\right)\\

\mathbf{elif}\;t \leq -2.4 \cdot 10^{-22}:\\
\;\;\;\;\frac{9 \cdot \frac{y \cdot x}{z} - 4 \cdot \left(a \cdot t\right)}{c}\\

\mathbf{elif}\;t \leq 4.6 \cdot 10^{-100}:\\
\;\;\;\;\frac{b + y \cdot \left(9 \cdot x\right)}{z \cdot c}\\

\mathbf{else}:\\
\;\;\;\;\frac{\frac{b}{z} - t \cdot \left(4 \cdot a\right)}{c}\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if t < -2.14999999999999987e128

    1. Initial program 70.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. Step-by-step derivation
      1. associate-+l-70.1%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in y around inf 44.2%

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

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

      \[\leadsto \color{blue}{\frac{\frac{b}{z} - 4 \cdot \left(a \cdot t\right)}{c}} \]
    8. Step-by-step derivation
      1. associate-*r*66.7%

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

      \[\leadsto \color{blue}{\frac{\frac{b}{z} - \left(4 \cdot a\right) \cdot t}{c}} \]
    10. Taylor expanded in t around inf 84.1%

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

    if -2.14999999999999987e128 < t < -2.40000000000000002e-22

    1. Initial program 80.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. Step-by-step derivation
      1. associate-+l-80.6%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around inf 83.7%

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

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

    if -2.40000000000000002e-22 < t < 4.59999999999999989e-100

    1. Initial program 88.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. Step-by-step derivation
      1. associate-+l-88.6%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in x around inf 77.3%

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

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

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

    if 4.59999999999999989e-100 < t

    1. Initial program 79.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. Step-by-step derivation
      1. associate-+l-79.0%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in y around inf 67.4%

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

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

      \[\leadsto \color{blue}{\frac{\frac{b}{z} - 4 \cdot \left(a \cdot t\right)}{c}} \]
    8. Step-by-step derivation
      1. associate-*r*60.6%

        \[\leadsto \frac{\frac{b}{z} - \color{blue}{\left(4 \cdot a\right) \cdot t}}{c} \]
    9. Simplified60.6%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -2.15 \cdot 10^{+128}:\\ \;\;\;\;t \cdot \left(-4 \cdot \frac{a}{c} + \frac{b}{c \cdot \left(z \cdot t\right)}\right)\\ \mathbf{elif}\;t \leq -2.4 \cdot 10^{-22}:\\ \;\;\;\;\frac{9 \cdot \frac{y \cdot x}{z} - 4 \cdot \left(a \cdot t\right)}{c}\\ \mathbf{elif}\;t \leq 4.6 \cdot 10^{-100}:\\ \;\;\;\;\frac{b + y \cdot \left(9 \cdot x\right)}{z \cdot c}\\ \mathbf{else}:\\ \;\;\;\;\frac{\frac{b}{z} - t \cdot \left(4 \cdot a\right)}{c}\\ \end{array} \]
  5. Add Preprocessing

Alternative 12: 82.4% accurate, 0.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])\\ \\ \begin{array}{l} \mathbf{if}\;z \leq 3.5 \cdot 10^{+144}:\\ \;\;\;\;\frac{b + \left(x \cdot \left(y \cdot 9\right) - \left(a \cdot t\right) \cdot \left(z \cdot 4\right)\right)}{z \cdot c}\\ \mathbf{else}:\\ \;\;\;\;\frac{\frac{b}{z} - t \cdot \left(4 \cdot a\right)}{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 (<= z 3.5e+144)
   (/ (+ b (- (* x (* y 9.0)) (* (* a t) (* z 4.0)))) (* z c))
   (/ (- (/ b z) (* t (* 4.0 a))) 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 <= 3.5e+144) {
		tmp = (b + ((x * (y * 9.0)) - ((a * t) * (z * 4.0)))) / (z * c);
	} else {
		tmp = ((b / z) - (t * (4.0 * a))) / 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 (z <= 3.5d+144) then
        tmp = (b + ((x * (y * 9.0d0)) - ((a * t) * (z * 4.0d0)))) / (z * c)
    else
        tmp = ((b / z) - (t * (4.0d0 * a))) / 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 (z <= 3.5e+144) {
		tmp = (b + ((x * (y * 9.0)) - ((a * t) * (z * 4.0)))) / (z * c);
	} else {
		tmp = ((b / z) - (t * (4.0 * a))) / 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 z <= 3.5e+144:
		tmp = (b + ((x * (y * 9.0)) - ((a * t) * (z * 4.0)))) / (z * c)
	else:
		tmp = ((b / z) - (t * (4.0 * a))) / 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 <= 3.5e+144)
		tmp = Float64(Float64(b + Float64(Float64(x * Float64(y * 9.0)) - Float64(Float64(a * t) * Float64(z * 4.0)))) / Float64(z * c));
	else
		tmp = Float64(Float64(Float64(b / z) - Float64(t * Float64(4.0 * a))) / 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 (z <= 3.5e+144)
		tmp = (b + ((x * (y * 9.0)) - ((a * t) * (z * 4.0)))) / (z * c);
	else
		tmp = ((b / z) - (t * (4.0 * a))) / 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[LessEqual[z, 3.5e+144], N[(N[(b + N[(N[(x * N[(y * 9.0), $MachinePrecision]), $MachinePrecision] - N[(N[(a * t), $MachinePrecision] * N[(z * 4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(z * c), $MachinePrecision]), $MachinePrecision], N[(N[(N[(b / z), $MachinePrecision] - N[(t * N[(4.0 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / c), $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 3.5 \cdot 10^{+144}:\\
\;\;\;\;\frac{b + \left(x \cdot \left(y \cdot 9\right) - \left(a \cdot t\right) \cdot \left(z \cdot 4\right)\right)}{z \cdot c}\\

\mathbf{else}:\\
\;\;\;\;\frac{\frac{b}{z} - t \cdot \left(4 \cdot a\right)}{c}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if z < 3.4999999999999998e144

    1. Initial program 86.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. Step-by-step derivation
      1. associate-+l-86.4%

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

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

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

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

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

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

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

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

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

    if 3.4999999999999998e144 < z

    1. Initial program 43.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. Step-by-step derivation
      1. associate-+l-43.2%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in y around inf 72.5%

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

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

      \[\leadsto \color{blue}{\frac{\frac{b}{z} - 4 \cdot \left(a \cdot t\right)}{c}} \]
    8. Step-by-step derivation
      1. associate-*r*81.1%

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq 3.5 \cdot 10^{+144}:\\ \;\;\;\;\frac{b + \left(x \cdot \left(y \cdot 9\right) - \left(a \cdot t\right) \cdot \left(z \cdot 4\right)\right)}{z \cdot c}\\ \mathbf{else}:\\ \;\;\;\;\frac{\frac{b}{z} - t \cdot \left(4 \cdot a\right)}{c}\\ \end{array} \]
  5. Add Preprocessing

Alternative 13: 72.0% accurate, 0.9× 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}\;t \leq -2.35 \cdot 10^{+86}:\\ \;\;\;\;t \cdot \left(-4 \cdot \frac{a}{c} + \frac{b}{c \cdot \left(z \cdot t\right)}\right)\\ \mathbf{elif}\;t \leq 2.8 \cdot 10^{-111}:\\ \;\;\;\;\frac{b + y \cdot \left(9 \cdot x\right)}{z \cdot c}\\ \mathbf{else}:\\ \;\;\;\;\frac{\frac{b}{z} - t \cdot \left(4 \cdot a\right)}{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 (<= t -2.35e+86)
   (* t (+ (* -4.0 (/ a c)) (/ b (* c (* z t)))))
   (if (<= t 2.8e-111)
     (/ (+ b (* y (* 9.0 x))) (* z c))
     (/ (- (/ b z) (* t (* 4.0 a))) 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 (t <= -2.35e+86) {
		tmp = t * ((-4.0 * (a / c)) + (b / (c * (z * t))));
	} else if (t <= 2.8e-111) {
		tmp = (b + (y * (9.0 * x))) / (z * c);
	} else {
		tmp = ((b / z) - (t * (4.0 * a))) / 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 (t <= (-2.35d+86)) then
        tmp = t * (((-4.0d0) * (a / c)) + (b / (c * (z * t))))
    else if (t <= 2.8d-111) then
        tmp = (b + (y * (9.0d0 * x))) / (z * c)
    else
        tmp = ((b / z) - (t * (4.0d0 * a))) / 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 (t <= -2.35e+86) {
		tmp = t * ((-4.0 * (a / c)) + (b / (c * (z * t))));
	} else if (t <= 2.8e-111) {
		tmp = (b + (y * (9.0 * x))) / (z * c);
	} else {
		tmp = ((b / z) - (t * (4.0 * a))) / 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 t <= -2.35e+86:
		tmp = t * ((-4.0 * (a / c)) + (b / (c * (z * t))))
	elif t <= 2.8e-111:
		tmp = (b + (y * (9.0 * x))) / (z * c)
	else:
		tmp = ((b / z) - (t * (4.0 * a))) / 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 (t <= -2.35e+86)
		tmp = Float64(t * Float64(Float64(-4.0 * Float64(a / c)) + Float64(b / Float64(c * Float64(z * t)))));
	elseif (t <= 2.8e-111)
		tmp = Float64(Float64(b + Float64(y * Float64(9.0 * x))) / Float64(z * c));
	else
		tmp = Float64(Float64(Float64(b / z) - Float64(t * Float64(4.0 * a))) / 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 (t <= -2.35e+86)
		tmp = t * ((-4.0 * (a / c)) + (b / (c * (z * t))));
	elseif (t <= 2.8e-111)
		tmp = (b + (y * (9.0 * x))) / (z * c);
	else
		tmp = ((b / z) - (t * (4.0 * a))) / 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[LessEqual[t, -2.35e+86], N[(t * N[(N[(-4.0 * N[(a / c), $MachinePrecision]), $MachinePrecision] + N[(b / N[(c * N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.8e-111], N[(N[(b + N[(y * N[(9.0 * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(z * c), $MachinePrecision]), $MachinePrecision], N[(N[(N[(b / z), $MachinePrecision] - N[(t * N[(4.0 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / c), $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}\;t \leq -2.35 \cdot 10^{+86}:\\
\;\;\;\;t \cdot \left(-4 \cdot \frac{a}{c} + \frac{b}{c \cdot \left(z \cdot t\right)}\right)\\

\mathbf{elif}\;t \leq 2.8 \cdot 10^{-111}:\\
\;\;\;\;\frac{b + y \cdot \left(9 \cdot x\right)}{z \cdot c}\\

\mathbf{else}:\\
\;\;\;\;\frac{\frac{b}{z} - t \cdot \left(4 \cdot a\right)}{c}\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if t < -2.3500000000000001e86

    1. Initial program 70.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. Step-by-step derivation
      1. associate-+l-70.8%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in y around inf 48.9%

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

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

      \[\leadsto \color{blue}{\frac{\frac{b}{z} - 4 \cdot \left(a \cdot t\right)}{c}} \]
    8. Step-by-step derivation
      1. associate-*r*67.7%

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

      \[\leadsto \color{blue}{\frac{\frac{b}{z} - \left(4 \cdot a\right) \cdot t}{c}} \]
    10. Taylor expanded in t around inf 82.5%

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

    if -2.3500000000000001e86 < t < 2.79999999999999995e-111

    1. Initial program 87.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. Step-by-step derivation
      1. associate-+l-87.2%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in x around inf 74.5%

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

        \[\leadsto \frac{\color{blue}{\left(9 \cdot x\right) \cdot y} + b}{z \cdot c} \]
    7. Simplified74.6%

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

    if 2.79999999999999995e-111 < t

    1. Initial program 79.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. Step-by-step derivation
      1. associate-+l-79.7%

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\frac{b}{z} - 4 \cdot \left(a \cdot t\right)}{c}} \]
    8. Step-by-step derivation
      1. associate-*r*60.8%

        \[\leadsto \frac{\frac{b}{z} - \color{blue}{\left(4 \cdot a\right) \cdot t}}{c} \]
    9. Simplified60.8%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -2.35 \cdot 10^{+86}:\\ \;\;\;\;t \cdot \left(-4 \cdot \frac{a}{c} + \frac{b}{c \cdot \left(z \cdot t\right)}\right)\\ \mathbf{elif}\;t \leq 2.8 \cdot 10^{-111}:\\ \;\;\;\;\frac{b + y \cdot \left(9 \cdot x\right)}{z \cdot c}\\ \mathbf{else}:\\ \;\;\;\;\frac{\frac{b}{z} - t \cdot \left(4 \cdot a\right)}{c}\\ \end{array} \]
  5. Add Preprocessing

Alternative 14: 68.6% accurate, 0.9× 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 -1 \cdot 10^{-38}:\\ \;\;\;\;a \cdot \frac{t \cdot -4}{c}\\ \mathbf{elif}\;a \leq 9.2 \cdot 10^{+167}:\\ \;\;\;\;\frac{b + y \cdot \left(9 \cdot x\right)}{z \cdot c}\\ \mathbf{else}:\\ \;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \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 -1e-38)
   (* a (/ (* t -4.0) c))
   (if (<= a 9.2e+167)
     (/ (+ b (* y (* 9.0 x))) (* z c))
     (* -4.0 (* t (/ a 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 <= -1e-38) {
		tmp = a * ((t * -4.0) / c);
	} else if (a <= 9.2e+167) {
		tmp = (b + (y * (9.0 * x))) / (z * c);
	} else {
		tmp = -4.0 * (t * (a / 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 (a <= (-1d-38)) then
        tmp = a * ((t * (-4.0d0)) / c)
    else if (a <= 9.2d+167) then
        tmp = (b + (y * (9.0d0 * x))) / (z * c)
    else
        tmp = (-4.0d0) * (t * (a / 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 (a <= -1e-38) {
		tmp = a * ((t * -4.0) / c);
	} else if (a <= 9.2e+167) {
		tmp = (b + (y * (9.0 * x))) / (z * c);
	} else {
		tmp = -4.0 * (t * (a / 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 a <= -1e-38:
		tmp = a * ((t * -4.0) / c)
	elif a <= 9.2e+167:
		tmp = (b + (y * (9.0 * x))) / (z * c)
	else:
		tmp = -4.0 * (t * (a / 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 <= -1e-38)
		tmp = Float64(a * Float64(Float64(t * -4.0) / c));
	elseif (a <= 9.2e+167)
		tmp = Float64(Float64(b + Float64(y * Float64(9.0 * x))) / Float64(z * c));
	else
		tmp = Float64(-4.0 * Float64(t * Float64(a / 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 (a <= -1e-38)
		tmp = a * ((t * -4.0) / c);
	elseif (a <= 9.2e+167)
		tmp = (b + (y * (9.0 * x))) / (z * c);
	else
		tmp = -4.0 * (t * (a / 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[LessEqual[a, -1e-38], N[(a * N[(N[(t * -4.0), $MachinePrecision] / c), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 9.2e+167], N[(N[(b + N[(y * N[(9.0 * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(z * c), $MachinePrecision]), $MachinePrecision], N[(-4.0 * N[(t * N[(a / c), $MachinePrecision]), $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 -1 \cdot 10^{-38}:\\
\;\;\;\;a \cdot \frac{t \cdot -4}{c}\\

\mathbf{elif}\;a \leq 9.2 \cdot 10^{+167}:\\
\;\;\;\;\frac{b + y \cdot \left(9 \cdot x\right)}{z \cdot c}\\

\mathbf{else}:\\
\;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if a < -9.9999999999999996e-39

    1. Initial program 84.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. Step-by-step derivation
      1. associate-+l-84.7%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around inf 54.1%

      \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
    6. Step-by-step derivation
      1. *-commutative54.1%

        \[\leadsto \color{blue}{\frac{a \cdot t}{c} \cdot -4} \]
      2. associate-/l*61.4%

        \[\leadsto \color{blue}{\left(a \cdot \frac{t}{c}\right)} \cdot -4 \]
      3. associate-*r*61.4%

        \[\leadsto \color{blue}{a \cdot \left(\frac{t}{c} \cdot -4\right)} \]
      4. associate-*l/61.4%

        \[\leadsto a \cdot \color{blue}{\frac{t \cdot -4}{c}} \]
    7. Simplified61.4%

      \[\leadsto \color{blue}{a \cdot \frac{t \cdot -4}{c}} \]

    if -9.9999999999999996e-39 < a < 9.19999999999999952e167

    1. Initial program 79.5%

      \[\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. Step-by-step derivation
      1. associate-+l-79.5%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in x around inf 68.8%

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

        \[\leadsto \frac{\color{blue}{\left(9 \cdot x\right) \cdot y} + b}{z \cdot c} \]
    7. Simplified68.8%

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

    if 9.19999999999999952e167 < a

    1. Initial program 80.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. Step-by-step derivation
      1. associate-+l-80.2%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around 0 84.1%

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
    9. Step-by-step derivation
      1. associate-*r/61.1%

        \[\leadsto \color{blue}{\frac{-4 \cdot \left(a \cdot t\right)}{c}} \]
      2. associate-*r*61.1%

        \[\leadsto \frac{\color{blue}{\left(-4 \cdot a\right) \cdot t}}{c} \]
      3. associate-*l/72.4%

        \[\leadsto \color{blue}{\frac{-4 \cdot a}{c} \cdot t} \]
      4. associate-*r/72.4%

        \[\leadsto \color{blue}{\left(-4 \cdot \frac{a}{c}\right)} \cdot t \]
      5. associate-*l*72.4%

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

      \[\leadsto \color{blue}{-4 \cdot \left(\frac{a}{c} \cdot t\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification66.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -1 \cdot 10^{-38}:\\ \;\;\;\;a \cdot \frac{t \cdot -4}{c}\\ \mathbf{elif}\;a \leq 9.2 \cdot 10^{+167}:\\ \;\;\;\;\frac{b + y \cdot \left(9 \cdot x\right)}{z \cdot c}\\ \mathbf{else}:\\ \;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 15: 68.6% accurate, 0.9× 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 -1.12 \cdot 10^{-38}:\\ \;\;\;\;a \cdot \frac{t \cdot -4}{c}\\ \mathbf{elif}\;a \leq 2.12 \cdot 10^{+170}:\\ \;\;\;\;\frac{b + x \cdot \left(y \cdot 9\right)}{z \cdot c}\\ \mathbf{else}:\\ \;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \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 -1.12e-38)
   (* a (/ (* t -4.0) c))
   (if (<= a 2.12e+170)
     (/ (+ b (* x (* y 9.0))) (* z c))
     (* -4.0 (* t (/ a 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 <= -1.12e-38) {
		tmp = a * ((t * -4.0) / c);
	} else if (a <= 2.12e+170) {
		tmp = (b + (x * (y * 9.0))) / (z * c);
	} else {
		tmp = -4.0 * (t * (a / 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 (a <= (-1.12d-38)) then
        tmp = a * ((t * (-4.0d0)) / c)
    else if (a <= 2.12d+170) then
        tmp = (b + (x * (y * 9.0d0))) / (z * c)
    else
        tmp = (-4.0d0) * (t * (a / 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 (a <= -1.12e-38) {
		tmp = a * ((t * -4.0) / c);
	} else if (a <= 2.12e+170) {
		tmp = (b + (x * (y * 9.0))) / (z * c);
	} else {
		tmp = -4.0 * (t * (a / 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 a <= -1.12e-38:
		tmp = a * ((t * -4.0) / c)
	elif a <= 2.12e+170:
		tmp = (b + (x * (y * 9.0))) / (z * c)
	else:
		tmp = -4.0 * (t * (a / 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 <= -1.12e-38)
		tmp = Float64(a * Float64(Float64(t * -4.0) / c));
	elseif (a <= 2.12e+170)
		tmp = Float64(Float64(b + Float64(x * Float64(y * 9.0))) / Float64(z * c));
	else
		tmp = Float64(-4.0 * Float64(t * Float64(a / 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 (a <= -1.12e-38)
		tmp = a * ((t * -4.0) / c);
	elseif (a <= 2.12e+170)
		tmp = (b + (x * (y * 9.0))) / (z * c);
	else
		tmp = -4.0 * (t * (a / 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[LessEqual[a, -1.12e-38], N[(a * N[(N[(t * -4.0), $MachinePrecision] / c), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.12e+170], N[(N[(b + N[(x * N[(y * 9.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(z * c), $MachinePrecision]), $MachinePrecision], N[(-4.0 * N[(t * N[(a / c), $MachinePrecision]), $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 -1.12 \cdot 10^{-38}:\\
\;\;\;\;a \cdot \frac{t \cdot -4}{c}\\

\mathbf{elif}\;a \leq 2.12 \cdot 10^{+170}:\\
\;\;\;\;\frac{b + x \cdot \left(y \cdot 9\right)}{z \cdot c}\\

\mathbf{else}:\\
\;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if a < -1.1200000000000001e-38

    1. Initial program 84.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. Step-by-step derivation
      1. associate-+l-84.7%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around inf 54.1%

      \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
    6. Step-by-step derivation
      1. *-commutative54.1%

        \[\leadsto \color{blue}{\frac{a \cdot t}{c} \cdot -4} \]
      2. associate-/l*61.4%

        \[\leadsto \color{blue}{\left(a \cdot \frac{t}{c}\right)} \cdot -4 \]
      3. associate-*r*61.4%

        \[\leadsto \color{blue}{a \cdot \left(\frac{t}{c} \cdot -4\right)} \]
      4. associate-*l/61.4%

        \[\leadsto a \cdot \color{blue}{\frac{t \cdot -4}{c}} \]
    7. Simplified61.4%

      \[\leadsto \color{blue}{a \cdot \frac{t \cdot -4}{c}} \]

    if -1.1200000000000001e-38 < a < 2.11999999999999996e170

    1. Initial program 79.5%

      \[\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. Step-by-step derivation
      1. associate-+l-79.5%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in x around inf 68.8%

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

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

        \[\leadsto \frac{\color{blue}{\left(x \cdot 9\right)} \cdot y + b}{z \cdot c} \]
      3. associate-*r*68.8%

        \[\leadsto \frac{\color{blue}{x \cdot \left(9 \cdot y\right)} + b}{z \cdot c} \]
    7. Simplified68.8%

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

    if 2.11999999999999996e170 < a

    1. Initial program 80.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. Step-by-step derivation
      1. associate-+l-80.2%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around 0 84.1%

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
    9. Step-by-step derivation
      1. associate-*r/61.1%

        \[\leadsto \color{blue}{\frac{-4 \cdot \left(a \cdot t\right)}{c}} \]
      2. associate-*r*61.1%

        \[\leadsto \frac{\color{blue}{\left(-4 \cdot a\right) \cdot t}}{c} \]
      3. associate-*l/72.4%

        \[\leadsto \color{blue}{\frac{-4 \cdot a}{c} \cdot t} \]
      4. associate-*r/72.4%

        \[\leadsto \color{blue}{\left(-4 \cdot \frac{a}{c}\right)} \cdot t \]
      5. associate-*l*72.4%

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

      \[\leadsto \color{blue}{-4 \cdot \left(\frac{a}{c} \cdot t\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification66.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -1.12 \cdot 10^{-38}:\\ \;\;\;\;a \cdot \frac{t \cdot -4}{c}\\ \mathbf{elif}\;a \leq 2.12 \cdot 10^{+170}:\\ \;\;\;\;\frac{b + x \cdot \left(y \cdot 9\right)}{z \cdot c}\\ \mathbf{else}:\\ \;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 16: 48.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}\;t \leq -1.12 \cdot 10^{-22} \lor \neg \left(t \leq 5.5 \cdot 10^{-68}\right):\\ \;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{\frac{b}{z}}{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 (<= t -1.12e-22) (not (<= t 5.5e-68)))
   (* -4.0 (* t (/ a c)))
   (/ (/ 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 ((t <= -1.12e-22) || !(t <= 5.5e-68)) {
		tmp = -4.0 * (t * (a / c));
	} else {
		tmp = (b / z) / 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 ((t <= (-1.12d-22)) .or. (.not. (t <= 5.5d-68))) then
        tmp = (-4.0d0) * (t * (a / c))
    else
        tmp = (b / z) / 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 ((t <= -1.12e-22) || !(t <= 5.5e-68)) {
		tmp = -4.0 * (t * (a / c));
	} else {
		tmp = (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])
def code(x, y, z, t, a, b, c):
	tmp = 0
	if (t <= -1.12e-22) or not (t <= 5.5e-68):
		tmp = -4.0 * (t * (a / c))
	else:
		tmp = (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 ((t <= -1.12e-22) || !(t <= 5.5e-68))
		tmp = Float64(-4.0 * Float64(t * Float64(a / c)));
	else
		tmp = Float64(Float64(b / z) / 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 ((t <= -1.12e-22) || ~((t <= 5.5e-68)))
		tmp = -4.0 * (t * (a / c));
	else
		tmp = (b / z) / 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[t, -1.12e-22], N[Not[LessEqual[t, 5.5e-68]], $MachinePrecision]], N[(-4.0 * N[(t * N[(a / c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(b / z), $MachinePrecision] / c), $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}\;t \leq -1.12 \cdot 10^{-22} \lor \neg \left(t \leq 5.5 \cdot 10^{-68}\right):\\
\;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\

\mathbf{else}:\\
\;\;\;\;\frac{\frac{b}{z}}{c}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if t < -1.1199999999999999e-22 or 5.5000000000000003e-68 < t

    1. Initial program 77.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. Step-by-step derivation
      1. associate-+l-77.4%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around 0 72.6%

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
    9. Step-by-step derivation
      1. associate-*r/48.7%

        \[\leadsto \color{blue}{\frac{-4 \cdot \left(a \cdot t\right)}{c}} \]
      2. associate-*r*48.7%

        \[\leadsto \frac{\color{blue}{\left(-4 \cdot a\right) \cdot t}}{c} \]
      3. associate-*l/56.2%

        \[\leadsto \color{blue}{\frac{-4 \cdot a}{c} \cdot t} \]
      4. associate-*r/56.2%

        \[\leadsto \color{blue}{\left(-4 \cdot \frac{a}{c}\right)} \cdot t \]
      5. associate-*l*56.2%

        \[\leadsto \color{blue}{-4 \cdot \left(\frac{a}{c} \cdot t\right)} \]
    10. Simplified56.2%

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

    if -1.1199999999999999e-22 < t < 5.5000000000000003e-68

    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. Step-by-step derivation
      1. associate-+l-87.1%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in y around inf 67.1%

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

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

      \[\leadsto \frac{\color{blue}{\frac{b}{z}}}{c} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification50.0%

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

Alternative 17: 50.5% 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 -9.5 \cdot 10^{-198}:\\ \;\;\;\;a \cdot \frac{t \cdot -4}{c}\\ \mathbf{elif}\;a \leq 8.2 \cdot 10^{+60}:\\ \;\;\;\;b \cdot \frac{\frac{1}{c}}{z}\\ \mathbf{else}:\\ \;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \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 -9.5e-198)
   (* a (/ (* t -4.0) c))
   (if (<= a 8.2e+60) (* b (/ (/ 1.0 c) z)) (* -4.0 (* t (/ a 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 <= -9.5e-198) {
		tmp = a * ((t * -4.0) / c);
	} else if (a <= 8.2e+60) {
		tmp = b * ((1.0 / c) / z);
	} else {
		tmp = -4.0 * (t * (a / 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 (a <= (-9.5d-198)) then
        tmp = a * ((t * (-4.0d0)) / c)
    else if (a <= 8.2d+60) then
        tmp = b * ((1.0d0 / c) / z)
    else
        tmp = (-4.0d0) * (t * (a / 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 (a <= -9.5e-198) {
		tmp = a * ((t * -4.0) / c);
	} else if (a <= 8.2e+60) {
		tmp = b * ((1.0 / c) / z);
	} else {
		tmp = -4.0 * (t * (a / 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 a <= -9.5e-198:
		tmp = a * ((t * -4.0) / c)
	elif a <= 8.2e+60:
		tmp = b * ((1.0 / c) / z)
	else:
		tmp = -4.0 * (t * (a / 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 <= -9.5e-198)
		tmp = Float64(a * Float64(Float64(t * -4.0) / c));
	elseif (a <= 8.2e+60)
		tmp = Float64(b * Float64(Float64(1.0 / c) / z));
	else
		tmp = Float64(-4.0 * Float64(t * Float64(a / 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 (a <= -9.5e-198)
		tmp = a * ((t * -4.0) / c);
	elseif (a <= 8.2e+60)
		tmp = b * ((1.0 / c) / z);
	else
		tmp = -4.0 * (t * (a / 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[LessEqual[a, -9.5e-198], N[(a * N[(N[(t * -4.0), $MachinePrecision] / c), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 8.2e+60], N[(b * N[(N[(1.0 / c), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision], N[(-4.0 * N[(t * N[(a / c), $MachinePrecision]), $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 -9.5 \cdot 10^{-198}:\\
\;\;\;\;a \cdot \frac{t \cdot -4}{c}\\

\mathbf{elif}\;a \leq 8.2 \cdot 10^{+60}:\\
\;\;\;\;b \cdot \frac{\frac{1}{c}}{z}\\

\mathbf{else}:\\
\;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if a < -9.4999999999999997e-198

    1. Initial program 84.3%

      \[\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. Step-by-step derivation
      1. associate-+l-84.3%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around inf 43.9%

      \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
    6. Step-by-step derivation
      1. *-commutative43.9%

        \[\leadsto \color{blue}{\frac{a \cdot t}{c} \cdot -4} \]
      2. associate-/l*49.2%

        \[\leadsto \color{blue}{\left(a \cdot \frac{t}{c}\right)} \cdot -4 \]
      3. associate-*r*49.2%

        \[\leadsto \color{blue}{a \cdot \left(\frac{t}{c} \cdot -4\right)} \]
      4. associate-*l/49.2%

        \[\leadsto a \cdot \color{blue}{\frac{t \cdot -4}{c}} \]
    7. Simplified49.2%

      \[\leadsto \color{blue}{a \cdot \frac{t \cdot -4}{c}} \]

    if -9.4999999999999997e-198 < a < 8.2e60

    1. Initial program 79.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. Step-by-step derivation
      1. associate-+l-79.2%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in b around inf 33.5%

      \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
    6. Step-by-step derivation
      1. *-commutative33.5%

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

      \[\leadsto \color{blue}{\frac{b}{z \cdot c}} \]
    8. Step-by-step derivation
      1. clear-num33.4%

        \[\leadsto \color{blue}{\frac{1}{\frac{z \cdot c}{b}}} \]
      2. inv-pow33.4%

        \[\leadsto \color{blue}{{\left(\frac{z \cdot c}{b}\right)}^{-1}} \]
    9. Applied egg-rr33.4%

      \[\leadsto \color{blue}{{\left(\frac{z \cdot c}{b}\right)}^{-1}} \]
    10. Step-by-step derivation
      1. unpow-133.4%

        \[\leadsto \color{blue}{\frac{1}{\frac{z \cdot c}{b}}} \]
      2. *-commutative33.4%

        \[\leadsto \frac{1}{\frac{\color{blue}{c \cdot z}}{b}} \]
    11. Simplified33.4%

      \[\leadsto \color{blue}{\frac{1}{\frac{c \cdot z}{b}}} \]
    12. Step-by-step derivation
      1. associate-/r/33.4%

        \[\leadsto \color{blue}{\frac{1}{c \cdot z} \cdot b} \]
      2. *-commutative33.4%

        \[\leadsto \frac{1}{\color{blue}{z \cdot c}} \cdot b \]
    13. Applied egg-rr33.4%

      \[\leadsto \color{blue}{\frac{1}{z \cdot c} \cdot b} \]
    14. Taylor expanded in z around 0 33.4%

      \[\leadsto \color{blue}{\frac{1}{c \cdot z}} \cdot b \]
    15. Step-by-step derivation
      1. associate-/r*35.1%

        \[\leadsto \color{blue}{\frac{\frac{1}{c}}{z}} \cdot b \]
    16. Simplified35.1%

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

    if 8.2e60 < a

    1. Initial program 78.3%

      \[\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. Step-by-step derivation
      1. associate-+l-78.3%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around 0 82.1%

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{-4 \cdot \frac{a \cdot t}{c}} \]
    9. Step-by-step derivation
      1. associate-*r/46.4%

        \[\leadsto \color{blue}{\frac{-4 \cdot \left(a \cdot t\right)}{c}} \]
      2. associate-*r*46.4%

        \[\leadsto \frac{\color{blue}{\left(-4 \cdot a\right) \cdot t}}{c} \]
      3. associate-*l/60.2%

        \[\leadsto \color{blue}{\frac{-4 \cdot a}{c} \cdot t} \]
      4. associate-*r/60.2%

        \[\leadsto \color{blue}{\left(-4 \cdot \frac{a}{c}\right)} \cdot t \]
      5. associate-*l*60.2%

        \[\leadsto \color{blue}{-4 \cdot \left(\frac{a}{c} \cdot t\right)} \]
    10. Simplified60.2%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -9.5 \cdot 10^{-198}:\\ \;\;\;\;a \cdot \frac{t \cdot -4}{c}\\ \mathbf{elif}\;a \leq 8.2 \cdot 10^{+60}:\\ \;\;\;\;b \cdot \frac{\frac{1}{c}}{z}\\ \mathbf{else}:\\ \;\;\;\;-4 \cdot \left(t \cdot \frac{a}{c}\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 18: 34.2% accurate, 1.9× 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}\;t \leq -3.6 \cdot 10^{+27}:\\ \;\;\;\;\frac{b}{z \cdot c}\\ \mathbf{else}:\\ \;\;\;\;\frac{\frac{b}{z}}{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 (<= t -3.6e+27) (/ b (* z c)) (/ (/ 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 (t <= -3.6e+27) {
		tmp = b / (z * c);
	} else {
		tmp = (b / z) / 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 (t <= (-3.6d+27)) then
        tmp = b / (z * c)
    else
        tmp = (b / z) / 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 (t <= -3.6e+27) {
		tmp = b / (z * c);
	} else {
		tmp = (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])
def code(x, y, z, t, a, b, c):
	tmp = 0
	if t <= -3.6e+27:
		tmp = b / (z * c)
	else:
		tmp = (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 (t <= -3.6e+27)
		tmp = Float64(b / Float64(z * c));
	else
		tmp = Float64(Float64(b / z) / 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 (t <= -3.6e+27)
		tmp = b / (z * c);
	else
		tmp = (b / z) / 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[LessEqual[t, -3.6e+27], N[(b / N[(z * c), $MachinePrecision]), $MachinePrecision], N[(N[(b / z), $MachinePrecision] / c), $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}\;t \leq -3.6 \cdot 10^{+27}:\\
\;\;\;\;\frac{b}{z \cdot c}\\

\mathbf{else}:\\
\;\;\;\;\frac{\frac{b}{z}}{c}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if t < -3.59999999999999983e27

    1. Initial program 71.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. Step-by-step derivation
      1. associate-+l-71.6%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in b around inf 27.9%

      \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
    6. Step-by-step derivation
      1. *-commutative27.9%

        \[\leadsto \frac{b}{\color{blue}{z \cdot c}} \]
    7. Simplified27.9%

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

    if -3.59999999999999983e27 < t

    1. Initial program 84.5%

      \[\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. Step-by-step derivation
      1. associate-+l-84.5%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in y around inf 68.4%

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

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

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

Alternative 19: 35.3% accurate, 1.9× 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 10^{+58}:\\ \;\;\;\;\frac{b}{z \cdot c}\\ \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 (<= a 1e+58) (/ b (* z c)) (/ (/ 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 (a <= 1e+58) {
		tmp = b / (z * c);
	} 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 (a <= 1d+58) then
        tmp = b / (z * c)
    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 (a <= 1e+58) {
		tmp = b / (z * c);
	} 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 a <= 1e+58:
		tmp = b / (z * c)
	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 (a <= 1e+58)
		tmp = Float64(b / Float64(z * c));
	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 (a <= 1e+58)
		tmp = b / (z * c);
	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[a, 1e+58], N[(b / N[(z * c), $MachinePrecision]), $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}\;a \leq 10^{+58}:\\
\;\;\;\;\frac{b}{z \cdot c}\\

\mathbf{else}:\\
\;\;\;\;\frac{\frac{b}{c}}{z}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if a < 9.99999999999999944e57

    1. Initial program 81.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. Step-by-step derivation
      1. associate-+l-81.9%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in b around inf 30.2%

      \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
    6. Step-by-step derivation
      1. *-commutative30.2%

        \[\leadsto \frac{b}{\color{blue}{z \cdot c}} \]
    7. Simplified30.2%

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

    if 9.99999999999999944e57 < a

    1. Initial program 78.3%

      \[\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. Step-by-step derivation
      1. associate-+l-78.3%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
    4. Add Preprocessing
    5. Taylor expanded in z around inf 67.8%

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

      \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
    7. Step-by-step derivation
      1. associate-/r*27.5%

        \[\leadsto \color{blue}{\frac{\frac{b}{c}}{z}} \]
    8. Simplified27.5%

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

Alternative 20: 35.3% accurate, 3.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}{z \cdot c} \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 (* 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) {
	return b / (z * c);
}
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 / (z * c)
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 / (z * c);
}
[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 / (z * c)
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(z * c))
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 / (z * c);
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[(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])\\
\\
\frac{b}{z \cdot c}
\end{array}
Derivation
  1. Initial program 81.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. Step-by-step derivation
    1. associate-+l-81.2%

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

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

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

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

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

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

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

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

    \[\leadsto \color{blue}{\frac{\left(x \cdot \left(9 \cdot y\right) - \left(z \cdot 4\right) \cdot \left(t \cdot a\right)\right) + b}{z \cdot c}} \]
  4. Add Preprocessing
  5. Taylor expanded in b around inf 28.5%

    \[\leadsto \color{blue}{\frac{b}{c \cdot z}} \]
  6. Step-by-step derivation
    1. *-commutative28.5%

      \[\leadsto \frac{b}{\color{blue}{z \cdot c}} \]
  7. Simplified28.5%

    \[\leadsto \color{blue}{\frac{b}{z \cdot c}} \]
  8. Add Preprocessing

Developer target: 80.1% 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 2024091 
(FPCore (x y z t a b c)
  :name "Diagrams.Solve.Polynomial:cubForm  from diagrams-solve-0.1, J"
  :precision binary64

  :alt
  (if (< (/ (+ (- (* (* x 9.0) y) (* (* (* z 4.0) t) a)) b) (* z c)) -1.100156740804105e-171) (/ (+ (- (* (* x 9.0) y) (* (* z 4.0) (* t a))) b) (* z c)) (if (< (/ (+ (- (* (* x 9.0) y) (* (* (* z 4.0) t) a)) b) (* z c)) 0.0) (/ (/ (+ (- (* (* x 9.0) y) (* (* (* z 4.0) t) a)) b) z) c) (if (< (/ (+ (- (* (* x 9.0) y) (* (* (* z 4.0) t) a)) b) (* z c)) 1.1708877911747488e-53) (/ (+ (- (* (* x 9.0) y) (* (* z 4.0) (* t a))) b) (* z c)) (if (< (/ (+ (- (* (* x 9.0) y) (* (* (* z 4.0) t) a)) b) (* z c)) 2.876823679546137e+130) (- (+ (* (* 9.0 (/ y c)) (/ x z)) (/ b (* c z))) (* 4.0 (/ (* a t) c))) (if (< (/ (+ (- (* (* x 9.0) y) (* (* (* z 4.0) t) a)) b) (* z c)) 1.3838515042456319e+158) (/ (+ (- (* (* x 9.0) y) (* (* z 4.0) (* t a))) b) (* z c)) (- (+ (* 9.0 (* (/ y (* c z)) x)) (/ b (* c z))) (* 4.0 (/ (* a t) c))))))))

  (/ (+ (- (* (* x 9.0) y) (* (* (* z 4.0) t) a)) b) (* z c)))