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

Percentage Accurate: 94.3% → 96.8%
Time: 22.7s
Alternatives: 21
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 21 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.3% 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.8% accurate, 0.5× speedup?

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

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

\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{-2 \cdot \left(b \cdot a\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 5 6)) (/.f64 2 (*.f64 t 3))))) < +inf.0

    1. Initial program 98.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. Step-by-step derivation
      1. exp-prod98.0%

        \[\leadsto \frac{x}{x + y \cdot \color{blue}{{\left(e^{2}\right)}^{\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. associate-/l*100.0%

        \[\leadsto \frac{x}{x + y \cdot {\left(e^{2}\right)}^{\left(\color{blue}{\frac{z}{\frac{t}{\sqrt{t + a}}}} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
      3. metadata-eval100.0%

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

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

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

    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. Taylor expanded in a around inf 70.2%

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{\sqrt{t + a} \cdot z}{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 {\left(e^{2}\right)}^{\left(\frac{z}{\frac{t}{\sqrt{t + a}}} + \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(b \cdot a\right)}}\\ \end{array} \]

Alternative 2: 97.1% accurate, 0.4× speedup?

\[\begin{array}{l} \\ \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\left(\mathsf{fma}\left(b - c, \frac{0.6666666666666666}{t} + \left(-0.8333333333333334 - a\right), \sqrt{t + a} \cdot \frac{z}{t}\right)\right)}, x\right)} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (/
  x
  (fma
   y
   (pow
    (exp 2.0)
    (fma
     (- b c)
     (+ (/ 0.6666666666666666 t) (- -0.8333333333333334 a))
     (* (sqrt (+ t a)) (/ z t))))
   x)))
double code(double x, double y, double z, double t, double a, double b, double c) {
	return x / fma(y, pow(exp(2.0), fma((b - c), ((0.6666666666666666 / t) + (-0.8333333333333334 - a)), (sqrt((t + a)) * (z / t)))), x);
}
function code(x, y, z, t, a, b, c)
	return Float64(x / fma(y, (exp(2.0) ^ fma(Float64(b - c), Float64(Float64(0.6666666666666666 / t) + Float64(-0.8333333333333334 - a)), Float64(sqrt(Float64(t + a)) * Float64(z / t)))), x))
end
code[x_, y_, z_, t_, a_, b_, c_] := N[(x / N[(y * N[Power[N[Exp[2.0], $MachinePrecision], N[(N[(b - c), $MachinePrecision] * N[(N[(0.6666666666666666 / t), $MachinePrecision] + N[(-0.8333333333333334 - a), $MachinePrecision]), $MachinePrecision] + N[(N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision] * N[(z / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] + x), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\left(\mathsf{fma}\left(b - c, \frac{0.6666666666666666}{t} + \left(-0.8333333333333334 - a\right), \sqrt{t + a} \cdot \frac{z}{t}\right)\right)}, x\right)}
\end{array}
Derivation
  1. Initial program 93.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. Step-by-step derivation
    1. +-commutative93.0%

      \[\leadsto \frac{x}{\color{blue}{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)} + x}} \]
    2. fma-def93.0%

      \[\leadsto \frac{x}{\color{blue}{\mathsf{fma}\left(y, 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)}, x\right)}} \]
  3. Simplified96.9%

    \[\leadsto \color{blue}{\frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\left(\mathsf{fma}\left(b - c, \frac{0.6666666666666666}{t} + \left(-0.8333333333333334 - a\right), \sqrt{t + a} \cdot \frac{z}{t}\right)\right)}, x\right)}} \]
  4. Final simplification96.9%

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

Alternative 3: 96.5% accurate, 0.7× speedup?

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

\\
\begin{array}{l}
t_1 := \frac{\sqrt{t + a} \cdot z}{t}\\
\mathbf{if}\;t_1 + \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(t_1 + \left(b - c\right) \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\

\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{-2 \cdot \left(b \cdot a\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 5 6)) (/.f64 2 (*.f64 t 3))))) < +inf.0

    1. Initial program 98.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. Taylor expanded in t around 0 98.0%

      \[\leadsto \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) - \color{blue}{\frac{0.6666666666666666}{t}}\right)\right)}} \]

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

    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. Taylor expanded in a around inf 70.2%

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{\sqrt{t + a} \cdot z}{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{\sqrt{t + a} \cdot z}{t} + \left(b - c\right) \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{-2 \cdot \left(b \cdot a\right)}}\\ \end{array} \]

