Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, I

Percentage Accurate: 94.0% → 96.5%
Time: 32.7s
Alternatives: 30
Speedup: 0.7×

Specification

?
\[\begin{array}{l} \\ \frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (/
  x
  (+
   x
   (*
    y
    (exp
     (*
      2.0
      (-
       (/ (* z (sqrt (+ t a))) t)
       (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	return x / (x + (y * exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
}
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 / (x + (y * exp((2.0d0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0d0 / 6.0d0)) - (2.0d0 / (t * 3.0d0)))))))))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
	return x / (x + (y * Math.exp((2.0 * (((z * Math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
}
def code(x, y, z, t, a, b, c):
	return x / (x + (y * math.exp((2.0 * (((z * math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))))
function code(x, y, z, t, a, b, c)
	return Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(Float64(t + a))) / t) - Float64(Float64(b - c) * Float64(Float64(a + Float64(5.0 / 6.0)) - Float64(2.0 / Float64(t * 3.0))))))))))
end
function tmp = code(x, y, z, t, a, b, c)
	tmp = x / (x + (y * exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
end
code[x_, y_, z_, t_, a_, b_, c_] := N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(z * N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision] - N[(N[(b - c), $MachinePrecision] * N[(N[(a + N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision] - N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}}
\end{array}

Sampling outcomes in binary64 precision:

Local Percentage Accuracy vs ?

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

Accuracy vs Speed?

Herbie found 30 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: 94.0% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (/
  x
  (+
   x
   (*
    y
    (exp
     (*
      2.0
      (-
       (/ (* z (sqrt (+ t a))) t)
       (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	return x / (x + (y * exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
}
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 / (x + (y * exp((2.0d0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0d0 / 6.0d0)) - (2.0d0 / (t * 3.0d0)))))))))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
	return x / (x + (y * Math.exp((2.0 * (((z * Math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
}
def code(x, y, z, t, a, b, c):
	return x / (x + (y * math.exp((2.0 * (((z * math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))))
function code(x, y, z, t, a, b, c)
	return Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(Float64(t + a))) / t) - Float64(Float64(b - c) * Float64(Float64(a + Float64(5.0 / 6.0)) - Float64(2.0 / Float64(t * 3.0))))))))))
end
function tmp = code(x, y, z, t, a, b, c)
	tmp = x / (x + (y * exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
end
code[x_, y_, z_, t_, a_, b_, c_] := N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(z * N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision] - N[(N[(b - c), $MachinePrecision] * N[(N[(a + N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision] - N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}}
\end{array}

Alternative 1: 96.5% accurate, 0.7× speedup?

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

\\
\begin{array}{l}
t_1 := \frac{z \cdot \sqrt{t + a}}{t} + \left(b - c\right) \cdot \left(\frac{2}{t \cdot 3} - \left(a + 0.8333333333333334\right)\right)\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot t\_1}}\\

\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if (-.f64 (/.f64 (*.f64 z (sqrt.f64 (+.f64 t a))) t) (*.f64 (-.f64 b c) (-.f64 (+.f64 a (/.f64 #s(literal 5 binary64) #s(literal 6 binary64))) (/.f64 #s(literal 2 binary64) (*.f64 t #s(literal 3 binary64)))))) < +inf.0

    1. Initial program 100.0%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing

    if +inf.0 < (-.f64 (/.f64 (*.f64 z (sqrt.f64 (+.f64 t a))) t) (*.f64 (-.f64 b c) (-.f64 (+.f64 a (/.f64 #s(literal 5 binary64) #s(literal 6 binary64))) (/.f64 #s(literal 2 binary64) (*.f64 t #s(literal 3 binary64))))))

    1. Initial program 0.0%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 60.1%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative60.1%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/60.1%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval60.1%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified60.1%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in t around inf 71.5%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
    7. Step-by-step derivation
      1. *-commutative71.5%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
    8. Simplified71.5%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification98.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{z \cdot \sqrt{t + a}}{t} + \left(b - c\right) \cdot \left(\frac{2}{t \cdot 3} - \left(a + 0.8333333333333334\right)\right) \leq \infty:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} + \left(b - c\right) \cdot \left(\frac{2}{t \cdot 3} - \left(a + 0.8333333333333334\right)\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 2: 88.5% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq 1.46 \cdot 10^{-52}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{t}}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(z \cdot \sqrt{\frac{1}{t}} + \left(a + 0.8333333333333334\right) \cdot \left(c - b\right)\right)}}\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= t 1.46e-52)
   (/
    x
    (+
     x
     (*
      y
      (exp (* 2.0 (/ (+ (* z (sqrt a)) (* -0.6666666666666666 (- c b))) t))))))
   (/
    x
    (+
     x
     (*
      y
      (exp
       (*
        2.0
        (+ (* z (sqrt (/ 1.0 t))) (* (+ a 0.8333333333333334) (- c b))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (t <= 1.46e-52) {
		tmp = x / (x + (y * exp((2.0 * (((z * sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))));
	} else {
		tmp = x / (x + (y * exp((2.0 * ((z * sqrt((1.0 / t))) + ((a + 0.8333333333333334) * (c - b)))))));
	}
	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) :: tmp
    if (t <= 1.46d-52) then
        tmp = x / (x + (y * exp((2.0d0 * (((z * sqrt(a)) + ((-0.6666666666666666d0) * (c - b))) / t)))))
    else
        tmp = x / (x + (y * exp((2.0d0 * ((z * sqrt((1.0d0 / t))) + ((a + 0.8333333333333334d0) * (c - b)))))))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (t <= 1.46e-52) {
		tmp = x / (x + (y * Math.exp((2.0 * (((z * Math.sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))));
	} else {
		tmp = x / (x + (y * Math.exp((2.0 * ((z * Math.sqrt((1.0 / t))) + ((a + 0.8333333333333334) * (c - b)))))));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if t <= 1.46e-52:
		tmp = x / (x + (y * math.exp((2.0 * (((z * math.sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))))
	else:
		tmp = x / (x + (y * math.exp((2.0 * ((z * math.sqrt((1.0 / t))) + ((a + 0.8333333333333334) * (c - b)))))))
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (t <= 1.46e-52)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(a)) + Float64(-0.6666666666666666 * Float64(c - b))) / t))))));
	else
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(z * sqrt(Float64(1.0 / t))) + Float64(Float64(a + 0.8333333333333334) * Float64(c - b))))))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (t <= 1.46e-52)
		tmp = x / (x + (y * exp((2.0 * (((z * sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))));
	else
		tmp = x / (x + (y * exp((2.0 * ((z * sqrt((1.0 / t))) + ((a + 0.8333333333333334) * (c - b)))))));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[t, 1.46e-52], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(z * N[Sqrt[a], $MachinePrecision]), $MachinePrecision] + N[(-0.6666666666666666 * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(z * N[Sqrt[N[(1.0 / t), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] + N[(N[(a + 0.8333333333333334), $MachinePrecision] * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;t \leq 1.46 \cdot 10^{-52}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{t}}}\\

\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(z \cdot \sqrt{\frac{1}{t}} + \left(a + 0.8333333333333334\right) \cdot \left(c - b\right)\right)}}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if t < 1.46000000000000003e-52

    1. Initial program 90.5%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in t around 0 79.0%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\frac{\sqrt{a} \cdot z - -0.6666666666666666 \cdot \left(b - c\right)}{t}}}} \]

    if 1.46000000000000003e-52 < t

    1. Initial program 96.2%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf 96.3%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq 1.46 \cdot 10^{-52}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{t}}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(z \cdot \sqrt{\frac{1}{t}} + \left(a + 0.8333333333333334\right) \cdot \left(c - b\right)\right)}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 3: 61.3% accurate, 1.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{x}{x + y \cdot e^{2 \cdot \frac{b \cdot 0.6666666666666666}{t}}}\\ \mathbf{if}\;t \leq -1.46 \cdot 10^{-273}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq 6.5 \cdot 10^{-190}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{0.6666666666666666}{t}}{a}\right)\right) + 1\right)}\\ \mathbf{elif}\;t \leq 5.8 \cdot 10^{-102}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq 1.15 \cdot 10^{-42}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{c \cdot -0.6666666666666666}{t}}}\\ \mathbf{elif}\;t \leq 1.08 \cdot 10^{+30}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{\left(a + 0.8333333333333334\right) \cdot \left(b \cdot -2\right)}}\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (let* ((t_1 (/ x (+ x (* y (exp (* 2.0 (/ (* b 0.6666666666666666) t))))))))
   (if (<= t -1.46e-273)
     t_1
     (if (<= t 6.5e-190)
       (/
        x
        (+
         x
         (*
          y
          (+
           (*
            2.0
            (*
             a
             (+
              c
              (* c (/ (- 0.8333333333333334 (/ 0.6666666666666666 t)) a)))))
           1.0))))
       (if (<= t 5.8e-102)
         t_1
         (if (<= t 1.15e-42)
           (/ x (+ x (* y (exp (* 2.0 (/ (* c -0.6666666666666666) t))))))
           (if (<= t 1.08e+30)
             (/ x (+ x (* y (exp (* 2.0 (* c (+ a 0.8333333333333334)))))))
             (/
              x
              (+ x (* y (exp (* (+ a 0.8333333333333334) (* b -2.0)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double t_1 = x / (x + (y * exp((2.0 * ((b * 0.6666666666666666) / t)))));
	double tmp;
	if (t <= -1.46e-273) {
		tmp = t_1;
	} else if (t <= 6.5e-190) {
		tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)));
	} else if (t <= 5.8e-102) {
		tmp = t_1;
	} else if (t <= 1.15e-42) {
		tmp = x / (x + (y * exp((2.0 * ((c * -0.6666666666666666) / t)))));
	} else if (t <= 1.08e+30) {
		tmp = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334))))));
	} else {
		tmp = x / (x + (y * exp(((a + 0.8333333333333334) * (b * -2.0)))));
	}
	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) :: tmp
    t_1 = x / (x + (y * exp((2.0d0 * ((b * 0.6666666666666666d0) / t)))))
    if (t <= (-1.46d-273)) then
        tmp = t_1
    else if (t <= 6.5d-190) then
        tmp = x / (x + (y * ((2.0d0 * (a * (c + (c * ((0.8333333333333334d0 - (0.6666666666666666d0 / t)) / a))))) + 1.0d0)))
    else if (t <= 5.8d-102) then
        tmp = t_1
    else if (t <= 1.15d-42) then
        tmp = x / (x + (y * exp((2.0d0 * ((c * (-0.6666666666666666d0)) / t)))))
    else if (t <= 1.08d+30) then
        tmp = x / (x + (y * exp((2.0d0 * (c * (a + 0.8333333333333334d0))))))
    else
        tmp = x / (x + (y * exp(((a + 0.8333333333333334d0) * (b * (-2.0d0))))))
    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 = x / (x + (y * Math.exp((2.0 * ((b * 0.6666666666666666) / t)))));
	double tmp;
	if (t <= -1.46e-273) {
		tmp = t_1;
	} else if (t <= 6.5e-190) {
		tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)));
	} else if (t <= 5.8e-102) {
		tmp = t_1;
	} else if (t <= 1.15e-42) {
		tmp = x / (x + (y * Math.exp((2.0 * ((c * -0.6666666666666666) / t)))));
	} else if (t <= 1.08e+30) {
		tmp = x / (x + (y * Math.exp((2.0 * (c * (a + 0.8333333333333334))))));
	} else {
		tmp = x / (x + (y * Math.exp(((a + 0.8333333333333334) * (b * -2.0)))));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	t_1 = x / (x + (y * math.exp((2.0 * ((b * 0.6666666666666666) / t)))))
	tmp = 0
	if t <= -1.46e-273:
		tmp = t_1
	elif t <= 6.5e-190:
		tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)))
	elif t <= 5.8e-102:
		tmp = t_1
	elif t <= 1.15e-42:
		tmp = x / (x + (y * math.exp((2.0 * ((c * -0.6666666666666666) / t)))))
	elif t <= 1.08e+30:
		tmp = x / (x + (y * math.exp((2.0 * (c * (a + 0.8333333333333334))))))
	else:
		tmp = x / (x + (y * math.exp(((a + 0.8333333333333334) * (b * -2.0)))))
	return tmp
function code(x, y, z, t, a, b, c)
	t_1 = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(b * 0.6666666666666666) / t))))))
	tmp = 0.0
	if (t <= -1.46e-273)
		tmp = t_1;
	elseif (t <= 6.5e-190)
		tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(a * Float64(c + Float64(c * Float64(Float64(0.8333333333333334 - Float64(0.6666666666666666 / t)) / a))))) + 1.0))));
	elseif (t <= 5.8e-102)
		tmp = t_1;
	elseif (t <= 1.15e-42)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(c * -0.6666666666666666) / t))))));
	elseif (t <= 1.08e+30)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(c * Float64(a + 0.8333333333333334)))))));
	else
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(Float64(a + 0.8333333333333334) * Float64(b * -2.0))))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	t_1 = x / (x + (y * exp((2.0 * ((b * 0.6666666666666666) / t)))));
	tmp = 0.0;
	if (t <= -1.46e-273)
		tmp = t_1;
	elseif (t <= 6.5e-190)
		tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)));
	elseif (t <= 5.8e-102)
		tmp = t_1;
	elseif (t <= 1.15e-42)
		tmp = x / (x + (y * exp((2.0 * ((c * -0.6666666666666666) / t)))));
	elseif (t <= 1.08e+30)
		tmp = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334))))));
	else
		tmp = x / (x + (y * exp(((a + 0.8333333333333334) * (b * -2.0)))));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(b * 0.6666666666666666), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.46e-273], t$95$1, If[LessEqual[t, 6.5e-190], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(a * N[(c + N[(c * N[(N[(0.8333333333333334 - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 5.8e-102], t$95$1, If[LessEqual[t, 1.15e-42], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(c * -0.6666666666666666), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.08e+30], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(c * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(N[(a + 0.8333333333333334), $MachinePrecision] * N[(b * -2.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{2 \cdot \frac{b \cdot 0.6666666666666666}{t}}}\\
\mathbf{if}\;t \leq -1.46 \cdot 10^{-273}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t \leq 6.5 \cdot 10^{-190}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{0.6666666666666666}{t}}{a}\right)\right) + 1\right)}\\

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

\mathbf{elif}\;t \leq 1.15 \cdot 10^{-42}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{c \cdot -0.6666666666666666}{t}}}\\

\mathbf{elif}\;t \leq 1.08 \cdot 10^{+30}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\

\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{\left(a + 0.8333333333333334\right) \cdot \left(b \cdot -2\right)}}\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if t < -1.45999999999999993e-273 or 6.4999999999999997e-190 < t < 5.79999999999999973e-102

    1. Initial program 91.9%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 74.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/74.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval74.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative74.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified74.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in t around 0 70.9%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(0.6666666666666666 \cdot \frac{b}{t}\right)}}} \]
    7. Step-by-step derivation
      1. associate-*r/70.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\frac{0.6666666666666666 \cdot b}{t}}}} \]
      2. *-commutative70.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \frac{\color{blue}{b \cdot 0.6666666666666666}}{t}}} \]
    8. Simplified70.9%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\frac{b \cdot 0.6666666666666666}{t}}}} \]

    if -1.45999999999999993e-273 < t < 6.4999999999999997e-190

    1. Initial program 85.7%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 69.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative69.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/69.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval69.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified69.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in c around 0 50.8%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)}} \]
    7. Step-by-step derivation
      1. associate-*r*50.8%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{\left(2 \cdot c\right) \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)}\right)} \]
      2. +-commutative50.8%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)} \]
      3. associate-*r/50.8%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)} \]
      4. metadata-eval50.8%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)} \]
      5. associate-+r-50.8%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \color{blue}{\left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)}\right)} \]
      6. associate-*r*50.8%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)}\right)} \]
    8. Simplified50.8%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)\right)}} \]
    9. Taylor expanded in a around inf 61.5%

      \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \color{blue}{\left(a \cdot \left(c + \frac{c \cdot \left(0.8333333333333334 - 0.6666666666666666 \cdot \frac{1}{t}\right)}{a}\right)\right)}\right)} \]
    10. Step-by-step derivation
      1. associate-/l*67.0%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(a \cdot \left(c + \color{blue}{c \cdot \frac{0.8333333333333334 - 0.6666666666666666 \cdot \frac{1}{t}}{a}}\right)\right)\right)} \]
      2. associate-*r/67.0%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}}{a}\right)\right)\right)} \]
      3. metadata-eval67.0%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{\color{blue}{0.6666666666666666}}{t}}{a}\right)\right)\right)} \]
    11. Simplified67.0%

      \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \color{blue}{\left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{0.6666666666666666}{t}}{a}\right)\right)}\right)} \]

    if 5.79999999999999973e-102 < t < 1.15000000000000002e-42

    1. Initial program 91.7%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in t around 0 67.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\frac{\sqrt{a} \cdot z - -0.6666666666666666 \cdot \left(b - c\right)}{t}}}} \]
    4. Taylor expanded in c around inf 67.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \frac{\color{blue}{-0.6666666666666666 \cdot c}}{t}}} \]
    5. Step-by-step derivation
      1. *-commutative67.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \frac{\color{blue}{c \cdot -0.6666666666666666}}{t}}} \]
    6. Simplified67.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \frac{\color{blue}{c \cdot -0.6666666666666666}}{t}}} \]

    if 1.15000000000000002e-42 < t < 1.08e30

    1. Initial program 95.7%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 70.5%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative70.5%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/70.5%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval70.5%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified70.5%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in t around inf 66.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
    7. Step-by-step derivation
      1. *-commutative66.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
    8. Simplified66.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]

    if 1.08e30 < t

    1. Initial program 97.0%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 75.0%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/75.0%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval75.0%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative75.0%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified75.0%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in t around inf 75.0%

      \[\leadsto \frac{x}{x + \color{blue}{y \cdot e^{-2 \cdot \left(b \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
    7. Step-by-step derivation
      1. associate-*r*75.0%

        \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{\left(-2 \cdot b\right) \cdot \left(0.8333333333333334 + a\right)}}} \]
    8. Simplified75.0%

      \[\leadsto \frac{x}{x + \color{blue}{y \cdot e^{\left(-2 \cdot b\right) \cdot \left(0.8333333333333334 + a\right)}}} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification71.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.46 \cdot 10^{-273}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{b \cdot 0.6666666666666666}{t}}}\\ \mathbf{elif}\;t \leq 6.5 \cdot 10^{-190}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{0.6666666666666666}{t}}{a}\right)\right) + 1\right)}\\ \mathbf{elif}\;t \leq 5.8 \cdot 10^{-102}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{b \cdot 0.6666666666666666}{t}}}\\ \mathbf{elif}\;t \leq 1.15 \cdot 10^{-42}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{c \cdot -0.6666666666666666}{t}}}\\ \mathbf{elif}\;t \leq 1.08 \cdot 10^{+30}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{\left(a + 0.8333333333333334\right) \cdot \left(b \cdot -2\right)}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 4: 71.9% accurate, 1.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\ t_2 := \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\ \mathbf{if}\;c \leq -1.95 \cdot 10^{+163}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;c \leq 1.25 \cdot 10^{+27}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq 2.2 \cdot 10^{+156}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\ \mathbf{elif}\;c \leq 3 \cdot 10^{+216}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (let* ((t_1
         (/
          x
          (+
           x
           (*
            y
            (exp
             (*
              2.0
              (* b (- (/ 0.6666666666666666 t) (+ a 0.8333333333333334)))))))))
        (t_2 (/ x (+ x (* y (exp (* 2.0 (* c (+ a 0.8333333333333334)))))))))
   (if (<= c -1.95e+163)
     t_2
     (if (<= c 1.25e+27)
       t_1
       (if (<= c 2.2e+156)
         (/ x (+ x (* y (exp (* c 1.6666666666666667)))))
         (if (<= c 3e+216) t_1 t_2))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double t_1 = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
	double t_2 = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334))))));
	double tmp;
	if (c <= -1.95e+163) {
		tmp = t_2;
	} else if (c <= 1.25e+27) {
		tmp = t_1;
	} else if (c <= 2.2e+156) {
		tmp = x / (x + (y * exp((c * 1.6666666666666667))));
	} else if (c <= 3e+216) {
		tmp = t_1;
	} else {
		tmp = 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) :: tmp
    t_1 = x / (x + (y * exp((2.0d0 * (b * ((0.6666666666666666d0 / t) - (a + 0.8333333333333334d0)))))))
    t_2 = x / (x + (y * exp((2.0d0 * (c * (a + 0.8333333333333334d0))))))
    if (c <= (-1.95d+163)) then
        tmp = t_2
    else if (c <= 1.25d+27) then
        tmp = t_1
    else if (c <= 2.2d+156) then
        tmp = x / (x + (y * exp((c * 1.6666666666666667d0))))
    else if (c <= 3d+216) then
        tmp = t_1
    else
        tmp = t_2
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
	double t_1 = x / (x + (y * Math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
	double t_2 = x / (x + (y * Math.exp((2.0 * (c * (a + 0.8333333333333334))))));
	double tmp;
	if (c <= -1.95e+163) {
		tmp = t_2;
	} else if (c <= 1.25e+27) {
		tmp = t_1;
	} else if (c <= 2.2e+156) {
		tmp = x / (x + (y * Math.exp((c * 1.6666666666666667))));
	} else if (c <= 3e+216) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	t_1 = x / (x + (y * math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))))
	t_2 = x / (x + (y * math.exp((2.0 * (c * (a + 0.8333333333333334))))))
	tmp = 0
	if c <= -1.95e+163:
		tmp = t_2
	elif c <= 1.25e+27:
		tmp = t_1
	elif c <= 2.2e+156:
		tmp = x / (x + (y * math.exp((c * 1.6666666666666667))))
	elif c <= 3e+216:
		tmp = t_1
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c)
	t_1 = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(b * Float64(Float64(0.6666666666666666 / t) - Float64(a + 0.8333333333333334))))))))
	t_2 = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(c * Float64(a + 0.8333333333333334)))))))
	tmp = 0.0
	if (c <= -1.95e+163)
		tmp = t_2;
	elseif (c <= 1.25e+27)
		tmp = t_1;
	elseif (c <= 2.2e+156)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(c * 1.6666666666666667)))));
	elseif (c <= 3e+216)
		tmp = t_1;
	else
		tmp = t_2;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	t_1 = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
	t_2 = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334))))));
	tmp = 0.0;
	if (c <= -1.95e+163)
		tmp = t_2;
	elseif (c <= 1.25e+27)
		tmp = t_1;
	elseif (c <= 2.2e+156)
		tmp = x / (x + (y * exp((c * 1.6666666666666667))));
	elseif (c <= 3e+216)
		tmp = t_1;
	else
		tmp = t_2;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(b * N[(N[(0.6666666666666666 / t), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(c * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -1.95e+163], t$95$2, If[LessEqual[c, 1.25e+27], t$95$1, If[LessEqual[c, 2.2e+156], N[(x / N[(x + N[(y * N[Exp[N[(c * 1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3e+216], t$95$1, t$95$2]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\
t_2 := \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\
\mathbf{if}\;c \leq -1.95 \cdot 10^{+163}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;c \leq 1.25 \cdot 10^{+27}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;c \leq 2.2 \cdot 10^{+156}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\

\mathbf{elif}\;c \leq 3 \cdot 10^{+216}:\\
\;\;\;\;t\_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if c < -1.95000000000000012e163 or 2.9999999999999998e216 < c

    1. Initial program 89.1%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 89.5%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative89.5%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/89.5%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval89.5%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified89.5%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in t around inf 68.4%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
    7. Step-by-step derivation
      1. *-commutative68.4%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
    8. Simplified68.4%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]

    if -1.95000000000000012e163 < c < 1.24999999999999995e27 or 2.20000000000000004e156 < c < 2.9999999999999998e216

    1. Initial program 94.2%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 77.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/77.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval77.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative77.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified77.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]

    if 1.24999999999999995e27 < c < 2.20000000000000004e156

    1. Initial program 95.2%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 76.9%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative76.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/76.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval76.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified76.9%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in t around inf 95.4%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
    7. Step-by-step derivation
      1. *-commutative95.4%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
    8. Simplified95.4%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
    9. Taylor expanded in a around 0 95.4%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{e^{1.6666666666666667 \cdot c}}} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification77.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -1.95 \cdot 10^{+163}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\ \mathbf{elif}\;c \leq 1.25 \cdot 10^{+27}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\ \mathbf{elif}\;c \leq 2.2 \cdot 10^{+156}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\ \mathbf{elif}\;c \leq 3 \cdot 10^{+216}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 5: 63.2% accurate, 1.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\ \mathbf{if}\;c \leq -3 \cdot 10^{+52}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq 4.1 \cdot 10^{+34}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(-b\right)\right)}}\\ \mathbf{elif}\;c \leq 7 \cdot 10^{+153}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\ \mathbf{elif}\;c \leq 3 \cdot 10^{+216}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{c \cdot -0.6666666666666666}{t}}}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (let* ((t_1 (/ x (+ x (* y (exp (* 2.0 (* c (+ a 0.8333333333333334)))))))))
   (if (<= c -3e+52)
     t_1
     (if (<= c 4.1e+34)
       (/ x (+ x (* y (exp (* 2.0 (* a (- b)))))))
       (if (<= c 7e+153)
         (/ x (+ x (* y (exp (* c 1.6666666666666667)))))
         (if (<= c 3e+216)
           (/ x (+ x (* y (exp (* 2.0 (/ (* c -0.6666666666666666) t))))))
           t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double t_1 = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334))))));
	double tmp;
	if (c <= -3e+52) {
		tmp = t_1;
	} else if (c <= 4.1e+34) {
		tmp = x / (x + (y * exp((2.0 * (a * -b)))));
	} else if (c <= 7e+153) {
		tmp = x / (x + (y * exp((c * 1.6666666666666667))));
	} else if (c <= 3e+216) {
		tmp = x / (x + (y * exp((2.0 * ((c * -0.6666666666666666) / t)))));
	} else {
		tmp = t_1;
	}
	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) :: tmp
    t_1 = x / (x + (y * exp((2.0d0 * (c * (a + 0.8333333333333334d0))))))
    if (c <= (-3d+52)) then
        tmp = t_1
    else if (c <= 4.1d+34) then
        tmp = x / (x + (y * exp((2.0d0 * (a * -b)))))
    else if (c <= 7d+153) then
        tmp = x / (x + (y * exp((c * 1.6666666666666667d0))))
    else if (c <= 3d+216) then
        tmp = x / (x + (y * exp((2.0d0 * ((c * (-0.6666666666666666d0)) / t)))))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
	double t_1 = x / (x + (y * Math.exp((2.0 * (c * (a + 0.8333333333333334))))));
	double tmp;
	if (c <= -3e+52) {
		tmp = t_1;
	} else if (c <= 4.1e+34) {
		tmp = x / (x + (y * Math.exp((2.0 * (a * -b)))));
	} else if (c <= 7e+153) {
		tmp = x / (x + (y * Math.exp((c * 1.6666666666666667))));
	} else if (c <= 3e+216) {
		tmp = x / (x + (y * Math.exp((2.0 * ((c * -0.6666666666666666) / t)))));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	t_1 = x / (x + (y * math.exp((2.0 * (c * (a + 0.8333333333333334))))))
	tmp = 0
	if c <= -3e+52:
		tmp = t_1
	elif c <= 4.1e+34:
		tmp = x / (x + (y * math.exp((2.0 * (a * -b)))))
	elif c <= 7e+153:
		tmp = x / (x + (y * math.exp((c * 1.6666666666666667))))
	elif c <= 3e+216:
		tmp = x / (x + (y * math.exp((2.0 * ((c * -0.6666666666666666) / t)))))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c)
	t_1 = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(c * Float64(a + 0.8333333333333334)))))))
	tmp = 0.0
	if (c <= -3e+52)
		tmp = t_1;
	elseif (c <= 4.1e+34)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * Float64(-b)))))));
	elseif (c <= 7e+153)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(c * 1.6666666666666667)))));
	elseif (c <= 3e+216)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(c * -0.6666666666666666) / t))))));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	t_1 = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334))))));
	tmp = 0.0;
	if (c <= -3e+52)
		tmp = t_1;
	elseif (c <= 4.1e+34)
		tmp = x / (x + (y * exp((2.0 * (a * -b)))));
	elseif (c <= 7e+153)
		tmp = x / (x + (y * exp((c * 1.6666666666666667))));
	elseif (c <= 3e+216)
		tmp = x / (x + (y * exp((2.0 * ((c * -0.6666666666666666) / t)))));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(c * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -3e+52], t$95$1, If[LessEqual[c, 4.1e+34], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * (-b)), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 7e+153], N[(x / N[(x + N[(y * N[Exp[N[(c * 1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3e+216], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(c * -0.6666666666666666), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\
\mathbf{if}\;c \leq -3 \cdot 10^{+52}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;c \leq 4.1 \cdot 10^{+34}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(-b\right)\right)}}\\

\mathbf{elif}\;c \leq 7 \cdot 10^{+153}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\

\mathbf{elif}\;c \leq 3 \cdot 10^{+216}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{c \cdot -0.6666666666666666}{t}}}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if c < -3e52 or 2.9999999999999998e216 < c

    1. Initial program 89.3%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 79.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative79.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/79.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval79.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified79.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in t around inf 62.5%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
    7. Step-by-step derivation
      1. *-commutative62.5%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
    8. Simplified62.5%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]

    if -3e52 < c < 4.0999999999999998e34

    1. Initial program 95.1%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 79.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/79.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval79.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative79.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified79.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in a around inf 65.0%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(-1 \cdot \left(a \cdot b\right)\right)}}} \]
    7. Step-by-step derivation
      1. associate-*r*65.0%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(-1 \cdot a\right) \cdot b\right)}}} \]
      2. mul-1-neg65.0%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(-a\right)} \cdot b\right)}} \]
    8. Simplified65.0%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(-a\right) \cdot b\right)}}} \]

    if 4.0999999999999998e34 < c < 6.9999999999999998e153

    1. Initial program 95.0%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 75.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative75.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/75.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval75.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified75.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in t around inf 95.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
    7. Step-by-step derivation
      1. *-commutative95.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
    8. Simplified95.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
    9. Taylor expanded in a around 0 95.2%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{e^{1.6666666666666667 \cdot c}}} \]

    if 6.9999999999999998e153 < c < 2.9999999999999998e216

    1. Initial program 94.4%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in t around 0 56.4%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\frac{\sqrt{a} \cdot z - -0.6666666666666666 \cdot \left(b - c\right)}{t}}}} \]
    4. Taylor expanded in c around inf 73.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \frac{\color{blue}{-0.6666666666666666 \cdot c}}{t}}} \]
    5. Step-by-step derivation
      1. *-commutative73.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \frac{\color{blue}{c \cdot -0.6666666666666666}}{t}}} \]
    6. Simplified73.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \frac{\color{blue}{c \cdot -0.6666666666666666}}{t}}} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification67.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -3 \cdot 10^{+52}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\ \mathbf{elif}\;c \leq 4.1 \cdot 10^{+34}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(-b\right)\right)}}\\ \mathbf{elif}\;c \leq 7 \cdot 10^{+153}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\ \mathbf{elif}\;c \leq 3 \cdot 10^{+216}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{c \cdot -0.6666666666666666}{t}}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 6: 63.4% accurate, 1.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\ \mathbf{if}\;c \leq -2.65 \cdot 10^{+52}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq 1.85 \cdot 10^{+22}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(-b\right)\right)}}\\ \mathbf{elif}\;c \leq 2 \cdot 10^{+198}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\ \mathbf{elif}\;c \leq 3 \cdot 10^{+216}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (let* ((t_1 (/ x (+ x (* y (exp (* 2.0 (* c (+ a 0.8333333333333334)))))))))
   (if (<= c -2.65e+52)
     t_1
     (if (<= c 1.85e+22)
       (/ x (+ x (* y (exp (* 2.0 (* a (- b)))))))
       (if (<= c 2e+198)
         (/ x (+ x (* y (exp (* c 1.6666666666666667)))))
         (if (<= c 3e+216) 1.0 t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double t_1 = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334))))));
	double tmp;
	if (c <= -2.65e+52) {
		tmp = t_1;
	} else if (c <= 1.85e+22) {
		tmp = x / (x + (y * exp((2.0 * (a * -b)))));
	} else if (c <= 2e+198) {
		tmp = x / (x + (y * exp((c * 1.6666666666666667))));
	} else if (c <= 3e+216) {
		tmp = 1.0;
	} else {
		tmp = t_1;
	}
	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) :: tmp
    t_1 = x / (x + (y * exp((2.0d0 * (c * (a + 0.8333333333333334d0))))))
    if (c <= (-2.65d+52)) then
        tmp = t_1
    else if (c <= 1.85d+22) then
        tmp = x / (x + (y * exp((2.0d0 * (a * -b)))))
    else if (c <= 2d+198) then
        tmp = x / (x + (y * exp((c * 1.6666666666666667d0))))
    else if (c <= 3d+216) then
        tmp = 1.0d0
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
	double t_1 = x / (x + (y * Math.exp((2.0 * (c * (a + 0.8333333333333334))))));
	double tmp;
	if (c <= -2.65e+52) {
		tmp = t_1;
	} else if (c <= 1.85e+22) {
		tmp = x / (x + (y * Math.exp((2.0 * (a * -b)))));
	} else if (c <= 2e+198) {
		tmp = x / (x + (y * Math.exp((c * 1.6666666666666667))));
	} else if (c <= 3e+216) {
		tmp = 1.0;
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	t_1 = x / (x + (y * math.exp((2.0 * (c * (a + 0.8333333333333334))))))
	tmp = 0
	if c <= -2.65e+52:
		tmp = t_1
	elif c <= 1.85e+22:
		tmp = x / (x + (y * math.exp((2.0 * (a * -b)))))
	elif c <= 2e+198:
		tmp = x / (x + (y * math.exp((c * 1.6666666666666667))))
	elif c <= 3e+216:
		tmp = 1.0
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c)
	t_1 = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(c * Float64(a + 0.8333333333333334)))))))
	tmp = 0.0
	if (c <= -2.65e+52)
		tmp = t_1;
	elseif (c <= 1.85e+22)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * Float64(-b)))))));
	elseif (c <= 2e+198)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(c * 1.6666666666666667)))));
	elseif (c <= 3e+216)
		tmp = 1.0;
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	t_1 = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334))))));
	tmp = 0.0;
	if (c <= -2.65e+52)
		tmp = t_1;
	elseif (c <= 1.85e+22)
		tmp = x / (x + (y * exp((2.0 * (a * -b)))));
	elseif (c <= 2e+198)
		tmp = x / (x + (y * exp((c * 1.6666666666666667))));
	elseif (c <= 3e+216)
		tmp = 1.0;
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(c * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -2.65e+52], t$95$1, If[LessEqual[c, 1.85e+22], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * (-b)), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2e+198], N[(x / N[(x + N[(y * N[Exp[N[(c * 1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3e+216], 1.0, t$95$1]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\
\mathbf{if}\;c \leq -2.65 \cdot 10^{+52}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;c \leq 1.85 \cdot 10^{+22}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(-b\right)\right)}}\\

\mathbf{elif}\;c \leq 2 \cdot 10^{+198}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\

\mathbf{elif}\;c \leq 3 \cdot 10^{+216}:\\
\;\;\;\;1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if c < -2.64999999999999998e52 or 2.9999999999999998e216 < c

    1. Initial program 89.3%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 79.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative79.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/79.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval79.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified79.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in t around inf 62.5%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
    7. Step-by-step derivation
      1. *-commutative62.5%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
    8. Simplified62.5%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]

    if -2.64999999999999998e52 < c < 1.8499999999999999e22

    1. Initial program 95.1%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 79.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/79.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval79.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative79.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified79.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in a around inf 65.0%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(-1 \cdot \left(a \cdot b\right)\right)}}} \]
    7. Step-by-step derivation
      1. associate-*r*65.0%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(-1 \cdot a\right) \cdot b\right)}}} \]
      2. mul-1-neg65.0%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(-a\right)} \cdot b\right)}} \]
    8. Simplified65.0%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(-a\right) \cdot b\right)}}} \]

    if 1.8499999999999999e22 < c < 2.00000000000000004e198

    1. Initial program 96.9%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 75.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative75.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/75.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval75.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified75.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in t around inf 81.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
    7. Step-by-step derivation
      1. *-commutative81.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
    8. Simplified81.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
    9. Taylor expanded in a around 0 81.8%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{e^{1.6666666666666667 \cdot c}}} \]

    if 2.00000000000000004e198 < c < 2.9999999999999998e216

    1. Initial program 83.3%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 67.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/67.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval67.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative67.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified67.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 34.9%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]
    7. Taylor expanded in x around inf 100.0%

      \[\leadsto \color{blue}{1} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification67.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -2.65 \cdot 10^{+52}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\ \mathbf{elif}\;c \leq 1.85 \cdot 10^{+22}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(-b\right)\right)}}\\ \mathbf{elif}\;c \leq 2 \cdot 10^{+198}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\ \mathbf{elif}\;c \leq 3 \cdot 10^{+216}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 7: 61.1% accurate, 1.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\ \mathbf{if}\;c \leq -2.9 \cdot 10^{+40}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq 2 \cdot 10^{+22}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(-b\right)\right)}}\\ \mathbf{elif}\;c \leq 2.15 \cdot 10^{+198}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\ \mathbf{elif}\;c \leq 2.65 \cdot 10^{+212}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (let* ((t_1 (/ x (+ x (* y (exp (* 2.0 (* a c))))))))
   (if (<= c -2.9e+40)
     t_1
     (if (<= c 2e+22)
       (/ x (+ x (* y (exp (* 2.0 (* a (- b)))))))
       (if (<= c 2.15e+198)
         (/ x (+ x (* y (exp (* c 1.6666666666666667)))))
         (if (<= c 2.65e+212) 1.0 t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double t_1 = x / (x + (y * exp((2.0 * (a * c)))));
	double tmp;
	if (c <= -2.9e+40) {
		tmp = t_1;
	} else if (c <= 2e+22) {
		tmp = x / (x + (y * exp((2.0 * (a * -b)))));
	} else if (c <= 2.15e+198) {
		tmp = x / (x + (y * exp((c * 1.6666666666666667))));
	} else if (c <= 2.65e+212) {
		tmp = 1.0;
	} else {
		tmp = t_1;
	}
	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) :: tmp
    t_1 = x / (x + (y * exp((2.0d0 * (a * c)))))
    if (c <= (-2.9d+40)) then
        tmp = t_1
    else if (c <= 2d+22) then
        tmp = x / (x + (y * exp((2.0d0 * (a * -b)))))
    else if (c <= 2.15d+198) then
        tmp = x / (x + (y * exp((c * 1.6666666666666667d0))))
    else if (c <= 2.65d+212) then
        tmp = 1.0d0
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
	double t_1 = x / (x + (y * Math.exp((2.0 * (a * c)))));
	double tmp;
	if (c <= -2.9e+40) {
		tmp = t_1;
	} else if (c <= 2e+22) {
		tmp = x / (x + (y * Math.exp((2.0 * (a * -b)))));
	} else if (c <= 2.15e+198) {
		tmp = x / (x + (y * Math.exp((c * 1.6666666666666667))));
	} else if (c <= 2.65e+212) {
		tmp = 1.0;
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	t_1 = x / (x + (y * math.exp((2.0 * (a * c)))))
	tmp = 0
	if c <= -2.9e+40:
		tmp = t_1
	elif c <= 2e+22:
		tmp = x / (x + (y * math.exp((2.0 * (a * -b)))))
	elif c <= 2.15e+198:
		tmp = x / (x + (y * math.exp((c * 1.6666666666666667))))
	elif c <= 2.65e+212:
		tmp = 1.0
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c)
	t_1 = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * c))))))
	tmp = 0.0
	if (c <= -2.9e+40)
		tmp = t_1;
	elseif (c <= 2e+22)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * Float64(-b)))))));
	elseif (c <= 2.15e+198)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(c * 1.6666666666666667)))));
	elseif (c <= 2.65e+212)
		tmp = 1.0;
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	t_1 = x / (x + (y * exp((2.0 * (a * c)))));
	tmp = 0.0;
	if (c <= -2.9e+40)
		tmp = t_1;
	elseif (c <= 2e+22)
		tmp = x / (x + (y * exp((2.0 * (a * -b)))));
	elseif (c <= 2.15e+198)
		tmp = x / (x + (y * exp((c * 1.6666666666666667))));
	elseif (c <= 2.65e+212)
		tmp = 1.0;
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -2.9e+40], t$95$1, If[LessEqual[c, 2e+22], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * (-b)), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.15e+198], N[(x / N[(x + N[(y * N[Exp[N[(c * 1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.65e+212], 1.0, t$95$1]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\
\mathbf{if}\;c \leq -2.9 \cdot 10^{+40}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;c \leq 2 \cdot 10^{+22}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(-b\right)\right)}}\\

\mathbf{elif}\;c \leq 2.15 \cdot 10^{+198}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\

\mathbf{elif}\;c \leq 2.65 \cdot 10^{+212}:\\
\;\;\;\;1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if c < -2.90000000000000017e40 or 2.64999999999999997e212 < c

    1. Initial program 88.6%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 79.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative79.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/79.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval79.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified79.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in a around inf 59.5%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(a \cdot c\right)}}} \]

    if -2.90000000000000017e40 < c < 2e22

    1. Initial program 95.7%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 80.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/80.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval80.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative80.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified80.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in a around inf 65.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(-1 \cdot \left(a \cdot b\right)\right)}}} \]
    7. Step-by-step derivation
      1. associate-*r*65.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(-1 \cdot a\right) \cdot b\right)}}} \]
      2. mul-1-neg65.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(-a\right)} \cdot b\right)}} \]
    8. Simplified65.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(-a\right) \cdot b\right)}}} \]

    if 2e22 < c < 2.14999999999999991e198

    1. Initial program 96.9%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 75.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative75.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/75.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval75.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified75.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in t around inf 81.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
    7. Step-by-step derivation
      1. *-commutative81.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
    8. Simplified81.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
    9. Taylor expanded in a around 0 81.8%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{e^{1.6666666666666667 \cdot c}}} \]

    if 2.14999999999999991e198 < c < 2.64999999999999997e212

    1. Initial program 80.0%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 61.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/61.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval61.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative61.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified61.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 21.9%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]
    7. Taylor expanded in x around inf 100.0%

      \[\leadsto \color{blue}{1} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification66.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -2.9 \cdot 10^{+40}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\ \mathbf{elif}\;c \leq 2 \cdot 10^{+22}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(-b\right)\right)}}\\ \mathbf{elif}\;c \leq 2.15 \cdot 10^{+198}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\ \mathbf{elif}\;c \leq 2.65 \cdot 10^{+212}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 8: 50.1% accurate, 1.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;a \leq -2.4 \cdot 10^{-103}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \frac{c \cdot -0.6666666666666666 + c \cdot \left(t \cdot \left(a + 0.8333333333333334\right)\right)}{t} + 1\right)}\\ \mathbf{elif}\;a \leq 2.6 \cdot 10^{-46}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(a \cdot \left(\frac{\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} + -0.8333333333333334\right)}{a} - b \cdot y\right)\right)\right)}\\ \mathbf{elif}\;a \leq 6.4 \cdot 10^{+76}:\\ \;\;\;\;\frac{x}{x + c \cdot \left(\frac{y}{c} - -2 \cdot \left(y \cdot \left(a + \left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right)\right)\right)\right)}\\ \mathbf{elif}\;a \leq 4.2 \cdot 10^{+94}:\\ \;\;\;\;\frac{x}{x + y}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= a -2.4e-103)
   (/
    x
    (+
     x
     (*
      y
      (+
       (*
        2.0
        (/
         (+ (* c -0.6666666666666666) (* c (* t (+ a 0.8333333333333334))))
         t))
       1.0))))
   (if (<= a 2.6e-46)
     (/
      x
      (+
       x
       (+
        y
        (*
         2.0
         (*
          a
          (-
           (/ (* (* b y) (+ (/ 0.6666666666666666 t) -0.8333333333333334)) a)
           (* b y)))))))
     (if (<= a 6.4e+76)
       (/
        x
        (+
         x
         (*
          c
          (-
           (/ y c)
           (*
            -2.0
            (* y (+ a (+ 0.8333333333333334 (/ -0.6666666666666666 t)))))))))
       (if (<= a 4.2e+94)
         (/ x (+ x y))
         (/ x (+ x (* y (exp (* 2.0 (* a c)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (a <= -2.4e-103) {
		tmp = x / (x + (y * ((2.0 * (((c * -0.6666666666666666) + (c * (t * (a + 0.8333333333333334)))) / t)) + 1.0)));
	} else if (a <= 2.6e-46) {
		tmp = x / (x + (y + (2.0 * (a * ((((b * y) * ((0.6666666666666666 / t) + -0.8333333333333334)) / a) - (b * y))))));
	} else if (a <= 6.4e+76) {
		tmp = x / (x + (c * ((y / c) - (-2.0 * (y * (a + (0.8333333333333334 + (-0.6666666666666666 / t))))))));
	} else if (a <= 4.2e+94) {
		tmp = x / (x + y);
	} else {
		tmp = x / (x + (y * exp((2.0 * (a * c)))));
	}
	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) :: tmp
    if (a <= (-2.4d-103)) then
        tmp = x / (x + (y * ((2.0d0 * (((c * (-0.6666666666666666d0)) + (c * (t * (a + 0.8333333333333334d0)))) / t)) + 1.0d0)))
    else if (a <= 2.6d-46) then
        tmp = x / (x + (y + (2.0d0 * (a * ((((b * y) * ((0.6666666666666666d0 / t) + (-0.8333333333333334d0))) / a) - (b * y))))))
    else if (a <= 6.4d+76) then
        tmp = x / (x + (c * ((y / c) - ((-2.0d0) * (y * (a + (0.8333333333333334d0 + ((-0.6666666666666666d0) / t))))))))
    else if (a <= 4.2d+94) then
        tmp = x / (x + y)
    else
        tmp = x / (x + (y * exp((2.0d0 * (a * c)))))
    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 tmp;
	if (a <= -2.4e-103) {
		tmp = x / (x + (y * ((2.0 * (((c * -0.6666666666666666) + (c * (t * (a + 0.8333333333333334)))) / t)) + 1.0)));
	} else if (a <= 2.6e-46) {
		tmp = x / (x + (y + (2.0 * (a * ((((b * y) * ((0.6666666666666666 / t) + -0.8333333333333334)) / a) - (b * y))))));
	} else if (a <= 6.4e+76) {
		tmp = x / (x + (c * ((y / c) - (-2.0 * (y * (a + (0.8333333333333334 + (-0.6666666666666666 / t))))))));
	} else if (a <= 4.2e+94) {
		tmp = x / (x + y);
	} else {
		tmp = x / (x + (y * Math.exp((2.0 * (a * c)))));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if a <= -2.4e-103:
		tmp = x / (x + (y * ((2.0 * (((c * -0.6666666666666666) + (c * (t * (a + 0.8333333333333334)))) / t)) + 1.0)))
	elif a <= 2.6e-46:
		tmp = x / (x + (y + (2.0 * (a * ((((b * y) * ((0.6666666666666666 / t) + -0.8333333333333334)) / a) - (b * y))))))
	elif a <= 6.4e+76:
		tmp = x / (x + (c * ((y / c) - (-2.0 * (y * (a + (0.8333333333333334 + (-0.6666666666666666 / t))))))))
	elif a <= 4.2e+94:
		tmp = x / (x + y)
	else:
		tmp = x / (x + (y * math.exp((2.0 * (a * c)))))
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (a <= -2.4e-103)
		tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(Float64(Float64(c * -0.6666666666666666) + Float64(c * Float64(t * Float64(a + 0.8333333333333334)))) / t)) + 1.0))));
	elseif (a <= 2.6e-46)
		tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(a * Float64(Float64(Float64(Float64(b * y) * Float64(Float64(0.6666666666666666 / t) + -0.8333333333333334)) / a) - Float64(b * y)))))));
	elseif (a <= 6.4e+76)
		tmp = Float64(x / Float64(x + Float64(c * Float64(Float64(y / c) - Float64(-2.0 * Float64(y * Float64(a + Float64(0.8333333333333334 + Float64(-0.6666666666666666 / t)))))))));
	elseif (a <= 4.2e+94)
		tmp = Float64(x / Float64(x + y));
	else
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * c))))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (a <= -2.4e-103)
		tmp = x / (x + (y * ((2.0 * (((c * -0.6666666666666666) + (c * (t * (a + 0.8333333333333334)))) / t)) + 1.0)));
	elseif (a <= 2.6e-46)
		tmp = x / (x + (y + (2.0 * (a * ((((b * y) * ((0.6666666666666666 / t) + -0.8333333333333334)) / a) - (b * y))))));
	elseif (a <= 6.4e+76)
		tmp = x / (x + (c * ((y / c) - (-2.0 * (y * (a + (0.8333333333333334 + (-0.6666666666666666 / t))))))));
	elseif (a <= 4.2e+94)
		tmp = x / (x + y);
	else
		tmp = x / (x + (y * exp((2.0 * (a * c)))));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[a, -2.4e-103], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(N[(N[(c * -0.6666666666666666), $MachinePrecision] + N[(c * N[(t * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.6e-46], N[(x / N[(x + N[(y + N[(2.0 * N[(a * N[(N[(N[(N[(b * y), $MachinePrecision] * N[(N[(0.6666666666666666 / t), $MachinePrecision] + -0.8333333333333334), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision] - N[(b * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 6.4e+76], N[(x / N[(x + N[(c * N[(N[(y / c), $MachinePrecision] - N[(-2.0 * N[(y * N[(a + N[(0.8333333333333334 + N[(-0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 4.2e+94], N[(x / N[(x + y), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;a \leq -2.4 \cdot 10^{-103}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \frac{c \cdot -0.6666666666666666 + c \cdot \left(t \cdot \left(a + 0.8333333333333334\right)\right)}{t} + 1\right)}\\

\mathbf{elif}\;a \leq 2.6 \cdot 10^{-46}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(a \cdot \left(\frac{\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} + -0.8333333333333334\right)}{a} - b \cdot y\right)\right)\right)}\\

\mathbf{elif}\;a \leq 6.4 \cdot 10^{+76}:\\
\;\;\;\;\frac{x}{x + c \cdot \left(\frac{y}{c} - -2 \cdot \left(y \cdot \left(a + \left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right)\right)\right)\right)}\\

\mathbf{elif}\;a \leq 4.2 \cdot 10^{+94}:\\
\;\;\;\;\frac{x}{x + y}\\

\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if a < -2.4000000000000002e-103

    1. Initial program 92.0%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 65.0%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative65.0%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/65.0%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval65.0%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified65.0%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in c around 0 38.0%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)}} \]
    7. Step-by-step derivation
      1. associate-*r*38.0%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{\left(2 \cdot c\right) \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)}\right)} \]
      2. +-commutative38.0%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)} \]
      3. associate-*r/38.0%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)} \]
      4. metadata-eval38.0%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)} \]
      5. associate-+r-38.0%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \color{blue}{\left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)}\right)} \]
      6. associate-*r*38.0%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)}\right)} \]
    8. Simplified38.0%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)\right)}} \]
    9. Taylor expanded in t around 0 57.3%

      \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \color{blue}{\frac{-0.6666666666666666 \cdot c + c \cdot \left(t \cdot \left(0.8333333333333334 + a\right)\right)}{t}}\right)} \]

    if -2.4000000000000002e-103 < a < 2.6000000000000002e-46

    1. Initial program 97.8%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 76.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/76.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval76.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative76.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified76.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 58.0%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)\right)}} \]
    7. Taylor expanded in a around inf 60.8%

      \[\leadsto \frac{x}{x + \left(y + 2 \cdot \color{blue}{\left(a \cdot \left(-1 \cdot \left(b \cdot y\right) + \frac{b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - 0.8333333333333334\right)\right)}{a}\right)\right)}\right)} \]
    8. Step-by-step derivation
      1. +-commutative60.8%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(a \cdot \color{blue}{\left(\frac{b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - 0.8333333333333334\right)\right)}{a} + -1 \cdot \left(b \cdot y\right)\right)}\right)\right)} \]
      2. mul-1-neg60.8%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(a \cdot \left(\frac{b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - 0.8333333333333334\right)\right)}{a} + \color{blue}{\left(-b \cdot y\right)}\right)\right)\right)} \]
      3. unsub-neg60.8%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(a \cdot \color{blue}{\left(\frac{b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - 0.8333333333333334\right)\right)}{a} - b \cdot y\right)}\right)\right)} \]
      4. associate-*r*61.3%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(a \cdot \left(\frac{\color{blue}{\left(b \cdot y\right) \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - 0.8333333333333334\right)}}{a} - b \cdot y\right)\right)\right)} \]
      5. sub-neg61.3%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(a \cdot \left(\frac{\left(b \cdot y\right) \cdot \color{blue}{\left(0.6666666666666666 \cdot \frac{1}{t} + \left(-0.8333333333333334\right)\right)}}{a} - b \cdot y\right)\right)\right)} \]
      6. associate-*r/61.3%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(a \cdot \left(\frac{\left(b \cdot y\right) \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} + \left(-0.8333333333333334\right)\right)}{a} - b \cdot y\right)\right)\right)} \]
      7. metadata-eval61.3%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(a \cdot \left(\frac{\left(b \cdot y\right) \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} + \left(-0.8333333333333334\right)\right)}{a} - b \cdot y\right)\right)\right)} \]
      8. metadata-eval61.3%

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

      \[\leadsto \frac{x}{x + \left(y + 2 \cdot \color{blue}{\left(a \cdot \left(\frac{\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} + -0.8333333333333334\right)}{a} - b \cdot y\right)\right)}\right)} \]

    if 2.6000000000000002e-46 < a < 6.39999999999999953e76

    1. Initial program 95.5%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 54.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative54.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/54.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval54.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified54.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in c around 0 44.5%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)}} \]
    7. Step-by-step derivation
      1. associate-*r*44.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{\left(2 \cdot c\right) \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)}\right)} \]
      2. +-commutative44.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)} \]
      3. associate-*r/44.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)} \]
      4. metadata-eval44.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)} \]
      5. associate-+r-44.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \color{blue}{\left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)}\right)} \]
      6. associate-*r*44.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)}\right)} \]
    8. Simplified44.5%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)\right)}} \]
    9. Taylor expanded in c around -inf 53.1%

      \[\leadsto \frac{x}{x + \color{blue}{-1 \cdot \left(c \cdot \left(-2 \cdot \left(y \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right) + -1 \cdot \frac{y}{c}\right)\right)}} \]
    10. Step-by-step derivation
      1. associate-*r*53.1%

        \[\leadsto \frac{x}{x + \color{blue}{\left(-1 \cdot c\right) \cdot \left(-2 \cdot \left(y \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right) + -1 \cdot \frac{y}{c}\right)}} \]
      2. mul-1-neg53.1%

        \[\leadsto \frac{x}{x + \color{blue}{\left(-c\right)} \cdot \left(-2 \cdot \left(y \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right) + -1 \cdot \frac{y}{c}\right)} \]
      3. mul-1-neg53.1%

        \[\leadsto \frac{x}{x + \left(-c\right) \cdot \left(-2 \cdot \left(y \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right) + \color{blue}{\left(-\frac{y}{c}\right)}\right)} \]
      4. unsub-neg53.1%

        \[\leadsto \frac{x}{x + \left(-c\right) \cdot \color{blue}{\left(-2 \cdot \left(y \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right) - \frac{y}{c}\right)}} \]
      5. +-commutative53.1%

        \[\leadsto \frac{x}{x + \left(-c\right) \cdot \left(-2 \cdot \left(y \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right) - \frac{y}{c}\right)} \]
      6. associate-*r/53.1%

        \[\leadsto \frac{x}{x + \left(-c\right) \cdot \left(-2 \cdot \left(y \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right) - \frac{y}{c}\right)} \]
      7. metadata-eval53.1%

        \[\leadsto \frac{x}{x + \left(-c\right) \cdot \left(-2 \cdot \left(y \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right) - \frac{y}{c}\right)} \]
      8. associate-+r-53.1%

        \[\leadsto \frac{x}{x + \left(-c\right) \cdot \left(-2 \cdot \left(y \cdot \color{blue}{\left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)}\right) - \frac{y}{c}\right)} \]
      9. sub-neg53.1%

        \[\leadsto \frac{x}{x + \left(-c\right) \cdot \left(-2 \cdot \left(y \cdot \left(a + \color{blue}{\left(0.8333333333333334 + \left(-\frac{0.6666666666666666}{t}\right)\right)}\right)\right) - \frac{y}{c}\right)} \]
      10. distribute-neg-frac53.1%

        \[\leadsto \frac{x}{x + \left(-c\right) \cdot \left(-2 \cdot \left(y \cdot \left(a + \left(0.8333333333333334 + \color{blue}{\frac{-0.6666666666666666}{t}}\right)\right)\right) - \frac{y}{c}\right)} \]
      11. metadata-eval53.1%

        \[\leadsto \frac{x}{x + \left(-c\right) \cdot \left(-2 \cdot \left(y \cdot \left(a + \left(0.8333333333333334 + \frac{\color{blue}{-0.6666666666666666}}{t}\right)\right)\right) - \frac{y}{c}\right)} \]
    11. Simplified53.1%

      \[\leadsto \frac{x}{x + \color{blue}{\left(-c\right) \cdot \left(-2 \cdot \left(y \cdot \left(a + \left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right)\right)\right) - \frac{y}{c}\right)}} \]

    if 6.39999999999999953e76 < a < 4.19999999999999979e94

    1. Initial program 100.0%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 83.9%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/83.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval83.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative83.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified83.9%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 100.0%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]

    if 4.19999999999999979e94 < a

    1. Initial program 87.8%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 68.9%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative68.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/68.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval68.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified68.9%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in a around inf 66.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(a \cdot c\right)}}} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification62.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -2.4 \cdot 10^{-103}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \frac{c \cdot -0.6666666666666666 + c \cdot \left(t \cdot \left(a + 0.8333333333333334\right)\right)}{t} + 1\right)}\\ \mathbf{elif}\;a \leq 2.6 \cdot 10^{-46}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(a \cdot \left(\frac{\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} + -0.8333333333333334\right)}{a} - b \cdot y\right)\right)\right)}\\ \mathbf{elif}\;a \leq 6.4 \cdot 10^{+76}:\\ \;\;\;\;\frac{x}{x + c \cdot \left(\frac{y}{c} - -2 \cdot \left(y \cdot \left(a + \left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right)\right)\right)\right)}\\ \mathbf{elif}\;a \leq 4.2 \cdot 10^{+94}:\\ \;\;\;\;\frac{x}{x + y}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 9: 79.3% accurate, 1.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -2.4 \cdot 10^{+106} \lor \neg \left(b \leq 1.4 \cdot 10^{+35}\right):\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (or (<= b -2.4e+106) (not (<= b 1.4e+35)))
   (/
    x
    (+
     x
     (*
      y
      (exp
       (* 2.0 (* b (- (/ 0.6666666666666666 t) (+ a 0.8333333333333334))))))))
   (/
    x
    (+
     x
     (*
      y
      (exp
       (*
        2.0
        (* c (- (+ a 0.8333333333333334) (/ 0.6666666666666666 t))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if ((b <= -2.4e+106) || !(b <= 1.4e+35)) {
		tmp = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
	} else {
		tmp = x / (x + (y * exp((2.0 * (c * ((a + 0.8333333333333334) - (0.6666666666666666 / t)))))));
	}
	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) :: tmp
    if ((b <= (-2.4d+106)) .or. (.not. (b <= 1.4d+35))) then
        tmp = x / (x + (y * exp((2.0d0 * (b * ((0.6666666666666666d0 / t) - (a + 0.8333333333333334d0)))))))
    else
        tmp = x / (x + (y * exp((2.0d0 * (c * ((a + 0.8333333333333334d0) - (0.6666666666666666d0 / t)))))))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if ((b <= -2.4e+106) || !(b <= 1.4e+35)) {
		tmp = x / (x + (y * Math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
	} else {
		tmp = x / (x + (y * Math.exp((2.0 * (c * ((a + 0.8333333333333334) - (0.6666666666666666 / t)))))));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if (b <= -2.4e+106) or not (b <= 1.4e+35):
		tmp = x / (x + (y * math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))))
	else:
		tmp = x / (x + (y * math.exp((2.0 * (c * ((a + 0.8333333333333334) - (0.6666666666666666 / t)))))))
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if ((b <= -2.4e+106) || !(b <= 1.4e+35))
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(b * Float64(Float64(0.6666666666666666 / t) - Float64(a + 0.8333333333333334))))))));
	else
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(c * Float64(Float64(a + 0.8333333333333334) - Float64(0.6666666666666666 / t))))))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if ((b <= -2.4e+106) || ~((b <= 1.4e+35)))
		tmp = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
	else
		tmp = x / (x + (y * exp((2.0 * (c * ((a + 0.8333333333333334) - (0.6666666666666666 / t)))))));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[Or[LessEqual[b, -2.4e+106], N[Not[LessEqual[b, 1.4e+35]], $MachinePrecision]], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(b * N[(N[(0.6666666666666666 / t), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(c * N[(N[(a + 0.8333333333333334), $MachinePrecision] - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -2.4 \cdot 10^{+106} \lor \neg \left(b \leq 1.4 \cdot 10^{+35}\right):\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\

\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if b < -2.4000000000000001e106 or 1.39999999999999999e35 < b

    1. Initial program 87.6%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 88.9%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/88.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval88.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative88.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified88.9%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]

    if -2.4000000000000001e106 < b < 1.39999999999999999e35

    1. Initial program 97.4%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 75.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative75.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/75.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval75.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified75.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification81.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.4 \cdot 10^{+106} \lor \neg \left(b \leq 1.4 \cdot 10^{+35}\right):\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 10: 51.5% accurate, 5.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -1.16 \cdot 10^{-52}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(b \cdot \frac{y \cdot 0.6666666666666666 - t \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)}{t}\right)\right)}\\ \mathbf{elif}\;b \leq -5.4 \cdot 10^{-223} \lor \neg \left(b \leq 8 \cdot 10^{-303}\right) \land b \leq 2.1 \cdot 10^{-215}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{0.6666666666666666}{t}}{a}\right)\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= b -1.16e-52)
   (/
    x
    (+
     x
     (+
      y
      (*
       2.0
       (*
        b
        (/
         (- (* y 0.6666666666666666) (* t (* y (+ a 0.8333333333333334))))
         t))))))
   (if (or (<= b -5.4e-223) (and (not (<= b 8e-303)) (<= b 2.1e-215)))
     (/
      x
      (+
       x
       (*
        y
        (+
         (*
          2.0
          (*
           a
           (+ c (* c (/ (- 0.8333333333333334 (/ 0.6666666666666666 t)) a)))))
         1.0))))
     1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (b <= -1.16e-52) {
		tmp = x / (x + (y + (2.0 * (b * (((y * 0.6666666666666666) - (t * (y * (a + 0.8333333333333334)))) / t)))));
	} else if ((b <= -5.4e-223) || (!(b <= 8e-303) && (b <= 2.1e-215))) {
		tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	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) :: tmp
    if (b <= (-1.16d-52)) then
        tmp = x / (x + (y + (2.0d0 * (b * (((y * 0.6666666666666666d0) - (t * (y * (a + 0.8333333333333334d0)))) / t)))))
    else if ((b <= (-5.4d-223)) .or. (.not. (b <= 8d-303)) .and. (b <= 2.1d-215)) then
        tmp = x / (x + (y * ((2.0d0 * (a * (c + (c * ((0.8333333333333334d0 - (0.6666666666666666d0 / t)) / a))))) + 1.0d0)))
    else
        tmp = 1.0d0
    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 tmp;
	if (b <= -1.16e-52) {
		tmp = x / (x + (y + (2.0 * (b * (((y * 0.6666666666666666) - (t * (y * (a + 0.8333333333333334)))) / t)))));
	} else if ((b <= -5.4e-223) || (!(b <= 8e-303) && (b <= 2.1e-215))) {
		tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if b <= -1.16e-52:
		tmp = x / (x + (y + (2.0 * (b * (((y * 0.6666666666666666) - (t * (y * (a + 0.8333333333333334)))) / t)))))
	elif (b <= -5.4e-223) or (not (b <= 8e-303) and (b <= 2.1e-215)):
		tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)))
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (b <= -1.16e-52)
		tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(b * Float64(Float64(Float64(y * 0.6666666666666666) - Float64(t * Float64(y * Float64(a + 0.8333333333333334)))) / t))))));
	elseif ((b <= -5.4e-223) || (!(b <= 8e-303) && (b <= 2.1e-215)))
		tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(a * Float64(c + Float64(c * Float64(Float64(0.8333333333333334 - Float64(0.6666666666666666 / t)) / a))))) + 1.0))));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (b <= -1.16e-52)
		tmp = x / (x + (y + (2.0 * (b * (((y * 0.6666666666666666) - (t * (y * (a + 0.8333333333333334)))) / t)))));
	elseif ((b <= -5.4e-223) || (~((b <= 8e-303)) && (b <= 2.1e-215)))
		tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)));
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -1.16e-52], N[(x / N[(x + N[(y + N[(2.0 * N[(b * N[(N[(N[(y * 0.6666666666666666), $MachinePrecision] - N[(t * N[(y * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[b, -5.4e-223], And[N[Not[LessEqual[b, 8e-303]], $MachinePrecision], LessEqual[b, 2.1e-215]]], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(a * N[(c + N[(c * N[(N[(0.8333333333333334 - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.16 \cdot 10^{-52}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(b \cdot \frac{y \cdot 0.6666666666666666 - t \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)}{t}\right)\right)}\\

\mathbf{elif}\;b \leq -5.4 \cdot 10^{-223} \lor \neg \left(b \leq 8 \cdot 10^{-303}\right) \land b \leq 2.1 \cdot 10^{-215}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{0.6666666666666666}{t}}{a}\right)\right) + 1\right)}\\

\mathbf{else}:\\
\;\;\;\;1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -1.1599999999999999e-52

    1. Initial program 90.1%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 78.5%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/78.5%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval78.5%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative78.5%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified78.5%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 61.7%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)\right)}} \]
    7. Taylor expanded in t around 0 63.2%

      \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(b \cdot \color{blue}{\frac{-1 \cdot \left(t \cdot \left(y \cdot \left(0.8333333333333334 + a\right)\right)\right) + 0.6666666666666666 \cdot y}{t}}\right)\right)} \]

    if -1.1599999999999999e-52 < b < -5.39999999999999977e-223 or 7.99999999999999944e-303 < b < 2.1e-215

    1. Initial program 95.1%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 81.1%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative81.1%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/81.1%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval81.1%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified81.1%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in c around 0 58.2%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)}} \]
    7. Step-by-step derivation
      1. associate-*r*58.2%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{\left(2 \cdot c\right) \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)}\right)} \]
      2. +-commutative58.2%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)} \]
      3. associate-*r/58.2%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)} \]
      4. metadata-eval58.2%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)} \]
      5. associate-+r-58.2%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \color{blue}{\left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)}\right)} \]
      6. associate-*r*58.2%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)}\right)} \]
    8. Simplified58.2%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)\right)}} \]
    9. Taylor expanded in a around inf 62.9%

      \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \color{blue}{\left(a \cdot \left(c + \frac{c \cdot \left(0.8333333333333334 - 0.6666666666666666 \cdot \frac{1}{t}\right)}{a}\right)\right)}\right)} \]
    10. Step-by-step derivation
      1. associate-/l*66.1%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(a \cdot \left(c + \color{blue}{c \cdot \frac{0.8333333333333334 - 0.6666666666666666 \cdot \frac{1}{t}}{a}}\right)\right)\right)} \]
      2. associate-*r/66.1%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}}{a}\right)\right)\right)} \]
      3. metadata-eval66.1%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{\color{blue}{0.6666666666666666}}{t}}{a}\right)\right)\right)} \]
    11. Simplified66.1%

      \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \color{blue}{\left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{0.6666666666666666}{t}}{a}\right)\right)}\right)} \]

    if -5.39999999999999977e-223 < b < 7.99999999999999944e-303 or 2.1e-215 < b

    1. Initial program 94.7%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 71.5%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/71.5%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval71.5%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative71.5%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified71.5%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 34.7%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]
    7. Taylor expanded in x around inf 56.1%

      \[\leadsto \color{blue}{1} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification60.7%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.16 \cdot 10^{-52}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(b \cdot \frac{y \cdot 0.6666666666666666 - t \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)}{t}\right)\right)}\\ \mathbf{elif}\;b \leq -5.4 \cdot 10^{-223} \lor \neg \left(b \leq 8 \cdot 10^{-303}\right) \land b \leq 2.1 \cdot 10^{-215}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{0.6666666666666666}{t}}{a}\right)\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 11: 50.9% accurate, 5.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -4.4 \cdot 10^{-57}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(\frac{1}{t} \cdot 0.6666666666666666 - \left(a + 0.8333333333333334\right)\right)\right)\right)\right)}\\ \mathbf{elif}\;b \leq -1.56 \cdot 10^{-221} \lor \neg \left(b \leq 3.1 \cdot 10^{-303}\right) \land b \leq 2.5 \cdot 10^{-211}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{0.6666666666666666}{t}}{a}\right)\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= b -4.4e-57)
   (/
    x
    (+
     x
     (+
      y
      (*
       2.0
       (*
        b
        (*
         y
         (- (* (/ 1.0 t) 0.6666666666666666) (+ a 0.8333333333333334))))))))
   (if (or (<= b -1.56e-221) (and (not (<= b 3.1e-303)) (<= b 2.5e-211)))
     (/
      x
      (+
       x
       (*
        y
        (+
         (*
          2.0
          (*
           a
           (+ c (* c (/ (- 0.8333333333333334 (/ 0.6666666666666666 t)) a)))))
         1.0))))
     1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (b <= -4.4e-57) {
		tmp = x / (x + (y + (2.0 * (b * (y * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))))));
	} else if ((b <= -1.56e-221) || (!(b <= 3.1e-303) && (b <= 2.5e-211))) {
		tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	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) :: tmp
    if (b <= (-4.4d-57)) then
        tmp = x / (x + (y + (2.0d0 * (b * (y * (((1.0d0 / t) * 0.6666666666666666d0) - (a + 0.8333333333333334d0)))))))
    else if ((b <= (-1.56d-221)) .or. (.not. (b <= 3.1d-303)) .and. (b <= 2.5d-211)) then
        tmp = x / (x + (y * ((2.0d0 * (a * (c + (c * ((0.8333333333333334d0 - (0.6666666666666666d0 / t)) / a))))) + 1.0d0)))
    else
        tmp = 1.0d0
    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 tmp;
	if (b <= -4.4e-57) {
		tmp = x / (x + (y + (2.0 * (b * (y * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))))));
	} else if ((b <= -1.56e-221) || (!(b <= 3.1e-303) && (b <= 2.5e-211))) {
		tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if b <= -4.4e-57:
		tmp = x / (x + (y + (2.0 * (b * (y * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))))))
	elif (b <= -1.56e-221) or (not (b <= 3.1e-303) and (b <= 2.5e-211)):
		tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)))
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (b <= -4.4e-57)
		tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(b * Float64(y * Float64(Float64(Float64(1.0 / t) * 0.6666666666666666) - Float64(a + 0.8333333333333334))))))));
	elseif ((b <= -1.56e-221) || (!(b <= 3.1e-303) && (b <= 2.5e-211)))
		tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(a * Float64(c + Float64(c * Float64(Float64(0.8333333333333334 - Float64(0.6666666666666666 / t)) / a))))) + 1.0))));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (b <= -4.4e-57)
		tmp = x / (x + (y + (2.0 * (b * (y * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))))));
	elseif ((b <= -1.56e-221) || (~((b <= 3.1e-303)) && (b <= 2.5e-211)))
		tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)));
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -4.4e-57], N[(x / N[(x + N[(y + N[(2.0 * N[(b * N[(y * N[(N[(N[(1.0 / t), $MachinePrecision] * 0.6666666666666666), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[b, -1.56e-221], And[N[Not[LessEqual[b, 3.1e-303]], $MachinePrecision], LessEqual[b, 2.5e-211]]], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(a * N[(c + N[(c * N[(N[(0.8333333333333334 - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -4.4 \cdot 10^{-57}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(\frac{1}{t} \cdot 0.6666666666666666 - \left(a + 0.8333333333333334\right)\right)\right)\right)\right)}\\

\mathbf{elif}\;b \leq -1.56 \cdot 10^{-221} \lor \neg \left(b \leq 3.1 \cdot 10^{-303}\right) \land b \leq 2.5 \cdot 10^{-211}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{0.6666666666666666}{t}}{a}\right)\right) + 1\right)}\\

\mathbf{else}:\\
\;\;\;\;1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -4.39999999999999997e-57

    1. Initial program 90.1%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 78.5%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/78.5%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval78.5%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative78.5%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified78.5%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 61.7%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)\right)}} \]

    if -4.39999999999999997e-57 < b < -1.56e-221 or 3.1000000000000001e-303 < b < 2.5000000000000001e-211

    1. Initial program 95.0%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 80.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative80.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/80.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval80.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified80.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in c around 0 59.1%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)}} \]
    7. Step-by-step derivation
      1. associate-*r*59.1%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{\left(2 \cdot c\right) \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)}\right)} \]
      2. +-commutative59.1%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)} \]
      3. associate-*r/59.1%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)} \]
      4. metadata-eval59.1%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)} \]
      5. associate-+r-59.1%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \color{blue}{\left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)}\right)} \]
      6. associate-*r*59.1%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)}\right)} \]
    8. Simplified59.1%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)\right)}} \]
    9. Taylor expanded in a around inf 63.9%

      \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \color{blue}{\left(a \cdot \left(c + \frac{c \cdot \left(0.8333333333333334 - 0.6666666666666666 \cdot \frac{1}{t}\right)}{a}\right)\right)}\right)} \]
    10. Step-by-step derivation
      1. associate-/l*67.1%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(a \cdot \left(c + \color{blue}{c \cdot \frac{0.8333333333333334 - 0.6666666666666666 \cdot \frac{1}{t}}{a}}\right)\right)\right)} \]
      2. associate-*r/67.1%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}}{a}\right)\right)\right)} \]
      3. metadata-eval67.1%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{\color{blue}{0.6666666666666666}}{t}}{a}\right)\right)\right)} \]
    11. Simplified67.1%

      \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \color{blue}{\left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{0.6666666666666666}{t}}{a}\right)\right)}\right)} \]

    if -1.56e-221 < b < 3.1000000000000001e-303 or 2.5000000000000001e-211 < b

    1. Initial program 94.8%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 71.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/71.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval71.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative71.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified71.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 34.4%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]
    7. Taylor expanded in x around inf 55.6%

      \[\leadsto \color{blue}{1} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification60.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -4.4 \cdot 10^{-57}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(\frac{1}{t} \cdot 0.6666666666666666 - \left(a + 0.8333333333333334\right)\right)\right)\right)\right)}\\ \mathbf{elif}\;b \leq -1.56 \cdot 10^{-221} \lor \neg \left(b \leq 3.1 \cdot 10^{-303}\right) \land b \leq 2.5 \cdot 10^{-211}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{0.6666666666666666}{t}}{a}\right)\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 12: 51.7% accurate, 5.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -2.1 \cdot 10^{+59}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)\right)}\\ \mathbf{elif}\;b \leq -8.5 \cdot 10^{-171}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \frac{c \cdot -0.6666666666666666 + c \cdot \left(t \cdot \left(a + 0.8333333333333334\right)\right)}{t} + 1\right)}\\ \mathbf{elif}\;b \leq 2.55 \cdot 10^{-303}:\\ \;\;\;\;1\\ \mathbf{elif}\;b \leq 1.7 \cdot 10^{-213}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{0.6666666666666666}{t}}{a}\right)\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= b -2.1e+59)
   (/
    x
    (+
     x
     (+
      y
      (*
       2.0
       (* (* b y) (- (/ 0.6666666666666666 t) (+ a 0.8333333333333334)))))))
   (if (<= b -8.5e-171)
     (/
      x
      (+
       x
       (*
        y
        (+
         (*
          2.0
          (/
           (+ (* c -0.6666666666666666) (* c (* t (+ a 0.8333333333333334))))
           t))
         1.0))))
     (if (<= b 2.55e-303)
       1.0
       (if (<= b 1.7e-213)
         (/
          x
          (+
           x
           (*
            y
            (+
             (*
              2.0
              (*
               a
               (+
                c
                (* c (/ (- 0.8333333333333334 (/ 0.6666666666666666 t)) a)))))
             1.0))))
         1.0)))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (b <= -2.1e+59) {
		tmp = x / (x + (y + (2.0 * ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))));
	} else if (b <= -8.5e-171) {
		tmp = x / (x + (y * ((2.0 * (((c * -0.6666666666666666) + (c * (t * (a + 0.8333333333333334)))) / t)) + 1.0)));
	} else if (b <= 2.55e-303) {
		tmp = 1.0;
	} else if (b <= 1.7e-213) {
		tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	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) :: tmp
    if (b <= (-2.1d+59)) then
        tmp = x / (x + (y + (2.0d0 * ((b * y) * ((0.6666666666666666d0 / t) - (a + 0.8333333333333334d0))))))
    else if (b <= (-8.5d-171)) then
        tmp = x / (x + (y * ((2.0d0 * (((c * (-0.6666666666666666d0)) + (c * (t * (a + 0.8333333333333334d0)))) / t)) + 1.0d0)))
    else if (b <= 2.55d-303) then
        tmp = 1.0d0
    else if (b <= 1.7d-213) then
        tmp = x / (x + (y * ((2.0d0 * (a * (c + (c * ((0.8333333333333334d0 - (0.6666666666666666d0 / t)) / a))))) + 1.0d0)))
    else
        tmp = 1.0d0
    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 tmp;
	if (b <= -2.1e+59) {
		tmp = x / (x + (y + (2.0 * ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))));
	} else if (b <= -8.5e-171) {
		tmp = x / (x + (y * ((2.0 * (((c * -0.6666666666666666) + (c * (t * (a + 0.8333333333333334)))) / t)) + 1.0)));
	} else if (b <= 2.55e-303) {
		tmp = 1.0;
	} else if (b <= 1.7e-213) {
		tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if b <= -2.1e+59:
		tmp = x / (x + (y + (2.0 * ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))))
	elif b <= -8.5e-171:
		tmp = x / (x + (y * ((2.0 * (((c * -0.6666666666666666) + (c * (t * (a + 0.8333333333333334)))) / t)) + 1.0)))
	elif b <= 2.55e-303:
		tmp = 1.0
	elif b <= 1.7e-213:
		tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)))
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (b <= -2.1e+59)
		tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(Float64(b * y) * Float64(Float64(0.6666666666666666 / t) - Float64(a + 0.8333333333333334)))))));
	elseif (b <= -8.5e-171)
		tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(Float64(Float64(c * -0.6666666666666666) + Float64(c * Float64(t * Float64(a + 0.8333333333333334)))) / t)) + 1.0))));
	elseif (b <= 2.55e-303)
		tmp = 1.0;
	elseif (b <= 1.7e-213)
		tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(a * Float64(c + Float64(c * Float64(Float64(0.8333333333333334 - Float64(0.6666666666666666 / t)) / a))))) + 1.0))));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (b <= -2.1e+59)
		tmp = x / (x + (y + (2.0 * ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))));
	elseif (b <= -8.5e-171)
		tmp = x / (x + (y * ((2.0 * (((c * -0.6666666666666666) + (c * (t * (a + 0.8333333333333334)))) / t)) + 1.0)));
	elseif (b <= 2.55e-303)
		tmp = 1.0;
	elseif (b <= 1.7e-213)
		tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)));
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -2.1e+59], N[(x / N[(x + N[(y + N[(2.0 * N[(N[(b * y), $MachinePrecision] * N[(N[(0.6666666666666666 / t), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -8.5e-171], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(N[(N[(c * -0.6666666666666666), $MachinePrecision] + N[(c * N[(t * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.55e-303], 1.0, If[LessEqual[b, 1.7e-213], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(a * N[(c + N[(c * N[(N[(0.8333333333333334 - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -2.1 \cdot 10^{+59}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)\right)}\\

\mathbf{elif}\;b \leq -8.5 \cdot 10^{-171}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \frac{c \cdot -0.6666666666666666 + c \cdot \left(t \cdot \left(a + 0.8333333333333334\right)\right)}{t} + 1\right)}\\

\mathbf{elif}\;b \leq 2.55 \cdot 10^{-303}:\\
\;\;\;\;1\\

\mathbf{elif}\;b \leq 1.7 \cdot 10^{-213}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{0.6666666666666666}{t}}{a}\right)\right) + 1\right)}\\

\mathbf{else}:\\
\;\;\;\;1\\


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

    1. Initial program 86.4%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 81.9%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/81.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval81.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative81.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified81.9%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 64.1%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)\right)}} \]
    7. Step-by-step derivation
      1. associate-*r*64.1%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \color{blue}{\left(\left(b \cdot y\right) \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}\right)} \]
      2. associate-*r/64.1%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(\left(b \cdot y\right) \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)\right)} \]
      3. metadata-eval64.1%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(\left(b \cdot y\right) \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)} \]
    8. Simplified64.1%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)}} \]

    if -2.09999999999999984e59 < b < -8.50000000000000032e-171

    1. Initial program 100.0%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 76.9%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative76.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/76.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval76.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified76.9%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in c around 0 58.6%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)}} \]
    7. Step-by-step derivation
      1. associate-*r*58.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{\left(2 \cdot c\right) \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)}\right)} \]
      2. +-commutative58.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)} \]
      3. associate-*r/58.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)} \]
      4. metadata-eval58.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)} \]
      5. associate-+r-58.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \color{blue}{\left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)}\right)} \]
      6. associate-*r*58.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)}\right)} \]
    8. Simplified58.6%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)\right)}} \]
    9. Taylor expanded in t around 0 64.3%

      \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \color{blue}{\frac{-0.6666666666666666 \cdot c + c \cdot \left(t \cdot \left(0.8333333333333334 + a\right)\right)}{t}}\right)} \]

    if -8.50000000000000032e-171 < b < 2.55e-303 or 1.7000000000000001e-213 < b

    1. Initial program 94.4%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 70.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/70.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval70.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative70.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified70.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 33.7%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]
    7. Taylor expanded in x around inf 54.9%

      \[\leadsto \color{blue}{1} \]

    if 2.55e-303 < b < 1.7000000000000001e-213

    1. Initial program 91.3%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 83.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative83.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/83.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval83.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified83.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in c around 0 62.5%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)}} \]
    7. Step-by-step derivation
      1. associate-*r*62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{\left(2 \cdot c\right) \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)}\right)} \]
      2. +-commutative62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)} \]
      3. associate-*r/62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)} \]
      4. metadata-eval62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)} \]
      5. associate-+r-62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \color{blue}{\left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)}\right)} \]
      6. associate-*r*62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)}\right)} \]
    8. Simplified62.5%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)\right)}} \]
    9. Taylor expanded in a around inf 66.6%

      \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \color{blue}{\left(a \cdot \left(c + \frac{c \cdot \left(0.8333333333333334 - 0.6666666666666666 \cdot \frac{1}{t}\right)}{a}\right)\right)}\right)} \]
    10. Step-by-step derivation
      1. associate-/l*70.8%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(a \cdot \left(c + \color{blue}{c \cdot \frac{0.8333333333333334 - 0.6666666666666666 \cdot \frac{1}{t}}{a}}\right)\right)\right)} \]
      2. associate-*r/70.8%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}}{a}\right)\right)\right)} \]
      3. metadata-eval70.8%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{\color{blue}{0.6666666666666666}}{t}}{a}\right)\right)\right)} \]
    11. Simplified70.8%

      \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \color{blue}{\left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{0.6666666666666666}{t}}{a}\right)\right)}\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification60.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.1 \cdot 10^{+59}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)\right)}\\ \mathbf{elif}\;b \leq -8.5 \cdot 10^{-171}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \frac{c \cdot -0.6666666666666666 + c \cdot \left(t \cdot \left(a + 0.8333333333333334\right)\right)}{t} + 1\right)}\\ \mathbf{elif}\;b \leq 2.55 \cdot 10^{-303}:\\ \;\;\;\;1\\ \mathbf{elif}\;b \leq 1.7 \cdot 10^{-213}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{0.6666666666666666}{t}}{a}\right)\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 13: 50.8% accurate, 5.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -1.55 \cdot 10^{+202}:\\ \;\;\;\;\frac{x \cdot 0.5}{\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)}\\ \mathbf{elif}\;b \leq -9.2 \cdot 10^{+108}:\\ \;\;\;\;\frac{x}{x + \left(y - 2 \cdot \left(y \cdot \left(a \cdot b\right)\right)\right)}\\ \mathbf{elif}\;b \leq -1.62 \cdot 10^{-170}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(c \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)\right)\right)}\\ \mathbf{elif}\;b \leq 5.3 \cdot 10^{-303}:\\ \;\;\;\;1\\ \mathbf{elif}\;b \leq 1.3 \cdot 10^{-210}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= b -1.55e+202)
   (/
    (* x 0.5)
    (* (* b y) (- (/ 0.6666666666666666 t) (+ a 0.8333333333333334))))
   (if (<= b -9.2e+108)
     (/ x (+ x (- y (* 2.0 (* y (* a b))))))
     (if (<= b -1.62e-170)
       (/ x (+ x (+ y (* 2.0 (* c (* y (+ a 0.8333333333333334)))))))
       (if (<= b 5.3e-303)
         1.0
         (if (<= b 1.3e-210)
           (/
            x
            (+
             x
             (*
              y
              (+
               (* 2.0 (* c (- 0.8333333333333334 (/ 0.6666666666666666 t))))
               1.0))))
           1.0))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (b <= -1.55e+202) {
		tmp = (x * 0.5) / ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334)));
	} else if (b <= -9.2e+108) {
		tmp = x / (x + (y - (2.0 * (y * (a * b)))));
	} else if (b <= -1.62e-170) {
		tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334))))));
	} else if (b <= 5.3e-303) {
		tmp = 1.0;
	} else if (b <= 1.3e-210) {
		tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	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) :: tmp
    if (b <= (-1.55d+202)) then
        tmp = (x * 0.5d0) / ((b * y) * ((0.6666666666666666d0 / t) - (a + 0.8333333333333334d0)))
    else if (b <= (-9.2d+108)) then
        tmp = x / (x + (y - (2.0d0 * (y * (a * b)))))
    else if (b <= (-1.62d-170)) then
        tmp = x / (x + (y + (2.0d0 * (c * (y * (a + 0.8333333333333334d0))))))
    else if (b <= 5.3d-303) then
        tmp = 1.0d0
    else if (b <= 1.3d-210) then
        tmp = x / (x + (y * ((2.0d0 * (c * (0.8333333333333334d0 - (0.6666666666666666d0 / t)))) + 1.0d0)))
    else
        tmp = 1.0d0
    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 tmp;
	if (b <= -1.55e+202) {
		tmp = (x * 0.5) / ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334)));
	} else if (b <= -9.2e+108) {
		tmp = x / (x + (y - (2.0 * (y * (a * b)))));
	} else if (b <= -1.62e-170) {
		tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334))))));
	} else if (b <= 5.3e-303) {
		tmp = 1.0;
	} else if (b <= 1.3e-210) {
		tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if b <= -1.55e+202:
		tmp = (x * 0.5) / ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))
	elif b <= -9.2e+108:
		tmp = x / (x + (y - (2.0 * (y * (a * b)))))
	elif b <= -1.62e-170:
		tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334))))))
	elif b <= 5.3e-303:
		tmp = 1.0
	elif b <= 1.3e-210:
		tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)))
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (b <= -1.55e+202)
		tmp = Float64(Float64(x * 0.5) / Float64(Float64(b * y) * Float64(Float64(0.6666666666666666 / t) - Float64(a + 0.8333333333333334))));
	elseif (b <= -9.2e+108)
		tmp = Float64(x / Float64(x + Float64(y - Float64(2.0 * Float64(y * Float64(a * b))))));
	elseif (b <= -1.62e-170)
		tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(c * Float64(y * Float64(a + 0.8333333333333334)))))));
	elseif (b <= 5.3e-303)
		tmp = 1.0;
	elseif (b <= 1.3e-210)
		tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(c * Float64(0.8333333333333334 - Float64(0.6666666666666666 / t)))) + 1.0))));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (b <= -1.55e+202)
		tmp = (x * 0.5) / ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334)));
	elseif (b <= -9.2e+108)
		tmp = x / (x + (y - (2.0 * (y * (a * b)))));
	elseif (b <= -1.62e-170)
		tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334))))));
	elseif (b <= 5.3e-303)
		tmp = 1.0;
	elseif (b <= 1.3e-210)
		tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -1.55e+202], N[(N[(x * 0.5), $MachinePrecision] / N[(N[(b * y), $MachinePrecision] * N[(N[(0.6666666666666666 / t), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -9.2e+108], N[(x / N[(x + N[(y - N[(2.0 * N[(y * N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -1.62e-170], N[(x / N[(x + N[(y + N[(2.0 * N[(c * N[(y * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 5.3e-303], 1.0, If[LessEqual[b, 1.3e-210], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(c * N[(0.8333333333333334 - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.55 \cdot 10^{+202}:\\
\;\;\;\;\frac{x \cdot 0.5}{\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)}\\

\mathbf{elif}\;b \leq -9.2 \cdot 10^{+108}:\\
\;\;\;\;\frac{x}{x + \left(y - 2 \cdot \left(y \cdot \left(a \cdot b\right)\right)\right)}\\

\mathbf{elif}\;b \leq -1.62 \cdot 10^{-170}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(c \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)\right)\right)}\\

\mathbf{elif}\;b \leq 5.3 \cdot 10^{-303}:\\
\;\;\;\;1\\

\mathbf{elif}\;b \leq 1.3 \cdot 10^{-210}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right) + 1\right)}\\

\mathbf{else}:\\
\;\;\;\;1\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if b < -1.54999999999999996e202

    1. Initial program 85.2%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 89.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/89.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval89.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative89.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified89.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 75.0%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)\right)}} \]
    7. Taylor expanded in b around inf 75.0%

      \[\leadsto \color{blue}{0.5 \cdot \frac{x}{b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
    8. Step-by-step derivation
      1. associate-*r/75.0%

        \[\leadsto \color{blue}{\frac{0.5 \cdot x}{b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. associate-*r*75.0%

        \[\leadsto \frac{0.5 \cdot x}{\color{blue}{\left(b \cdot y\right) \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)}} \]
      3. associate-*r/75.0%

        \[\leadsto \frac{0.5 \cdot x}{\left(b \cdot y\right) \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)} \]
      4. metadata-eval75.0%

        \[\leadsto \frac{0.5 \cdot x}{\left(b \cdot y\right) \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)} \]
    9. Simplified75.0%

      \[\leadsto \color{blue}{\frac{0.5 \cdot x}{\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} - \left(0.8333333333333334 + a\right)\right)}} \]

    if -1.54999999999999996e202 < b < -9.1999999999999996e108

    1. Initial program 83.3%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 79.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/79.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval79.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative79.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified79.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 52.0%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)\right)}} \]
    7. Taylor expanded in a around inf 51.9%

      \[\leadsto \frac{x}{x + \left(y + 2 \cdot \color{blue}{\left(-1 \cdot \left(a \cdot \left(b \cdot y\right)\right)\right)}\right)} \]
    8. Step-by-step derivation
      1. mul-1-neg51.9%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \color{blue}{\left(-a \cdot \left(b \cdot y\right)\right)}\right)} \]
      2. associate-*r*63.9%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(-\color{blue}{\left(a \cdot b\right) \cdot y}\right)\right)} \]
      3. distribute-rgt-neg-in63.9%

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

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(\color{blue}{\left(b \cdot a\right)} \cdot \left(-y\right)\right)\right)} \]
    9. Simplified63.9%

      \[\leadsto \frac{x}{x + \left(y + 2 \cdot \color{blue}{\left(\left(b \cdot a\right) \cdot \left(-y\right)\right)}\right)} \]

    if -9.1999999999999996e108 < b < -1.62e-170

    1. Initial program 100.0%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 76.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative76.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/76.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval76.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified76.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in t around inf 63.5%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
    7. Step-by-step derivation
      1. *-commutative63.5%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
    8. Simplified63.5%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
    9. Taylor expanded in c around 0 57.0%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(c \cdot \left(y \cdot \left(0.8333333333333334 + a\right)\right)\right)\right)}} \]

    if -1.62e-170 < b < 5.2999999999999999e-303 or 1.2999999999999999e-210 < b

    1. Initial program 94.4%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 70.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/70.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval70.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative70.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified70.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 33.7%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]
    7. Taylor expanded in x around inf 54.9%

      \[\leadsto \color{blue}{1} \]

    if 5.2999999999999999e-303 < b < 1.2999999999999999e-210

    1. Initial program 91.3%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 83.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative83.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/83.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval83.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified83.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in c around 0 62.5%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)}} \]
    7. Step-by-step derivation
      1. associate-*r*62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{\left(2 \cdot c\right) \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)}\right)} \]
      2. +-commutative62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)} \]
      3. associate-*r/62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)} \]
      4. metadata-eval62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)} \]
      5. associate-+r-62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \color{blue}{\left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)}\right)} \]
      6. associate-*r*62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)}\right)} \]
    8. Simplified62.5%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)\right)}} \]
    9. Taylor expanded in a around 0 62.6%

      \[\leadsto \frac{x}{x + \color{blue}{y \cdot \left(1 + 2 \cdot \left(c \cdot \left(0.8333333333333334 - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)}} \]
    10. Step-by-step derivation
      1. sub-neg62.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(c \cdot \color{blue}{\left(0.8333333333333334 + \left(-0.6666666666666666 \cdot \frac{1}{t}\right)\right)}\right)\right)} \]
      2. associate-*r/62.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(c \cdot \left(0.8333333333333334 + \left(-\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)\right)\right)} \]
      3. metadata-eval62.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(c \cdot \left(0.8333333333333334 + \left(-\frac{\color{blue}{0.6666666666666666}}{t}\right)\right)\right)\right)} \]
      4. sub-neg62.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(c \cdot \color{blue}{\left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)}\right)\right)} \]
    11. Simplified62.6%

      \[\leadsto \frac{x}{x + \color{blue}{y \cdot \left(1 + 2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)}} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification59.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.55 \cdot 10^{+202}:\\ \;\;\;\;\frac{x \cdot 0.5}{\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)}\\ \mathbf{elif}\;b \leq -9.2 \cdot 10^{+108}:\\ \;\;\;\;\frac{x}{x + \left(y - 2 \cdot \left(y \cdot \left(a \cdot b\right)\right)\right)}\\ \mathbf{elif}\;b \leq -1.62 \cdot 10^{-170}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(c \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)\right)\right)}\\ \mathbf{elif}\;b \leq 5.3 \cdot 10^{-303}:\\ \;\;\;\;1\\ \mathbf{elif}\;b \leq 1.3 \cdot 10^{-210}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 14: 50.9% accurate, 5.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -1.12 \cdot 10^{+203}:\\ \;\;\;\;\frac{x \cdot 0.5}{\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)}\\ \mathbf{elif}\;b \leq -4 \cdot 10^{+108}:\\ \;\;\;\;\frac{x}{x + \left(y - 2 \cdot \left(y \cdot \left(a \cdot b\right)\right)\right)}\\ \mathbf{elif}\;b \leq -4.5 \cdot 10^{-171}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(c \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)\right)\right)}\\ \mathbf{elif}\;b \leq 3.8 \cdot 10^{-303}:\\ \;\;\;\;1\\ \mathbf{elif}\;b \leq 5.6 \cdot 10^{-217}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= b -1.12e+203)
   (/
    (* x 0.5)
    (* (* b y) (- (/ 0.6666666666666666 t) (+ a 0.8333333333333334))))
   (if (<= b -4e+108)
     (/ x (+ x (- y (* 2.0 (* y (* a b))))))
     (if (<= b -4.5e-171)
       (/ x (+ x (+ y (* 2.0 (* c (* y (+ a 0.8333333333333334)))))))
       (if (<= b 3.8e-303)
         1.0
         (if (<= b 5.6e-217)
           (/ x (+ x (* y (+ (* 2.0 (* c (+ a 0.8333333333333334))) 1.0))))
           1.0))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (b <= -1.12e+203) {
		tmp = (x * 0.5) / ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334)));
	} else if (b <= -4e+108) {
		tmp = x / (x + (y - (2.0 * (y * (a * b)))));
	} else if (b <= -4.5e-171) {
		tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334))))));
	} else if (b <= 3.8e-303) {
		tmp = 1.0;
	} else if (b <= 5.6e-217) {
		tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	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) :: tmp
    if (b <= (-1.12d+203)) then
        tmp = (x * 0.5d0) / ((b * y) * ((0.6666666666666666d0 / t) - (a + 0.8333333333333334d0)))
    else if (b <= (-4d+108)) then
        tmp = x / (x + (y - (2.0d0 * (y * (a * b)))))
    else if (b <= (-4.5d-171)) then
        tmp = x / (x + (y + (2.0d0 * (c * (y * (a + 0.8333333333333334d0))))))
    else if (b <= 3.8d-303) then
        tmp = 1.0d0
    else if (b <= 5.6d-217) then
        tmp = x / (x + (y * ((2.0d0 * (c * (a + 0.8333333333333334d0))) + 1.0d0)))
    else
        tmp = 1.0d0
    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 tmp;
	if (b <= -1.12e+203) {
		tmp = (x * 0.5) / ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334)));
	} else if (b <= -4e+108) {
		tmp = x / (x + (y - (2.0 * (y * (a * b)))));
	} else if (b <= -4.5e-171) {
		tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334))))));
	} else if (b <= 3.8e-303) {
		tmp = 1.0;
	} else if (b <= 5.6e-217) {
		tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if b <= -1.12e+203:
		tmp = (x * 0.5) / ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))
	elif b <= -4e+108:
		tmp = x / (x + (y - (2.0 * (y * (a * b)))))
	elif b <= -4.5e-171:
		tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334))))))
	elif b <= 3.8e-303:
		tmp = 1.0
	elif b <= 5.6e-217:
		tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0)))
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (b <= -1.12e+203)
		tmp = Float64(Float64(x * 0.5) / Float64(Float64(b * y) * Float64(Float64(0.6666666666666666 / t) - Float64(a + 0.8333333333333334))));
	elseif (b <= -4e+108)
		tmp = Float64(x / Float64(x + Float64(y - Float64(2.0 * Float64(y * Float64(a * b))))));
	elseif (b <= -4.5e-171)
		tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(c * Float64(y * Float64(a + 0.8333333333333334)))))));
	elseif (b <= 3.8e-303)
		tmp = 1.0;
	elseif (b <= 5.6e-217)
		tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(c * Float64(a + 0.8333333333333334))) + 1.0))));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (b <= -1.12e+203)
		tmp = (x * 0.5) / ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334)));
	elseif (b <= -4e+108)
		tmp = x / (x + (y - (2.0 * (y * (a * b)))));
	elseif (b <= -4.5e-171)
		tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334))))));
	elseif (b <= 3.8e-303)
		tmp = 1.0;
	elseif (b <= 5.6e-217)
		tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0)));
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -1.12e+203], N[(N[(x * 0.5), $MachinePrecision] / N[(N[(b * y), $MachinePrecision] * N[(N[(0.6666666666666666 / t), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -4e+108], N[(x / N[(x + N[(y - N[(2.0 * N[(y * N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -4.5e-171], N[(x / N[(x + N[(y + N[(2.0 * N[(c * N[(y * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 3.8e-303], 1.0, If[LessEqual[b, 5.6e-217], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(c * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.12 \cdot 10^{+203}:\\
\;\;\;\;\frac{x \cdot 0.5}{\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)}\\

\mathbf{elif}\;b \leq -4 \cdot 10^{+108}:\\
\;\;\;\;\frac{x}{x + \left(y - 2 \cdot \left(y \cdot \left(a \cdot b\right)\right)\right)}\\

\mathbf{elif}\;b \leq -4.5 \cdot 10^{-171}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(c \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)\right)\right)}\\

\mathbf{elif}\;b \leq 3.8 \cdot 10^{-303}:\\
\;\;\;\;1\\

\mathbf{elif}\;b \leq 5.6 \cdot 10^{-217}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right) + 1\right)}\\

\mathbf{else}:\\
\;\;\;\;1\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if b < -1.12000000000000006e203

    1. Initial program 85.2%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 89.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/89.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval89.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative89.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified89.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 75.0%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)\right)}} \]
    7. Taylor expanded in b around inf 75.0%

      \[\leadsto \color{blue}{0.5 \cdot \frac{x}{b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
    8. Step-by-step derivation
      1. associate-*r/75.0%

        \[\leadsto \color{blue}{\frac{0.5 \cdot x}{b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. associate-*r*75.0%

        \[\leadsto \frac{0.5 \cdot x}{\color{blue}{\left(b \cdot y\right) \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)}} \]
      3. associate-*r/75.0%

        \[\leadsto \frac{0.5 \cdot x}{\left(b \cdot y\right) \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)} \]
      4. metadata-eval75.0%

        \[\leadsto \frac{0.5 \cdot x}{\left(b \cdot y\right) \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)} \]
    9. Simplified75.0%

      \[\leadsto \color{blue}{\frac{0.5 \cdot x}{\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} - \left(0.8333333333333334 + a\right)\right)}} \]

    if -1.12000000000000006e203 < b < -4.0000000000000001e108

    1. Initial program 83.3%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 79.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/79.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval79.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative79.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified79.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 52.0%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)\right)}} \]
    7. Taylor expanded in a around inf 51.9%

      \[\leadsto \frac{x}{x + \left(y + 2 \cdot \color{blue}{\left(-1 \cdot \left(a \cdot \left(b \cdot y\right)\right)\right)}\right)} \]
    8. Step-by-step derivation
      1. mul-1-neg51.9%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \color{blue}{\left(-a \cdot \left(b \cdot y\right)\right)}\right)} \]
      2. associate-*r*63.9%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(-\color{blue}{\left(a \cdot b\right) \cdot y}\right)\right)} \]
      3. distribute-rgt-neg-in63.9%

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

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(\color{blue}{\left(b \cdot a\right)} \cdot \left(-y\right)\right)\right)} \]
    9. Simplified63.9%

      \[\leadsto \frac{x}{x + \left(y + 2 \cdot \color{blue}{\left(\left(b \cdot a\right) \cdot \left(-y\right)\right)}\right)} \]

    if -4.0000000000000001e108 < b < -4.5000000000000004e-171

    1. Initial program 100.0%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 76.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative76.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/76.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval76.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified76.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in t around inf 63.5%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
    7. Step-by-step derivation
      1. *-commutative63.5%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
    8. Simplified63.5%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
    9. Taylor expanded in c around 0 57.0%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(c \cdot \left(y \cdot \left(0.8333333333333334 + a\right)\right)\right)\right)}} \]

    if -4.5000000000000004e-171 < b < 3.80000000000000009e-303 or 5.6e-217 < b

    1. Initial program 94.4%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 70.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/70.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval70.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative70.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified70.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 33.7%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]
    7. Taylor expanded in x around inf 54.9%

      \[\leadsto \color{blue}{1} \]

    if 3.80000000000000009e-303 < b < 5.6e-217

    1. Initial program 91.3%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 83.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative83.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/83.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval83.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified83.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in t around inf 58.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
    7. Step-by-step derivation
      1. *-commutative58.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
    8. Simplified58.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
    9. Taylor expanded in c around 0 62.5%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(0.8333333333333334 + a\right)\right)\right)}} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification59.0%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.12 \cdot 10^{+203}:\\ \;\;\;\;\frac{x \cdot 0.5}{\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)}\\ \mathbf{elif}\;b \leq -4 \cdot 10^{+108}:\\ \;\;\;\;\frac{x}{x + \left(y - 2 \cdot \left(y \cdot \left(a \cdot b\right)\right)\right)}\\ \mathbf{elif}\;b \leq -4.5 \cdot 10^{-171}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(c \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)\right)\right)}\\ \mathbf{elif}\;b \leq 3.8 \cdot 10^{-303}:\\ \;\;\;\;1\\ \mathbf{elif}\;b \leq 5.6 \cdot 10^{-217}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 15: 51.2% accurate, 6.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -1.15 \cdot 10^{+110}:\\ \;\;\;\;\frac{x}{y \cdot \left(2 \cdot \left(b \cdot \left(\frac{1}{t} \cdot 0.6666666666666666 - \left(a + 0.8333333333333334\right)\right)\right) + 1\right)}\\ \mathbf{elif}\;b \leq -1.15 \cdot 10^{-170}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(c \cdot \left(y \cdot \left(a - \left(\frac{0.6666666666666666}{t} - 0.8333333333333334\right)\right)\right)\right)\right)}\\ \mathbf{elif}\;b \leq 1.2 \cdot 10^{-302}:\\ \;\;\;\;1\\ \mathbf{elif}\;b \leq 6.2 \cdot 10^{-210}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= b -1.15e+110)
   (/
    x
    (*
     y
     (+
      (*
       2.0
       (* b (- (* (/ 1.0 t) 0.6666666666666666) (+ a 0.8333333333333334))))
      1.0)))
   (if (<= b -1.15e-170)
     (/
      x
      (+
       x
       (+
        y
        (*
         2.0
         (* c (* y (- a (- (/ 0.6666666666666666 t) 0.8333333333333334))))))))
     (if (<= b 1.2e-302)
       1.0
       (if (<= b 6.2e-210)
         (/
          x
          (+
           x
           (*
            y
            (+
             (* 2.0 (* c (- 0.8333333333333334 (/ 0.6666666666666666 t))))
             1.0))))
         1.0)))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (b <= -1.15e+110) {
		tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0));
	} else if (b <= -1.15e-170) {
		tmp = x / (x + (y + (2.0 * (c * (y * (a - ((0.6666666666666666 / t) - 0.8333333333333334)))))));
	} else if (b <= 1.2e-302) {
		tmp = 1.0;
	} else if (b <= 6.2e-210) {
		tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	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) :: tmp
    if (b <= (-1.15d+110)) then
        tmp = x / (y * ((2.0d0 * (b * (((1.0d0 / t) * 0.6666666666666666d0) - (a + 0.8333333333333334d0)))) + 1.0d0))
    else if (b <= (-1.15d-170)) then
        tmp = x / (x + (y + (2.0d0 * (c * (y * (a - ((0.6666666666666666d0 / t) - 0.8333333333333334d0)))))))
    else if (b <= 1.2d-302) then
        tmp = 1.0d0
    else if (b <= 6.2d-210) then
        tmp = x / (x + (y * ((2.0d0 * (c * (0.8333333333333334d0 - (0.6666666666666666d0 / t)))) + 1.0d0)))
    else
        tmp = 1.0d0
    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 tmp;
	if (b <= -1.15e+110) {
		tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0));
	} else if (b <= -1.15e-170) {
		tmp = x / (x + (y + (2.0 * (c * (y * (a - ((0.6666666666666666 / t) - 0.8333333333333334)))))));
	} else if (b <= 1.2e-302) {
		tmp = 1.0;
	} else if (b <= 6.2e-210) {
		tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if b <= -1.15e+110:
		tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0))
	elif b <= -1.15e-170:
		tmp = x / (x + (y + (2.0 * (c * (y * (a - ((0.6666666666666666 / t) - 0.8333333333333334)))))))
	elif b <= 1.2e-302:
		tmp = 1.0
	elif b <= 6.2e-210:
		tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)))
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (b <= -1.15e+110)
		tmp = Float64(x / Float64(y * Float64(Float64(2.0 * Float64(b * Float64(Float64(Float64(1.0 / t) * 0.6666666666666666) - Float64(a + 0.8333333333333334)))) + 1.0)));
	elseif (b <= -1.15e-170)
		tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(c * Float64(y * Float64(a - Float64(Float64(0.6666666666666666 / t) - 0.8333333333333334))))))));
	elseif (b <= 1.2e-302)
		tmp = 1.0;
	elseif (b <= 6.2e-210)
		tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(c * Float64(0.8333333333333334 - Float64(0.6666666666666666 / t)))) + 1.0))));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (b <= -1.15e+110)
		tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0));
	elseif (b <= -1.15e-170)
		tmp = x / (x + (y + (2.0 * (c * (y * (a - ((0.6666666666666666 / t) - 0.8333333333333334)))))));
	elseif (b <= 1.2e-302)
		tmp = 1.0;
	elseif (b <= 6.2e-210)
		tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -1.15e+110], N[(x / N[(y * N[(N[(2.0 * N[(b * N[(N[(N[(1.0 / t), $MachinePrecision] * 0.6666666666666666), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -1.15e-170], N[(x / N[(x + N[(y + N[(2.0 * N[(c * N[(y * N[(a - N[(N[(0.6666666666666666 / t), $MachinePrecision] - 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.2e-302], 1.0, If[LessEqual[b, 6.2e-210], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(c * N[(0.8333333333333334 - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.15 \cdot 10^{+110}:\\
\;\;\;\;\frac{x}{y \cdot \left(2 \cdot \left(b \cdot \left(\frac{1}{t} \cdot 0.6666666666666666 - \left(a + 0.8333333333333334\right)\right)\right) + 1\right)}\\

\mathbf{elif}\;b \leq -1.15 \cdot 10^{-170}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(c \cdot \left(y \cdot \left(a - \left(\frac{0.6666666666666666}{t} - 0.8333333333333334\right)\right)\right)\right)\right)}\\

\mathbf{elif}\;b \leq 1.2 \cdot 10^{-302}:\\
\;\;\;\;1\\

\mathbf{elif}\;b \leq 6.2 \cdot 10^{-210}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right) + 1\right)}\\

\mathbf{else}:\\
\;\;\;\;1\\


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

    1. Initial program 84.3%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 84.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/84.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval84.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative84.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified84.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 64.2%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)\right)}} \]
    7. Taylor expanded in y around inf 64.0%

      \[\leadsto \color{blue}{\frac{x}{y \cdot \left(1 + 2 \cdot \left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)}} \]

    if -1.15e110 < b < -1.14999999999999993e-170

    1. Initial program 100.0%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 76.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative76.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/76.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval76.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified76.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in c around 0 61.1%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(c \cdot \left(y \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)\right)}} \]
    7. Step-by-step derivation
      1. +-commutative61.1%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(c \cdot \left(y \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)\right)} \]
      2. associate-*r/61.1%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(c \cdot \left(y \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)\right)\right)} \]
      3. metadata-eval61.1%

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

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(c \cdot \left(y \cdot \color{blue}{\left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)}\right)\right)\right)} \]
    8. Simplified61.1%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(c \cdot \left(y \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)\right)\right)}} \]

    if -1.14999999999999993e-170 < b < 1.20000000000000011e-302 or 6.19999999999999973e-210 < b

    1. Initial program 94.4%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 70.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/70.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval70.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative70.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified70.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 33.7%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]
    7. Taylor expanded in x around inf 54.9%

      \[\leadsto \color{blue}{1} \]

    if 1.20000000000000011e-302 < b < 6.19999999999999973e-210

    1. Initial program 91.3%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 83.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative83.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/83.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval83.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified83.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in c around 0 62.5%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)}} \]
    7. Step-by-step derivation
      1. associate-*r*62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{\left(2 \cdot c\right) \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)}\right)} \]
      2. +-commutative62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)} \]
      3. associate-*r/62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)} \]
      4. metadata-eval62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)} \]
      5. associate-+r-62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \color{blue}{\left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)}\right)} \]
      6. associate-*r*62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)}\right)} \]
    8. Simplified62.5%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)\right)}} \]
    9. Taylor expanded in a around 0 62.6%

      \[\leadsto \frac{x}{x + \color{blue}{y \cdot \left(1 + 2 \cdot \left(c \cdot \left(0.8333333333333334 - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)}} \]
    10. Step-by-step derivation
      1. sub-neg62.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(c \cdot \color{blue}{\left(0.8333333333333334 + \left(-0.6666666666666666 \cdot \frac{1}{t}\right)\right)}\right)\right)} \]
      2. associate-*r/62.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(c \cdot \left(0.8333333333333334 + \left(-\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)\right)\right)} \]
      3. metadata-eval62.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(c \cdot \left(0.8333333333333334 + \left(-\frac{\color{blue}{0.6666666666666666}}{t}\right)\right)\right)\right)} \]
      4. sub-neg62.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(c \cdot \color{blue}{\left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)}\right)\right)} \]
    11. Simplified62.6%

      \[\leadsto \frac{x}{x + \color{blue}{y \cdot \left(1 + 2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)}} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification58.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.15 \cdot 10^{+110}:\\ \;\;\;\;\frac{x}{y \cdot \left(2 \cdot \left(b \cdot \left(\frac{1}{t} \cdot 0.6666666666666666 - \left(a + 0.8333333333333334\right)\right)\right) + 1\right)}\\ \mathbf{elif}\;b \leq -1.15 \cdot 10^{-170}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(c \cdot \left(y \cdot \left(a - \left(\frac{0.6666666666666666}{t} - 0.8333333333333334\right)\right)\right)\right)\right)}\\ \mathbf{elif}\;b \leq 1.2 \cdot 10^{-302}:\\ \;\;\;\;1\\ \mathbf{elif}\;b \leq 6.2 \cdot 10^{-210}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 16: 51.1% accurate, 6.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -6.8 \cdot 10^{+136}:\\ \;\;\;\;\frac{x}{y \cdot \left(2 \cdot \left(b \cdot \left(\frac{1}{t} \cdot 0.6666666666666666 - \left(a + 0.8333333333333334\right)\right)\right) + 1\right)}\\ \mathbf{elif}\;b \leq -8.1 \cdot 10^{-171}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(a - \left(\frac{0.6666666666666666}{t} - 0.8333333333333334\right)\right)\right) + 1\right)}\\ \mathbf{elif}\;b \leq 4.9 \cdot 10^{-303}:\\ \;\;\;\;1\\ \mathbf{elif}\;b \leq 1.3 \cdot 10^{-214}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= b -6.8e+136)
   (/
    x
    (*
     y
     (+
      (*
       2.0
       (* b (- (* (/ 1.0 t) 0.6666666666666666) (+ a 0.8333333333333334))))
      1.0)))
   (if (<= b -8.1e-171)
     (/
      x
      (+
       x
       (*
        y
        (+
         (* 2.0 (* c (- a (- (/ 0.6666666666666666 t) 0.8333333333333334))))
         1.0))))
     (if (<= b 4.9e-303)
       1.0
       (if (<= b 1.3e-214)
         (/
          x
          (+
           x
           (*
            y
            (+
             (* 2.0 (* c (- 0.8333333333333334 (/ 0.6666666666666666 t))))
             1.0))))
         1.0)))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (b <= -6.8e+136) {
		tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0));
	} else if (b <= -8.1e-171) {
		tmp = x / (x + (y * ((2.0 * (c * (a - ((0.6666666666666666 / t) - 0.8333333333333334)))) + 1.0)));
	} else if (b <= 4.9e-303) {
		tmp = 1.0;
	} else if (b <= 1.3e-214) {
		tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	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) :: tmp
    if (b <= (-6.8d+136)) then
        tmp = x / (y * ((2.0d0 * (b * (((1.0d0 / t) * 0.6666666666666666d0) - (a + 0.8333333333333334d0)))) + 1.0d0))
    else if (b <= (-8.1d-171)) then
        tmp = x / (x + (y * ((2.0d0 * (c * (a - ((0.6666666666666666d0 / t) - 0.8333333333333334d0)))) + 1.0d0)))
    else if (b <= 4.9d-303) then
        tmp = 1.0d0
    else if (b <= 1.3d-214) then
        tmp = x / (x + (y * ((2.0d0 * (c * (0.8333333333333334d0 - (0.6666666666666666d0 / t)))) + 1.0d0)))
    else
        tmp = 1.0d0
    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 tmp;
	if (b <= -6.8e+136) {
		tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0));
	} else if (b <= -8.1e-171) {
		tmp = x / (x + (y * ((2.0 * (c * (a - ((0.6666666666666666 / t) - 0.8333333333333334)))) + 1.0)));
	} else if (b <= 4.9e-303) {
		tmp = 1.0;
	} else if (b <= 1.3e-214) {
		tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if b <= -6.8e+136:
		tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0))
	elif b <= -8.1e-171:
		tmp = x / (x + (y * ((2.0 * (c * (a - ((0.6666666666666666 / t) - 0.8333333333333334)))) + 1.0)))
	elif b <= 4.9e-303:
		tmp = 1.0
	elif b <= 1.3e-214:
		tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)))
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (b <= -6.8e+136)
		tmp = Float64(x / Float64(y * Float64(Float64(2.0 * Float64(b * Float64(Float64(Float64(1.0 / t) * 0.6666666666666666) - Float64(a + 0.8333333333333334)))) + 1.0)));
	elseif (b <= -8.1e-171)
		tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(c * Float64(a - Float64(Float64(0.6666666666666666 / t) - 0.8333333333333334)))) + 1.0))));
	elseif (b <= 4.9e-303)
		tmp = 1.0;
	elseif (b <= 1.3e-214)
		tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(c * Float64(0.8333333333333334 - Float64(0.6666666666666666 / t)))) + 1.0))));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (b <= -6.8e+136)
		tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0));
	elseif (b <= -8.1e-171)
		tmp = x / (x + (y * ((2.0 * (c * (a - ((0.6666666666666666 / t) - 0.8333333333333334)))) + 1.0)));
	elseif (b <= 4.9e-303)
		tmp = 1.0;
	elseif (b <= 1.3e-214)
		tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -6.8e+136], N[(x / N[(y * N[(N[(2.0 * N[(b * N[(N[(N[(1.0 / t), $MachinePrecision] * 0.6666666666666666), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -8.1e-171], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(c * N[(a - N[(N[(0.6666666666666666 / t), $MachinePrecision] - 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 4.9e-303], 1.0, If[LessEqual[b, 1.3e-214], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(c * N[(0.8333333333333334 - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -6.8 \cdot 10^{+136}:\\
\;\;\;\;\frac{x}{y \cdot \left(2 \cdot \left(b \cdot \left(\frac{1}{t} \cdot 0.6666666666666666 - \left(a + 0.8333333333333334\right)\right)\right) + 1\right)}\\

\mathbf{elif}\;b \leq -8.1 \cdot 10^{-171}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(a - \left(\frac{0.6666666666666666}{t} - 0.8333333333333334\right)\right)\right) + 1\right)}\\

\mathbf{elif}\;b \leq 4.9 \cdot 10^{-303}:\\
\;\;\;\;1\\

\mathbf{elif}\;b \leq 1.3 \cdot 10^{-214}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right) + 1\right)}\\

\mathbf{else}:\\
\;\;\;\;1\\


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

    1. Initial program 85.4%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 85.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/85.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval85.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative85.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified85.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 67.1%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)\right)}} \]
    7. Taylor expanded in y around inf 69.3%

      \[\leadsto \color{blue}{\frac{x}{y \cdot \left(1 + 2 \cdot \left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)}} \]

    if -6.79999999999999993e136 < b < -8.1e-171

    1. Initial program 97.1%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 71.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative71.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/71.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval71.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified71.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in c around 0 57.0%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)}} \]
    7. Step-by-step derivation
      1. associate-*r*57.0%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{\left(2 \cdot c\right) \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)}\right)} \]
      2. +-commutative57.0%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)} \]
      3. associate-*r/57.0%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)} \]
      4. metadata-eval57.0%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)} \]
      5. associate-+r-57.0%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \color{blue}{\left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)}\right)} \]
      6. associate-*r*57.0%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)}\right)} \]
    8. Simplified57.0%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)\right)}} \]

    if -8.1e-171 < b < 4.9e-303 or 1.3e-214 < b

    1. Initial program 94.4%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 70.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/70.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval70.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative70.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified70.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 33.7%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]
    7. Taylor expanded in x around inf 54.9%

      \[\leadsto \color{blue}{1} \]

    if 4.9e-303 < b < 1.3e-214

    1. Initial program 91.3%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 83.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative83.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/83.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval83.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified83.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in c around 0 62.5%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)}} \]
    7. Step-by-step derivation
      1. associate-*r*62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{\left(2 \cdot c\right) \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)}\right)} \]
      2. +-commutative62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)} \]
      3. associate-*r/62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)} \]
      4. metadata-eval62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)} \]
      5. associate-+r-62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \color{blue}{\left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)}\right)} \]
      6. associate-*r*62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)}\right)} \]
    8. Simplified62.5%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)\right)}} \]
    9. Taylor expanded in a around 0 62.6%

      \[\leadsto \frac{x}{x + \color{blue}{y \cdot \left(1 + 2 \cdot \left(c \cdot \left(0.8333333333333334 - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)}} \]
    10. Step-by-step derivation
      1. sub-neg62.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(c \cdot \color{blue}{\left(0.8333333333333334 + \left(-0.6666666666666666 \cdot \frac{1}{t}\right)\right)}\right)\right)} \]
      2. associate-*r/62.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(c \cdot \left(0.8333333333333334 + \left(-\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)\right)\right)} \]
      3. metadata-eval62.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(c \cdot \left(0.8333333333333334 + \left(-\frac{\color{blue}{0.6666666666666666}}{t}\right)\right)\right)\right)} \]
      4. sub-neg62.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(c \cdot \color{blue}{\left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)}\right)\right)} \]
    11. Simplified62.6%

      \[\leadsto \frac{x}{x + \color{blue}{y \cdot \left(1 + 2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)}} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification58.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -6.8 \cdot 10^{+136}:\\ \;\;\;\;\frac{x}{y \cdot \left(2 \cdot \left(b \cdot \left(\frac{1}{t} \cdot 0.6666666666666666 - \left(a + 0.8333333333333334\right)\right)\right) + 1\right)}\\ \mathbf{elif}\;b \leq -8.1 \cdot 10^{-171}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(a - \left(\frac{0.6666666666666666}{t} - 0.8333333333333334\right)\right)\right) + 1\right)}\\ \mathbf{elif}\;b \leq 4.9 \cdot 10^{-303}:\\ \;\;\;\;1\\ \mathbf{elif}\;b \leq 1.3 \cdot 10^{-214}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 17: 50.8% accurate, 6.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -2.8 \cdot 10^{+138}:\\ \;\;\;\;\frac{x}{y \cdot \left(2 \cdot \left(b \cdot \left(\frac{1}{t} \cdot 0.6666666666666666 - \left(a + 0.8333333333333334\right)\right)\right) + 1\right)}\\ \mathbf{elif}\;b \leq -8.2 \cdot 10^{-171}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right) + 1\right)}\\ \mathbf{elif}\;b \leq 8.6 \cdot 10^{-303}:\\ \;\;\;\;1\\ \mathbf{elif}\;b \leq 2.1 \cdot 10^{-216}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= b -2.8e+138)
   (/
    x
    (*
     y
     (+
      (*
       2.0
       (* b (- (* (/ 1.0 t) 0.6666666666666666) (+ a 0.8333333333333334))))
      1.0)))
   (if (<= b -8.2e-171)
     (/ x (+ x (* y (+ (* 2.0 (* c (+ a 0.8333333333333334))) 1.0))))
     (if (<= b 8.6e-303)
       1.0
       (if (<= b 2.1e-216)
         (/
          x
          (+
           x
           (*
            y
            (+
             (* 2.0 (* c (- 0.8333333333333334 (/ 0.6666666666666666 t))))
             1.0))))
         1.0)))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (b <= -2.8e+138) {
		tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0));
	} else if (b <= -8.2e-171) {
		tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0)));
	} else if (b <= 8.6e-303) {
		tmp = 1.0;
	} else if (b <= 2.1e-216) {
		tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	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) :: tmp
    if (b <= (-2.8d+138)) then
        tmp = x / (y * ((2.0d0 * (b * (((1.0d0 / t) * 0.6666666666666666d0) - (a + 0.8333333333333334d0)))) + 1.0d0))
    else if (b <= (-8.2d-171)) then
        tmp = x / (x + (y * ((2.0d0 * (c * (a + 0.8333333333333334d0))) + 1.0d0)))
    else if (b <= 8.6d-303) then
        tmp = 1.0d0
    else if (b <= 2.1d-216) then
        tmp = x / (x + (y * ((2.0d0 * (c * (0.8333333333333334d0 - (0.6666666666666666d0 / t)))) + 1.0d0)))
    else
        tmp = 1.0d0
    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 tmp;
	if (b <= -2.8e+138) {
		tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0));
	} else if (b <= -8.2e-171) {
		tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0)));
	} else if (b <= 8.6e-303) {
		tmp = 1.0;
	} else if (b <= 2.1e-216) {
		tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if b <= -2.8e+138:
		tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0))
	elif b <= -8.2e-171:
		tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0)))
	elif b <= 8.6e-303:
		tmp = 1.0
	elif b <= 2.1e-216:
		tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)))
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (b <= -2.8e+138)
		tmp = Float64(x / Float64(y * Float64(Float64(2.0 * Float64(b * Float64(Float64(Float64(1.0 / t) * 0.6666666666666666) - Float64(a + 0.8333333333333334)))) + 1.0)));
	elseif (b <= -8.2e-171)
		tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(c * Float64(a + 0.8333333333333334))) + 1.0))));
	elseif (b <= 8.6e-303)
		tmp = 1.0;
	elseif (b <= 2.1e-216)
		tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(c * Float64(0.8333333333333334 - Float64(0.6666666666666666 / t)))) + 1.0))));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (b <= -2.8e+138)
		tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0));
	elseif (b <= -8.2e-171)
		tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0)));
	elseif (b <= 8.6e-303)
		tmp = 1.0;
	elseif (b <= 2.1e-216)
		tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -2.8e+138], N[(x / N[(y * N[(N[(2.0 * N[(b * N[(N[(N[(1.0 / t), $MachinePrecision] * 0.6666666666666666), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -8.2e-171], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(c * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 8.6e-303], 1.0, If[LessEqual[b, 2.1e-216], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(c * N[(0.8333333333333334 - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -2.8 \cdot 10^{+138}:\\
\;\;\;\;\frac{x}{y \cdot \left(2 \cdot \left(b \cdot \left(\frac{1}{t} \cdot 0.6666666666666666 - \left(a + 0.8333333333333334\right)\right)\right) + 1\right)}\\

\mathbf{elif}\;b \leq -8.2 \cdot 10^{-171}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right) + 1\right)}\\

\mathbf{elif}\;b \leq 8.6 \cdot 10^{-303}:\\
\;\;\;\;1\\

\mathbf{elif}\;b \leq 2.1 \cdot 10^{-216}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right) + 1\right)}\\

\mathbf{else}:\\
\;\;\;\;1\\


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

    1. Initial program 85.4%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 85.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/85.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval85.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative85.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified85.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 67.1%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)\right)}} \]
    7. Taylor expanded in y around inf 69.3%

      \[\leadsto \color{blue}{\frac{x}{y \cdot \left(1 + 2 \cdot \left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)}} \]

    if -2.8000000000000001e138 < b < -8.2e-171

    1. Initial program 97.1%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 71.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative71.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/71.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval71.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified71.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in t around inf 61.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
    7. Step-by-step derivation
      1. *-commutative61.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
    8. Simplified61.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
    9. Taylor expanded in c around 0 54.9%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(0.8333333333333334 + a\right)\right)\right)}} \]

    if -8.2e-171 < b < 8.59999999999999963e-303 or 2.1000000000000002e-216 < b

    1. Initial program 94.4%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 70.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/70.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval70.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative70.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified70.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 33.7%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]
    7. Taylor expanded in x around inf 54.9%

      \[\leadsto \color{blue}{1} \]

    if 8.59999999999999963e-303 < b < 2.1000000000000002e-216

    1. Initial program 91.3%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 83.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative83.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/83.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval83.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified83.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in c around 0 62.5%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)}} \]
    7. Step-by-step derivation
      1. associate-*r*62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{\left(2 \cdot c\right) \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)}\right)} \]
      2. +-commutative62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)} \]
      3. associate-*r/62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)} \]
      4. metadata-eval62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)} \]
      5. associate-+r-62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \color{blue}{\left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)}\right)} \]
      6. associate-*r*62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)}\right)} \]
    8. Simplified62.5%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)\right)}} \]
    9. Taylor expanded in a around 0 62.6%

      \[\leadsto \frac{x}{x + \color{blue}{y \cdot \left(1 + 2 \cdot \left(c \cdot \left(0.8333333333333334 - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)}} \]
    10. Step-by-step derivation
      1. sub-neg62.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(c \cdot \color{blue}{\left(0.8333333333333334 + \left(-0.6666666666666666 \cdot \frac{1}{t}\right)\right)}\right)\right)} \]
      2. associate-*r/62.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(c \cdot \left(0.8333333333333334 + \left(-\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)\right)\right)} \]
      3. metadata-eval62.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(c \cdot \left(0.8333333333333334 + \left(-\frac{\color{blue}{0.6666666666666666}}{t}\right)\right)\right)\right)} \]
      4. sub-neg62.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(c \cdot \color{blue}{\left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)}\right)\right)} \]
    11. Simplified62.6%

      \[\leadsto \frac{x}{x + \color{blue}{y \cdot \left(1 + 2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)}} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification57.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.8 \cdot 10^{+138}:\\ \;\;\;\;\frac{x}{y \cdot \left(2 \cdot \left(b \cdot \left(\frac{1}{t} \cdot 0.6666666666666666 - \left(a + 0.8333333333333334\right)\right)\right) + 1\right)}\\ \mathbf{elif}\;b \leq -8.2 \cdot 10^{-171}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right) + 1\right)}\\ \mathbf{elif}\;b \leq 8.6 \cdot 10^{-303}:\\ \;\;\;\;1\\ \mathbf{elif}\;b \leq 2.1 \cdot 10^{-216}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 18: 48.9% accurate, 6.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -5.8 \cdot 10^{+139}:\\ \;\;\;\;\frac{0.5}{b} \cdot \frac{\frac{x}{y}}{\frac{0.6666666666666666}{t} + \left(-0.8333333333333334 - a\right)}\\ \mathbf{elif}\;b \leq -7.5 \cdot 10^{-171} \lor \neg \left(b \leq 6 \cdot 10^{-303}\right) \land b \leq 2.15 \cdot 10^{-213}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= b -5.8e+139)
   (*
    (/ 0.5 b)
    (/ (/ x y) (+ (/ 0.6666666666666666 t) (- -0.8333333333333334 a))))
   (if (or (<= b -7.5e-171) (and (not (<= b 6e-303)) (<= b 2.15e-213)))
     (/ x (+ x (* y (+ (* 2.0 (* c (+ a 0.8333333333333334))) 1.0))))
     1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (b <= -5.8e+139) {
		tmp = (0.5 / b) * ((x / y) / ((0.6666666666666666 / t) + (-0.8333333333333334 - a)));
	} else if ((b <= -7.5e-171) || (!(b <= 6e-303) && (b <= 2.15e-213))) {
		tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	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) :: tmp
    if (b <= (-5.8d+139)) then
        tmp = (0.5d0 / b) * ((x / y) / ((0.6666666666666666d0 / t) + ((-0.8333333333333334d0) - a)))
    else if ((b <= (-7.5d-171)) .or. (.not. (b <= 6d-303)) .and. (b <= 2.15d-213)) then
        tmp = x / (x + (y * ((2.0d0 * (c * (a + 0.8333333333333334d0))) + 1.0d0)))
    else
        tmp = 1.0d0
    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 tmp;
	if (b <= -5.8e+139) {
		tmp = (0.5 / b) * ((x / y) / ((0.6666666666666666 / t) + (-0.8333333333333334 - a)));
	} else if ((b <= -7.5e-171) || (!(b <= 6e-303) && (b <= 2.15e-213))) {
		tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if b <= -5.8e+139:
		tmp = (0.5 / b) * ((x / y) / ((0.6666666666666666 / t) + (-0.8333333333333334 - a)))
	elif (b <= -7.5e-171) or (not (b <= 6e-303) and (b <= 2.15e-213)):
		tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0)))
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (b <= -5.8e+139)
		tmp = Float64(Float64(0.5 / b) * Float64(Float64(x / y) / Float64(Float64(0.6666666666666666 / t) + Float64(-0.8333333333333334 - a))));
	elseif ((b <= -7.5e-171) || (!(b <= 6e-303) && (b <= 2.15e-213)))
		tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(c * Float64(a + 0.8333333333333334))) + 1.0))));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (b <= -5.8e+139)
		tmp = (0.5 / b) * ((x / y) / ((0.6666666666666666 / t) + (-0.8333333333333334 - a)));
	elseif ((b <= -7.5e-171) || (~((b <= 6e-303)) && (b <= 2.15e-213)))
		tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0)));
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -5.8e+139], N[(N[(0.5 / b), $MachinePrecision] * N[(N[(x / y), $MachinePrecision] / N[(N[(0.6666666666666666 / t), $MachinePrecision] + N[(-0.8333333333333334 - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[b, -7.5e-171], And[N[Not[LessEqual[b, 6e-303]], $MachinePrecision], LessEqual[b, 2.15e-213]]], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(c * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -5.8 \cdot 10^{+139}:\\
\;\;\;\;\frac{0.5}{b} \cdot \frac{\frac{x}{y}}{\frac{0.6666666666666666}{t} + \left(-0.8333333333333334 - a\right)}\\

\mathbf{elif}\;b \leq -7.5 \cdot 10^{-171} \lor \neg \left(b \leq 6 \cdot 10^{-303}\right) \land b \leq 2.15 \cdot 10^{-213}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right) + 1\right)}\\

\mathbf{else}:\\
\;\;\;\;1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -5.7999999999999998e139

    1. Initial program 85.4%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 85.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/85.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval85.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative85.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified85.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 67.1%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)\right)}} \]
    7. Taylor expanded in b around inf 67.0%

      \[\leadsto \color{blue}{0.5 \cdot \frac{x}{b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
    8. Step-by-step derivation
      1. associate-*r/67.0%

        \[\leadsto \color{blue}{\frac{0.5 \cdot x}{b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. sub-neg67.0%

        \[\leadsto \frac{0.5 \cdot x}{b \cdot \left(y \cdot \color{blue}{\left(0.6666666666666666 \cdot \frac{1}{t} + \left(-\left(0.8333333333333334 + a\right)\right)\right)}\right)} \]
      3. associate-*r/67.0%

        \[\leadsto \frac{0.5 \cdot x}{b \cdot \left(y \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} + \left(-\left(0.8333333333333334 + a\right)\right)\right)\right)} \]
      4. metadata-eval67.0%

        \[\leadsto \frac{0.5 \cdot x}{b \cdot \left(y \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} + \left(-\left(0.8333333333333334 + a\right)\right)\right)\right)} \]
      5. +-commutative67.0%

        \[\leadsto \frac{0.5 \cdot x}{b \cdot \left(y \cdot \left(\frac{0.6666666666666666}{t} + \left(-\color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)\right)} \]
      6. sub-neg67.0%

        \[\leadsto \frac{0.5 \cdot x}{b \cdot \left(y \cdot \color{blue}{\left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)}\right)} \]
      7. times-frac62.6%

        \[\leadsto \color{blue}{\frac{0.5}{b} \cdot \frac{x}{y \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)}} \]
      8. metadata-eval62.6%

        \[\leadsto \frac{0.5}{b} \cdot \frac{x}{y \cdot \left(\frac{\color{blue}{0.6666666666666666 \cdot 1}}{t} - \left(a + 0.8333333333333334\right)\right)} \]
      9. associate-*r/62.6%

        \[\leadsto \frac{0.5}{b} \cdot \frac{x}{y \cdot \left(\color{blue}{0.6666666666666666 \cdot \frac{1}{t}} - \left(a + 0.8333333333333334\right)\right)} \]
      10. +-commutative62.6%

        \[\leadsto \frac{0.5}{b} \cdot \frac{x}{y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \color{blue}{\left(0.8333333333333334 + a\right)}\right)} \]
      11. associate-/r*62.6%

        \[\leadsto \frac{0.5}{b} \cdot \color{blue}{\frac{\frac{x}{y}}{0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)}} \]
      12. sub-neg62.6%

        \[\leadsto \frac{0.5}{b} \cdot \frac{\frac{x}{y}}{\color{blue}{0.6666666666666666 \cdot \frac{1}{t} + \left(-\left(0.8333333333333334 + a\right)\right)}} \]
      13. associate-*r/62.6%

        \[\leadsto \frac{0.5}{b} \cdot \frac{\frac{x}{y}}{\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} + \left(-\left(0.8333333333333334 + a\right)\right)} \]
      14. metadata-eval62.6%

        \[\leadsto \frac{0.5}{b} \cdot \frac{\frac{x}{y}}{\frac{\color{blue}{0.6666666666666666}}{t} + \left(-\left(0.8333333333333334 + a\right)\right)} \]
    9. Simplified62.6%

      \[\leadsto \color{blue}{\frac{0.5}{b} \cdot \frac{\frac{x}{y}}{\frac{0.6666666666666666}{t} + \left(-0.8333333333333334 - a\right)}} \]

    if -5.7999999999999998e139 < b < -7.50000000000000033e-171 or 6.00000000000000055e-303 < b < 2.1500000000000001e-213

    1. Initial program 95.6%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 74.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative74.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/74.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval74.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified74.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in t around inf 60.9%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
    7. Step-by-step derivation
      1. *-commutative60.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
    8. Simplified60.9%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot c\right)}}} \]
    9. Taylor expanded in c around 0 56.8%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(0.8333333333333334 + a\right)\right)\right)}} \]

    if -7.50000000000000033e-171 < b < 6.00000000000000055e-303 or 2.1500000000000001e-213 < b

    1. Initial program 94.4%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 70.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/70.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval70.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative70.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified70.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 33.7%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]
    7. Taylor expanded in x around inf 54.9%

      \[\leadsto \color{blue}{1} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification56.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -5.8 \cdot 10^{+139}:\\ \;\;\;\;\frac{0.5}{b} \cdot \frac{\frac{x}{y}}{\frac{0.6666666666666666}{t} + \left(-0.8333333333333334 - a\right)}\\ \mathbf{elif}\;b \leq -7.5 \cdot 10^{-171} \lor \neg \left(b \leq 6 \cdot 10^{-303}\right) \land b \leq 2.15 \cdot 10^{-213}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 19: 50.4% accurate, 7.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -4.3 \cdot 10^{-176}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(\frac{1}{t} \cdot 0.6666666666666666 - \left(a + 0.8333333333333334\right)\right)\right)\right)\right)}\\ \mathbf{elif}\;b \leq 1.08 \cdot 10^{-302}:\\ \;\;\;\;1\\ \mathbf{elif}\;b \leq 1.75 \cdot 10^{-211}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= b -4.3e-176)
   (/
    x
    (+
     x
     (+
      y
      (*
       2.0
       (*
        b
        (*
         y
         (- (* (/ 1.0 t) 0.6666666666666666) (+ a 0.8333333333333334))))))))
   (if (<= b 1.08e-302)
     1.0
     (if (<= b 1.75e-211)
       (/
        x
        (+
         x
         (*
          y
          (+
           (* 2.0 (* c (- 0.8333333333333334 (/ 0.6666666666666666 t))))
           1.0))))
       1.0))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (b <= -4.3e-176) {
		tmp = x / (x + (y + (2.0 * (b * (y * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))))));
	} else if (b <= 1.08e-302) {
		tmp = 1.0;
	} else if (b <= 1.75e-211) {
		tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	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) :: tmp
    if (b <= (-4.3d-176)) then
        tmp = x / (x + (y + (2.0d0 * (b * (y * (((1.0d0 / t) * 0.6666666666666666d0) - (a + 0.8333333333333334d0)))))))
    else if (b <= 1.08d-302) then
        tmp = 1.0d0
    else if (b <= 1.75d-211) then
        tmp = x / (x + (y * ((2.0d0 * (c * (0.8333333333333334d0 - (0.6666666666666666d0 / t)))) + 1.0d0)))
    else
        tmp = 1.0d0
    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 tmp;
	if (b <= -4.3e-176) {
		tmp = x / (x + (y + (2.0 * (b * (y * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))))));
	} else if (b <= 1.08e-302) {
		tmp = 1.0;
	} else if (b <= 1.75e-211) {
		tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if b <= -4.3e-176:
		tmp = x / (x + (y + (2.0 * (b * (y * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))))))
	elif b <= 1.08e-302:
		tmp = 1.0
	elif b <= 1.75e-211:
		tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)))
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (b <= -4.3e-176)
		tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(b * Float64(y * Float64(Float64(Float64(1.0 / t) * 0.6666666666666666) - Float64(a + 0.8333333333333334))))))));
	elseif (b <= 1.08e-302)
		tmp = 1.0;
	elseif (b <= 1.75e-211)
		tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(c * Float64(0.8333333333333334 - Float64(0.6666666666666666 / t)))) + 1.0))));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (b <= -4.3e-176)
		tmp = x / (x + (y + (2.0 * (b * (y * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))))));
	elseif (b <= 1.08e-302)
		tmp = 1.0;
	elseif (b <= 1.75e-211)
		tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -4.3e-176], N[(x / N[(x + N[(y + N[(2.0 * N[(b * N[(y * N[(N[(N[(1.0 / t), $MachinePrecision] * 0.6666666666666666), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.08e-302], 1.0, If[LessEqual[b, 1.75e-211], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(c * N[(0.8333333333333334 - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -4.3 \cdot 10^{-176}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(\frac{1}{t} \cdot 0.6666666666666666 - \left(a + 0.8333333333333334\right)\right)\right)\right)\right)}\\

\mathbf{elif}\;b \leq 1.08 \cdot 10^{-302}:\\
\;\;\;\;1\\

\mathbf{elif}\;b \leq 1.75 \cdot 10^{-211}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right) + 1\right)}\\

\mathbf{else}:\\
\;\;\;\;1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -4.30000000000000012e-176

    1. Initial program 92.8%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 74.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/74.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval74.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative74.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified74.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 59.9%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)\right)}} \]

    if -4.30000000000000012e-176 < b < 1.07999999999999994e-302 or 1.75e-211 < b

    1. Initial program 94.3%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 70.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/70.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval70.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative70.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified70.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 33.4%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]
    7. Taylor expanded in x around inf 55.0%

      \[\leadsto \color{blue}{1} \]

    if 1.07999999999999994e-302 < b < 1.75e-211

    1. Initial program 91.3%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 83.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative83.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/83.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval83.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified83.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in c around 0 62.5%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)}} \]
    7. Step-by-step derivation
      1. associate-*r*62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{\left(2 \cdot c\right) \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)}\right)} \]
      2. +-commutative62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)} \]
      3. associate-*r/62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)} \]
      4. metadata-eval62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)} \]
      5. associate-+r-62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \color{blue}{\left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)}\right)} \]
      6. associate-*r*62.5%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)}\right)} \]
    8. Simplified62.5%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)\right)}} \]
    9. Taylor expanded in a around 0 62.6%

      \[\leadsto \frac{x}{x + \color{blue}{y \cdot \left(1 + 2 \cdot \left(c \cdot \left(0.8333333333333334 - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)}} \]
    10. Step-by-step derivation
      1. sub-neg62.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(c \cdot \color{blue}{\left(0.8333333333333334 + \left(-0.6666666666666666 \cdot \frac{1}{t}\right)\right)}\right)\right)} \]
      2. associate-*r/62.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(c \cdot \left(0.8333333333333334 + \left(-\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)\right)\right)} \]
      3. metadata-eval62.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(c \cdot \left(0.8333333333333334 + \left(-\frac{\color{blue}{0.6666666666666666}}{t}\right)\right)\right)\right)} \]
      4. sub-neg62.6%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \left(c \cdot \color{blue}{\left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)}\right)\right)} \]
    11. Simplified62.6%

      \[\leadsto \frac{x}{x + \color{blue}{y \cdot \left(1 + 2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)}} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification57.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -4.3 \cdot 10^{-176}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(\frac{1}{t} \cdot 0.6666666666666666 - \left(a + 0.8333333333333334\right)\right)\right)\right)\right)}\\ \mathbf{elif}\;b \leq 1.08 \cdot 10^{-302}:\\ \;\;\;\;1\\ \mathbf{elif}\;b \leq 1.75 \cdot 10^{-211}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 20: 48.3% accurate, 7.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -1.12 \cdot 10^{+139}:\\ \;\;\;\;\frac{0.5}{b} \cdot \frac{\frac{x}{y}}{\frac{0.6666666666666666}{t} + \left(-0.8333333333333334 - a\right)}\\ \mathbf{elif}\;b \leq 6.2 \cdot 10^{-237}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot c\right) + 1\right)}\\ \mathbf{elif}\;b \leq 1.15 \cdot 10^{-157}:\\ \;\;\;\;\frac{x}{x + a \cdot \left(-2 \cdot \left(b \cdot y\right) + \frac{y}{a}\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= b -1.12e+139)
   (*
    (/ 0.5 b)
    (/ (/ x y) (+ (/ 0.6666666666666666 t) (- -0.8333333333333334 a))))
   (if (<= b 6.2e-237)
     (/ x (+ x (* y (+ (* 2.0 (* a c)) 1.0))))
     (if (<= b 1.15e-157)
       (/ x (+ x (* a (+ (* -2.0 (* b y)) (/ y a)))))
       1.0))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (b <= -1.12e+139) {
		tmp = (0.5 / b) * ((x / y) / ((0.6666666666666666 / t) + (-0.8333333333333334 - a)));
	} else if (b <= 6.2e-237) {
		tmp = x / (x + (y * ((2.0 * (a * c)) + 1.0)));
	} else if (b <= 1.15e-157) {
		tmp = x / (x + (a * ((-2.0 * (b * y)) + (y / a))));
	} else {
		tmp = 1.0;
	}
	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) :: tmp
    if (b <= (-1.12d+139)) then
        tmp = (0.5d0 / b) * ((x / y) / ((0.6666666666666666d0 / t) + ((-0.8333333333333334d0) - a)))
    else if (b <= 6.2d-237) then
        tmp = x / (x + (y * ((2.0d0 * (a * c)) + 1.0d0)))
    else if (b <= 1.15d-157) then
        tmp = x / (x + (a * (((-2.0d0) * (b * y)) + (y / a))))
    else
        tmp = 1.0d0
    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 tmp;
	if (b <= -1.12e+139) {
		tmp = (0.5 / b) * ((x / y) / ((0.6666666666666666 / t) + (-0.8333333333333334 - a)));
	} else if (b <= 6.2e-237) {
		tmp = x / (x + (y * ((2.0 * (a * c)) + 1.0)));
	} else if (b <= 1.15e-157) {
		tmp = x / (x + (a * ((-2.0 * (b * y)) + (y / a))));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if b <= -1.12e+139:
		tmp = (0.5 / b) * ((x / y) / ((0.6666666666666666 / t) + (-0.8333333333333334 - a)))
	elif b <= 6.2e-237:
		tmp = x / (x + (y * ((2.0 * (a * c)) + 1.0)))
	elif b <= 1.15e-157:
		tmp = x / (x + (a * ((-2.0 * (b * y)) + (y / a))))
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (b <= -1.12e+139)
		tmp = Float64(Float64(0.5 / b) * Float64(Float64(x / y) / Float64(Float64(0.6666666666666666 / t) + Float64(-0.8333333333333334 - a))));
	elseif (b <= 6.2e-237)
		tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(a * c)) + 1.0))));
	elseif (b <= 1.15e-157)
		tmp = Float64(x / Float64(x + Float64(a * Float64(Float64(-2.0 * Float64(b * y)) + Float64(y / a)))));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (b <= -1.12e+139)
		tmp = (0.5 / b) * ((x / y) / ((0.6666666666666666 / t) + (-0.8333333333333334 - a)));
	elseif (b <= 6.2e-237)
		tmp = x / (x + (y * ((2.0 * (a * c)) + 1.0)));
	elseif (b <= 1.15e-157)
		tmp = x / (x + (a * ((-2.0 * (b * y)) + (y / a))));
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -1.12e+139], N[(N[(0.5 / b), $MachinePrecision] * N[(N[(x / y), $MachinePrecision] / N[(N[(0.6666666666666666 / t), $MachinePrecision] + N[(-0.8333333333333334 - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 6.2e-237], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.15e-157], N[(x / N[(x + N[(a * N[(N[(-2.0 * N[(b * y), $MachinePrecision]), $MachinePrecision] + N[(y / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.12 \cdot 10^{+139}:\\
\;\;\;\;\frac{0.5}{b} \cdot \frac{\frac{x}{y}}{\frac{0.6666666666666666}{t} + \left(-0.8333333333333334 - a\right)}\\

\mathbf{elif}\;b \leq 6.2 \cdot 10^{-237}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot c\right) + 1\right)}\\

\mathbf{elif}\;b \leq 1.15 \cdot 10^{-157}:\\
\;\;\;\;\frac{x}{x + a \cdot \left(-2 \cdot \left(b \cdot y\right) + \frac{y}{a}\right)}\\

\mathbf{else}:\\
\;\;\;\;1\\


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

    1. Initial program 85.4%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 85.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/85.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval85.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative85.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified85.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 67.1%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)\right)}} \]
    7. Taylor expanded in b around inf 67.0%

      \[\leadsto \color{blue}{0.5 \cdot \frac{x}{b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
    8. Step-by-step derivation
      1. associate-*r/67.0%

        \[\leadsto \color{blue}{\frac{0.5 \cdot x}{b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. sub-neg67.0%

        \[\leadsto \frac{0.5 \cdot x}{b \cdot \left(y \cdot \color{blue}{\left(0.6666666666666666 \cdot \frac{1}{t} + \left(-\left(0.8333333333333334 + a\right)\right)\right)}\right)} \]
      3. associate-*r/67.0%

        \[\leadsto \frac{0.5 \cdot x}{b \cdot \left(y \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} + \left(-\left(0.8333333333333334 + a\right)\right)\right)\right)} \]
      4. metadata-eval67.0%

        \[\leadsto \frac{0.5 \cdot x}{b \cdot \left(y \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} + \left(-\left(0.8333333333333334 + a\right)\right)\right)\right)} \]
      5. +-commutative67.0%

        \[\leadsto \frac{0.5 \cdot x}{b \cdot \left(y \cdot \left(\frac{0.6666666666666666}{t} + \left(-\color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)\right)} \]
      6. sub-neg67.0%

        \[\leadsto \frac{0.5 \cdot x}{b \cdot \left(y \cdot \color{blue}{\left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)}\right)} \]
      7. times-frac62.6%

        \[\leadsto \color{blue}{\frac{0.5}{b} \cdot \frac{x}{y \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)}} \]
      8. metadata-eval62.6%

        \[\leadsto \frac{0.5}{b} \cdot \frac{x}{y \cdot \left(\frac{\color{blue}{0.6666666666666666 \cdot 1}}{t} - \left(a + 0.8333333333333334\right)\right)} \]
      9. associate-*r/62.6%

        \[\leadsto \frac{0.5}{b} \cdot \frac{x}{y \cdot \left(\color{blue}{0.6666666666666666 \cdot \frac{1}{t}} - \left(a + 0.8333333333333334\right)\right)} \]
      10. +-commutative62.6%

        \[\leadsto \frac{0.5}{b} \cdot \frac{x}{y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \color{blue}{\left(0.8333333333333334 + a\right)}\right)} \]
      11. associate-/r*62.6%

        \[\leadsto \frac{0.5}{b} \cdot \color{blue}{\frac{\frac{x}{y}}{0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)}} \]
      12. sub-neg62.6%

        \[\leadsto \frac{0.5}{b} \cdot \frac{\frac{x}{y}}{\color{blue}{0.6666666666666666 \cdot \frac{1}{t} + \left(-\left(0.8333333333333334 + a\right)\right)}} \]
      13. associate-*r/62.6%

        \[\leadsto \frac{0.5}{b} \cdot \frac{\frac{x}{y}}{\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} + \left(-\left(0.8333333333333334 + a\right)\right)} \]
      14. metadata-eval62.6%

        \[\leadsto \frac{0.5}{b} \cdot \frac{\frac{x}{y}}{\frac{\color{blue}{0.6666666666666666}}{t} + \left(-\left(0.8333333333333334 + a\right)\right)} \]
    9. Simplified62.6%

      \[\leadsto \color{blue}{\frac{0.5}{b} \cdot \frac{\frac{x}{y}}{\frac{0.6666666666666666}{t} + \left(-0.8333333333333334 - a\right)}} \]

    if -1.12e139 < b < 6.1999999999999997e-237

    1. Initial program 95.3%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 73.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative73.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/73.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval73.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified73.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in a around inf 59.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(a \cdot c\right)}}} \]
    7. Taylor expanded in a around 0 50.8%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(a \cdot c\right)\right)}} \]
    8. Step-by-step derivation
      1. *-commutative50.8%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \color{blue}{\left(c \cdot a\right)}\right)} \]
    9. Simplified50.8%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot a\right)\right)}} \]

    if 6.1999999999999997e-237 < b < 1.14999999999999994e-157

    1. Initial program 100.0%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 42.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/42.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval42.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative42.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified42.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 55.1%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)\right)}} \]
    7. Taylor expanded in a around inf 49.0%

      \[\leadsto \frac{x}{x + \left(y + 2 \cdot \color{blue}{\left(-1 \cdot \left(a \cdot \left(b \cdot y\right)\right)\right)}\right)} \]
    8. Step-by-step derivation
      1. mul-1-neg49.0%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \color{blue}{\left(-a \cdot \left(b \cdot y\right)\right)}\right)} \]
      2. associate-*r*49.0%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(-\color{blue}{\left(a \cdot b\right) \cdot y}\right)\right)} \]
      3. distribute-rgt-neg-in49.0%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \color{blue}{\left(\left(a \cdot b\right) \cdot \left(-y\right)\right)}\right)} \]
      4. *-commutative49.0%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(\color{blue}{\left(b \cdot a\right)} \cdot \left(-y\right)\right)\right)} \]
    9. Simplified49.0%

      \[\leadsto \frac{x}{x + \left(y + 2 \cdot \color{blue}{\left(\left(b \cdot a\right) \cdot \left(-y\right)\right)}\right)} \]
    10. Taylor expanded in a around inf 61.6%

      \[\leadsto \frac{x}{x + \color{blue}{a \cdot \left(-2 \cdot \left(b \cdot y\right) + \frac{y}{a}\right)}} \]

    if 1.14999999999999994e-157 < b

    1. Initial program 93.6%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 75.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/75.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval75.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative75.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified75.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 30.6%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]
    7. Taylor expanded in x around inf 53.7%

      \[\leadsto \color{blue}{1} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification54.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.12 \cdot 10^{+139}:\\ \;\;\;\;\frac{0.5}{b} \cdot \frac{\frac{x}{y}}{\frac{0.6666666666666666}{t} + \left(-0.8333333333333334 - a\right)}\\ \mathbf{elif}\;b \leq 6.2 \cdot 10^{-237}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot c\right) + 1\right)}\\ \mathbf{elif}\;b \leq 1.15 \cdot 10^{-157}:\\ \;\;\;\;\frac{x}{x + a \cdot \left(-2 \cdot \left(b \cdot y\right) + \frac{y}{a}\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 21: 42.8% accurate, 8.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;a \leq 1.8 \cdot 10^{+85}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)\right)}\\ \mathbf{elif}\;a \leq 2.6 \cdot 10^{+171}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(a - \left(\frac{0.6666666666666666}{t} - 0.8333333333333334\right)\right)\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= a 1.8e+85)
   (/
    x
    (+
     x
     (+
      y
      (*
       2.0
       (* (* b y) (- (/ 0.6666666666666666 t) (+ a 0.8333333333333334)))))))
   (if (<= a 2.6e+171)
     (/
      x
      (+
       x
       (*
        y
        (+
         (* 2.0 (* c (- a (- (/ 0.6666666666666666 t) 0.8333333333333334))))
         1.0))))
     1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (a <= 1.8e+85) {
		tmp = x / (x + (y + (2.0 * ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))));
	} else if (a <= 2.6e+171) {
		tmp = x / (x + (y * ((2.0 * (c * (a - ((0.6666666666666666 / t) - 0.8333333333333334)))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	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) :: tmp
    if (a <= 1.8d+85) then
        tmp = x / (x + (y + (2.0d0 * ((b * y) * ((0.6666666666666666d0 / t) - (a + 0.8333333333333334d0))))))
    else if (a <= 2.6d+171) then
        tmp = x / (x + (y * ((2.0d0 * (c * (a - ((0.6666666666666666d0 / t) - 0.8333333333333334d0)))) + 1.0d0)))
    else
        tmp = 1.0d0
    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 tmp;
	if (a <= 1.8e+85) {
		tmp = x / (x + (y + (2.0 * ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))));
	} else if (a <= 2.6e+171) {
		tmp = x / (x + (y * ((2.0 * (c * (a - ((0.6666666666666666 / t) - 0.8333333333333334)))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if a <= 1.8e+85:
		tmp = x / (x + (y + (2.0 * ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))))
	elif a <= 2.6e+171:
		tmp = x / (x + (y * ((2.0 * (c * (a - ((0.6666666666666666 / t) - 0.8333333333333334)))) + 1.0)))
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (a <= 1.8e+85)
		tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(Float64(b * y) * Float64(Float64(0.6666666666666666 / t) - Float64(a + 0.8333333333333334)))))));
	elseif (a <= 2.6e+171)
		tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(c * Float64(a - Float64(Float64(0.6666666666666666 / t) - 0.8333333333333334)))) + 1.0))));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (a <= 1.8e+85)
		tmp = x / (x + (y + (2.0 * ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))));
	elseif (a <= 2.6e+171)
		tmp = x / (x + (y * ((2.0 * (c * (a - ((0.6666666666666666 / t) - 0.8333333333333334)))) + 1.0)));
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[a, 1.8e+85], N[(x / N[(x + N[(y + N[(2.0 * N[(N[(b * y), $MachinePrecision] * N[(N[(0.6666666666666666 / t), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.6e+171], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(c * N[(a - N[(N[(0.6666666666666666 / t), $MachinePrecision] - 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;a \leq 1.8 \cdot 10^{+85}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)\right)}\\

\mathbf{elif}\;a \leq 2.6 \cdot 10^{+171}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(a - \left(\frac{0.6666666666666666}{t} - 0.8333333333333334\right)\right)\right) + 1\right)}\\

\mathbf{else}:\\
\;\;\;\;1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if a < 1.7999999999999999e85

    1. Initial program 96.3%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 69.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/69.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval69.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative69.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified69.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 51.1%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)\right)}} \]
    7. Step-by-step derivation
      1. associate-*r*51.9%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \color{blue}{\left(\left(b \cdot y\right) \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}\right)} \]
      2. associate-*r/51.9%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(\left(b \cdot y\right) \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)\right)} \]
      3. metadata-eval51.9%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(\left(b \cdot y\right) \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)} \]
    8. Simplified51.9%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)}} \]

    if 1.7999999999999999e85 < a < 2.6e171

    1. Initial program 93.5%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 65.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative65.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/65.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval65.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified65.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in c around 0 61.1%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)}} \]
    7. Step-by-step derivation
      1. associate-*r*61.1%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{\left(2 \cdot c\right) \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)}\right)} \]
      2. +-commutative61.1%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)} \]
      3. associate-*r/61.1%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)} \]
      4. metadata-eval61.1%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)} \]
      5. associate-+r-61.1%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \color{blue}{\left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)}\right)} \]
      6. associate-*r*61.1%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)}\right)} \]
    8. Simplified61.1%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)\right)}} \]

    if 2.6e171 < a

    1. Initial program 85.5%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 70.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/70.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval70.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative70.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified70.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 28.3%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]
    7. Taylor expanded in x around inf 53.1%

      \[\leadsto \color{blue}{1} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification53.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq 1.8 \cdot 10^{+85}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)\right)}\\ \mathbf{elif}\;a \leq 2.6 \cdot 10^{+171}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(a - \left(\frac{0.6666666666666666}{t} - 0.8333333333333334\right)\right)\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 22: 49.6% accurate, 10.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -1.1 \cdot 10^{+138}:\\ \;\;\;\;\frac{-0.5}{a} \cdot \frac{x}{b \cdot y}\\ \mathbf{elif}\;b \leq -5.8 \cdot 10^{-171}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot c\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= b -1.1e+138)
   (* (/ -0.5 a) (/ x (* b y)))
   (if (<= b -5.8e-171) (/ x (+ x (* y (+ (* 2.0 (* a c)) 1.0)))) 1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (b <= -1.1e+138) {
		tmp = (-0.5 / a) * (x / (b * y));
	} else if (b <= -5.8e-171) {
		tmp = x / (x + (y * ((2.0 * (a * c)) + 1.0)));
	} else {
		tmp = 1.0;
	}
	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) :: tmp
    if (b <= (-1.1d+138)) then
        tmp = ((-0.5d0) / a) * (x / (b * y))
    else if (b <= (-5.8d-171)) then
        tmp = x / (x + (y * ((2.0d0 * (a * c)) + 1.0d0)))
    else
        tmp = 1.0d0
    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 tmp;
	if (b <= -1.1e+138) {
		tmp = (-0.5 / a) * (x / (b * y));
	} else if (b <= -5.8e-171) {
		tmp = x / (x + (y * ((2.0 * (a * c)) + 1.0)));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if b <= -1.1e+138:
		tmp = (-0.5 / a) * (x / (b * y))
	elif b <= -5.8e-171:
		tmp = x / (x + (y * ((2.0 * (a * c)) + 1.0)))
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (b <= -1.1e+138)
		tmp = Float64(Float64(-0.5 / a) * Float64(x / Float64(b * y)));
	elseif (b <= -5.8e-171)
		tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(a * c)) + 1.0))));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (b <= -1.1e+138)
		tmp = (-0.5 / a) * (x / (b * y));
	elseif (b <= -5.8e-171)
		tmp = x / (x + (y * ((2.0 * (a * c)) + 1.0)));
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -1.1e+138], N[(N[(-0.5 / a), $MachinePrecision] * N[(x / N[(b * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -5.8e-171], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.1 \cdot 10^{+138}:\\
\;\;\;\;\frac{-0.5}{a} \cdot \frac{x}{b \cdot y}\\

\mathbf{elif}\;b \leq -5.8 \cdot 10^{-171}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot c\right) + 1\right)}\\

\mathbf{else}:\\
\;\;\;\;1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -1.1e138

    1. Initial program 85.4%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 85.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/85.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval85.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative85.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified85.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 67.1%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)\right)}} \]
    7. Taylor expanded in a around inf 59.8%

      \[\leadsto \color{blue}{-0.5 \cdot \frac{x}{a \cdot \left(b \cdot y\right)}} \]
    8. Step-by-step derivation
      1. associate-*r/59.8%

        \[\leadsto \color{blue}{\frac{-0.5 \cdot x}{a \cdot \left(b \cdot y\right)}} \]
      2. times-frac62.1%

        \[\leadsto \color{blue}{\frac{-0.5}{a} \cdot \frac{x}{b \cdot y}} \]
    9. Simplified62.1%

      \[\leadsto \color{blue}{\frac{-0.5}{a} \cdot \frac{x}{b \cdot y}} \]

    if -1.1e138 < b < -5.7999999999999997e-171

    1. Initial program 97.1%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 71.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative71.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/71.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval71.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified71.7%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in a around inf 61.9%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(a \cdot c\right)}}} \]
    7. Taylor expanded in a around 0 52.2%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(a \cdot c\right)\right)}} \]
    8. Step-by-step derivation
      1. *-commutative52.2%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + 2 \cdot \color{blue}{\left(c \cdot a\right)}\right)} \]
    9. Simplified52.2%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot a\right)\right)}} \]

    if -5.7999999999999997e-171 < b

    1. Initial program 93.9%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 65.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/65.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval65.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative65.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified65.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 34.4%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]
    7. Taylor expanded in x around inf 51.4%

      \[\leadsto \color{blue}{1} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification53.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.1 \cdot 10^{+138}:\\ \;\;\;\;\frac{-0.5}{a} \cdot \frac{x}{b \cdot y}\\ \mathbf{elif}\;b \leq -5.8 \cdot 10^{-171}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot c\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 23: 50.9% accurate, 11.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -1.55 \cdot 10^{-170}:\\ \;\;\;\;\frac{x}{x + \left(y - 2 \cdot \left(b \cdot \left(y \cdot \left(a - -0.8333333333333334\right)\right)\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= b -1.55e-170)
   (/ x (+ x (- y (* 2.0 (* b (* y (- a -0.8333333333333334)))))))
   1.0))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (b <= -1.55e-170) {
		tmp = x / (x + (y - (2.0 * (b * (y * (a - -0.8333333333333334))))));
	} else {
		tmp = 1.0;
	}
	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) :: tmp
    if (b <= (-1.55d-170)) then
        tmp = x / (x + (y - (2.0d0 * (b * (y * (a - (-0.8333333333333334d0)))))))
    else
        tmp = 1.0d0
    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 tmp;
	if (b <= -1.55e-170) {
		tmp = x / (x + (y - (2.0 * (b * (y * (a - -0.8333333333333334))))));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if b <= -1.55e-170:
		tmp = x / (x + (y - (2.0 * (b * (y * (a - -0.8333333333333334))))))
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (b <= -1.55e-170)
		tmp = Float64(x / Float64(x + Float64(y - Float64(2.0 * Float64(b * Float64(y * Float64(a - -0.8333333333333334)))))));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (b <= -1.55e-170)
		tmp = x / (x + (y - (2.0 * (b * (y * (a - -0.8333333333333334))))));
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -1.55e-170], N[(x / N[(x + N[(y - N[(2.0 * N[(b * N[(y * N[(a - -0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.55 \cdot 10^{-170}:\\
\;\;\;\;\frac{x}{x + \left(y - 2 \cdot \left(b \cdot \left(y \cdot \left(a - -0.8333333333333334\right)\right)\right)\right)}\\

\mathbf{else}:\\
\;\;\;\;1\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if b < -1.54999999999999993e-170

    1. Initial program 92.7%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 74.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/74.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval74.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative74.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified74.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 60.1%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)\right)}} \]
    7. Taylor expanded in t around inf 55.8%

      \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(b \cdot \color{blue}{\left(-1 \cdot \left(y \cdot \left(0.8333333333333334 + a\right)\right)\right)}\right)\right)} \]
    8. Step-by-step derivation
      1. mul-1-neg55.8%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(b \cdot \color{blue}{\left(-y \cdot \left(0.8333333333333334 + a\right)\right)}\right)\right)} \]
      2. +-commutative55.8%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(-y \cdot \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)\right)} \]
      3. distribute-rgt-neg-in55.8%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(b \cdot \color{blue}{\left(y \cdot \left(-\left(a + 0.8333333333333334\right)\right)\right)}\right)\right)} \]
      4. +-commutative55.8%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(-\color{blue}{\left(0.8333333333333334 + a\right)}\right)\right)\right)\right)} \]
      5. distribute-neg-in55.8%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(y \cdot \color{blue}{\left(\left(-0.8333333333333334\right) + \left(-a\right)\right)}\right)\right)\right)} \]
      6. metadata-eval55.8%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(\color{blue}{-0.8333333333333334} + \left(-a\right)\right)\right)\right)\right)} \]
      7. unsub-neg55.8%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(y \cdot \color{blue}{\left(-0.8333333333333334 - a\right)}\right)\right)\right)} \]
    9. Simplified55.8%

      \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(b \cdot \color{blue}{\left(y \cdot \left(-0.8333333333333334 - a\right)\right)}\right)\right)} \]

    if -1.54999999999999993e-170 < b

    1. Initial program 93.9%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 65.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/65.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval65.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative65.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified65.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 34.4%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]
    7. Taylor expanded in x around inf 51.4%

      \[\leadsto \color{blue}{1} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification53.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.55 \cdot 10^{-170}:\\ \;\;\;\;\frac{x}{x + \left(y - 2 \cdot \left(b \cdot \left(y \cdot \left(a - -0.8333333333333334\right)\right)\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 24: 51.3% accurate, 12.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -8.5 \cdot 10^{-171}:\\ \;\;\;\;\frac{x}{x - \left(2 \cdot \left(y \cdot \left(a \cdot b\right)\right) - y\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= b -8.5e-171) (/ x (- x (- (* 2.0 (* y (* a b))) y))) 1.0))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (b <= -8.5e-171) {
		tmp = x / (x - ((2.0 * (y * (a * b))) - y));
	} else {
		tmp = 1.0;
	}
	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) :: tmp
    if (b <= (-8.5d-171)) then
        tmp = x / (x - ((2.0d0 * (y * (a * b))) - y))
    else
        tmp = 1.0d0
    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 tmp;
	if (b <= -8.5e-171) {
		tmp = x / (x - ((2.0 * (y * (a * b))) - y));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if b <= -8.5e-171:
		tmp = x / (x - ((2.0 * (y * (a * b))) - y))
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (b <= -8.5e-171)
		tmp = Float64(x / Float64(x - Float64(Float64(2.0 * Float64(y * Float64(a * b))) - y)));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (b <= -8.5e-171)
		tmp = x / (x - ((2.0 * (y * (a * b))) - y));
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -8.5e-171], N[(x / N[(x - N[(N[(2.0 * N[(y * N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -8.5 \cdot 10^{-171}:\\
\;\;\;\;\frac{x}{x - \left(2 \cdot \left(y \cdot \left(a \cdot b\right)\right) - y\right)}\\

\mathbf{else}:\\
\;\;\;\;1\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if b < -8.50000000000000032e-171

    1. Initial program 92.7%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 74.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/74.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval74.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative74.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified74.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 60.1%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)\right)}} \]
    7. Taylor expanded in a around inf 53.9%

      \[\leadsto \frac{x}{x + \left(y + 2 \cdot \color{blue}{\left(-1 \cdot \left(a \cdot \left(b \cdot y\right)\right)\right)}\right)} \]
    8. Step-by-step derivation
      1. mul-1-neg53.9%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \color{blue}{\left(-a \cdot \left(b \cdot y\right)\right)}\right)} \]
      2. associate-*r*54.0%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(-\color{blue}{\left(a \cdot b\right) \cdot y}\right)\right)} \]
      3. distribute-rgt-neg-in54.0%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \color{blue}{\left(\left(a \cdot b\right) \cdot \left(-y\right)\right)}\right)} \]
      4. *-commutative54.0%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(\color{blue}{\left(b \cdot a\right)} \cdot \left(-y\right)\right)\right)} \]
    9. Simplified54.0%

      \[\leadsto \frac{x}{x + \left(y + 2 \cdot \color{blue}{\left(\left(b \cdot a\right) \cdot \left(-y\right)\right)}\right)} \]

    if -8.50000000000000032e-171 < b

    1. Initial program 93.9%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 65.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/65.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval65.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative65.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified65.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 34.4%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]
    7. Taylor expanded in x around inf 51.4%

      \[\leadsto \color{blue}{1} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification52.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -8.5 \cdot 10^{-171}:\\ \;\;\;\;\frac{x}{x - \left(2 \cdot \left(y \cdot \left(a \cdot b\right)\right) - y\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 25: 48.7% accurate, 15.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -3.7 \cdot 10^{+138}:\\ \;\;\;\;\frac{-0.5}{a} \cdot \frac{x}{b \cdot y}\\ \mathbf{elif}\;b \leq -1.08 \cdot 10^{-170}:\\ \;\;\;\;\frac{x}{x + y}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= b -3.7e+138)
   (* (/ -0.5 a) (/ x (* b y)))
   (if (<= b -1.08e-170) (/ x (+ x y)) 1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (b <= -3.7e+138) {
		tmp = (-0.5 / a) * (x / (b * y));
	} else if (b <= -1.08e-170) {
		tmp = x / (x + y);
	} else {
		tmp = 1.0;
	}
	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) :: tmp
    if (b <= (-3.7d+138)) then
        tmp = ((-0.5d0) / a) * (x / (b * y))
    else if (b <= (-1.08d-170)) then
        tmp = x / (x + y)
    else
        tmp = 1.0d0
    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 tmp;
	if (b <= -3.7e+138) {
		tmp = (-0.5 / a) * (x / (b * y));
	} else if (b <= -1.08e-170) {
		tmp = x / (x + y);
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if b <= -3.7e+138:
		tmp = (-0.5 / a) * (x / (b * y))
	elif b <= -1.08e-170:
		tmp = x / (x + y)
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (b <= -3.7e+138)
		tmp = Float64(Float64(-0.5 / a) * Float64(x / Float64(b * y)));
	elseif (b <= -1.08e-170)
		tmp = Float64(x / Float64(x + y));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (b <= -3.7e+138)
		tmp = (-0.5 / a) * (x / (b * y));
	elseif (b <= -1.08e-170)
		tmp = x / (x + y);
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -3.7e+138], N[(N[(-0.5 / a), $MachinePrecision] * N[(x / N[(b * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -1.08e-170], N[(x / N[(x + y), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -3.7 \cdot 10^{+138}:\\
\;\;\;\;\frac{-0.5}{a} \cdot \frac{x}{b \cdot y}\\

\mathbf{elif}\;b \leq -1.08 \cdot 10^{-170}:\\
\;\;\;\;\frac{x}{x + y}\\

\mathbf{else}:\\
\;\;\;\;1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -3.69999999999999979e138

    1. Initial program 85.4%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 85.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/85.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval85.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative85.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified85.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 67.1%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)\right)}} \]
    7. Taylor expanded in a around inf 59.8%

      \[\leadsto \color{blue}{-0.5 \cdot \frac{x}{a \cdot \left(b \cdot y\right)}} \]
    8. Step-by-step derivation
      1. associate-*r/59.8%

        \[\leadsto \color{blue}{\frac{-0.5 \cdot x}{a \cdot \left(b \cdot y\right)}} \]
      2. times-frac62.1%

        \[\leadsto \color{blue}{\frac{-0.5}{a} \cdot \frac{x}{b \cdot y}} \]
    9. Simplified62.1%

      \[\leadsto \color{blue}{\frac{-0.5}{a} \cdot \frac{x}{b \cdot y}} \]

    if -3.69999999999999979e138 < b < -1.08000000000000006e-170

    1. Initial program 97.1%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 67.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/67.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval67.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative67.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified67.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 43.7%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]

    if -1.08000000000000006e-170 < b

    1. Initial program 93.9%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 65.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/65.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval65.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative65.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified65.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 34.4%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]
    7. Taylor expanded in x around inf 51.4%

      \[\leadsto \color{blue}{1} \]
  3. Recombined 3 regimes into one program.
  4. Add Preprocessing

Alternative 26: 48.1% accurate, 15.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -3 \cdot 10^{+139}:\\ \;\;\;\;-0.5 \cdot \frac{\frac{x}{a}}{b \cdot y}\\ \mathbf{elif}\;b \leq -6.5 \cdot 10^{-171}:\\ \;\;\;\;\frac{x}{x + y}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= b -3e+139)
   (* -0.5 (/ (/ x a) (* b y)))
   (if (<= b -6.5e-171) (/ x (+ x y)) 1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (b <= -3e+139) {
		tmp = -0.5 * ((x / a) / (b * y));
	} else if (b <= -6.5e-171) {
		tmp = x / (x + y);
	} else {
		tmp = 1.0;
	}
	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) :: tmp
    if (b <= (-3d+139)) then
        tmp = (-0.5d0) * ((x / a) / (b * y))
    else if (b <= (-6.5d-171)) then
        tmp = x / (x + y)
    else
        tmp = 1.0d0
    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 tmp;
	if (b <= -3e+139) {
		tmp = -0.5 * ((x / a) / (b * y));
	} else if (b <= -6.5e-171) {
		tmp = x / (x + y);
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if b <= -3e+139:
		tmp = -0.5 * ((x / a) / (b * y))
	elif b <= -6.5e-171:
		tmp = x / (x + y)
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (b <= -3e+139)
		tmp = Float64(-0.5 * Float64(Float64(x / a) / Float64(b * y)));
	elseif (b <= -6.5e-171)
		tmp = Float64(x / Float64(x + y));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (b <= -3e+139)
		tmp = -0.5 * ((x / a) / (b * y));
	elseif (b <= -6.5e-171)
		tmp = x / (x + y);
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -3e+139], N[(-0.5 * N[(N[(x / a), $MachinePrecision] / N[(b * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -6.5e-171], N[(x / N[(x + y), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -3 \cdot 10^{+139}:\\
\;\;\;\;-0.5 \cdot \frac{\frac{x}{a}}{b \cdot y}\\

\mathbf{elif}\;b \leq -6.5 \cdot 10^{-171}:\\
\;\;\;\;\frac{x}{x + y}\\

\mathbf{else}:\\
\;\;\;\;1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -3e139

    1. Initial program 85.4%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 85.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/85.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval85.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative85.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified85.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 67.1%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)\right)\right)}} \]
    7. Taylor expanded in a around inf 60.0%

      \[\leadsto \frac{x}{x + \left(y + 2 \cdot \color{blue}{\left(-1 \cdot \left(a \cdot \left(b \cdot y\right)\right)\right)}\right)} \]
    8. Step-by-step derivation
      1. mul-1-neg60.0%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \color{blue}{\left(-a \cdot \left(b \cdot y\right)\right)}\right)} \]
      2. associate-*r*55.4%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(-\color{blue}{\left(a \cdot b\right) \cdot y}\right)\right)} \]
      3. distribute-rgt-neg-in55.4%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \color{blue}{\left(\left(a \cdot b\right) \cdot \left(-y\right)\right)}\right)} \]
      4. *-commutative55.4%

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

      \[\leadsto \frac{x}{x + \left(y + 2 \cdot \color{blue}{\left(\left(b \cdot a\right) \cdot \left(-y\right)\right)}\right)} \]
    10. Taylor expanded in b around inf 59.8%

      \[\leadsto \color{blue}{-0.5 \cdot \frac{x}{a \cdot \left(b \cdot y\right)}} \]
    11. Step-by-step derivation
      1. associate-/r*57.4%

        \[\leadsto -0.5 \cdot \color{blue}{\frac{\frac{x}{a}}{b \cdot y}} \]
    12. Simplified57.4%

      \[\leadsto \color{blue}{-0.5 \cdot \frac{\frac{x}{a}}{b \cdot y}} \]

    if -3e139 < b < -6.5000000000000004e-171

    1. Initial program 97.1%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 67.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/67.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval67.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative67.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified67.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 43.7%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]

    if -6.5000000000000004e-171 < b

    1. Initial program 93.9%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 65.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/65.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval65.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative65.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified65.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 34.4%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]
    7. Taylor expanded in x around inf 51.4%

      \[\leadsto \color{blue}{1} \]
  3. Recombined 3 regimes into one program.
  4. Add Preprocessing

