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

Percentage Accurate: 93.6% → 96.3%
Time: 33.7s
Alternatives: 24
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 24 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: 93.6% 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.3% accurate, 0.7× speedup?

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

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

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


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

    1. Initial program 99.2%

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

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

    1. Initial program 0.0%

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

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

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

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

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

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

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

Alternative 2: 96.2% accurate, 0.4× speedup?

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

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

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

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

Alternative 3: 87.6% accurate, 0.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(z \cdot \sqrt{\frac{1}{t}} + \left(a + 0.8333333333333334\right) \cdot \left(c - b\right)\right)}}\\ \mathbf{if}\;t \leq -5 \cdot 10^{+20}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\ \mathbf{elif}\;t \leq 2.6 \cdot 10^{-142}:\\ \;\;\;\;\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 \cdot 10^{-70}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq 1.45 \cdot 10^{-45}:\\ \;\;\;\;1\\ \mathbf{elif}\;t \leq 0.55:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;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
              (+
               (* z (sqrt (/ 1.0 t)))
               (* (+ a 0.8333333333333334) (- c b))))))))))
   (if (<= t -5e+20)
     (/ x (+ x (* y (exp (* 2.0 (* a c))))))
     (if (<= t 2.6e-142)
       (/
        x
        (+
         x
         (*
          y
          (exp
           (* 2.0 (/ (+ (* z (sqrt a)) (* -0.6666666666666666 (- c b))) t))))))
       (if (<= t 2e-70)
         t_1
         (if (<= t 1.45e-45)
           1.0
           (if (<= t 0.55)
             (/
              x
              (+
               x
               (*
                y
                (exp
                 (*
                  2.0
                  (*
                   b
                   (- (/ 0.6666666666666666 t) (+ a 0.8333333333333334))))))))
             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 * ((z * sqrt((1.0 / t))) + ((a + 0.8333333333333334) * (c - b)))))));
	double tmp;
	if (t <= -5e+20) {
		tmp = x / (x + (y * exp((2.0 * (a * c)))));
	} else if (t <= 2.6e-142) {
		tmp = x / (x + (y * exp((2.0 * (((z * sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))));
	} else if (t <= 2e-70) {
		tmp = t_1;
	} else if (t <= 1.45e-45) {
		tmp = 1.0;
	} else if (t <= 0.55) {
		tmp = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
	} 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 * ((z * sqrt((1.0d0 / t))) + ((a + 0.8333333333333334d0) * (c - b)))))))
    if (t <= (-5d+20)) then
        tmp = x / (x + (y * exp((2.0d0 * (a * c)))))
    else if (t <= 2.6d-142) then
        tmp = x / (x + (y * exp((2.0d0 * (((z * sqrt(a)) + ((-0.6666666666666666d0) * (c - b))) / t)))))
    else if (t <= 2d-70) then
        tmp = t_1
    else if (t <= 1.45d-45) then
        tmp = 1.0d0
    else if (t <= 0.55d0) then
        tmp = x / (x + (y * exp((2.0d0 * (b * ((0.6666666666666666d0 / t) - (a + 0.8333333333333334d0)))))))
    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 * ((z * Math.sqrt((1.0 / t))) + ((a + 0.8333333333333334) * (c - b)))))));
	double tmp;
	if (t <= -5e+20) {
		tmp = x / (x + (y * Math.exp((2.0 * (a * c)))));
	} else if (t <= 2.6e-142) {
		tmp = x / (x + (y * Math.exp((2.0 * (((z * Math.sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))));
	} else if (t <= 2e-70) {
		tmp = t_1;
	} else if (t <= 1.45e-45) {
		tmp = 1.0;
	} else if (t <= 0.55) {
		tmp = x / (x + (y * Math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	t_1 = x / (x + (y * math.exp((2.0 * ((z * math.sqrt((1.0 / t))) + ((a + 0.8333333333333334) * (c - b)))))))
	tmp = 0
	if t <= -5e+20:
		tmp = x / (x + (y * math.exp((2.0 * (a * c)))))
	elif t <= 2.6e-142:
		tmp = x / (x + (y * math.exp((2.0 * (((z * math.sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))))
	elif t <= 2e-70:
		tmp = t_1
	elif t <= 1.45e-45:
		tmp = 1.0
	elif t <= 0.55:
		tmp = x / (x + (y * math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))))
	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(Float64(z * sqrt(Float64(1.0 / t))) + Float64(Float64(a + 0.8333333333333334) * Float64(c - b))))))))
	tmp = 0.0
	if (t <= -5e+20)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * c))))));
	elseif (t <= 2.6e-142)
		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 <= 2e-70)
		tmp = t_1;
	elseif (t <= 1.45e-45)
		tmp = 1.0;
	elseif (t <= 0.55)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(b * Float64(Float64(0.6666666666666666 / t) - Float64(a + 0.8333333333333334))))))));
	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 * ((z * sqrt((1.0 / t))) + ((a + 0.8333333333333334) * (c - b)))))));
	tmp = 0.0;
	if (t <= -5e+20)
		tmp = x / (x + (y * exp((2.0 * (a * c)))));
	elseif (t <= 2.6e-142)
		tmp = x / (x + (y * exp((2.0 * (((z * sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))));
	elseif (t <= 2e-70)
		tmp = t_1;
	elseif (t <= 1.45e-45)
		tmp = 1.0;
	elseif (t <= 0.55)
		tmp = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
	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[(N[(z * N[Sqrt[N[(1.0 / t), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] + N[(N[(a + 0.8333333333333334), $MachinePrecision] * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -5e+20], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.6e-142], 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, 2e-70], t$95$1, If[LessEqual[t, 1.45e-45], 1.0, If[LessEqual[t, 0.55], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(b * N[(N[(0.6666666666666666 / t), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;t \leq 2.6 \cdot 10^{-142}:\\
\;\;\;\;\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 \cdot 10^{-70}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t \leq 1.45 \cdot 10^{-45}:\\
\;\;\;\;1\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if t < -5e20

    1. Initial program 93.9%

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

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

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

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

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

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

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

    if -5e20 < t < 2.6e-142

    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. Add Preprocessing
    3. Taylor expanded in t around 0 90.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}}}} \]

    if 2.6e-142 < t < 1.99999999999999999e-70 or 0.55000000000000004 < t

    1. Initial program 97.6%

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

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

    if 1.99999999999999999e-70 < t < 1.45e-45

    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. Add Preprocessing
    3. Taylor expanded in c around inf 71.1%

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

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

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

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

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

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

    if 1.45e-45 < t < 0.55000000000000004

    1. Initial program 100.0%

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -5 \cdot 10^{+20}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\ \mathbf{elif}\;t \leq 2.6 \cdot 10^{-142}:\\ \;\;\;\;\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 \cdot 10^{-70}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(z \cdot \sqrt{\frac{1}{t}} + \left(a + 0.8333333333333334\right) \cdot \left(c - b\right)\right)}}\\ \mathbf{elif}\;t \leq 1.45 \cdot 10^{-45}:\\ \;\;\;\;1\\ \mathbf{elif}\;t \leq 0.55:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(z \cdot \sqrt{\frac{1}{t}} + \left(a + 0.8333333333333334\right) \cdot \left(c - b\right)\right)}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 4: 59.9% accurate, 1.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -1.16 \cdot 10^{-197}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\ \mathbf{elif}\;t \leq 1.4 \cdot 10^{-148}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{\frac{c}{t} \cdot -1.3333333333333333}}\\ \mathbf{elif}\;t \leq 3.8 \cdot 10^{-77}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(a \cdot \left(y \cdot \frac{\frac{0.6666666666666666}{t} + -0.8333333333333334}{a} - y\right)\right)\right)\right)}\\ \mathbf{elif}\;t \leq 2 \cdot 10^{-5}:\\ \;\;\;\;1\\ \mathbf{elif}\;t \leq 1.45 \cdot 10^{+128}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{-2 \cdot \left(a \cdot b\right)}}\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= t -1.16e-197)
   (/ x (+ x (* y (exp (* 2.0 (* a c))))))
   (if (<= t 1.4e-148)
     (/ x (+ x (* y (exp (* (/ c t) -1.3333333333333333)))))
     (if (<= t 3.8e-77)
       (/
        x
        (+
         x
         (+
          y
          (*
           2.0
           (*
            b
            (*
             a
             (-
              (* y (/ (+ (/ 0.6666666666666666 t) -0.8333333333333334) a))
              y)))))))
       (if (<= t 2e-5)
         1.0
         (if (<= t 1.45e+128)
           (/ x (+ x (* y (exp (* c 1.6666666666666667)))))
           (/ x (+ x (* y (exp (- (* 2.0 (* a b)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (t <= -1.16e-197) {
		tmp = x / (x + (y * exp((2.0 * (a * c)))));
	} else if (t <= 1.4e-148) {
		tmp = x / (x + (y * exp(((c / t) * -1.3333333333333333))));
	} else if (t <= 3.8e-77) {
		tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y))))));
	} else if (t <= 2e-5) {
		tmp = 1.0;
	} else if (t <= 1.45e+128) {
		tmp = x / (x + (y * exp((c * 1.6666666666666667))));
	} else {
		tmp = x / (x + (y * exp(-(2.0 * (a * b)))));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8) :: tmp
    if (t <= (-1.16d-197)) then
        tmp = x / (x + (y * exp((2.0d0 * (a * c)))))
    else if (t <= 1.4d-148) then
        tmp = x / (x + (y * exp(((c / t) * (-1.3333333333333333d0)))))
    else if (t <= 3.8d-77) then
        tmp = x / (x + (y + (2.0d0 * (b * (a * ((y * (((0.6666666666666666d0 / t) + (-0.8333333333333334d0)) / a)) - y))))))
    else if (t <= 2d-5) then
        tmp = 1.0d0
    else if (t <= 1.45d+128) then
        tmp = x / (x + (y * exp((c * 1.6666666666666667d0))))
    else
        tmp = x / (x + (y * exp(-(2.0d0 * (a * b)))))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (t <= -1.16e-197) {
		tmp = x / (x + (y * Math.exp((2.0 * (a * c)))));
	} else if (t <= 1.4e-148) {
		tmp = x / (x + (y * Math.exp(((c / t) * -1.3333333333333333))));
	} else if (t <= 3.8e-77) {
		tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y))))));
	} else if (t <= 2e-5) {
		tmp = 1.0;
	} else if (t <= 1.45e+128) {
		tmp = x / (x + (y * Math.exp((c * 1.6666666666666667))));
	} else {
		tmp = x / (x + (y * Math.exp(-(2.0 * (a * b)))));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if t <= -1.16e-197:
		tmp = x / (x + (y * math.exp((2.0 * (a * c)))))
	elif t <= 1.4e-148:
		tmp = x / (x + (y * math.exp(((c / t) * -1.3333333333333333))))
	elif t <= 3.8e-77:
		tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y))))))
	elif t <= 2e-5:
		tmp = 1.0
	elif t <= 1.45e+128:
		tmp = x / (x + (y * math.exp((c * 1.6666666666666667))))
	else:
		tmp = x / (x + (y * math.exp(-(2.0 * (a * b)))))
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (t <= -1.16e-197)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * c))))));
	elseif (t <= 1.4e-148)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(Float64(c / t) * -1.3333333333333333)))));
	elseif (t <= 3.8e-77)
		tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(b * Float64(a * Float64(Float64(y * Float64(Float64(Float64(0.6666666666666666 / t) + -0.8333333333333334) / a)) - y)))))));
	elseif (t <= 2e-5)
		tmp = 1.0;
	elseif (t <= 1.45e+128)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(c * 1.6666666666666667)))));
	else
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(-Float64(2.0 * Float64(a * b)))))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (t <= -1.16e-197)
		tmp = x / (x + (y * exp((2.0 * (a * c)))));
	elseif (t <= 1.4e-148)
		tmp = x / (x + (y * exp(((c / t) * -1.3333333333333333))));
	elseif (t <= 3.8e-77)
		tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y))))));
	elseif (t <= 2e-5)
		tmp = 1.0;
	elseif (t <= 1.45e+128)
		tmp = x / (x + (y * exp((c * 1.6666666666666667))));
	else
		tmp = x / (x + (y * exp(-(2.0 * (a * b)))));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[t, -1.16e-197], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.4e-148], N[(x / N[(x + N[(y * N[Exp[N[(N[(c / t), $MachinePrecision] * -1.3333333333333333), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 3.8e-77], N[(x / N[(x + N[(y + N[(2.0 * N[(b * N[(a * N[(N[(y * N[(N[(N[(0.6666666666666666 / t), $MachinePrecision] + -0.8333333333333334), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2e-5], 1.0, If[LessEqual[t, 1.45e+128], N[(x / N[(x + N[(y * N[Exp[N[(c * 1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[(-N[(2.0 * N[(a * b), $MachinePrecision]), $MachinePrecision])], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}

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

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

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

\mathbf{elif}\;t \leq 2 \cdot 10^{-5}:\\
\;\;\;\;1\\

\mathbf{elif}\;t \leq 1.45 \cdot 10^{+128}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\

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


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

    1. Initial program 95.4%

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

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

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

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

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

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

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

    if -1.16e-197 < t < 1.4e-148

    1. Initial program 93.5%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in t around 0 90.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}}}} \]
    4. Taylor expanded in z around 0 87.5%

      \[\leadsto \color{blue}{\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}} \]
    5. Taylor expanded in b around 0 67.3%

      \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{-1.3333333333333333 \cdot \frac{c}{t}}}} \]
    6. Step-by-step derivation
      1. *-commutative67.3%

        \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{\frac{c}{t} \cdot -1.3333333333333333}}} \]
    7. Simplified67.3%

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

    if 1.4e-148 < t < 3.7999999999999999e-77

    1. Initial program 95.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if 3.7999999999999999e-77 < t < 2.00000000000000016e-5

    1. Initial program 95.5%

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

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

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

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

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

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

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

    if 2.00000000000000016e-5 < t < 1.45e128

    1. Initial program 97.8%

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

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

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

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

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

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

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

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

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

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

    if 1.45e128 < t

    1. Initial program 98.3%

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

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

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.16 \cdot 10^{-197}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\ \mathbf{elif}\;t \leq 1.4 \cdot 10^{-148}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{\frac{c}{t} \cdot -1.3333333333333333}}\\ \mathbf{elif}\;t \leq 3.8 \cdot 10^{-77}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(a \cdot \left(y \cdot \frac{\frac{0.6666666666666666}{t} + -0.8333333333333334}{a} - y\right)\right)\right)\right)}\\ \mathbf{elif}\;t \leq 2 \cdot 10^{-5}:\\ \;\;\;\;1\\ \mathbf{elif}\;t \leq 1.45 \cdot 10^{+128}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{-2 \cdot \left(a \cdot b\right)}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 5: 58.1% accurate, 1.7× speedup?

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

\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\
\mathbf{if}\;t \leq -96000000:\\
\;\;\;\;t\_1\\

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

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

\mathbf{elif}\;t \leq 0.00038:\\
\;\;\;\;1\\

\mathbf{elif}\;t \leq 5.2 \cdot 10^{+189}:\\
\;\;\;\;t\_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if t < -9.6e7 or 3.8000000000000002e-4 < t < 5.19999999999999963e189

    1. Initial program 97.6%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 79.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)}}} \]
    4. Step-by-step derivation
      1. +-commutative79.4%

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

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

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

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

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

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

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

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

    if -9.6e7 < t < 2.2000000000000001e-171

    1. Initial program 93.8%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in t around 0 95.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}}}} \]
    4. Taylor expanded in z around 0 85.8%

      \[\leadsto \color{blue}{\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}} \]
    5. Taylor expanded in b around inf 63.1%

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

    if 2.2000000000000001e-171 < t < 3.7999999999999999e-77

    1. Initial program 96.6%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if 3.7999999999999999e-77 < t < 3.8000000000000002e-4 or 5.19999999999999963e189 < t

    1. Initial program 96.9%

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -96000000:\\ \;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\ \mathbf{elif}\;t \leq 2.2 \cdot 10^{-171}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b}{t}}}\\ \mathbf{elif}\;t \leq 3.8 \cdot 10^{-77}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(a \cdot \left(y \cdot \frac{\frac{0.6666666666666666}{t} + -0.8333333333333334}{a} - y\right)\right)\right)\right)}\\ \mathbf{elif}\;t \leq 0.00038:\\ \;\;\;\;1\\ \mathbf{elif}\;t \leq 5.2 \cdot 10^{+189}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 6: 58.3% accurate, 1.7× speedup?

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

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

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

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

\mathbf{elif}\;t \leq 0.00125:\\
\;\;\;\;1\\

\mathbf{elif}\;t \leq 6.8 \cdot 10^{+189}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if t < -4.7000000000000002e-185

    1. Initial program 95.2%

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

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

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

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

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

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

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

    if -4.7000000000000002e-185 < t < 1.50000000000000007e-170

    1. Initial program 93.2%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in t around 0 95.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}}}} \]
    4. Taylor expanded in z around 0 90.2%

      \[\leadsto \color{blue}{\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}} \]
    5. Taylor expanded in b around inf 65.5%

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

    if 1.50000000000000007e-170 < t < 3.7999999999999999e-77

    1. Initial program 96.6%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if 3.7999999999999999e-77 < t < 0.00125000000000000003 or 6.79999999999999966e189 < t

    1. Initial program 96.9%

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

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

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

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

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

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

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

    if 0.00125000000000000003 < t < 6.79999999999999966e189

    1. Initial program 98.4%

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

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

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -4.7 \cdot 10^{-185}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\ \mathbf{elif}\;t \leq 1.5 \cdot 10^{-170}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b}{t}}}\\ \mathbf{elif}\;t \leq 3.8 \cdot 10^{-77}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(a \cdot \left(y \cdot \frac{\frac{0.6666666666666666}{t} + -0.8333333333333334}{a} - y\right)\right)\right)\right)}\\ \mathbf{elif}\;t \leq 0.00125:\\ \;\;\;\;1\\ \mathbf{elif}\;t \leq 6.8 \cdot 10^{+189}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 7: 58.4% accurate, 1.7× speedup?

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

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

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

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