Alternative 4: 88.4% accurate, 1.0× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;c \leq -85000000000000 \lor \neg \left(c \leq 1.55 \cdot 10^{+26}\right):\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right)\right)\right)}}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if c < -8.5e13 or 1.55e26 < c

    1. Initial program 89.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. Taylor expanded in c around inf 89.4%

      \[\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)}}} \]
    3. Step-by-step derivation
      1. associate-*r/89.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -8.5e13 < c < 1.55e26

    1. Initial program 96.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. Taylor expanded in c around 0 94.2%

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -85000000000000 \lor \neg \left(c \leq 1.55 \cdot 10^{+26}\right):\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right)\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\sqrt{t + a} \cdot \frac{z}{t} + b \cdot \left(\left(\frac{0.6666666666666666}{t} - a\right) - 0.8333333333333334\right)\right)}}\\ \end{array} \]

Alternative 5: 88.7% accurate, 1.0× speedup?

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

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

\mathbf{elif}\;t \leq 2.5 \cdot 10^{+212}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(z \cdot \sqrt{\frac{1}{t}} + \left(b - c\right) \cdot \left(\frac{0.6666666666666666}{t} - 0.8333333333333334\right)\right)}}\\

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


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

    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. Taylor expanded in t around 0 93.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}}}} \]

    if 3e-196 < t < 2.49999999999999996e212

    1. Initial program 96.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. Taylor expanded in a around 0 84.6%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\sqrt{\frac{1}{t}} \cdot z - \left(b - c\right) \cdot \left(0.8333333333333334 - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}} \]
    3. Step-by-step derivation
      1. *-commutative84.6%

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

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(z \cdot \sqrt{\frac{1}{t}} - \left(b - c\right) \cdot \left(0.8333333333333334 - \frac{\color{blue}{0.6666666666666666}}{t}\right)\right)}} \]
    4. Simplified84.6%

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

    if 2.49999999999999996e212 < t

    1. Initial program 93.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. Taylor expanded in t around inf 97.7%

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(-\left(b - c\right) \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
      2. distribute-rgt-neg-in97.7%

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq 3 \cdot 10^{-196}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{t}}}\\ \mathbf{elif}\;t \leq 2.5 \cdot 10^{+212}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(z \cdot \sqrt{\frac{1}{t}} + \left(b - c\right) \cdot \left(\frac{0.6666666666666666}{t} - 0.8333333333333334\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(b - c\right) \cdot \left(-0.8333333333333334 - a\right)\right)}}\\ \end{array} \]

Alternative 6: 84.9% accurate, 1.0× speedup?

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

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

\mathbf{elif}\;t \leq 1080000000000:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\frac{\frac{0.4444444444444444}{t}}{t} + -0.6944444444444444}{\frac{0.6666666666666666}{t} + 0.8333333333333334} - a\right)\right)}}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if t < 8.5e-197

    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. Taylor expanded in t around 0 93.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}}}} \]

    if 8.5e-197 < t < 1.08e12

    1. Initial program 98.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. Taylor expanded in b around inf 74.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right) \cdot b\right)}}} \]
    3. Step-by-step derivation
      1. *-commutative74.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)}}} \]
      2. sub-neg74.8%

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{\frac{0.6666666666666666}{t} \cdot \frac{0.6666666666666666}{t} + \left(-0.6944444444444444\right)}}{\frac{0.6666666666666666}{t} - -0.8333333333333334} - a\right)\right)}} \]
      2. associate-*l/76.7%

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

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

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

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

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

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

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

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

    if 1.08e12 < t

    1. Initial program 94.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. Taylor expanded in t around inf 88.4%

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(-\left(b - c\right) \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
      2. distribute-rgt-neg-in88.4%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(b - c\right) \cdot \left(-\left(0.8333333333333334 + a\right)\right)\right)}}} \]
      3. distribute-neg-in88.4%

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(b - c\right) \cdot \left(\color{blue}{-0.8333333333333334} + \left(-a\right)\right)\right)}} \]
      5. sub-neg88.4%

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq 8.5 \cdot 10^{-197}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{t}}}\\ \mathbf{elif}\;t \leq 1080000000000:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\frac{\frac{0.4444444444444444}{t}}{t} + -0.6944444444444444}{\frac{0.6666666666666666}{t} + 0.8333333333333334} - a\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(b - c\right) \cdot \left(-0.8333333333333334 - a\right)\right)}}\\ \end{array} \]

Alternative 7: 80.3% accurate, 1.8× speedup?

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

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