Alternative 27: 46.3% accurate, 15.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -2.05 \cdot 10^{+201}:\\ \;\;\;\;-0.75 \cdot \left(t \cdot \frac{\frac{x}{c}}{y}\right)\\ \mathbf{elif}\;b \leq -6.8 \cdot 10^{-171}:\\ \;\;\;\;\frac{x}{x + y}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= b -2.05e+201)
   (* -0.75 (* t (/ (/ x c) y)))
   (if (<= b -6.8e-171) (/ x (+ x y)) 1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (b <= -2.05e+201) {
		tmp = -0.75 * (t * ((x / c) / y));
	} else if (b <= -6.8e-171) {
		tmp = x / (x + y);
	} else {
		tmp = 1.0;
	}
	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) :: tmp
    if (b <= (-2.05d+201)) then
        tmp = (-0.75d0) * (t * ((x / c) / y))
    else if (b <= (-6.8d-171)) then
        tmp = x / (x + y)
    else
        tmp = 1.0d0
    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 tmp;
	if (b <= -2.05e+201) {
		tmp = -0.75 * (t * ((x / c) / y));
	} else if (b <= -6.8e-171) {
		tmp = x / (x + y);
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if b <= -2.05e+201:
		tmp = -0.75 * (t * ((x / c) / y))
	elif b <= -6.8e-171:
		tmp = x / (x + y)
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (b <= -2.05e+201)
		tmp = Float64(-0.75 * Float64(t * Float64(Float64(x / c) / y)));
	elseif (b <= -6.8e-171)
		tmp = Float64(x / Float64(x + y));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (b <= -2.05e+201)
		tmp = -0.75 * (t * ((x / c) / y));
	elseif (b <= -6.8e-171)
		tmp = x / (x + y);
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -2.05e+201], N[(-0.75 * N[(t * N[(N[(x / c), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -6.8e-171], N[(x / N[(x + y), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -2.05 \cdot 10^{+201}:\\
\;\;\;\;-0.75 \cdot \left(t \cdot \frac{\frac{x}{c}}{y}\right)\\

\mathbf{elif}\;b \leq -6.8 \cdot 10^{-171}:\\
\;\;\;\;\frac{x}{x + y}\\

\mathbf{else}:\\
\;\;\;\;1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -2.0500000000000001e201

    1. Initial program 85.7%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 44.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    4. Step-by-step derivation
      1. +-commutative44.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}} \]
      2. associate-*r/44.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)}} \]
      3. metadata-eval44.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    5. Simplified44.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}} \]
    6. Taylor expanded in c around 0 59.8%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)}} \]
    7. Step-by-step derivation
      1. associate-*r*59.8%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{\left(2 \cdot c\right) \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)}\right)} \]
      2. +-commutative59.8%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\color{blue}{\left(a + 0.8333333333333334\right)} - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)} \]
      3. associate-*r/59.8%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right)\right)} \]
      4. metadata-eval59.8%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)} \]
      5. associate-+r-59.8%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \left(2 \cdot c\right) \cdot \color{blue}{\left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)}\right)} \]
      6. associate-*r*59.8%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + \color{blue}{2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)}\right)} \]
    8. Simplified59.8%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)\right)}} \]
    9. Taylor expanded in t around 0 24.5%

      \[\leadsto \color{blue}{-0.75 \cdot \frac{t \cdot x}{c \cdot y}} \]
    10. Step-by-step derivation
      1. associate-/l*34.5%

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

        \[\leadsto -0.75 \cdot \left(t \cdot \color{blue}{\frac{\frac{x}{c}}{y}}\right) \]
    11. Simplified44.5%

      \[\leadsto \color{blue}{-0.75 \cdot \left(t \cdot \frac{\frac{x}{c}}{y}\right)} \]

    if -2.0500000000000001e201 < b < -6.7999999999999997e-171

    1. Initial program 95.1%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 68.9%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/68.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval68.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative68.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified68.9%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 42.1%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]

    if -6.7999999999999997e-171 < b

    1. Initial program 93.9%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 65.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/65.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval65.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative65.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified65.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 34.4%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]
    7. Taylor expanded in x around inf 51.4%

      \[\leadsto \color{blue}{1} \]
  3. Recombined 3 regimes into one program.
  4. Add Preprocessing