\mathbf{elif}\;t \leq 0.0038:\\
\;\;\;\;1\\

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

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


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

    1. Initial program 95.4%

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

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

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

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

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

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

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

    if -1.05e-197 < t < 4.9999999999999999e-150

    1. Initial program 93.5%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in t around 0 90.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}}}} \]
    4. Taylor expanded in z around 0 87.5%

      \[\leadsto \color{blue}{\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}} \]
    5. Taylor expanded in b around 0 67.3%

      \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{-1.3333333333333333 \cdot \frac{c}{t}}}} \]
    6. Step-by-step derivation
      1. *-commutative67.3%

        \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{\frac{c}{t} \cdot -1.3333333333333333}}} \]
    7. Simplified67.3%

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

    if 4.9999999999999999e-150 < t < 3.7999999999999999e-77

    1. Initial program 95.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if 3.7999999999999999e-77 < t < 0.00379999999999999999 or 6.99999999999999991e189 < t

    1. Initial program 96.9%

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

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

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

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

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

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

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

    if 0.00379999999999999999 < t < 6.99999999999999991e189

    1. Initial program 98.4%

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

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

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.05 \cdot 10^{-197}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\ \mathbf{elif}\;t \leq 5 \cdot 10^{-150}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{\frac{c}{t} \cdot -1.3333333333333333}}\\ \mathbf{elif}\;t \leq 3.8 \cdot 10^{-77}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(a \cdot \left(y \cdot \frac{\frac{0.6666666666666666}{t} + -0.8333333333333334}{a} - y\right)\right)\right)\right)}\\ \mathbf{elif}\;t \leq 0.0038:\\ \;\;\;\;1\\ \mathbf{elif}\;t \leq 7 \cdot 10^{+189}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 8: 71.5% accurate, 1.7× speedup?

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

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

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