\mathbf{elif}\;t \leq 2000000000000:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\frac{\frac{0.4444444444444444}{t}}{t} + -0.6944444444444444}{\frac{0.6666666666666666}{t} + 0.8333333333333334} - a\right)\right)}}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if t < -1.15999999999999995e-201

    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. Taylor expanded in a around inf 89.9%

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

    if -1.15999999999999995e-201 < t < 2e12

    1. Initial program 89.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. Taylor expanded in b around inf 75.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right) \cdot b\right)}}} \]
    3. Step-by-step derivation
      1. *-commutative75.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)}}} \]
      2. sub-neg75.8%

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\color{blue}{\frac{0.6666666666666666}{t} \cdot \frac{0.6666666666666666}{t} + \left(-0.6944444444444444\right)}}{\frac{0.6666666666666666}{t} - -0.8333333333333334} - a\right)\right)}} \]
      2. associate-*l/77.9%

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

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

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

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

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

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

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

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

    if 2e12 < t

    1. Initial program 94.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. Taylor expanded in t around inf 88.4%

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(-\left(b - c\right) \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
      2. distribute-rgt-neg-in88.4%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(b - c\right) \cdot \left(-\left(0.8333333333333334 + a\right)\right)\right)}}} \]
      3. distribute-neg-in88.4%

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(b - c\right) \cdot \left(\color{blue}{-0.8333333333333334} + \left(-a\right)\right)\right)}} \]
      5. sub-neg88.4%

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.16 \cdot 10^{-201}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(c - b\right)\right)}}\\ \mathbf{elif}\;t \leq 2000000000000:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{\frac{\frac{0.4444444444444444}{t}}{t} + -0.6944444444444444}{\frac{0.6666666666666666}{t} + 0.8333333333333334} - a\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(b - c\right) \cdot \left(-0.8333333333333334 - a\right)\right)}}\\ \end{array} \]

Alternative 8: 80.1% accurate, 1.9× speedup?

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

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

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if t < -1.95000000000000009e-205

    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. Taylor expanded in a around inf 89.9%

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

    if -1.95000000000000009e-205 < t < 1.08e12

    1. Initial program 89.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. Taylor expanded in b around inf 75.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right) \cdot b\right)}}} \]
    3. Step-by-step derivation
      1. *-commutative75.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)}}} \]
      2. sub-neg75.8%

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

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

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

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

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

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

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

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

    if 1.08e12 < t

    1. Initial program 94.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. Taylor expanded in t around inf 88.4%

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(-\left(b - c\right) \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
      2. distribute-rgt-neg-in88.4%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(b - c\right) \cdot \left(-\left(0.8333333333333334 + a\right)\right)\right)}}} \]
      3. distribute-neg-in88.4%

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(b - c\right) \cdot \left(\color{blue}{-0.8333333333333334} + \left(-a\right)\right)\right)}} \]
      5. sub-neg88.4%

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.95 \cdot 10^{-205}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(c - b\right)\right)}}\\ \mathbf{elif}\;t \leq 1080000000000:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\left(\frac{0.6666666666666666}{t} + -0.8333333333333334\right) - a\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(b - c\right) \cdot \left(-0.8333333333333334 - a\right)\right)}}\\ \end{array} \]