Alternative 28: 47.2% accurate, 23.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -2.35 \cdot 10^{-170}:\\ \;\;\;\;\frac{x}{x + y}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= b -2.35e-170) (/ x (+ x y)) 1.0))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (b <= -2.35e-170) {
		tmp = x / (x + y);
	} else {
		tmp = 1.0;
	}
	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) :: tmp
    if (b <= (-2.35d-170)) then
        tmp = x / (x + y)
    else
        tmp = 1.0d0
    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 tmp;
	if (b <= -2.35e-170) {
		tmp = x / (x + y);
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if b <= -2.35e-170:
		tmp = x / (x + y)
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (b <= -2.35e-170)
		tmp = Float64(x / Float64(x + y));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (b <= -2.35e-170)
		tmp = x / (x + y);
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -2.35e-170], N[(x / N[(x + y), $MachinePrecision]), $MachinePrecision], 1.0]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -2.35 \cdot 10^{-170}:\\
\;\;\;\;\frac{x}{x + y}\\

\mathbf{else}:\\
\;\;\;\;1\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if b < -2.3500000000000001e-170

    1. Initial program 92.7%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 74.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/74.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval74.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative74.2%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified74.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 38.5%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]

    if -2.3500000000000001e-170 < b

    1. Initial program 93.9%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 65.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/65.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval65.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative65.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified65.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 34.4%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]
    7. Taylor expanded in x around inf 51.4%

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