\mathbf{elif}\;t \leq 0.00062:\\
\;\;\;\;1\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if t < -3.10000000000000019e93

    1. Initial program 90.3%

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

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

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

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

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

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

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

    if -3.10000000000000019e93 < t < 3.0000000000000001e-93

    1. Initial program 94.7%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in t around 0 87.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}}}} \]
    4. Taylor expanded in z around 0 80.5%

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

    if 3.0000000000000001e-93 < t < 6.2e-4

    1. Initial program 96.3%

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

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

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

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

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

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

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

    if 6.2e-4 < t < 8.4e185

    1. Initial program 98.3%

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

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

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

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

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

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

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

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

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

    if 8.4e185 < t

    1. Initial program 97.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -3.1 \cdot 10^{+93}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\ \mathbf{elif}\;t \leq 3 \cdot 10^{-93}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\ \mathbf{elif}\;t \leq 0.00062:\\ \;\;\;\;1\\ \mathbf{elif}\;t \leq 8.4 \cdot 10^{+185}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(-0.8333333333333334 - a\right)\right)}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 9: 72.9% accurate, 1.7× speedup?

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

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

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

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

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if t < -4.79999999999999986e96

    1. Initial program 90.3%

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

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

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

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

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

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

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

    if -4.79999999999999986e96 < t < 1e-141

    1. Initial program 95.0%

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

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

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

    if 1e-141 < t < 0.192

    1. Initial program 95.1%

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

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

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

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

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

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

    if 0.192 < t < 3.60000000000000029e185

    1. Initial program 98.3%

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

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

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

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

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

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

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

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

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

    if 3.60000000000000029e185 < t

    1. Initial program 97.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -4.8 \cdot 10^{+96}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\ \mathbf{elif}\;t \leq 10^{-141}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\ \mathbf{elif}\;t \leq 0.192:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\ \mathbf{elif}\;t \leq 3.6 \cdot 10^{+185}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(-0.8333333333333334 - a\right)\right)}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 10: 67.9% accurate, 1.7× speedup?

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

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

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