Alternative 9: 74.5% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(c - b\right)\right)}}\\ \mathbf{if}\;t \leq -4.4 \cdot 10^{-156}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 10^{-73}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\ \mathbf{elif}\;t \leq 5 \cdot 10^{+157}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{\left(b - c\right) \cdot -1.6666666666666667}}\\ \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 b)))))))))
   (if (<= t -4.4e-156)
     t_1
     (if (<= t 1e-73)
       (/ x (+ x (* y (exp (* 1.3333333333333333 (/ (- b c) t))))))
       (if (<= t 5e+157)
         t_1
         (/ x (+ x (* y (exp (* (- b c) -1.6666666666666667))))))))))
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 - b))))));
	double tmp;
	if (t <= -4.4e-156) {
		tmp = t_1;
	} else if (t <= 1e-73) {
		tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t)))));
	} else if (t <= 5e+157) {
		tmp = t_1;
	} else {
		tmp = x / (x + (y * exp(((b - c) * -1.6666666666666667))));
	}
	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 - b))))))
    if (t <= (-4.4d-156)) then
        tmp = t_1
    else if (t <= 1d-73) then
        tmp = x / (x + (y * exp((1.3333333333333333d0 * ((b - c) / t)))))
    else if (t <= 5d+157) then
        tmp = t_1
    else
        tmp = x / (x + (y * exp(((b - c) * (-1.6666666666666667d0)))))
    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 - b))))));
	double tmp;
	if (t <= -4.4e-156) {
		tmp = t_1;
	} else if (t <= 1e-73) {
		tmp = x / (x + (y * Math.exp((1.3333333333333333 * ((b - c) / t)))));
	} else if (t <= 5e+157) {
		tmp = t_1;
	} else {
		tmp = x / (x + (y * Math.exp(((b - c) * -1.6666666666666667))));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	t_1 = x / (x + (y * math.exp((2.0 * (a * (c - b))))))
	tmp = 0
	if t <= -4.4e-156:
		tmp = t_1
	elif t <= 1e-73:
		tmp = x / (x + (y * math.exp((1.3333333333333333 * ((b - c) / t)))))
	elif t <= 5e+157:
		tmp = t_1
	else:
		tmp = x / (x + (y * math.exp(((b - c) * -1.6666666666666667))))
	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 * Float64(c - b)))))))
	tmp = 0.0
	if (t <= -4.4e-156)
		tmp = t_1;
	elseif (t <= 1e-73)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(1.3333333333333333 * Float64(Float64(b - c) / t))))));
	elseif (t <= 5e+157)
		tmp = t_1;
	else
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(Float64(b - c) * -1.6666666666666667)))));
	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 - b))))));
	tmp = 0.0;
	if (t <= -4.4e-156)
		tmp = t_1;
	elseif (t <= 1e-73)
		tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t)))));
	elseif (t <= 5e+157)
		tmp = t_1;
	else
		tmp = x / (x + (y * exp(((b - c) * -1.6666666666666667))));
	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 * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -4.4e-156], t$95$1, If[LessEqual[t, 1e-73], N[(x / N[(x + N[(y * N[Exp[N[(1.3333333333333333 * N[(N[(b - c), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 5e+157], t$95$1, N[(x / N[(x + N[(y * N[Exp[N[(N[(b - c), $MachinePrecision] * -1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}

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

\mathbf{elif}\;t \leq 10^{-73}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\

\mathbf{elif}\;t \leq 5 \cdot 10^{+157}:\\
\;\;\;\;t_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if t < -4.3999999999999998e-156 or 9.99999999999999997e-74 < t < 4.99999999999999976e157

    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. Taylor expanded in a around inf 81.5%

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

    if -4.3999999999999998e-156 < t < 9.99999999999999997e-74

    1. Initial program 87.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. Taylor expanded in t around 0 85.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}}}} \]
    3. Taylor expanded in a around 0 74.2%

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

    if 4.99999999999999976e157 < t

    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. Taylor expanded in t around inf 90.1%

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(-\left(b - c\right) \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
      2. distribute-rgt-neg-in90.1%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(b - c\right) \cdot \left(-\left(0.8333333333333334 + a\right)\right)\right)}}} \]
      3. distribute-neg-in90.1%

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

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

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

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

      \[\leadsto \frac{x}{x + \color{blue}{e^{-1.6666666666666667 \cdot \left(b - c\right)} \cdot y}} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification78.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -4.4 \cdot 10^{-156}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(c - b\right)\right)}}\\ \mathbf{elif}\;t \leq 10^{-73}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\ \mathbf{elif}\;t \leq 5 \cdot 10^{+157}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(c - b\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{\left(b - c\right) \cdot -1.6666666666666667}}\\ \end{array} \]

Alternative 10: 69.1% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(c - b\right)\right)}}\\ \mathbf{if}\;t \leq -9.2 \cdot 10^{-206}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 2.5 \cdot 10^{-109}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \frac{0.6666666666666666}{t}\right)}}\\ \mathbf{elif}\;t \leq 8 \cdot 10^{+157}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{\left(b - c\right) \cdot -1.6666666666666667}}\\ \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 b)))))))))
   (if (<= t -9.2e-206)
     t_1
     (if (<= t 2.5e-109)
       (/ x (+ x (* y (exp (* 2.0 (* b (/ 0.6666666666666666 t)))))))
       (if (<= t 8e+157)
         t_1
         (/ x (+ x (* y (exp (* (- b c) -1.6666666666666667))))))))))
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 - b))))));
	double tmp;
	if (t <= -9.2e-206) {
		tmp = t_1;
	} else if (t <= 2.5e-109) {
		tmp = x / (x + (y * exp((2.0 * (b * (0.6666666666666666 / t))))));
	} else if (t <= 8e+157) {
		tmp = t_1;
	} else {
		tmp = x / (x + (y * exp(((b - c) * -1.6666666666666667))));
	}
	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 - b))))))
    if (t <= (-9.2d-206)) then
        tmp = t_1
    else if (t <= 2.5d-109) then
        tmp = x / (x + (y * exp((2.0d0 * (b * (0.6666666666666666d0 / t))))))
    else if (t <= 8d+157) then
        tmp = t_1
    else
        tmp = x / (x + (y * exp(((b - c) * (-1.6666666666666667d0)))))
    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 - b))))));
	double tmp;
	if (t <= -9.2e-206) {
		tmp = t_1;
	} else if (t <= 2.5e-109) {
		tmp = x / (x + (y * Math.exp((2.0 * (b * (0.6666666666666666 / t))))));
	} else if (t <= 8e+157) {
		tmp = t_1;
	} else {
		tmp = x / (x + (y * Math.exp(((b - c) * -1.6666666666666667))));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	t_1 = x / (x + (y * math.exp((2.0 * (a * (c - b))))))
	tmp = 0
	if t <= -9.2e-206:
		tmp = t_1
	elif t <= 2.5e-109:
		tmp = x / (x + (y * math.exp((2.0 * (b * (0.6666666666666666 / t))))))
	elif t <= 8e+157:
		tmp = t_1
	else:
		tmp = x / (x + (y * math.exp(((b - c) * -1.6666666666666667))))
	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 * Float64(c - b)))))))
	tmp = 0.0
	if (t <= -9.2e-206)
		tmp = t_1;
	elseif (t <= 2.5e-109)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(b * Float64(0.6666666666666666 / t)))))));
	elseif (t <= 8e+157)
		tmp = t_1;
	else
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(Float64(b - c) * -1.6666666666666667)))));
	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 - b))))));
	tmp = 0.0;
	if (t <= -9.2e-206)
		tmp = t_1;
	elseif (t <= 2.5e-109)
		tmp = x / (x + (y * exp((2.0 * (b * (0.6666666666666666 / t))))));
	elseif (t <= 8e+157)
		tmp = t_1;
	else
		tmp = x / (x + (y * exp(((b - c) * -1.6666666666666667))));
	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 * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -9.2e-206], t$95$1, If[LessEqual[t, 2.5e-109], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(b * N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 8e+157], t$95$1, N[(x / N[(x + N[(y * N[Exp[N[(N[(b - c), $MachinePrecision] * -1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}

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

\mathbf{elif}\;t \leq 2.5 \cdot 10^{-109}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \frac{0.6666666666666666}{t}\right)}}\\

\mathbf{elif}\;t \leq 8 \cdot 10^{+157}:\\
\;\;\;\;t_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if t < -9.2e-206 or 2.5000000000000001e-109 < t < 7.99999999999999987e157

    1. Initial program 96.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. Taylor expanded in a around inf 79.4%

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

    if -9.2e-206 < t < 2.5000000000000001e-109

    1. Initial program 83.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. Taylor expanded in b around inf 76.5%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right) \cdot b\right)}}} \]
    3. Step-by-step derivation
      1. *-commutative76.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)}}} \]
      2. sub-neg76.5%

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

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

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

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

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

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

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

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

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\frac{b}{t} \cdot 0.6666666666666666\right)}}} \]
      2. associate-*l/76.5%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\frac{b \cdot 0.6666666666666666}{t}}}} \]
      3. associate-*r/76.5%

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

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

    if 7.99999999999999987e157 < t

    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. Taylor expanded in t around inf 90.1%

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(-\left(b - c\right) \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
      2. distribute-rgt-neg-in90.1%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(b - c\right) \cdot \left(-\left(0.8333333333333334 + a\right)\right)\right)}}} \]
      3. distribute-neg-in90.1%

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

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

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

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

      \[\leadsto \frac{x}{x + \color{blue}{e^{-1.6666666666666667 \cdot \left(b - c\right)} \cdot y}} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification78.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -9.2 \cdot 10^{-206}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(c - b\right)\right)}}\\ \mathbf{elif}\;t \leq 2.5 \cdot 10^{-109}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \frac{0.6666666666666666}{t}\right)}}\\ \mathbf{elif}\;t \leq 8 \cdot 10^{+157}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(c - b\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{\left(b - c\right) \cdot -1.6666666666666667}}\\ \end{array} \]