Alternative 29: 49.3% accurate, 28.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq 1.55 \cdot 10^{+179}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{y}\\ \end{array} \end{array} \]
(FPCore (x y z t a b c) :precision binary64 (if (<= y 1.55e+179) 1.0 (/ x y)))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (y <= 1.55e+179) {
		tmp = 1.0;
	} else {
		tmp = x / y;
	}
	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) :: tmp
    if (y <= 1.55d+179) then
        tmp = 1.0d0
    else
        tmp = x / y
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (y <= 1.55e+179) {
		tmp = 1.0;
	} else {
		tmp = x / y;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if y <= 1.55e+179:
		tmp = 1.0
	else:
		tmp = x / y
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (y <= 1.55e+179)
		tmp = 1.0;
	else
		tmp = Float64(x / y);
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (y <= 1.55e+179)
		tmp = 1.0;
	else
		tmp = x / y;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[y, 1.55e+179], 1.0, N[(x / y), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y \leq 1.55 \cdot 10^{+179}:\\
\;\;\;\;1\\

\mathbf{else}:\\
\;\;\;\;\frac{x}{y}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if y < 1.55e179

    1. Initial program 94.1%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 70.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/70.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval70.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative70.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified70.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 34.8%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]
    7. Taylor expanded in x around inf 42.7%

      \[\leadsto \color{blue}{1} \]

    if 1.55e179 < y

    1. Initial program 85.0%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 56.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    4. Step-by-step derivation
      1. associate-*r/56.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      2. metadata-eval56.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
      3. +-commutative56.8%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
    5. Simplified56.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in b around 0 52.5%

      \[\leadsto \frac{x}{x + \color{blue}{y}} \]
    7. Taylor expanded in x around 0 52.5%

      \[\leadsto \color{blue}{\frac{x}{y}} \]
  3. Recombined 2 regimes into one program.
  4. Add Preprocessing

Alternative 30: 51.5% accurate, 231.0× speedup?

\[\begin{array}{l} \\ 1 \end{array} \]
(FPCore (x y z t a b c) :precision binary64 1.0)
double code(double x, double y, double z, double t, double a, double b, double c) {
	return 1.0;
}
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 = 1.0d0
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
	return 1.0;
}
def code(x, y, z, t, a, b, c):
	return 1.0