\mathbf{elif}\;t \leq 0.0045:\\
\;\;\;\;1\\

\mathbf{elif}\;t \leq 2.3 \cdot 10^{+128}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if t < -3.10000000000000019e93

    1. Initial program 90.3%

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

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

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

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

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

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

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

    if -3.10000000000000019e93 < t < 1.85000000000000001e-93

    1. Initial program 94.7%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in t around 0 87.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}}}} \]
    4. Taylor expanded in z around 0 80.5%

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

    if 1.85000000000000001e-93 < t < 0.00449999999999999966

    1. Initial program 96.3%

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

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

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

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

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

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

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

    if 0.00449999999999999966 < t < 2.29999999999999998e128

    1. Initial program 97.8%

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

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

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

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

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

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

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

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

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

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

    if 2.29999999999999998e128 < t

    1. Initial program 98.3%

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

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

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -3.1 \cdot 10^{+93}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\ \mathbf{elif}\;t \leq 1.85 \cdot 10^{-93}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\ \mathbf{elif}\;t \leq 0.0045:\\ \;\;\;\;1\\ \mathbf{elif}\;t \leq 2.3 \cdot 10^{+128}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{-2 \cdot \left(a \cdot b\right)}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 11: 71.2% accurate, 1.8× speedup?

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

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

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

\mathbf{elif}\;t \leq 5.8 \cdot 10^{-7}:\\
\;\;\;\;1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if t < -3.10000000000000019e93

    1. Initial program 90.3%

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

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

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

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

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

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

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

    if -3.10000000000000019e93 < t < 4.9999999999999995e-97

    1. Initial program 94.7%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in t around 0 87.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}}}} \]
    4. Taylor expanded in z around 0 80.5%

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

    if 4.9999999999999995e-97 < t < 5.7999999999999995e-7

    1. Initial program 96.3%

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

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

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

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

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

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

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

    if 5.7999999999999995e-7 < t

    1. Initial program 98.1%

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

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

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

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

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

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}} \]
    6. Taylor expanded in t around inf 75.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)}}} \]
    7. Step-by-step derivation
      1. mul-1-neg75.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-in75.2%

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -3.1 \cdot 10^{+93}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\ \mathbf{elif}\;t \leq 5 \cdot 10^{-97}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\ \mathbf{elif}\;t \leq 5.8 \cdot 10^{-7}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(-0.8333333333333334 - a\right)\right)}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 12: 79.7% accurate, 1.8× speedup?

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

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if c < -4.29999999999999995e-87 or 2.5999999999999999e-34 < c

    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. Add Preprocessing
    3. Taylor expanded in c around inf 85.8%

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

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

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

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

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

    if -4.29999999999999995e-87 < c < 2.5999999999999999e-34

    1. Initial program 97.5%

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

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

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

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

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

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

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