Alternative 11: 83.6% accurate, 1.9× speedup?

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

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

\mathbf{elif}\;t \leq 3.85 \cdot 10^{-28}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if t < -3.99999999999999977e-157

    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. Taylor expanded in a around inf 90.8%

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

    if -3.99999999999999977e-157 < t < 3.85e-28

    1. Initial program 88.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. Taylor expanded in t around 0 81.1%

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

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

    if 3.85e-28 < t

    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. Taylor expanded in t around inf 87.0%

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(-\left(b - c\right) \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
      2. distribute-rgt-neg-in87.0%

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -4 \cdot 10^{-157}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(c - b\right)\right)}}\\ \mathbf{elif}\;t \leq 3.85 \cdot 10^{-28}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(b - c\right) \cdot \left(-0.8333333333333334 - a\right)\right)}}\\ \end{array} \]

Alternative 12: 57.2% accurate, 2.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot a\right)}}\\ \mathbf{if}\;c \leq -9.5 \cdot 10^{+15}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq -1.5 \cdot 10^{-222}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\ \mathbf{elif}\;c \leq 3.2 \cdot 10^{-74}:\\ \;\;\;\;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))))))))
   (if (<= c -9.5e+15)
     t_1
     (if (<= c -1.5e-222)
       (/ x (+ x (* y (exp (* b -1.6666666666666667)))))
       (if (<= c 3.2e-74) 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)))));
	double tmp;
	if (c <= -9.5e+15) {
		tmp = t_1;
	} else if (c <= -1.5e-222) {
		tmp = x / (x + (y * exp((b * -1.6666666666666667))));
	} else if (c <= 3.2e-74) {
		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)))))
    if (c <= (-9.5d+15)) then
        tmp = t_1
    else if (c <= (-1.5d-222)) then
        tmp = x / (x + (y * exp((b * (-1.6666666666666667d0)))))
    else if (c <= 3.2d-74) 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)))));
	double tmp;
	if (c <= -9.5e+15) {
		tmp = t_1;
	} else if (c <= -1.5e-222) {
		tmp = x / (x + (y * Math.exp((b * -1.6666666666666667))));
	} else if (c <= 3.2e-74) {
		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)))))
	tmp = 0
	if c <= -9.5e+15:
		tmp = t_1
	elif c <= -1.5e-222:
		tmp = x / (x + (y * math.exp((b * -1.6666666666666667))))
	elif c <= 3.2e-74:
		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 * a))))))
	tmp = 0.0
	if (c <= -9.5e+15)
		tmp = t_1;
	elseif (c <= -1.5e-222)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(b * -1.6666666666666667)))));
	elseif (c <= 3.2e-74)
		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)))));
	tmp = 0.0;
	if (c <= -9.5e+15)
		tmp = t_1;
	elseif (c <= -1.5e-222)
		tmp = x / (x + (y * exp((b * -1.6666666666666667))));
	elseif (c <= 3.2e-74)
		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 * a), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -9.5e+15], t$95$1, If[LessEqual[c, -1.5e-222], N[(x / N[(x + N[(y * N[Exp[N[(b * -1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3.2e-74], 1.0, t$95$1]]]]
\begin{array}{l}

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

\mathbf{elif}\;c \leq -1.5 \cdot 10^{-222}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\

\mathbf{elif}\;c \leq 3.2 \cdot 10^{-74}:\\
\;\;\;\;1\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if c < -9.5e15 or 3.1999999999999999e-74 < c

    1. Initial program 90.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. Taylor expanded in a around inf 75.6%

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

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

    if -9.5e15 < c < -1.50000000000000015e-222

    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. Taylor expanded in b around inf 74.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right) \cdot b\right)}}} \]
    3. Step-by-step derivation
      1. *-commutative74.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)}}} \]
      2. sub-neg74.8%

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

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

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

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

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

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

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

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

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(-b \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
      2. distribute-rgt-neg-in62.2%

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

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

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

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

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

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

    if -1.50000000000000015e-222 < c < 3.1999999999999999e-74

    1. Initial program 98.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. Taylor expanded in a around inf 52.5%

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -9.5 \cdot 10^{+15}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot a\right)}}\\ \mathbf{elif}\;c \leq -1.5 \cdot 10^{-222}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\ \mathbf{elif}\;c \leq 3.2 \cdot 10^{-74}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot a\right)}}\\ \end{array} \]