function code(x, y, z, t, a, b, c)
	return 1.0
end
function tmp = code(x, y, z, t, a, b, c)
	tmp = 1.0;
end
code[x_, y_, z_, t_, a_, b_, c_] := 1.0
\begin{array}{l}

\\
1
\end{array}
Derivation
  1. Initial program 93.4%

    \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
  2. Add Preprocessing
  3. Taylor expanded in b around inf 69.3%

    \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
  4. Step-by-step derivation
    1. associate-*r/69.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{\frac{0.6666666666666666 \cdot 1}{t}} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
    2. metadata-eval69.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{0.6666666666666666}}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
    3. +-commutative69.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \color{blue}{\left(a + 0.8333333333333334\right)}\right)\right)}} \]
  5. Simplified69.3%

    \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
  6. Taylor expanded in b around 0 36.1%

    \[\leadsto \frac{x}{x + \color{blue}{y}} \]
  7. Taylor expanded in x around inf 41.1%

    \[\leadsto \color{blue}{1} \]
  8. Add Preprocessing

Developer target: 95.5% accurate, 0.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := z \cdot \sqrt{t + a}\\ t_2 := a - \frac{5}{6}\\ \mathbf{if}\;t < -2.118326644891581 \cdot 10^{-50}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(a \cdot c + 0.8333333333333334 \cdot c\right) - a \cdot b\right)}}\\ \mathbf{elif}\;t < 5.196588770651547 \cdot 10^{-123}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{t\_1 \cdot \left(\left(3 \cdot t\right) \cdot t\_2\right) - \left(\left(\frac{5}{6} + a\right) \cdot \left(3 \cdot t\right) - 2\right) \cdot \left(t\_2 \cdot \left(\left(b - c\right) \cdot t\right)\right)}{\left(\left(t \cdot t\right) \cdot 3\right) \cdot t\_2}}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{t\_1}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}}\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (let* ((t_1 (* z (sqrt (+ t a)))) (t_2 (- a (/ 5.0 6.0))))
   (if (< t -2.118326644891581e-50)
     (/
      x
      (+
       x
       (* y (exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b)))))))
     (if (< t 5.196588770651547e-123)
       (/
        x
        (+
         x
         (*
          y
          (exp
           (*
            2.0
            (/
             (-
              (* t_1 (* (* 3.0 t) t_2))
              (*
               (- (* (+ (/ 5.0 6.0) a) (* 3.0 t)) 2.0)
               (* t_2 (* (- b c) t))))
             (* (* (* t t) 3.0) t_2)))))))
       (/
        x
        (+
         x
         (*
          y
          (exp
           (*
            2.0
            (-
             (/ t_1 t)
             (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double t_1 = z * sqrt((t + a));
	double t_2 = a - (5.0 / 6.0);
	double tmp;
	if (t < -2.118326644891581e-50) {
		tmp = x / (x + (y * exp((2.0 * (((a * c) + (0.8333333333333334 * c)) - (a * b))))));
	} else if (t < 5.196588770651547e-123) {
		tmp = x / (x + (y * exp((2.0 * (((t_1 * ((3.0 * t) * t_2)) - (((((5.0 / 6.0) + a) * (3.0 * t)) - 2.0) * (t_2 * ((b - c) * t)))) / (((t * t) * 3.0) * t_2))))));
	} else {
		tmp = x / (x + (y * exp((2.0 * ((t_1 / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
	}
	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) :: tmp
    t_1 = z * sqrt((t + a))
    t_2 = a - (5.0d0 / 6.0d0)
    if (t < (-2.118326644891581d-50)) then
        tmp = x / (x + (y * exp((2.0d0 * (((a * c) + (0.8333333333333334d0 * c)) - (a * b))))))
    else if (t < 5.196588770651547d-123) then
        tmp = x / (x + (y * exp((2.0d0 * (((t_1 * ((3.0d0 * t) * t_2)) - (((((5.0d0 / 6.0d0) + a) * (3.0d0 * t)) - 2.0d0) * (t_2 * ((b - c) * t)))) / (((t * t) * 3.0d0) * t_2))))))
    else
        tmp = x / (x + (y * exp((2.0d0 * ((t_1 / t) - ((b - c) * ((a + (5.0d0 / 6.0d0)) - (2.0d0 / (t * 3.0d0)))))))))
    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 = z * Math.sqrt((t + a));
	double t_2 = a - (5.0 / 6.0);
	double tmp;
	if (t < -2.118326644891581e-50) {
		tmp = x / (x + (y * Math.exp((2.0 * (((a * c) + (0.8333333333333334 * c)) - (a * b))))));
	} else if (t < 5.196588770651547e-123) {
		tmp = x / (x + (y * Math.exp((2.0 * (((t_1 * ((3.0 * t) * t_2)) - (((((5.0 / 6.0) + a) * (3.0 * t)) - 2.0) * (t_2 * ((b - c) * t)))) / (((t * t) * 3.0) * t_2))))));
	} else {
		tmp = x / (x + (y * Math.exp((2.0 * ((t_1 / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	t_1 = z * math.sqrt((t + a))
	t_2 = a - (5.0 / 6.0)
	tmp = 0
	if t < -2.118326644891581e-50:
		tmp = x / (x + (y * math.exp((2.0 * (((a * c) + (0.8333333333333334 * c)) - (a * b))))))
	elif t < 5.196588770651547e-123:
		tmp = x / (x + (y * math.exp((2.0 * (((t_1 * ((3.0 * t) * t_2)) - (((((5.0 / 6.0) + a) * (3.0 * t)) - 2.0) * (t_2 * ((b - c) * t)))) / (((t * t) * 3.0) * t_2))))))
	else:
		tmp = x / (x + (y * math.exp((2.0 * ((t_1 / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))))
	return tmp
function code(x, y, z, t, a, b, c)
	t_1 = Float64(z * sqrt(Float64(t + a)))
	t_2 = Float64(a - Float64(5.0 / 6.0))
	tmp = 0.0
	if (t < -2.118326644891581e-50)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(a * c) + Float64(0.8333333333333334 * c)) - Float64(a * b)))))));
	elseif (t < 5.196588770651547e-123)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(t_1 * Float64(Float64(3.0 * t) * t_2)) - Float64(Float64(Float64(Float64(Float64(5.0 / 6.0) + a) * Float64(3.0 * t)) - 2.0) * Float64(t_2 * Float64(Float64(b - c) * t)))) / Float64(Float64(Float64(t * t) * 3.0) * t_2)))))));
	else
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(t_1 / t) - Float64(Float64(b - c) * Float64(Float64(a + Float64(5.0 / 6.0)) - Float64(2.0 / Float64(t * 3.0))))))))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	t_1 = z * sqrt((t + a));
	t_2 = a - (5.0 / 6.0);
	tmp = 0.0;
	if (t < -2.118326644891581e-50)
		tmp = x / (x + (y * exp((2.0 * (((a * c) + (0.8333333333333334 * c)) - (a * b))))));
	elseif (t < 5.196588770651547e-123)
		tmp = x / (x + (y * exp((2.0 * (((t_1 * ((3.0 * t) * t_2)) - (((((5.0 / 6.0) + a) * (3.0 * t)) - 2.0) * (t_2 * ((b - c) * t)))) / (((t * t) * 3.0) * t_2))))));
	else
		tmp = x / (x + (y * exp((2.0 * ((t_1 / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(z * N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a - N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision]}, If[Less[t, -2.118326644891581e-50], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(a * c), $MachinePrecision] + N[(0.8333333333333334 * c), $MachinePrecision]), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Less[t, 5.196588770651547e-123], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(t$95$1 * N[(N[(3.0 * t), $MachinePrecision] * t$95$2), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(N[(N[(5.0 / 6.0), $MachinePrecision] + a), $MachinePrecision] * N[(3.0 * t), $MachinePrecision]), $MachinePrecision] - 2.0), $MachinePrecision] * N[(t$95$2 * N[(N[(b - c), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(N[(N[(t * t), $MachinePrecision] * 3.0), $MachinePrecision] * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(t$95$1 / t), $MachinePrecision] - N[(N[(b - c), $MachinePrecision] * N[(N[(a + N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision] - N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := z \cdot \sqrt{t + a}\\
t_2 := a - \frac{5}{6}\\
\mathbf{if}\;t < -2.118326644891581 \cdot 10^{-50}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(a \cdot c + 0.8333333333333334 \cdot c\right) - a \cdot b\right)}}\\

\mathbf{elif}\;t < 5.196588770651547 \cdot 10^{-123}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{t\_1 \cdot \left(\left(3 \cdot t\right) \cdot t\_2\right) - \left(\left(\frac{5}{6} + a\right) \cdot \left(3 \cdot t\right) - 2\right) \cdot \left(t\_2 \cdot \left(\left(b - c\right) \cdot t\right)\right)}{\left(\left(t \cdot t\right) \cdot 3\right) \cdot t\_2}}}\\

\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{t\_1}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}}\\


\end{array}
\end{array}

Reproduce

?
herbie shell --seed 2024086 
(FPCore (x y z t a b c)
  :name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, I"
  :precision binary64

  :alt
  (if (< t -2.118326644891581e-50) (/ x (+ x (* y (exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b))))))) (if (< t 5.196588770651547e-123) (/ x (+ x (* y (exp (* 2.0 (/ (- (* (* z (sqrt (+ t a))) (* (* 3.0 t) (- a (/ 5.0 6.0)))) (* (- (* (+ (/ 5.0 6.0) a) (* 3.0 t)) 2.0) (* (- a (/ 5.0 6.0)) (* (- b c) t)))) (* (* (* t t) 3.0) (- a (/ 5.0 6.0))))))))) (/ x (+ x (* y (exp (* 2.0 (- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))))))))

  (/ x (+ x (* y (exp (* 2.0 (- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))))))))