Alternative 13: 54.1% accurate, 5.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b - c \leq -3 \cdot 10^{+191}:\\ \;\;\;\;\frac{x}{x + \left(y - 2 \cdot \frac{a \cdot \left(b \cdot \left(y \cdot t\right)\right)}{t}\right)}\\ \mathbf{elif}\;b - c \leq -5 \cdot 10^{+82}:\\ \;\;\;\;\frac{x}{x + \left(y + 1.3333333333333333 \cdot \frac{y \cdot \left(b - c\right)}{t}\right)}\\ \mathbf{elif}\;b - c \leq -1 \cdot 10^{-54}:\\ \;\;\;\;\frac{x}{x - \left(2 \cdot \left(\left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right) \cdot \left(y \cdot b\right)\right) - y\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= (- b c) -3e+191)
   (/ x (+ x (- y (* 2.0 (/ (* a (* b (* y t))) t)))))
   (if (<= (- b c) -5e+82)
     (/ x (+ x (+ y (* 1.3333333333333333 (/ (* y (- b c)) t)))))
     (if (<= (- b c) -1e-54)
       (/
        x
        (-
         x
         (-
          (*
           2.0
           (* (- (+ a 0.8333333333333334) (/ 0.6666666666666666 t)) (* y b)))
          y)))
       1.0))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if ((b - c) <= -3e+191) {
		tmp = x / (x + (y - (2.0 * ((a * (b * (y * t))) / t))));
	} else if ((b - c) <= -5e+82) {
		tmp = x / (x + (y + (1.3333333333333333 * ((y * (b - c)) / t))));
	} else if ((b - c) <= -1e-54) {
		tmp = x / (x - ((2.0 * (((a + 0.8333333333333334) - (0.6666666666666666 / t)) * (y * b))) - y));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8) :: tmp
    if ((b - c) <= (-3d+191)) then
        tmp = x / (x + (y - (2.0d0 * ((a * (b * (y * t))) / t))))
    else if ((b - c) <= (-5d+82)) then
        tmp = x / (x + (y + (1.3333333333333333d0 * ((y * (b - c)) / t))))
    else if ((b - c) <= (-1d-54)) then
        tmp = x / (x - ((2.0d0 * (((a + 0.8333333333333334d0) - (0.6666666666666666d0 / t)) * (y * b))) - y))
    else
        tmp = 1.0d0
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if ((b - c) <= -3e+191) {
		tmp = x / (x + (y - (2.0 * ((a * (b * (y * t))) / t))));
	} else if ((b - c) <= -5e+82) {
		tmp = x / (x + (y + (1.3333333333333333 * ((y * (b - c)) / t))));
	} else if ((b - c) <= -1e-54) {
		tmp = x / (x - ((2.0 * (((a + 0.8333333333333334) - (0.6666666666666666 / t)) * (y * b))) - y));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if (b - c) <= -3e+191:
		tmp = x / (x + (y - (2.0 * ((a * (b * (y * t))) / t))))
	elif (b - c) <= -5e+82:
		tmp = x / (x + (y + (1.3333333333333333 * ((y * (b - c)) / t))))
	elif (b - c) <= -1e-54:
		tmp = x / (x - ((2.0 * (((a + 0.8333333333333334) - (0.6666666666666666 / t)) * (y * b))) - y))
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (Float64(b - c) <= -3e+191)
		tmp = Float64(x / Float64(x + Float64(y - Float64(2.0 * Float64(Float64(a * Float64(b * Float64(y * t))) / t)))));
	elseif (Float64(b - c) <= -5e+82)
		tmp = Float64(x / Float64(x + Float64(y + Float64(1.3333333333333333 * Float64(Float64(y * Float64(b - c)) / t)))));
	elseif (Float64(b - c) <= -1e-54)
		tmp = Float64(x / Float64(x - Float64(Float64(2.0 * Float64(Float64(Float64(a + 0.8333333333333334) - Float64(0.6666666666666666 / t)) * Float64(y * b))) - y)));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if ((b - c) <= -3e+191)
		tmp = x / (x + (y - (2.0 * ((a * (b * (y * t))) / t))));
	elseif ((b - c) <= -5e+82)
		tmp = x / (x + (y + (1.3333333333333333 * ((y * (b - c)) / t))));
	elseif ((b - c) <= -1e-54)
		tmp = x / (x - ((2.0 * (((a + 0.8333333333333334) - (0.6666666666666666 / t)) * (y * b))) - y));
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[N[(b - c), $MachinePrecision], -3e+191], N[(x / N[(x + N[(y - N[(2.0 * N[(N[(a * N[(b * N[(y * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[N[(b - c), $MachinePrecision], -5e+82], N[(x / N[(x + N[(y + N[(1.3333333333333333 * N[(N[(y * N[(b - c), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[N[(b - c), $MachinePrecision], -1e-54], N[(x / N[(x - N[(N[(2.0 * N[(N[(N[(a + 0.8333333333333334), $MachinePrecision] - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision] * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]
\begin{array}{l}

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

\mathbf{elif}\;b - c \leq -5 \cdot 10^{+82}:\\
\;\;\;\;\frac{x}{x + \left(y + 1.3333333333333333 \cdot \frac{y \cdot \left(b - c\right)}{t}\right)}\\

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

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


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

    1. Initial program 88.6%

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

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

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

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

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

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

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

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

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

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

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

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

    if -2.9999999999999997e191 < (-.f64 b c) < -5.00000000000000015e82

    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. Add Preprocessing
    3. Taylor expanded in t around 0 40.3%

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

      \[\leadsto \color{blue}{\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}} \]
    5. Taylor expanded in t around inf 52.1%

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

    if -5.00000000000000015e82 < (-.f64 b c) < -1e-54

    1. Initial program 99.9%

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

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

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

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

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

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

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

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

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

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

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

    if -1e-54 < (-.f64 b c)

    1. Initial program 97.1%

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b - c \leq -3 \cdot 10^{+191}:\\ \;\;\;\;\frac{x}{x + \left(y - 2 \cdot \frac{a \cdot \left(b \cdot \left(y \cdot t\right)\right)}{t}\right)}\\ \mathbf{elif}\;b - c \leq -5 \cdot 10^{+82}:\\ \;\;\;\;\frac{x}{x + \left(y + 1.3333333333333333 \cdot \frac{y \cdot \left(b - c\right)}{t}\right)}\\ \mathbf{elif}\;b - c \leq -1 \cdot 10^{-54}:\\ \;\;\;\;\frac{x}{x - \left(2 \cdot \left(\left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right) \cdot \left(y \cdot b\right)\right) - y\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 14: 55.5% accurate, 6.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b - c \leq -3 \cdot 10^{+191}:\\ \;\;\;\;\frac{x}{x - \left(2 \cdot \frac{y \cdot \left(b \cdot \left(t \cdot \left(a + 0.8333333333333334\right)\right) - 0.6666666666666666 \cdot b\right)}{t} - y\right)}\\ \mathbf{elif}\;b - c \leq -1 \cdot 10^{-54}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(a \cdot \left(y \cdot \frac{\frac{0.6666666666666666}{t} + -0.8333333333333334}{a} - y\right)\right)\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= (- b c) -3e+191)
   (/
    x
    (-
     x
     (-
      (*
       2.0
       (/
        (* y (- (* b (* t (+ a 0.8333333333333334))) (* 0.6666666666666666 b)))
        t))
      y)))
   (if (<= (- b c) -1e-54)
     (/
      x
      (+
       x
       (+
        y
        (*
         2.0
         (*
          b
          (*
           a
           (-
            (* y (/ (+ (/ 0.6666666666666666 t) -0.8333333333333334) a))
            y)))))))
     1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if ((b - c) <= -3e+191) {
		tmp = x / (x - ((2.0 * ((y * ((b * (t * (a + 0.8333333333333334))) - (0.6666666666666666 * b))) / t)) - y));
	} else if ((b - c) <= -1e-54) {
		tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y))))));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8) :: tmp
    if ((b - c) <= (-3d+191)) then
        tmp = x / (x - ((2.0d0 * ((y * ((b * (t * (a + 0.8333333333333334d0))) - (0.6666666666666666d0 * b))) / t)) - y))
    else if ((b - c) <= (-1d-54)) then
        tmp = x / (x + (y + (2.0d0 * (b * (a * ((y * (((0.6666666666666666d0 / t) + (-0.8333333333333334d0)) / a)) - y))))))
    else
        tmp = 1.0d0
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if ((b - c) <= -3e+191) {
		tmp = x / (x - ((2.0 * ((y * ((b * (t * (a + 0.8333333333333334))) - (0.6666666666666666 * b))) / t)) - y));
	} else if ((b - c) <= -1e-54) {
		tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y))))));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if (b - c) <= -3e+191:
		tmp = x / (x - ((2.0 * ((y * ((b * (t * (a + 0.8333333333333334))) - (0.6666666666666666 * b))) / t)) - y))
	elif (b - c) <= -1e-54:
		tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y))))))
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (Float64(b - c) <= -3e+191)
		tmp = Float64(x / Float64(x - Float64(Float64(2.0 * Float64(Float64(y * Float64(Float64(b * Float64(t * Float64(a + 0.8333333333333334))) - Float64(0.6666666666666666 * b))) / t)) - y)));
	elseif (Float64(b - c) <= -1e-54)
		tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(b * Float64(a * Float64(Float64(y * Float64(Float64(Float64(0.6666666666666666 / t) + -0.8333333333333334) / a)) - y)))))));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if ((b - c) <= -3e+191)
		tmp = x / (x - ((2.0 * ((y * ((b * (t * (a + 0.8333333333333334))) - (0.6666666666666666 * b))) / t)) - y));
	elseif ((b - c) <= -1e-54)
		tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y))))));
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[N[(b - c), $MachinePrecision], -3e+191], N[(x / N[(x - N[(N[(2.0 * N[(N[(y * N[(N[(b * N[(t * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(0.6666666666666666 * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[N[(b - c), $MachinePrecision], -1e-54], N[(x / N[(x + N[(y + N[(2.0 * N[(b * N[(a * N[(N[(y * N[(N[(N[(0.6666666666666666 / t), $MachinePrecision] + -0.8333333333333334), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}

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

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

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


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

    1. Initial program 88.6%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -2.9999999999999997e191 < (-.f64 b c) < -1e-54

    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. Add Preprocessing
    3. Taylor expanded in b around inf 62.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -1e-54 < (-.f64 b c)

    1. Initial program 97.1%

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

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

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

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

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

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

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

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

Alternative 15: 54.2% accurate, 6.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b - c \leq -3 \cdot 10^{+191}:\\ \;\;\;\;\frac{x}{x + \left(y - 2 \cdot \frac{a \cdot \left(b \cdot \left(y \cdot t\right)\right)}{t}\right)}\\ \mathbf{elif}\;b - c \leq -5 \cdot 10^{+51}:\\ \;\;\;\;\frac{x}{x + \left(y + 1.3333333333333333 \cdot \frac{y \cdot \left(b - c\right)}{t}\right)}\\ \mathbf{elif}\;b - c \leq -1 \cdot 10^{-54}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(c \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= (- b c) -3e+191)
   (/ x (+ x (- y (* 2.0 (/ (* a (* b (* y t))) t)))))
   (if (<= (- b c) -5e+51)
     (/ x (+ x (+ y (* 1.3333333333333333 (/ (* y (- b c)) t)))))
     (if (<= (- b c) -1e-54)
       (/ x (+ x (+ y (* 2.0 (* c (* y (+ a 0.8333333333333334)))))))
       1.0))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if ((b - c) <= -3e+191) {
		tmp = x / (x + (y - (2.0 * ((a * (b * (y * t))) / t))));
	} else if ((b - c) <= -5e+51) {
		tmp = x / (x + (y + (1.3333333333333333 * ((y * (b - c)) / t))));
	} else if ((b - c) <= -1e-54) {
		tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334))))));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8) :: tmp
    if ((b - c) <= (-3d+191)) then
        tmp = x / (x + (y - (2.0d0 * ((a * (b * (y * t))) / t))))
    else if ((b - c) <= (-5d+51)) then
        tmp = x / (x + (y + (1.3333333333333333d0 * ((y * (b - c)) / t))))
    else if ((b - c) <= (-1d-54)) then
        tmp = x / (x + (y + (2.0d0 * (c * (y * (a + 0.8333333333333334d0))))))
    else
        tmp = 1.0d0
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if ((b - c) <= -3e+191) {
		tmp = x / (x + (y - (2.0 * ((a * (b * (y * t))) / t))));
	} else if ((b - c) <= -5e+51) {
		tmp = x / (x + (y + (1.3333333333333333 * ((y * (b - c)) / t))));
	} else if ((b - c) <= -1e-54) {
		tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334))))));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if (b - c) <= -3e+191:
		tmp = x / (x + (y - (2.0 * ((a * (b * (y * t))) / t))))
	elif (b - c) <= -5e+51:
		tmp = x / (x + (y + (1.3333333333333333 * ((y * (b - c)) / t))))
	elif (b - c) <= -1e-54:
		tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334))))))
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (Float64(b - c) <= -3e+191)
		tmp = Float64(x / Float64(x + Float64(y - Float64(2.0 * Float64(Float64(a * Float64(b * Float64(y * t))) / t)))));
	elseif (Float64(b - c) <= -5e+51)
		tmp = Float64(x / Float64(x + Float64(y + Float64(1.3333333333333333 * Float64(Float64(y * Float64(b - c)) / t)))));
	elseif (Float64(b - c) <= -1e-54)
		tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(c * Float64(y * Float64(a + 0.8333333333333334)))))));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if ((b - c) <= -3e+191)
		tmp = x / (x + (y - (2.0 * ((a * (b * (y * t))) / t))));
	elseif ((b - c) <= -5e+51)
		tmp = x / (x + (y + (1.3333333333333333 * ((y * (b - c)) / t))));
	elseif ((b - c) <= -1e-54)
		tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334))))));
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[N[(b - c), $MachinePrecision], -3e+191], N[(x / N[(x + N[(y - N[(2.0 * N[(N[(a * N[(b * N[(y * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[N[(b - c), $MachinePrecision], -5e+51], N[(x / N[(x + N[(y + N[(1.3333333333333333 * N[(N[(y * N[(b - c), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[N[(b - c), $MachinePrecision], -1e-54], N[(x / N[(x + N[(y + N[(2.0 * N[(c * N[(y * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]
\begin{array}{l}

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

\mathbf{elif}\;b - c \leq -5 \cdot 10^{+51}:\\
\;\;\;\;\frac{x}{x + \left(y + 1.3333333333333333 \cdot \frac{y \cdot \left(b - c\right)}{t}\right)}\\

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

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


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

    1. Initial program 88.6%

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

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

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

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

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

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

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

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

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

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

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

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

    if -2.9999999999999997e191 < (-.f64 b c) < -5e51

    1. Initial program 97.1%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in t around 0 46.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}}}} \]
    4. Taylor expanded in z around 0 58.7%

      \[\leadsto \color{blue}{\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}} \]
    5. Taylor expanded in t around inf 55.0%

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

    if -5e51 < (-.f64 b c) < -1e-54

    1. Initial program 99.9%

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

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

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

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

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

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

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

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

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

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

    if -1e-54 < (-.f64 b c)

    1. Initial program 97.1%

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b - c \leq -3 \cdot 10^{+191}:\\ \;\;\;\;\frac{x}{x + \left(y - 2 \cdot \frac{a \cdot \left(b \cdot \left(y \cdot t\right)\right)}{t}\right)}\\ \mathbf{elif}\;b - c \leq -5 \cdot 10^{+51}:\\ \;\;\;\;\frac{x}{x + \left(y + 1.3333333333333333 \cdot \frac{y \cdot \left(b - c\right)}{t}\right)}\\ \mathbf{elif}\;b - c \leq -1 \cdot 10^{-54}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(c \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 16: 54.6% accurate, 6.4× speedup?

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

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

\mathbf{elif}\;b - c \leq -5 \cdot 10^{+51}:\\
\;\;\;\;\frac{x}{x + \left(y + 1.3333333333333333 \cdot \frac{y \cdot \left(b - c\right)}{t}\right)}\\

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

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


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

    1. Initial program 88.6%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -2.9999999999999997e191 < (-.f64 b c) < -5e51

    1. Initial program 97.1%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in t around 0 46.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}}}} \]
    4. Taylor expanded in z around 0 58.7%

      \[\leadsto \color{blue}{\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}} \]
    5. Taylor expanded in t around inf 55.0%

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

    if -5e51 < (-.f64 b c) < -1e-54

    1. Initial program 99.9%

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

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

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

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

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

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

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

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

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

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

    if -1e-54 < (-.f64 b c)

    1. Initial program 97.1%

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b - c \leq -3 \cdot 10^{+191}:\\ \;\;\;\;\frac{x}{x + \left(y - 2 \cdot \frac{\left(t \cdot b\right) \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)}{t}\right)}\\ \mathbf{elif}\;b - c \leq -5 \cdot 10^{+51}:\\ \;\;\;\;\frac{x}{x + \left(y + 1.3333333333333333 \cdot \frac{y \cdot \left(b - c\right)}{t}\right)}\\ \mathbf{elif}\;b - c \leq -1 \cdot 10^{-54}:\\ \;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(c \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 17: 56.9% accurate, 7.7× speedup?

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

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

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


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

    1. Initial program 94.2%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -1e-54 < (-.f64 b c)

    1. Initial program 97.1%

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

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

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

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

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

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

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

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

Alternative 18: 50.1% accurate, 8.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;x \leq 3.4 \cdot 10^{-246}:\\ \;\;\;\;1\\ \mathbf{elif}\;x \leq 1.65 \cdot 10^{-169}:\\ \;\;\;\;\frac{x}{x + \left(y + -2 \cdot \left(b \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)\right)\right)}\\ \mathbf{elif}\;x \leq 5.6 \cdot 10^{+187}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x - \left(2 \cdot \left(b \cdot \left(y \cdot a\right)\right) - y\right)}\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= x 3.4e-246)
   1.0
   (if (<= x 1.65e-169)
     (/ x (+ x (+ y (* -2.0 (* b (* y (+ a 0.8333333333333334)))))))
     (if (<= x 5.6e+187) 1.0 (/ x (- x (- (* 2.0 (* b (* y a))) y)))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (x <= 3.4e-246) {
		tmp = 1.0;
	} else if (x <= 1.65e-169) {
		tmp = x / (x + (y + (-2.0 * (b * (y * (a + 0.8333333333333334))))));
	} else if (x <= 5.6e+187) {
		tmp = 1.0;
	} else {
		tmp = x / (x - ((2.0 * (b * (y * a))) - y));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8) :: tmp
    if (x <= 3.4d-246) then
        tmp = 1.0d0
    else if (x <= 1.65d-169) then
        tmp = x / (x + (y + ((-2.0d0) * (b * (y * (a + 0.8333333333333334d0))))))
    else if (x <= 5.6d+187) then
        tmp = 1.0d0
    else
        tmp = x / (x - ((2.0d0 * (b * (y * a))) - y))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (x <= 3.4e-246) {
		tmp = 1.0;
	} else if (x <= 1.65e-169) {
		tmp = x / (x + (y + (-2.0 * (b * (y * (a + 0.8333333333333334))))));
	} else if (x <= 5.6e+187) {
		tmp = 1.0;
	} else {
		tmp = x / (x - ((2.0 * (b * (y * a))) - y));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if x <= 3.4e-246:
		tmp = 1.0
	elif x <= 1.65e-169:
		tmp = x / (x + (y + (-2.0 * (b * (y * (a + 0.8333333333333334))))))
	elif x <= 5.6e+187:
		tmp = 1.0
	else:
		tmp = x / (x - ((2.0 * (b * (y * a))) - y))
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (x <= 3.4e-246)
		tmp = 1.0;
	elseif (x <= 1.65e-169)
		tmp = Float64(x / Float64(x + Float64(y + Float64(-2.0 * Float64(b * Float64(y * Float64(a + 0.8333333333333334)))))));
	elseif (x <= 5.6e+187)
		tmp = 1.0;
	else
		tmp = Float64(x / Float64(x - Float64(Float64(2.0 * Float64(b * Float64(y * a))) - y)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (x <= 3.4e-246)
		tmp = 1.0;
	elseif (x <= 1.65e-169)
		tmp = x / (x + (y + (-2.0 * (b * (y * (a + 0.8333333333333334))))));
	elseif (x <= 5.6e+187)
		tmp = 1.0;
	else
		tmp = x / (x - ((2.0 * (b * (y * a))) - y));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[x, 3.4e-246], 1.0, If[LessEqual[x, 1.65e-169], N[(x / N[(x + N[(y + N[(-2.0 * N[(b * N[(y * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 5.6e+187], 1.0, N[(x / N[(x - N[(N[(2.0 * N[(b * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;x \leq 3.4 \cdot 10^{-246}:\\
\;\;\;\;1\\

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

\mathbf{elif}\;x \leq 5.6 \cdot 10^{+187}:\\
\;\;\;\;1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if x < 3.4000000000000001e-246 or 1.65000000000000013e-169 < x < 5.59999999999999979e187

    1. Initial program 96.1%

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

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

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

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

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

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

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

    if 3.4000000000000001e-246 < x < 1.65000000000000013e-169

    1. Initial program 85.7%

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

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

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

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

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

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

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

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

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

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

    if 5.59999999999999979e187 < x

    1. Initial program 100.0%

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

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

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

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq 3.4 \cdot 10^{-246}:\\ \;\;\;\;1\\ \mathbf{elif}\;x \leq 1.65 \cdot 10^{-169}:\\ \;\;\;\;\frac{x}{x + \left(y + -2 \cdot \left(b \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)\right)\right)}\\ \mathbf{elif}\;x \leq 5.6 \cdot 10^{+187}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x - \left(2 \cdot \left(b \cdot \left(y \cdot a\right)\right) - y\right)}\\ \end{array} \]
  5. Add Preprocessing

Alternative 19: 50.9% accurate, 9.2× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;t \leq -1.46 \cdot 10^{-261}:\\
\;\;\;\;1\\

\mathbf{elif}\;t \leq 1.65 \cdot 10^{-279}:\\
\;\;\;\;\frac{x}{x + \left(y - 1.3333333333333333 \cdot \left(y \cdot \frac{c - b}{t}\right)\right)}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if t < -1.4599999999999999e-261 or 1.65e-279 < t

    1. Initial program 96.3%

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

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

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

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

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

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

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

    if -1.4599999999999999e-261 < t < 1.65e-279

    1. Initial program 92.3%

      \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
    2. Add Preprocessing
    3. Taylor expanded in t around 0 100.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}}}} \]
    4. Taylor expanded in z around 0 100.0%

      \[\leadsto \color{blue}{\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}} \]
    5. Taylor expanded in t around inf 77.9%

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + 1.3333333333333333 \cdot \frac{y \cdot \left(b - c\right)}{t}\right)}} \]
    6. Step-by-step derivation
      1. associate-/l*77.9%

        \[\leadsto \frac{x}{x + \left(y + 1.3333333333333333 \cdot \color{blue}{\left(y \cdot \frac{b - c}{t}\right)}\right)} \]
    7. Simplified77.9%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.46 \cdot 10^{-261}:\\ \;\;\;\;1\\ \mathbf{elif}\;t \leq 1.65 \cdot 10^{-279}:\\ \;\;\;\;\frac{x}{x + \left(y - 1.3333333333333333 \cdot \left(y \cdot \frac{c - b}{t}\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 20: 50.7% accurate, 11.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;a \leq 5.5 \cdot 10^{+264}:\\ \;\;\;\;1\\ \mathbf{elif}\;a \leq 2 \cdot 10^{+273}:\\ \;\;\;\;-0.5 \cdot \frac{x}{b \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= a 5.5e+264)
   1.0
   (if (<= a 2e+273) (* -0.5 (/ x (* b (* y (+ a 0.8333333333333334))))) 1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (a <= 5.5e+264) {
		tmp = 1.0;
	} else if (a <= 2e+273) {
		tmp = -0.5 * (x / (b * (y * (a + 0.8333333333333334))));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8) :: tmp
    if (a <= 5.5d+264) then
        tmp = 1.0d0
    else if (a <= 2d+273) then
        tmp = (-0.5d0) * (x / (b * (y * (a + 0.8333333333333334d0))))
    else
        tmp = 1.0d0
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (a <= 5.5e+264) {
		tmp = 1.0;
	} else if (a <= 2e+273) {
		tmp = -0.5 * (x / (b * (y * (a + 0.8333333333333334))));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if a <= 5.5e+264:
		tmp = 1.0
	elif a <= 2e+273:
		tmp = -0.5 * (x / (b * (y * (a + 0.8333333333333334))))
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (a <= 5.5e+264)
		tmp = 1.0;
	elseif (a <= 2e+273)
		tmp = Float64(-0.5 * Float64(x / Float64(b * Float64(y * Float64(a + 0.8333333333333334)))));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (a <= 5.5e+264)
		tmp = 1.0;
	elseif (a <= 2e+273)
		tmp = -0.5 * (x / (b * (y * (a + 0.8333333333333334))));
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[a, 5.5e+264], 1.0, If[LessEqual[a, 2e+273], N[(-0.5 * N[(x / N[(b * N[(y * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;a \leq 5.5 \cdot 10^{+264}:\\
\;\;\;\;1\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if a < 5.4999999999999997e264 or 1.99999999999999989e273 < a

    1. Initial program 96.0%

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

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

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

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

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

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

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

    if 5.4999999999999997e264 < a < 1.99999999999999989e273

    1. Initial program 100.0%

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

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

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

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq 5.5 \cdot 10^{+264}:\\ \;\;\;\;1\\ \mathbf{elif}\;a \leq 2 \cdot 10^{+273}:\\ \;\;\;\;-0.5 \cdot \frac{x}{b \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 21: 50.4% accurate, 12.1× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;t \leq -8.6 \cdot 10^{-298}:\\
\;\;\;\;1\\

\mathbf{elif}\;t \leq 6.2 \cdot 10^{-282}:\\
\;\;\;\;0.75 \cdot \frac{x \cdot t}{y \cdot b}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if t < -8.600000000000001e-298 or 6.20000000000000027e-282 < t

    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. Add Preprocessing
    3. Taylor expanded in c around inf 69.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)}}} \]
    4. Step-by-step derivation
      1. +-commutative69.4%

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

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

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

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

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

    if -8.600000000000001e-298 < t < 6.20000000000000027e-282

    1. Initial program 87.5%

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{0.75 \cdot \frac{t \cdot x}{b \cdot y}} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification57.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -8.6 \cdot 10^{-298}:\\ \;\;\;\;1\\ \mathbf{elif}\;t \leq 6.2 \cdot 10^{-282}:\\ \;\;\;\;0.75 \cdot \frac{x \cdot t}{y \cdot b}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 22: 49.7% accurate, 12.8× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;a \leq 5.5 \cdot 10^{+264}:\\
\;\;\;\;1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if a < 5.4999999999999997e264

    1. Initial program 96.6%

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

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

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

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

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

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

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

    if 5.4999999999999997e264 < a

    1. Initial program 90.9%

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

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

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

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq 5.5 \cdot 10^{+264}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{y \cdot \left(-2 \cdot \left(b \cdot \left(a + 0.8333333333333334\right)\right) + 1\right)}\\ \end{array} \]
  5. Add Preprocessing

Alternative 23: 50.4% accurate, 12.8× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;a \leq 2.4 \cdot 10^{+260}:\\
\;\;\;\;1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if a < 2.4000000000000001e260

    1. Initial program 96.6%

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

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

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

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

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

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

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

    if 2.4000000000000001e260 < a

    1. Initial program 91.3%

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

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

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

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

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

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

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

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

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

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

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

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

Alternative 24: 50.9% 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 96.1%

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

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

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

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

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

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

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

    \[\leadsto 1 \]
  8. Add Preprocessing

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

  :alt
  (if (< t -2.118326644891581e-50) (/ x (+ x (* y (exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b))))))) (if (< t 5.196588770651547e-123) (/ x (+ x (* y (exp (* 2.0 (/ (- (* (* z (sqrt (+ t a))) (* (* 3.0 t) (- a (/ 5.0 6.0)))) (* (- (* (+ (/ 5.0 6.0) a) (* 3.0 t)) 2.0) (* (- a (/ 5.0 6.0)) (* (- b c) t)))) (* (* (* t t) 3.0) (- a (/ 5.0 6.0))))))))) (/ x (+ x (* y (exp (* 2.0 (- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))))))))

  (/ x (+ x (* y (exp (* 2.0 (- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))))))))