Alternative 13: 76.7% accurate, 2.0× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;t \leq -1.2 \cdot 10^{+90} \lor \neg \left(t \leq 8.5 \cdot 10^{-29}\right):\\
\;\;\;\;\frac{x}{x + y \cdot e^{\left(b - c\right) \cdot -1.6666666666666667}}\\

\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if t < -1.20000000000000005e90 or 8.5000000000000001e-29 < t

    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. Taylor expanded in t around inf 87.7%

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(-\left(b - c\right) \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
      2. distribute-rgt-neg-in87.7%

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

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

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

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

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

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

    if -1.20000000000000005e90 < t < 8.5000000000000001e-29

    1. Initial program 91.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. Taylor expanded in t around 0 84.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}}}} \]
    3. Taylor expanded in a around 0 74.9%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.2 \cdot 10^{+90} \lor \neg \left(t \leq 8.5 \cdot 10^{-29}\right):\\ \;\;\;\;\frac{x}{x + y \cdot e^{\left(b - c\right) \cdot -1.6666666666666667}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\ \end{array} \]

Alternative 14: 63.5% accurate, 2.0× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;b - c \leq -1 \cdot 10^{+24}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{\left(b - c\right) \cdot -1.6666666666666667}}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if (-.f64 b c) < -9.9999999999999998e23

    1. Initial program 90.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. Taylor expanded in t around inf 77.1%

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(-\left(b - c\right) \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
      2. distribute-rgt-neg-in77.1%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(b - c\right) \cdot \left(-\left(0.8333333333333334 + a\right)\right)\right)}}} \]
      3. distribute-neg-in77.1%

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

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

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

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

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

    if -9.9999999999999998e23 < (-.f64 b c)

    1. Initial program 94.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. Taylor expanded in a around inf 61.8%

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b - c \leq -1 \cdot 10^{+24}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{\left(b - c\right) \cdot -1.6666666666666667}}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]

