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

Percentage Accurate: 93.5% → 95.1%
Time: 12.3s
Alternatives: 8
Speedup: 0.8×

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 8 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.5% 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: 95.1% accurate, 0.8× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;t \leq 0.008:\\
\;\;\;\;\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)}}\\

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


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

    1. Initial program 92.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

    if 0.0080000000000000002 < t

    1. Initial program 90.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 inf

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\sqrt{\frac{1}{t}} \cdot z - \left(\frac{5}{6} + a\right) \cdot \left(b - c\right)\right)}}} \]
    4. Step-by-step derivation
      1. sub-negN/A

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\sqrt{\frac{1}{t}} \cdot z + \left(\mathsf{neg}\left(\left(\frac{5}{6} + a\right) \cdot \left(b - c\right)\right)\right)\right)}}} \]
      2. +-commutativeN/A

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(\frac{5}{6} + a\right) \cdot \left(b - c\right)\right)\right) + \sqrt{\frac{1}{t}} \cdot z\right)}}} \]
      3. *-commutativeN/A

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b - c\right) \cdot \left(\frac{5}{6} + a\right)}\right)\right) + \sqrt{\frac{1}{t}} \cdot z\right)}} \]
      4. distribute-lft-neg-inN/A

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(b - c\right)\right)\right) \cdot \left(\frac{5}{6} + a\right)} + \sqrt{\frac{1}{t}} \cdot z\right)}} \]
      5. mul-1-negN/A

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(-1 \cdot \left(b - c\right)\right)} \cdot \left(\frac{5}{6} + a\right) + \sqrt{\frac{1}{t}} \cdot z\right)}} \]
      6. lower-fma.f64N/A

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot \left(b - c\right), \frac{5}{6} + a, \sqrt{\frac{1}{t}} \cdot z\right)}}} \]
      7. mul-1-negN/A

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(\left(b - c\right)\right)}, \frac{5}{6} + a, \sqrt{\frac{1}{t}} \cdot z\right)}} \]
      8. lower-neg.f64N/A

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \mathsf{fma}\left(-\color{blue}{\left(b - c\right)}, \frac{5}{6} + a, \sqrt{\frac{1}{t}} \cdot z\right)}} \]
      10. lower-+.f64N/A

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \mathsf{fma}\left(-\left(b - c\right), \color{blue}{\frac{5}{6} + a}, \sqrt{\frac{1}{t}} \cdot z\right)}} \]
      11. lower-*.f64N/A

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \mathsf{fma}\left(-\left(b - c\right), \frac{5}{6} + a, \color{blue}{\sqrt{\frac{1}{t}} \cdot z}\right)}} \]
      12. lower-sqrt.f64N/A

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \mathsf{fma}\left(-\left(b - c\right), \frac{5}{6} + a, \color{blue}{\sqrt{\frac{1}{t}}} \cdot z\right)}} \]
      13. lower-/.f64100.0

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \mathsf{fma}\left(-\left(b - c\right), 0.8333333333333334 + a, \sqrt{\color{blue}{\frac{1}{t}}} \cdot z\right)}} \]
    5. Applied rewrites100.0%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq 0.008:\\ \;\;\;\;\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)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \mathsf{fma}\left(-\left(b - c\right), 0.8333333333333334 + a, \sqrt{{t}^{-1}} \cdot z\right)}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 2: 71.3% accurate, 0.6× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;\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)}} \leq 10^{-80}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot a\right)}}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if (/.f64 x (+.f64 x (*.f64 y (exp.f64 (*.f64 #s(literal 2 binary64) (-.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))))))))))) < 9.99999999999999961e-81

    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

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
      2. lower-*.f64N/A

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
      3. lower--.f64N/A

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right)} \cdot c\right)}} \]
      4. lower-+.f64N/A

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \color{blue}{\frac{\frac{2}{3} \cdot 1}{t}}\right) \cdot c\right)}} \]
      6. metadata-evalN/A

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \frac{\color{blue}{\frac{2}{3}}}{t}\right) \cdot c\right)}} \]
      7. lower-/.f6465.5

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

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

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

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

      if 9.99999999999999961e-81 < (/.f64 x (+.f64 x (*.f64 y (exp.f64 (*.f64 #s(literal 2 binary64) (-.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 85.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

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

          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
        2. lower-*.f64N/A

          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
        3. lower--.f64N/A

          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right)} \cdot c\right)}} \]
        4. lower-+.f64N/A

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

          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \color{blue}{\frac{\frac{2}{3} \cdot 1}{t}}\right) \cdot c\right)}} \]
        6. metadata-evalN/A

          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \frac{\color{blue}{\frac{2}{3}}}{t}\right) \cdot c\right)}} \]
        7. lower-/.f6472.4

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

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

        \[\leadsto \color{blue}{1} \]
      7. Step-by-step derivation
        1. Applied rewrites92.7%

          \[\leadsto \color{blue}{1} \]
      8. Recombined 2 regimes into one program.
      9. Add Preprocessing

      Alternative 3: 80.3% accurate, 0.6× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \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)\\ \mathbf{if}\;t\_1 \leq -5 \cdot 10^{+14}:\\ \;\;\;\;1\\ \mathbf{elif}\;t\_1 \leq 10^{+285}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(0.8333333333333334 + a\right) - \frac{0.6666666666666666}{t}\right) \cdot c\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{0.6666666666666666}{t} - a\right) - 0.8333333333333334\right) \cdot b\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) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))))
         (if (<= t_1 -5e+14)
           1.0
           (if (<= t_1 1e+285)
             (/
              x
              (+
               x
               (*
                y
                (exp
                 (*
                  2.0
                  (* (- (+ 0.8333333333333334 a) (/ 0.6666666666666666 t)) c))))))
             (/
              x
              (+
               x
               (*
                y
                (exp
                 (*
                  2.0
                  (*
                   (- (- (/ 0.6666666666666666 t) a) 0.8333333333333334)
                   b))))))))))
      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) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))));
      	double tmp;
      	if (t_1 <= -5e+14) {
      		tmp = 1.0;
      	} else if (t_1 <= 1e+285) {
      		tmp = x / (x + (y * exp((2.0 * (((0.8333333333333334 + a) - (0.6666666666666666 / t)) * c)))));
      	} else {
      		tmp = x / (x + (y * exp((2.0 * ((((0.6666666666666666 / t) - a) - 0.8333333333333334) * 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) :: t_1
          real(8) :: tmp
          t_1 = ((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0d0 / 6.0d0)) - (2.0d0 / (t * 3.0d0))))
          if (t_1 <= (-5d+14)) then
              tmp = 1.0d0
          else if (t_1 <= 1d+285) then
              tmp = x / (x + (y * exp((2.0d0 * (((0.8333333333333334d0 + a) - (0.6666666666666666d0 / t)) * c)))))
          else
              tmp = x / (x + (y * exp((2.0d0 * ((((0.6666666666666666d0 / t) - a) - 0.8333333333333334d0) * 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 t_1 = ((z * Math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))));
      	double tmp;
      	if (t_1 <= -5e+14) {
      		tmp = 1.0;
      	} else if (t_1 <= 1e+285) {
      		tmp = x / (x + (y * Math.exp((2.0 * (((0.8333333333333334 + a) - (0.6666666666666666 / t)) * c)))));
      	} else {
      		tmp = x / (x + (y * Math.exp((2.0 * ((((0.6666666666666666 / t) - a) - 0.8333333333333334) * b)))));
      	}
      	return tmp;
      }
      
      def code(x, y, z, t, a, b, c):
      	t_1 = ((z * math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))))
      	tmp = 0
      	if t_1 <= -5e+14:
      		tmp = 1.0
      	elif t_1 <= 1e+285:
      		tmp = x / (x + (y * math.exp((2.0 * (((0.8333333333333334 + a) - (0.6666666666666666 / t)) * c)))))
      	else:
      		tmp = x / (x + (y * math.exp((2.0 * ((((0.6666666666666666 / t) - a) - 0.8333333333333334) * b)))))
      	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(a + Float64(5.0 / 6.0)) - Float64(2.0 / Float64(t * 3.0)))))
      	tmp = 0.0
      	if (t_1 <= -5e+14)
      		tmp = 1.0;
      	elseif (t_1 <= 1e+285)
      		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(0.8333333333333334 + a) - Float64(0.6666666666666666 / t)) * c))))));
      	else
      		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(Float64(0.6666666666666666 / t) - a) - 0.8333333333333334) * b))))));
      	end
      	return tmp
      end
      
      function tmp_2 = code(x, y, z, t, a, b, c)
      	t_1 = ((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))));
      	tmp = 0.0;
      	if (t_1 <= -5e+14)
      		tmp = 1.0;
      	elseif (t_1 <= 1e+285)
      		tmp = x / (x + (y * exp((2.0 * (((0.8333333333333334 + a) - (0.6666666666666666 / t)) * c)))));
      	else
      		tmp = x / (x + (y * exp((2.0 * ((((0.6666666666666666 / t) - a) - 0.8333333333333334) * b)))));
      	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[(a + N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision] - N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, -5e+14], 1.0, If[LessEqual[t$95$1, 1e+285], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(0.8333333333333334 + a), $MachinePrecision] - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(N[(0.6666666666666666 / t), $MachinePrecision] - a), $MachinePrecision] - 0.8333333333333334), $MachinePrecision] * b), $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(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\\
      \mathbf{if}\;t\_1 \leq -5 \cdot 10^{+14}:\\
      \;\;\;\;1\\
      
      \mathbf{elif}\;t\_1 \leq 10^{+285}:\\
      \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(0.8333333333333334 + a\right) - \frac{0.6666666666666666}{t}\right) \cdot c\right)}}\\
      
      \mathbf{else}:\\
      \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{0.6666666666666666}{t} - a\right) - 0.8333333333333334\right) \cdot b\right)}}\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 3 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)))))) < -5e14

        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 c around inf

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

            \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
          2. lower-*.f64N/A

            \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
          3. lower--.f64N/A

            \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right)} \cdot c\right)}} \]
          4. lower-+.f64N/A

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

            \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \color{blue}{\frac{\frac{2}{3} \cdot 1}{t}}\right) \cdot c\right)}} \]
          6. metadata-evalN/A

            \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \frac{\color{blue}{\frac{2}{3}}}{t}\right) \cdot c\right)}} \]
          7. lower-/.f6471.9

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

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

          \[\leadsto \color{blue}{1} \]
        7. Step-by-step derivation
          1. Applied rewrites98.1%

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

          if -5e14 < (-.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)))))) < 9.9999999999999998e284

          1. Initial program 100.0%

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

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

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
            2. lower-*.f64N/A

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
            3. lower--.f64N/A

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right)} \cdot c\right)}} \]
            4. lower-+.f64N/A

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

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \color{blue}{\frac{\frac{2}{3} \cdot 1}{t}}\right) \cdot c\right)}} \]
            6. metadata-evalN/A

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \frac{\color{blue}{\frac{2}{3}}}{t}\right) \cdot c\right)}} \]
            7. lower-/.f6477.7

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

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

          if 9.9999999999999998e284 < (-.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 73.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

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

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\frac{2}{3} \cdot \frac{1}{t} - \left(\frac{5}{6} + a\right)\right) \cdot b\right)}}} \]
            2. lower-*.f64N/A

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\frac{2}{3} \cdot \frac{1}{t} - \left(\frac{5}{6} + a\right)\right) \cdot b\right)}}} \]
            3. +-commutativeN/A

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\frac{2}{3} \cdot \frac{1}{t} - \color{blue}{\left(a + \frac{5}{6}\right)}\right) \cdot b\right)}} \]
            4. associate--r+N/A

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(\left(\frac{2}{3} \cdot \frac{1}{t} - a\right) - \frac{5}{6}\right)} \cdot b\right)}} \]
            5. unsub-negN/A

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\color{blue}{\left(\frac{2}{3} \cdot \frac{1}{t} + \left(\mathsf{neg}\left(a\right)\right)\right)} - \frac{5}{6}\right) \cdot b\right)}} \]
            6. mul-1-negN/A

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{2}{3} \cdot \frac{1}{t} + \color{blue}{-1 \cdot a}\right) - \frac{5}{6}\right) \cdot b\right)}} \]
            7. +-commutativeN/A

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\color{blue}{\left(-1 \cdot a + \frac{2}{3} \cdot \frac{1}{t}\right)} - \frac{5}{6}\right) \cdot b\right)}} \]
            8. lower--.f64N/A

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(\left(-1 \cdot a + \frac{2}{3} \cdot \frac{1}{t}\right) - \frac{5}{6}\right)} \cdot b\right)}} \]
            9. +-commutativeN/A

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\color{blue}{\left(\frac{2}{3} \cdot \frac{1}{t} + -1 \cdot a\right)} - \frac{5}{6}\right) \cdot b\right)}} \]
            10. mul-1-negN/A

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{2}{3} \cdot \frac{1}{t} + \color{blue}{\left(\mathsf{neg}\left(a\right)\right)}\right) - \frac{5}{6}\right) \cdot b\right)}} \]
            11. unsub-negN/A

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\color{blue}{\left(\frac{2}{3} \cdot \frac{1}{t} - a\right)} - \frac{5}{6}\right) \cdot b\right)}} \]
            12. lower--.f64N/A

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\color{blue}{\left(\frac{2}{3} \cdot \frac{1}{t} - a\right)} - \frac{5}{6}\right) \cdot b\right)}} \]
            13. associate-*r/N/A

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\color{blue}{\frac{\frac{2}{3} \cdot 1}{t}} - a\right) - \frac{5}{6}\right) \cdot b\right)}} \]
            14. metadata-evalN/A

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{\color{blue}{\frac{2}{3}}}{t} - a\right) - \frac{5}{6}\right) \cdot b\right)}} \]
            15. lower-/.f6465.2

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

            \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{0.6666666666666666}{t} - a\right) - 0.8333333333333334\right) \cdot b\right)}}} \]
        8. Recombined 3 regimes into one program.
        9. Add Preprocessing

        Alternative 4: 74.0% 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(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\\ \mathbf{if}\;t\_1 \leq -5 \cdot 10^{+14}:\\ \;\;\;\;1\\ \mathbf{elif}\;t\_1 \leq 10^{+304}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(0.8333333333333334 + a\right) \cdot c\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(-a\right) \cdot b\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) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))))
           (if (<= t_1 -5e+14)
             1.0
             (if (<= t_1 1e+304)
               (/ x (+ x (* y (exp (* 2.0 (* (+ 0.8333333333333334 a) c))))))
               (/ 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 t_1 = ((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))));
        	double tmp;
        	if (t_1 <= -5e+14) {
        		tmp = 1.0;
        	} else if (t_1 <= 1e+304) {
        		tmp = x / (x + (y * exp((2.0 * ((0.8333333333333334 + a) * c)))));
        	} 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) :: t_1
            real(8) :: tmp
            t_1 = ((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0d0 / 6.0d0)) - (2.0d0 / (t * 3.0d0))))
            if (t_1 <= (-5d+14)) then
                tmp = 1.0d0
            else if (t_1 <= 1d+304) then
                tmp = x / (x + (y * exp((2.0d0 * ((0.8333333333333334d0 + a) * c)))))
            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 t_1 = ((z * Math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))));
        	double tmp;
        	if (t_1 <= -5e+14) {
        		tmp = 1.0;
        	} else if (t_1 <= 1e+304) {
        		tmp = x / (x + (y * Math.exp((2.0 * ((0.8333333333333334 + a) * c)))));
        	} else {
        		tmp = x / (x + (y * Math.exp((2.0 * (-a * b)))));
        	}
        	return tmp;
        }
        
        def code(x, y, z, t, a, b, c):
        	t_1 = ((z * math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))))
        	tmp = 0
        	if t_1 <= -5e+14:
        		tmp = 1.0
        	elif t_1 <= 1e+304:
        		tmp = x / (x + (y * math.exp((2.0 * ((0.8333333333333334 + a) * c)))))
        	else:
        		tmp = x / (x + (y * math.exp((2.0 * (-a * b)))))
        	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(a + Float64(5.0 / 6.0)) - Float64(2.0 / Float64(t * 3.0)))))
        	tmp = 0.0
        	if (t_1 <= -5e+14)
        		tmp = 1.0;
        	elseif (t_1 <= 1e+304)
        		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(0.8333333333333334 + a) * c))))));
        	else
        		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(-a) * b))))));
        	end
        	return tmp
        end
        
        function tmp_2 = code(x, y, z, t, a, b, c)
        	t_1 = ((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))));
        	tmp = 0.0;
        	if (t_1 <= -5e+14)
        		tmp = 1.0;
        	elseif (t_1 <= 1e+304)
        		tmp = x / (x + (y * exp((2.0 * ((0.8333333333333334 + a) * c)))));
        	else
        		tmp = x / (x + (y * exp((2.0 * (-a * b)))));
        	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[(a + N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision] - N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, -5e+14], 1.0, If[LessEqual[t$95$1, 1e+304], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(0.8333333333333334 + a), $MachinePrecision] * c), $MachinePrecision]), $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}
        t_1 := \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)\\
        \mathbf{if}\;t\_1 \leq -5 \cdot 10^{+14}:\\
        \;\;\;\;1\\
        
        \mathbf{elif}\;t\_1 \leq 10^{+304}:\\
        \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(0.8333333333333334 + a\right) \cdot c\right)}}\\
        
        \mathbf{else}:\\
        \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(-a\right) \cdot b\right)}}\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 3 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)))))) < -5e14

          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 c around inf

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

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
            2. lower-*.f64N/A

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
            3. lower--.f64N/A

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right)} \cdot c\right)}} \]
            4. lower-+.f64N/A

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

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \color{blue}{\frac{\frac{2}{3} \cdot 1}{t}}\right) \cdot c\right)}} \]
            6. metadata-evalN/A

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \frac{\color{blue}{\frac{2}{3}}}{t}\right) \cdot c\right)}} \]
            7. lower-/.f6471.9

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

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

            \[\leadsto \color{blue}{1} \]
          7. Step-by-step derivation
            1. Applied rewrites98.1%

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

            if -5e14 < (-.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)))))) < 9.9999999999999994e303

            1. Initial program 100.0%

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

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

                \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
              2. lower-*.f64N/A

                \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
              3. lower--.f64N/A

                \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right)} \cdot c\right)}} \]
              4. lower-+.f64N/A

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

                \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \color{blue}{\frac{\frac{2}{3} \cdot 1}{t}}\right) \cdot c\right)}} \]
              6. metadata-evalN/A

                \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \frac{\color{blue}{\frac{2}{3}}}{t}\right) \cdot c\right)}} \]
              7. lower-/.f6477.0

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

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

              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\frac{5}{6} + a\right) \cdot c\right)}} \]
            7. Step-by-step derivation
              1. Applied rewrites70.1%

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

              if 9.9999999999999994e303 < (-.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 71.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

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

                  \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\frac{2}{3} \cdot \frac{1}{t} - \left(\frac{5}{6} + a\right)\right) \cdot b\right)}}} \]
                2. lower-*.f64N/A

                  \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\frac{2}{3} \cdot \frac{1}{t} - \left(\frac{5}{6} + a\right)\right) \cdot b\right)}}} \]
                3. +-commutativeN/A

                  \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\frac{2}{3} \cdot \frac{1}{t} - \color{blue}{\left(a + \frac{5}{6}\right)}\right) \cdot b\right)}} \]
                4. associate--r+N/A

                  \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(\left(\frac{2}{3} \cdot \frac{1}{t} - a\right) - \frac{5}{6}\right)} \cdot b\right)}} \]
                5. unsub-negN/A

                  \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\color{blue}{\left(\frac{2}{3} \cdot \frac{1}{t} + \left(\mathsf{neg}\left(a\right)\right)\right)} - \frac{5}{6}\right) \cdot b\right)}} \]
                6. mul-1-negN/A

                  \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{2}{3} \cdot \frac{1}{t} + \color{blue}{-1 \cdot a}\right) - \frac{5}{6}\right) \cdot b\right)}} \]
                7. +-commutativeN/A

                  \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\color{blue}{\left(-1 \cdot a + \frac{2}{3} \cdot \frac{1}{t}\right)} - \frac{5}{6}\right) \cdot b\right)}} \]
                8. lower--.f64N/A

                  \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(\left(-1 \cdot a + \frac{2}{3} \cdot \frac{1}{t}\right) - \frac{5}{6}\right)} \cdot b\right)}} \]
                9. +-commutativeN/A

                  \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\color{blue}{\left(\frac{2}{3} \cdot \frac{1}{t} + -1 \cdot a\right)} - \frac{5}{6}\right) \cdot b\right)}} \]
                10. mul-1-negN/A

                  \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{2}{3} \cdot \frac{1}{t} + \color{blue}{\left(\mathsf{neg}\left(a\right)\right)}\right) - \frac{5}{6}\right) \cdot b\right)}} \]
                11. unsub-negN/A

                  \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\color{blue}{\left(\frac{2}{3} \cdot \frac{1}{t} - a\right)} - \frac{5}{6}\right) \cdot b\right)}} \]
                12. lower--.f64N/A

                  \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\color{blue}{\left(\frac{2}{3} \cdot \frac{1}{t} - a\right)} - \frac{5}{6}\right) \cdot b\right)}} \]
                13. associate-*r/N/A

                  \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\color{blue}{\frac{\frac{2}{3} \cdot 1}{t}} - a\right) - \frac{5}{6}\right) \cdot b\right)}} \]
                14. metadata-evalN/A

                  \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{\color{blue}{\frac{2}{3}}}{t} - a\right) - \frac{5}{6}\right) \cdot b\right)}} \]
                15. lower-/.f6463.5

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

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

                \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(-1 \cdot a\right) \cdot b\right)}} \]
              7. Step-by-step derivation
                1. Applied rewrites51.0%

                  \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(-a\right) \cdot b\right)}} \]
              8. Recombined 3 regimes into one program.
              9. Add Preprocessing

              Alternative 5: 71.2% 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(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\\ \mathbf{if}\;t\_1 \leq -5 \cdot 10^{+14}:\\ \;\;\;\;1\\ \mathbf{elif}\;t\_1 \leq 10^{+304}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot a\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(-a\right) \cdot b\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) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))))
                 (if (<= t_1 -5e+14)
                   1.0
                   (if (<= t_1 1e+304)
                     (/ x (+ x (* y (exp (* 2.0 (* c a))))))
                     (/ 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 t_1 = ((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))));
              	double tmp;
              	if (t_1 <= -5e+14) {
              		tmp = 1.0;
              	} else if (t_1 <= 1e+304) {
              		tmp = x / (x + (y * exp((2.0 * (c * a)))));
              	} 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) :: t_1
                  real(8) :: tmp
                  t_1 = ((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0d0 / 6.0d0)) - (2.0d0 / (t * 3.0d0))))
                  if (t_1 <= (-5d+14)) then
                      tmp = 1.0d0
                  else if (t_1 <= 1d+304) then
                      tmp = x / (x + (y * exp((2.0d0 * (c * a)))))
                  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 t_1 = ((z * Math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))));
              	double tmp;
              	if (t_1 <= -5e+14) {
              		tmp = 1.0;
              	} else if (t_1 <= 1e+304) {
              		tmp = x / (x + (y * Math.exp((2.0 * (c * a)))));
              	} else {
              		tmp = x / (x + (y * Math.exp((2.0 * (-a * b)))));
              	}
              	return tmp;
              }
              
              def code(x, y, z, t, a, b, c):
              	t_1 = ((z * math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))))
              	tmp = 0
              	if t_1 <= -5e+14:
              		tmp = 1.0
              	elif t_1 <= 1e+304:
              		tmp = x / (x + (y * math.exp((2.0 * (c * a)))))
              	else:
              		tmp = x / (x + (y * math.exp((2.0 * (-a * b)))))
              	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(a + Float64(5.0 / 6.0)) - Float64(2.0 / Float64(t * 3.0)))))
              	tmp = 0.0
              	if (t_1 <= -5e+14)
              		tmp = 1.0;
              	elseif (t_1 <= 1e+304)
              		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(c * a))))));
              	else
              		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(-a) * b))))));
              	end
              	return tmp
              end
              
              function tmp_2 = code(x, y, z, t, a, b, c)
              	t_1 = ((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))));
              	tmp = 0.0;
              	if (t_1 <= -5e+14)
              		tmp = 1.0;
              	elseif (t_1 <= 1e+304)
              		tmp = x / (x + (y * exp((2.0 * (c * a)))));
              	else
              		tmp = x / (x + (y * exp((2.0 * (-a * b)))));
              	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[(a + N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision] - N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, -5e+14], 1.0, If[LessEqual[t$95$1, 1e+304], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(c * a), $MachinePrecision]), $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}
              t_1 := \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)\\
              \mathbf{if}\;t\_1 \leq -5 \cdot 10^{+14}:\\
              \;\;\;\;1\\
              
              \mathbf{elif}\;t\_1 \leq 10^{+304}:\\
              \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot a\right)}}\\
              
              \mathbf{else}:\\
              \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(-a\right) \cdot b\right)}}\\
              
              
              \end{array}
              \end{array}
              
              Derivation
              1. Split input into 3 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)))))) < -5e14

                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 c around inf

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

                    \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
                  2. lower-*.f64N/A

                    \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
                  3. lower--.f64N/A

                    \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right)} \cdot c\right)}} \]
                  4. lower-+.f64N/A

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

                    \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \color{blue}{\frac{\frac{2}{3} \cdot 1}{t}}\right) \cdot c\right)}} \]
                  6. metadata-evalN/A

                    \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \frac{\color{blue}{\frac{2}{3}}}{t}\right) \cdot c\right)}} \]
                  7. lower-/.f6471.9

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

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

                  \[\leadsto \color{blue}{1} \]
                7. Step-by-step derivation
                  1. Applied rewrites98.1%

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

                  if -5e14 < (-.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)))))) < 9.9999999999999994e303

                  1. Initial program 100.0%

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

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

                      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
                    2. lower-*.f64N/A

                      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
                    3. lower--.f64N/A

                      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right)} \cdot c\right)}} \]
                    4. lower-+.f64N/A

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

                      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \color{blue}{\frac{\frac{2}{3} \cdot 1}{t}}\right) \cdot c\right)}} \]
                    6. metadata-evalN/A

                      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \frac{\color{blue}{\frac{2}{3}}}{t}\right) \cdot c\right)}} \]
                    7. lower-/.f6477.0

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

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

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

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

                    if 9.9999999999999994e303 < (-.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 71.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

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

                        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\frac{2}{3} \cdot \frac{1}{t} - \left(\frac{5}{6} + a\right)\right) \cdot b\right)}}} \]
                      2. lower-*.f64N/A

                        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\frac{2}{3} \cdot \frac{1}{t} - \left(\frac{5}{6} + a\right)\right) \cdot b\right)}}} \]
                      3. +-commutativeN/A

                        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\frac{2}{3} \cdot \frac{1}{t} - \color{blue}{\left(a + \frac{5}{6}\right)}\right) \cdot b\right)}} \]
                      4. associate--r+N/A

                        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(\left(\frac{2}{3} \cdot \frac{1}{t} - a\right) - \frac{5}{6}\right)} \cdot b\right)}} \]
                      5. unsub-negN/A

                        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\color{blue}{\left(\frac{2}{3} \cdot \frac{1}{t} + \left(\mathsf{neg}\left(a\right)\right)\right)} - \frac{5}{6}\right) \cdot b\right)}} \]
                      6. mul-1-negN/A

                        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{2}{3} \cdot \frac{1}{t} + \color{blue}{-1 \cdot a}\right) - \frac{5}{6}\right) \cdot b\right)}} \]
                      7. +-commutativeN/A

                        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\color{blue}{\left(-1 \cdot a + \frac{2}{3} \cdot \frac{1}{t}\right)} - \frac{5}{6}\right) \cdot b\right)}} \]
                      8. lower--.f64N/A

                        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(\left(-1 \cdot a + \frac{2}{3} \cdot \frac{1}{t}\right) - \frac{5}{6}\right)} \cdot b\right)}} \]
                      9. +-commutativeN/A

                        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\color{blue}{\left(\frac{2}{3} \cdot \frac{1}{t} + -1 \cdot a\right)} - \frac{5}{6}\right) \cdot b\right)}} \]
                      10. mul-1-negN/A

                        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{2}{3} \cdot \frac{1}{t} + \color{blue}{\left(\mathsf{neg}\left(a\right)\right)}\right) - \frac{5}{6}\right) \cdot b\right)}} \]
                      11. unsub-negN/A

                        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\color{blue}{\left(\frac{2}{3} \cdot \frac{1}{t} - a\right)} - \frac{5}{6}\right) \cdot b\right)}} \]
                      12. lower--.f64N/A

                        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\color{blue}{\left(\frac{2}{3} \cdot \frac{1}{t} - a\right)} - \frac{5}{6}\right) \cdot b\right)}} \]
                      13. associate-*r/N/A

                        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\color{blue}{\frac{\frac{2}{3} \cdot 1}{t}} - a\right) - \frac{5}{6}\right) \cdot b\right)}} \]
                      14. metadata-evalN/A

                        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{\color{blue}{\frac{2}{3}}}{t} - a\right) - \frac{5}{6}\right) \cdot b\right)}} \]
                      15. lower-/.f6463.5

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

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

                      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(-1 \cdot a\right) \cdot b\right)}} \]
                    7. Step-by-step derivation
                      1. Applied rewrites51.0%

                        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(-a\right) \cdot b\right)}} \]
                    8. Recombined 3 regimes into one program.
                    9. Add Preprocessing

                    Alternative 6: 89.9% accurate, 0.7× speedup?

                    \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq 2.4 \cdot 10^{-140}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{\mathsf{fma}\left(0.6666666666666666, b - c, \sqrt{a} \cdot z\right)}{t}}}\\ \mathbf{elif}\;t \leq 0.0009:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(0.8333333333333334 + a\right) - \frac{0.6666666666666666}{t}\right) \cdot c\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \mathsf{fma}\left(-\left(b - c\right), 0.8333333333333334 + a, \sqrt{{t}^{-1}} \cdot z\right)}}\\ \end{array} \end{array} \]
                    (FPCore (x y z t a b c)
                     :precision binary64
                     (if (<= t 2.4e-140)
                       (/
                        x
                        (+
                         x
                         (*
                          y
                          (exp (* 2.0 (/ (fma 0.6666666666666666 (- b c) (* (sqrt a) z)) t))))))
                       (if (<= t 0.0009)
                         (/
                          x
                          (+
                           x
                           (*
                            y
                            (exp
                             (*
                              2.0
                              (* (- (+ 0.8333333333333334 a) (/ 0.6666666666666666 t)) c))))))
                         (/
                          x
                          (+
                           x
                           (*
                            y
                            (exp
                             (*
                              2.0
                              (fma
                               (- (- b c))
                               (+ 0.8333333333333334 a)
                               (* (sqrt (pow t -1.0)) z))))))))))
                    double code(double x, double y, double z, double t, double a, double b, double c) {
                    	double tmp;
                    	if (t <= 2.4e-140) {
                    		tmp = x / (x + (y * exp((2.0 * (fma(0.6666666666666666, (b - c), (sqrt(a) * z)) / t)))));
                    	} else if (t <= 0.0009) {
                    		tmp = x / (x + (y * exp((2.0 * (((0.8333333333333334 + a) - (0.6666666666666666 / t)) * c)))));
                    	} else {
                    		tmp = x / (x + (y * exp((2.0 * fma(-(b - c), (0.8333333333333334 + a), (sqrt(pow(t, -1.0)) * z))))));
                    	}
                    	return tmp;
                    }
                    
                    function code(x, y, z, t, a, b, c)
                    	tmp = 0.0
                    	if (t <= 2.4e-140)
                    		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(fma(0.6666666666666666, Float64(b - c), Float64(sqrt(a) * z)) / t))))));
                    	elseif (t <= 0.0009)
                    		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(0.8333333333333334 + a) - Float64(0.6666666666666666 / t)) * c))))));
                    	else
                    		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * fma(Float64(-Float64(b - c)), Float64(0.8333333333333334 + a), Float64(sqrt((t ^ -1.0)) * z)))))));
                    	end
                    	return tmp
                    end
                    
                    code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[t, 2.4e-140], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(0.6666666666666666 * N[(b - c), $MachinePrecision] + N[(N[Sqrt[a], $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 0.0009], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(0.8333333333333334 + a), $MachinePrecision] - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[((-N[(b - c), $MachinePrecision]) * N[(0.8333333333333334 + a), $MachinePrecision] + N[(N[Sqrt[N[Power[t, -1.0], $MachinePrecision]], $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
                    
                    \begin{array}{l}
                    
                    \\
                    \begin{array}{l}
                    \mathbf{if}\;t \leq 2.4 \cdot 10^{-140}:\\
                    \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{\mathsf{fma}\left(0.6666666666666666, b - c, \sqrt{a} \cdot z\right)}{t}}}\\
                    
                    \mathbf{elif}\;t \leq 0.0009:\\
                    \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(0.8333333333333334 + a\right) - \frac{0.6666666666666666}{t}\right) \cdot c\right)}}\\
                    
                    \mathbf{else}:\\
                    \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \mathsf{fma}\left(-\left(b - c\right), 0.8333333333333334 + a, \sqrt{{t}^{-1}} \cdot z\right)}}\\
                    
                    
                    \end{array}
                    \end{array}
                    
                    Derivation
                    1. Split input into 3 regimes
                    2. if t < 2.39999999999999987e-140

                      1. Initial program 90.5%

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

                        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\frac{\sqrt{a} \cdot z - \frac{-2}{3} \cdot \left(b - c\right)}{t}}}} \]
                      4. Step-by-step derivation
                        1. lower-/.f64N/A

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

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

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

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \frac{\color{blue}{\left(\mathsf{neg}\left(\frac{-2}{3}\right)\right) \cdot \left(b - c\right)} + \sqrt{a} \cdot z}{t}}} \]
                        5. metadata-evalN/A

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \frac{\color{blue}{\frac{2}{3}} \cdot \left(b - c\right) + \sqrt{a} \cdot z}{t}}} \]
                        6. lower-fma.f64N/A

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \frac{\color{blue}{\mathsf{fma}\left(\frac{2}{3}, b - c, \sqrt{a} \cdot z\right)}}{t}}} \]
                        7. lower--.f64N/A

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \frac{\mathsf{fma}\left(\frac{2}{3}, \color{blue}{b - c}, \sqrt{a} \cdot z\right)}{t}}} \]
                        8. lower-*.f64N/A

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \frac{\mathsf{fma}\left(\frac{2}{3}, b - c, \color{blue}{\sqrt{a} \cdot z}\right)}{t}}} \]
                        9. lower-sqrt.f6490.7

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \frac{\mathsf{fma}\left(0.6666666666666666, b - c, \color{blue}{\sqrt{a}} \cdot z\right)}{t}}} \]
                      5. Applied rewrites90.7%

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

                      if 2.39999999999999987e-140 < t < 8.9999999999999998e-4

                      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

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

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
                        2. lower-*.f64N/A

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
                        3. lower--.f64N/A

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right)} \cdot c\right)}} \]
                        4. lower-+.f64N/A

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

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \color{blue}{\frac{\frac{2}{3} \cdot 1}{t}}\right) \cdot c\right)}} \]
                        6. metadata-evalN/A

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \frac{\color{blue}{\frac{2}{3}}}{t}\right) \cdot c\right)}} \]
                        7. lower-/.f6466.9

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

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

                      if 8.9999999999999998e-4 < t

                      1. Initial program 90.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 inf

                        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\sqrt{\frac{1}{t}} \cdot z - \left(\frac{5}{6} + a\right) \cdot \left(b - c\right)\right)}}} \]
                      4. Step-by-step derivation
                        1. sub-negN/A

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\sqrt{\frac{1}{t}} \cdot z + \left(\mathsf{neg}\left(\left(\frac{5}{6} + a\right) \cdot \left(b - c\right)\right)\right)\right)}}} \]
                        2. +-commutativeN/A

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(\frac{5}{6} + a\right) \cdot \left(b - c\right)\right)\right) + \sqrt{\frac{1}{t}} \cdot z\right)}}} \]
                        3. *-commutativeN/A

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(b - c\right) \cdot \left(\frac{5}{6} + a\right)}\right)\right) + \sqrt{\frac{1}{t}} \cdot z\right)}} \]
                        4. distribute-lft-neg-inN/A

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(b - c\right)\right)\right) \cdot \left(\frac{5}{6} + a\right)} + \sqrt{\frac{1}{t}} \cdot z\right)}} \]
                        5. mul-1-negN/A

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(-1 \cdot \left(b - c\right)\right)} \cdot \left(\frac{5}{6} + a\right) + \sqrt{\frac{1}{t}} \cdot z\right)}} \]
                        6. lower-fma.f64N/A

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot \left(b - c\right), \frac{5}{6} + a, \sqrt{\frac{1}{t}} \cdot z\right)}}} \]
                        7. mul-1-negN/A

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(\left(b - c\right)\right)}, \frac{5}{6} + a, \sqrt{\frac{1}{t}} \cdot z\right)}} \]
                        8. lower-neg.f64N/A

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

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \mathsf{fma}\left(-\color{blue}{\left(b - c\right)}, \frac{5}{6} + a, \sqrt{\frac{1}{t}} \cdot z\right)}} \]
                        10. lower-+.f64N/A

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \mathsf{fma}\left(-\left(b - c\right), \color{blue}{\frac{5}{6} + a}, \sqrt{\frac{1}{t}} \cdot z\right)}} \]
                        11. lower-*.f64N/A

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \mathsf{fma}\left(-\left(b - c\right), \frac{5}{6} + a, \color{blue}{\sqrt{\frac{1}{t}} \cdot z}\right)}} \]
                        12. lower-sqrt.f64N/A

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \mathsf{fma}\left(-\left(b - c\right), \frac{5}{6} + a, \color{blue}{\sqrt{\frac{1}{t}}} \cdot z\right)}} \]
                        13. lower-/.f64100.0

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \mathsf{fma}\left(-\left(b - c\right), 0.8333333333333334 + a, \sqrt{\color{blue}{\frac{1}{t}}} \cdot z\right)}} \]
                      5. Applied rewrites100.0%

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

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

                    Alternative 7: 80.4% accurate, 0.9× speedup?

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

                      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 c around inf

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

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
                        2. lower-*.f64N/A

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
                        3. lower--.f64N/A

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right)} \cdot c\right)}} \]
                        4. lower-+.f64N/A

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

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \color{blue}{\frac{\frac{2}{3} \cdot 1}{t}}\right) \cdot c\right)}} \]
                        6. metadata-evalN/A

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \frac{\color{blue}{\frac{2}{3}}}{t}\right) \cdot c\right)}} \]
                        7. lower-/.f6471.9

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

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

                        \[\leadsto \color{blue}{1} \]
                      7. Step-by-step derivation
                        1. Applied rewrites98.1%

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

                        if -5e14 < (-.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 87.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

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

                            \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
                          2. lower-*.f64N/A

                            \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
                          3. lower--.f64N/A

                            \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right)} \cdot c\right)}} \]
                          4. lower-+.f64N/A

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

                            \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \color{blue}{\frac{\frac{2}{3} \cdot 1}{t}}\right) \cdot c\right)}} \]
                          6. metadata-evalN/A

                            \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \frac{\color{blue}{\frac{2}{3}}}{t}\right) \cdot c\right)}} \]
                          7. lower-/.f6467.2

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

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(0.8333333333333334 + a\right) - \frac{0.6666666666666666}{t}\right) \cdot c\right)}}} \]
                      8. Recombined 2 regimes into one program.
                      9. Add Preprocessing

                      Alternative 8: 51.9% accurate, 198.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 91.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

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

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
                        2. lower-*.f64N/A

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right) \cdot c\right)}}} \]
                        3. lower--.f64N/A

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\color{blue}{\left(\left(\frac{5}{6} + a\right) - \frac{2}{3} \cdot \frac{1}{t}\right)} \cdot c\right)}} \]
                        4. lower-+.f64N/A

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

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \color{blue}{\frac{\frac{2}{3} \cdot 1}{t}}\right) \cdot c\right)}} \]
                        6. metadata-evalN/A

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{5}{6} + a\right) - \frac{\color{blue}{\frac{2}{3}}}{t}\right) \cdot c\right)}} \]
                        7. lower-/.f6469.1

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

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

                        \[\leadsto \color{blue}{1} \]
                      7. Step-by-step derivation
                        1. Applied rewrites50.8%

                          \[\leadsto \color{blue}{1} \]
                        2. Add Preprocessing

                        Developer Target 1: 95.2% accurate, 0.7× 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 2024324 
                        (FPCore (x y z t a b c)
                          :name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, I"
                          :precision binary64
                        
                          :alt
                          (! :herbie-platform default (if (< t -2118326644891581/100000000000000000000000000000000000000000000000000000000000000000) (/ x (+ x (* y (exp (* 2 (- (+ (* a c) (* 4166666666666667/5000000000000000 c)) (* a b))))))) (if (< t 5196588770651547/1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (/ x (+ x (* y (exp (* 2 (/ (- (* (* z (sqrt (+ t a))) (* (* 3 t) (- a (/ 5 6)))) (* (- (* (+ (/ 5 6) a) (* 3 t)) 2) (* (- a (/ 5 6)) (* (- b c) t)))) (* (* (* t t) 3) (- a (/ 5 6))))))))) (/ x (+ x (* y (exp (* 2 (- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5 6)) (/ 2 (* t 3)))))))))))))
                        
                          (/ x (+ x (* y (exp (* 2.0 (- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))))))))