Alternative 15: 54.9% accurate, 2.1× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.7 \cdot 10^{+148}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\

\mathbf{elif}\;b \leq -1.5 \cdot 10^{-196}:\\
\;\;\;\;1\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -1.7000000000000001e148

    1. Initial program 86.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. Taylor expanded in b around inf 90.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right) \cdot b\right)}}} \]
    3. Step-by-step derivation
      1. *-commutative90.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)}}} \]
      2. sub-neg90.3%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -1.7000000000000001e148 < b < -1.5e-196 or 2.4000000000000002e-211 < b

    1. Initial program 93.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. Taylor expanded in a around inf 62.7%

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

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

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

    if -1.5e-196 < b < 2.4000000000000002e-211

    1. Initial program 94.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. Taylor expanded in a around inf 74.0%

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.7 \cdot 10^{+148}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\ \mathbf{elif}\;b \leq -1.5 \cdot 10^{-196}:\\ \;\;\;\;1\\ \mathbf{elif}\;b \leq 2.4 \cdot 10^{-211}:\\ \;\;\;\;\frac{x}{y + \left(x + 2 \cdot \left(c \cdot \left(y \cdot a\right)\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]

Alternative 16: 56.1% accurate, 12.1× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;b - c \leq -1 \cdot 10^{+153}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(a \cdot \left(y \cdot \left(c - b\right)\right)\right)\right)}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if (-.f64 b c) < -1e153

    1. Initial program 85.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. Taylor expanded in a around inf 78.9%

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

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(a \cdot \left(y \cdot \left(c - b\right)\right)\right)\right)}} \]
    4. Step-by-step derivation
      1. *-commutative51.3%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(a \cdot \color{blue}{\left(\left(c - b\right) \cdot y\right)}\right)\right)} \]
    5. Simplified51.3%

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

    if -1e153 < (-.f64 b c)

    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. Taylor expanded in a around inf 63.0%

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b - c \leq -1 \cdot 10^{+153}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(a \cdot \left(y \cdot \left(c - b\right)\right)\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]

Alternative 17: 51.4% accurate, 15.3× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;x \leq -4.4 \cdot 10^{+119}:\\
\;\;\;\;\frac{x}{y + \left(x + 2 \cdot \left(c \cdot \left(y \cdot a\right)\right)\right)}\\

\mathbf{elif}\;x \leq 2.4 \cdot 10^{+153}:\\
\;\;\;\;1\\

\mathbf{else}:\\
\;\;\;\;\frac{x}{x + 1.3333333333333333 \cdot \frac{y}{\frac{t}{b}}}\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if x < -4.4000000000000003e119

    1. Initial program 94.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. Taylor expanded in a around inf 80.3%

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

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

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

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

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

    if -4.4000000000000003e119 < x < 2.39999999999999992e153

    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. Taylor expanded in a around inf 62.4%

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

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

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

    if 2.39999999999999992e153 < x

    1. Initial program 92.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. Taylor expanded in t around 0 45.1%

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

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

      \[\leadsto \frac{x}{x + \color{blue}{1.3333333333333333 \cdot \frac{y \cdot b}{t}}} \]
    5. Step-by-step derivation
      1. associate-/l*66.9%

        \[\leadsto \frac{x}{x + 1.3333333333333333 \cdot \color{blue}{\frac{y}{\frac{t}{b}}}} \]
    6. Simplified66.9%

      \[\leadsto \frac{x}{x + \color{blue}{1.3333333333333333 \cdot \frac{y}{\frac{t}{b}}}} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification59.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -4.4 \cdot 10^{+119}:\\ \;\;\;\;\frac{x}{y + \left(x + 2 \cdot \left(c \cdot \left(y \cdot a\right)\right)\right)}\\ \mathbf{elif}\;x \leq 2.4 \cdot 10^{+153}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + 1.3333333333333333 \cdot \frac{y}{\frac{t}{b}}}\\ \end{array} \]

Alternative 18: 53.2% accurate, 17.7× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;b \leq -3.2 \cdot 10^{+148}:\\
\;\;\;\;\frac{x}{x + 1.3333333333333333 \cdot \frac{y \cdot b}{t}}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if b < -3.1999999999999999e148

    1. Initial program 86.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. Taylor expanded in t around 0 67.5%

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

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

      \[\leadsto \frac{x}{x + \color{blue}{1.3333333333333333 \cdot \frac{y \cdot b}{t}}} \]

    if -3.1999999999999999e148 < 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. Taylor expanded in a around inf 64.5%

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -3.2 \cdot 10^{+148}:\\ \;\;\;\;\frac{x}{x + 1.3333333333333333 \cdot \frac{y \cdot b}{t}}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]

Alternative 19: 52.4% accurate, 20.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -3.9 \cdot 10^{+148}:\\ \;\;\;\;-0.5 \cdot \frac{\frac{x}{a}}{y \cdot b}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= b -3.9e+148) (* -0.5 (/ (/ x a) (* y b))) 1.0))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (b <= -3.9e+148) {
		tmp = -0.5 * ((x / a) / (y * b));
	} 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.9d+148)) then
        tmp = (-0.5d0) * ((x / a) / (y * b))
    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.9e+148) {
		tmp = -0.5 * ((x / a) / (y * b));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if b <= -3.9e+148:
		tmp = -0.5 * ((x / a) / (y * b))
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (b <= -3.9e+148)
		tmp = Float64(-0.5 * Float64(Float64(x / a) / Float64(y * b)));
	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.9e+148)
		tmp = -0.5 * ((x / a) / (y * b));
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -3.9e+148], N[(-0.5 * N[(N[(x / a), $MachinePrecision] / N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -3.9 \cdot 10^{+148}:\\
\;\;\;\;-0.5 \cdot \frac{\frac{x}{a}}{y \cdot b}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if b < -3.90000000000000002e148

    1. Initial program 86.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. Taylor expanded in a around inf 80.6%

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

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(a \cdot \left(y \cdot \left(c - b\right)\right)\right)\right)}} \]
    4. Step-by-step derivation
      1. *-commutative64.5%

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

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

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

        \[\leadsto -0.5 \cdot \frac{x}{\color{blue}{\left(y \cdot a\right) \cdot b}} \]
      2. *-commutative48.3%

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

        \[\leadsto -0.5 \cdot \frac{x}{\color{blue}{a \cdot \left(y \cdot b\right)}} \]
      4. associate-/r*51.5%

        \[\leadsto -0.5 \cdot \color{blue}{\frac{\frac{x}{a}}{y \cdot b}} \]
      5. *-commutative51.5%

        \[\leadsto -0.5 \cdot \frac{\frac{x}{a}}{\color{blue}{b \cdot y}} \]
    8. Simplified51.5%

      \[\leadsto \color{blue}{-0.5 \cdot \frac{\frac{x}{a}}{b \cdot y}} \]

    if -3.90000000000000002e148 < 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. Taylor expanded in a around inf 64.5%

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -3.9 \cdot 10^{+148}:\\ \;\;\;\;-0.5 \cdot \frac{\frac{x}{a}}{y \cdot b}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]

Alternative 20: 53.0% accurate, 20.9× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.85 \cdot 10^{+148}:\\
\;\;\;\;\frac{x}{-2 \cdot \left(a \cdot \left(y \cdot b\right)\right)}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if b < -1.8500000000000001e148

    1. Initial program 86.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. Taylor expanded in a around inf 80.6%

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

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 2 \cdot \left(a \cdot \left(y \cdot \left(c - b\right)\right)\right)\right)}} \]
    4. Step-by-step derivation
      1. *-commutative64.5%

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

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

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

    if -1.8500000000000001e148 < 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. Taylor expanded in a around inf 64.5%

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.85 \cdot 10^{+148}:\\ \;\;\;\;\frac{x}{-2 \cdot \left(a \cdot \left(y \cdot b\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]

Alternative 21: 52.7% 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.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. Taylor expanded in a around inf 66.4%

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

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

    \[\leadsto \color{blue}{1} \]
  5. Final simplification55.0%

    \[\leadsto 1 \]

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 2023195 
(FPCore (x y z t a b c)
  :name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, I"
  :precision binary64

  :herbie-target
  (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)))))))))))