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

Percentage Accurate: 94.0% → 96.7%
Time: 19.1s
Alternatives: 10
Speedup: 0.7×

Specification

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

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

Sampling outcomes in binary64 precision:

Local Percentage Accuracy vs ?

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

Accuracy vs Speed?

Herbie found 10 alternatives:

AlternativeAccuracySpeedup
The accuracy (vertical axis) and speed (horizontal axis) of each alternatives. Up and to the right is better. The red square shows the initial program, and each blue circle shows an alternative.The line shows the best available speed-accuracy tradeoffs.

Initial Program: 94.0% accurate, 1.0× speedup?

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

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

Alternative 1: 96.7% accurate, 0.7× speedup?

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

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

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


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

    1. Initial program 99.2%

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

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

    1. Initial program 0.0%

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

      \[\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. lower-*.f64N/A

        \[\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)}}} \]
      2. +-commutativeN/A

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

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

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

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

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

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + \left(\frac{5}{6} + \left(\mathsf{neg}\left(\frac{\color{blue}{\frac{2}{3}}}{t}\right)\right)\right)\right)\right)}} \]
      9. distribute-neg-fracN/A

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

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

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

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

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

Alternative 2: 70.2% accurate, 0.4× speedup?

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

\\
\begin{array}{l}
t_1 := y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} + \left(b - c\right) \cdot \left(\frac{2}{t \cdot 3} - \left(a + \frac{5}{6}\right)\right)\right)}\\
\mathbf{if}\;t\_1 \leq -2 \cdot 10^{+124}:\\
\;\;\;\;\frac{x}{\mathsf{fma}\left(y, e^{2 \cdot \left(a \cdot c\right)}, x\right)}\\

\mathbf{elif}\;t\_1 \leq 0:\\
\;\;\;\;1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if (*.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.9999999999999999e124

    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. lower-*.f64N/A

        \[\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)}}} \]
      2. +-commutativeN/A

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

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

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

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

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

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + \left(\frac{5}{6} + \left(\mathsf{neg}\left(\frac{\color{blue}{\frac{2}{3}}}{t}\right)\right)\right)\right)\right)}} \]
      9. distribute-neg-fracN/A

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

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

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

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

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

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

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

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

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

      \[\leadsto \frac{1}{\mathsf{fma}\left(y, e^{2 \cdot \left(a \cdot \color{blue}{c}\right)}, x\right)} \cdot x \]
    9. Step-by-step derivation
      1. Applied rewrites46.5%

        \[\leadsto \frac{1}{\mathsf{fma}\left(y, e^{2 \cdot \left(a \cdot \color{blue}{c}\right)}, x\right)} \cdot x \]
      2. Step-by-step derivation
        1. lift-*.f64N/A

          \[\leadsto \color{blue}{\frac{1}{\mathsf{fma}\left(y, e^{2 \cdot \left(a \cdot c\right)}, x\right)} \cdot x} \]
        2. *-commutativeN/A

          \[\leadsto \color{blue}{x \cdot \frac{1}{\mathsf{fma}\left(y, e^{2 \cdot \left(a \cdot c\right)}, x\right)}} \]
        3. lift-/.f64N/A

          \[\leadsto x \cdot \color{blue}{\frac{1}{\mathsf{fma}\left(y, e^{2 \cdot \left(a \cdot c\right)}, x\right)}} \]
        4. un-div-invN/A

          \[\leadsto \color{blue}{\frac{x}{\mathsf{fma}\left(y, e^{2 \cdot \left(a \cdot c\right)}, x\right)}} \]
        5. lower-/.f6446.5

          \[\leadsto \color{blue}{\frac{x}{\mathsf{fma}\left(y, e^{2 \cdot \left(a \cdot c\right)}, x\right)}} \]
      3. Applied rewrites46.5%

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

      if -1.9999999999999999e124 < (*.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))))))))) < 0.0

      1. Initial program 98.3%

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

        \[\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. lower-*.f64N/A

          \[\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)}}} \]
        2. lower--.f64N/A

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

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

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

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

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

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

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

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

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

        if 0.0 < (*.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 79.8%

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

          \[\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. lower-*.f64N/A

            \[\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)}}} \]
          2. lower--.f64N/A

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

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

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

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

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

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

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

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

            \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(-a\right)\right)}} \]
          2. Step-by-step derivation
            1. lift-+.f64N/A

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

              \[\leadsto \frac{x}{\color{blue}{y \cdot e^{2 \cdot \left(b \cdot \left(\mathsf{neg}\left(a\right)\right)\right)} + x}} \]
            3. lift-*.f64N/A

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

              \[\leadsto \frac{x}{\color{blue}{e^{2 \cdot \left(b \cdot \left(\mathsf{neg}\left(a\right)\right)\right)} \cdot y} + x} \]
            5. lower-fma.f6458.7

              \[\leadsto \frac{x}{\color{blue}{\mathsf{fma}\left(e^{2 \cdot \left(b \cdot \left(-a\right)\right)}, y, x\right)}} \]
          3. Applied rewrites58.7%

            \[\leadsto \frac{x}{\color{blue}{\mathsf{fma}\left(e^{2 \cdot \left(b \cdot \left(-a\right)\right)}, y, x\right)}} \]
        8. Recombined 3 regimes into one program.
        9. Final simplification73.8%

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

        Alternative 3: 71.5% accurate, 0.5× speedup?

        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{z \cdot \sqrt{t + a}}{t} + \left(b - c\right) \cdot \left(\frac{2}{t \cdot 3} - \left(a + \frac{5}{6}\right)\right)\\ \mathbf{if}\;t\_1 \leq -1 \cdot 10^{+88}:\\ \;\;\;\;1\\ \mathbf{elif}\;t\_1 \leq 4 \cdot 10^{+163}:\\ \;\;\;\;\frac{x}{\mathsf{fma}\left(e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}, y, x\right)}\\ \mathbf{elif}\;t\_1 \leq 5 \cdot 10^{+288}:\\ \;\;\;\;\frac{x}{\mathsf{fma}\left(e^{2 \cdot \left(b \cdot \left(-0.8333333333333334 - a\right)\right)}, y, x\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{\mathsf{fma}\left(e^{2 \cdot \left(b \cdot \frac{0.6666666666666666}{t}\right)}, y, x\right)}\\ \end{array} \end{array} \]
        (FPCore (x y z t a b c)
         :precision binary64
         (let* ((t_1
                 (+
                  (/ (* z (sqrt (+ t a))) t)
                  (* (- b c) (- (/ 2.0 (* t 3.0)) (+ a (/ 5.0 6.0)))))))
           (if (<= t_1 -1e+88)
             1.0
             (if (<= t_1 4e+163)
               (/ x (fma (exp (* 2.0 (* c (+ a 0.8333333333333334)))) y x))
               (if (<= t_1 5e+288)
                 (/ x (fma (exp (* 2.0 (* b (- -0.8333333333333334 a)))) y x))
                 (/ x (fma (exp (* 2.0 (* b (/ 0.6666666666666666 t)))) y x)))))))
        double code(double x, double y, double z, double t, double a, double b, double c) {
        	double t_1 = ((z * sqrt((t + a))) / t) + ((b - c) * ((2.0 / (t * 3.0)) - (a + (5.0 / 6.0))));
        	double tmp;
        	if (t_1 <= -1e+88) {
        		tmp = 1.0;
        	} else if (t_1 <= 4e+163) {
        		tmp = x / fma(exp((2.0 * (c * (a + 0.8333333333333334)))), y, x);
        	} else if (t_1 <= 5e+288) {
        		tmp = x / fma(exp((2.0 * (b * (-0.8333333333333334 - a)))), y, x);
        	} else {
        		tmp = x / fma(exp((2.0 * (b * (0.6666666666666666 / t)))), y, x);
        	}
        	return tmp;
        }
        
        function code(x, y, z, t, a, b, c)
        	t_1 = Float64(Float64(Float64(z * sqrt(Float64(t + a))) / t) + Float64(Float64(b - c) * Float64(Float64(2.0 / Float64(t * 3.0)) - Float64(a + Float64(5.0 / 6.0)))))
        	tmp = 0.0
        	if (t_1 <= -1e+88)
        		tmp = 1.0;
        	elseif (t_1 <= 4e+163)
        		tmp = Float64(x / fma(exp(Float64(2.0 * Float64(c * Float64(a + 0.8333333333333334)))), y, x));
        	elseif (t_1 <= 5e+288)
        		tmp = Float64(x / fma(exp(Float64(2.0 * Float64(b * Float64(-0.8333333333333334 - a)))), y, x));
        	else
        		tmp = Float64(x / fma(exp(Float64(2.0 * Float64(b * Float64(0.6666666666666666 / t)))), y, x));
        	end
        	return tmp
        end
        
        code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(N[(N[(z * N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision] + N[(N[(b - c), $MachinePrecision] * N[(N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision] - N[(a + N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, -1e+88], 1.0, If[LessEqual[t$95$1, 4e+163], N[(x / N[(N[Exp[N[(2.0 * N[(c * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * y + x), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$1, 5e+288], N[(x / N[(N[Exp[N[(2.0 * N[(b * N[(-0.8333333333333334 - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * y + x), $MachinePrecision]), $MachinePrecision], N[(x / N[(N[Exp[N[(2.0 * N[(b * N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * y + x), $MachinePrecision]), $MachinePrecision]]]]]
        
        \begin{array}{l}
        
        \\
        \begin{array}{l}
        t_1 := \frac{z \cdot \sqrt{t + a}}{t} + \left(b - c\right) \cdot \left(\frac{2}{t \cdot 3} - \left(a + \frac{5}{6}\right)\right)\\
        \mathbf{if}\;t\_1 \leq -1 \cdot 10^{+88}:\\
        \;\;\;\;1\\
        
        \mathbf{elif}\;t\_1 \leq 4 \cdot 10^{+163}:\\
        \;\;\;\;\frac{x}{\mathsf{fma}\left(e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}, y, x\right)}\\
        
        \mathbf{elif}\;t\_1 \leq 5 \cdot 10^{+288}:\\
        \;\;\;\;\frac{x}{\mathsf{fma}\left(e^{2 \cdot \left(b \cdot \left(-0.8333333333333334 - a\right)\right)}, y, x\right)}\\
        
        \mathbf{else}:\\
        \;\;\;\;\frac{x}{\mathsf{fma}\left(e^{2 \cdot \left(b \cdot \frac{0.6666666666666666}{t}\right)}, y, x\right)}\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 4 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)))))) < -9.99999999999999959e87

          1. Initial program 98.3%

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

            \[\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. lower-*.f64N/A

              \[\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)}}} \]
            2. lower--.f64N/A

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

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

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

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

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

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

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

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

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

            if -9.99999999999999959e87 < (-.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)))))) < 3.9999999999999998e163

            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. lower-*.f64N/A

                \[\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)}}} \]
              2. +-commutativeN/A

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

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

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

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

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

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

                \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + \left(\frac{5}{6} + \left(\mathsf{neg}\left(\frac{\color{blue}{\frac{2}{3}}}{t}\right)\right)\right)\right)\right)}} \]
              9. distribute-neg-fracN/A

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

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

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

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

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

                \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}} \]
              2. Step-by-step derivation
                1. lift-+.f64N/A

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

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

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

                  \[\leadsto \frac{x}{\color{blue}{e^{2 \cdot \left(c \cdot \left(a + \frac{5}{6}\right)\right)} \cdot y} + x} \]
                5. lower-fma.f6478.5

                  \[\leadsto \frac{x}{\color{blue}{\mathsf{fma}\left(e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}, y, x\right)}} \]
              3. Applied rewrites78.5%

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

              if 3.9999999999999998e163 < (-.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)))))) < 5.0000000000000003e288

              1. Initial program 100.0%

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

                \[\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. lower-*.f64N/A

                  \[\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)}}} \]
                2. lower--.f64N/A

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

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

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

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

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

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

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

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

                  \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(-a\right)\right)}} \]
                2. Step-by-step derivation
                  1. lift-+.f64N/A

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

                    \[\leadsto \frac{x}{\color{blue}{y \cdot e^{2 \cdot \left(b \cdot \left(\mathsf{neg}\left(a\right)\right)\right)} + x}} \]
                  3. lift-*.f64N/A

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

                    \[\leadsto \frac{x}{\color{blue}{e^{2 \cdot \left(b \cdot \left(\mathsf{neg}\left(a\right)\right)\right)} \cdot y} + x} \]
                  5. lower-fma.f6434.6

                    \[\leadsto \frac{x}{\color{blue}{\mathsf{fma}\left(e^{2 \cdot \left(b \cdot \left(-a\right)\right)}, y, x\right)}} \]
                3. Applied rewrites34.6%

                  \[\leadsto \frac{x}{\color{blue}{\mathsf{fma}\left(e^{2 \cdot \left(b \cdot \left(-a\right)\right)}, y, x\right)}} \]
                4. Taylor expanded in t around inf

                  \[\leadsto \frac{x}{\mathsf{fma}\left(e^{2 \cdot \left(b \cdot \left(-1 \cdot \color{blue}{\left(\frac{5}{6} + a\right)}\right)\right)}, y, x\right)} \]
                5. Step-by-step derivation
                  1. Applied rewrites58.8%

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

                  if 5.0000000000000003e288 < (-.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 76.4%

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

                    \[\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. lower-*.f64N/A

                      \[\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)}}} \]
                    2. lower--.f64N/A

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

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

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

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

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

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

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

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

                      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \frac{0.6666666666666666}{\color{blue}{t}}\right)}} \]
                    2. Step-by-step derivation
                      1. lift-+.f64N/A

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

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

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

                        \[\leadsto \frac{x}{\color{blue}{e^{2 \cdot \left(b \cdot \frac{\frac{2}{3}}{t}\right)} \cdot y} + x} \]
                      5. lower-fma.f6460.3

                        \[\leadsto \frac{x}{\color{blue}{\mathsf{fma}\left(e^{2 \cdot \left(b \cdot \frac{0.6666666666666666}{t}\right)}, y, x\right)}} \]
                    3. Applied rewrites60.3%

                      \[\leadsto \frac{x}{\color{blue}{\mathsf{fma}\left(e^{2 \cdot \left(b \cdot \frac{0.6666666666666666}{t}\right)}, y, x\right)}} \]
                  8. Recombined 4 regimes into one program.
                  9. Final simplification79.8%

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

                  Alternative 4: 78.5% 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(\frac{2}{t \cdot 3} - \left(a + \frac{5}{6}\right)\right)\right)}} \leq 4 \cdot 10^{-317}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;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) (- (/ 2.0 (* t 3.0)) (+ a (/ 5.0 6.0))))))))))
                        4e-317)
                     (/
                      x
                      (+
                       x
                       (*
                        y
                        (exp
                         (* 2.0 (* b (- (/ 0.6666666666666666 t) (+ a 0.8333333333333334))))))))
                     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) * ((2.0 / (t * 3.0)) - (a + (5.0 / 6.0)))))))))) <= 4e-317) {
                  		tmp = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
                  	} else {
                  		tmp = 1.0;
                  	}
                  	return tmp;
                  }
                  
                  real(8) function code(x, y, z, t, a, b, c)
                      real(8), intent (in) :: x
                      real(8), intent (in) :: y
                      real(8), intent (in) :: z
                      real(8), intent (in) :: t
                      real(8), intent (in) :: a
                      real(8), intent (in) :: b
                      real(8), intent (in) :: c
                      real(8) :: tmp
                      if ((x / (x + (y * exp((2.0d0 * (((z * sqrt((t + a))) / t) + ((b - c) * ((2.0d0 / (t * 3.0d0)) - (a + (5.0d0 / 6.0d0)))))))))) <= 4d-317) then
                          tmp = x / (x + (y * exp((2.0d0 * (b * ((0.6666666666666666d0 / t) - (a + 0.8333333333333334d0)))))))
                      else
                          tmp = 1.0d0
                      end if
                      code = tmp
                  end function
                  
                  public static double code(double x, double y, double z, double t, double a, double b, double c) {
                  	double tmp;
                  	if ((x / (x + (y * Math.exp((2.0 * (((z * Math.sqrt((t + a))) / t) + ((b - c) * ((2.0 / (t * 3.0)) - (a + (5.0 / 6.0)))))))))) <= 4e-317) {
                  		tmp = x / (x + (y * Math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
                  	} 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) * ((2.0 / (t * 3.0)) - (a + (5.0 / 6.0)))))))))) <= 4e-317:
                  		tmp = x / (x + (y * math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))))
                  	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(2.0 / Float64(t * 3.0)) - Float64(a + Float64(5.0 / 6.0)))))))))) <= 4e-317)
                  		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(b * Float64(Float64(0.6666666666666666 / t) - Float64(a + 0.8333333333333334))))))));
                  	else
                  		tmp = 1.0;
                  	end
                  	return tmp
                  end
                  
                  function tmp_2 = code(x, y, z, t, a, b, c)
                  	tmp = 0.0;
                  	if ((x / (x + (y * exp((2.0 * (((z * sqrt((t + a))) / t) + ((b - c) * ((2.0 / (t * 3.0)) - (a + (5.0 / 6.0)))))))))) <= 4e-317)
                  		tmp = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
                  	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[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision] - N[(a + N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 4e-317], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(b * N[(N[(0.6666666666666666 / t), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 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(\frac{2}{t \cdot 3} - \left(a + \frac{5}{6}\right)\right)\right)}} \leq 4 \cdot 10^{-317}:\\
                  \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\
                  
                  \mathbf{else}:\\
                  \;\;\;\;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))))))))))) < 3.99999993e-317

                    1. Initial program 100.0%

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

                      \[\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. lower-*.f64N/A

                        \[\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)}}} \]
                      2. lower--.f64N/A

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

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

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

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

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

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

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

                    if 3.99999993e-317 < (/.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 86.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. lower-*.f64N/A

                        \[\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)}}} \]
                      2. lower--.f64N/A

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

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

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

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

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

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

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

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

                        \[\leadsto \color{blue}{1} \]
                    8. Recombined 2 regimes into one program.
                    9. Final simplification82.0%

                      \[\leadsto \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(\frac{2}{t \cdot 3} - \left(a + \frac{5}{6}\right)\right)\right)}} \leq 4 \cdot 10^{-317}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
                    10. Add Preprocessing

                    Alternative 5: 69.8% 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(\frac{2}{t \cdot 3} - \left(a + \frac{5}{6}\right)\right)\right)}} \leq 4 \cdot 10^{-317}:\\ \;\;\;\;\frac{x}{\mathsf{fma}\left(y, e^{2 \cdot \left(a \cdot c\right)}, x\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) (- (/ 2.0 (* t 3.0)) (+ a (/ 5.0 6.0))))))))))
                          4e-317)
                       (/ x (fma y (exp (* 2.0 (* a c))) x))
                       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) * ((2.0 / (t * 3.0)) - (a + (5.0 / 6.0)))))))))) <= 4e-317) {
                    		tmp = x / fma(y, exp((2.0 * (a * c))), x);
                    	} 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(2.0 / Float64(t * 3.0)) - Float64(a + Float64(5.0 / 6.0)))))))))) <= 4e-317)
                    		tmp = Float64(x / fma(y, exp(Float64(2.0 * Float64(a * c))), x));
                    	else
                    		tmp = 1.0;
                    	end
                    	return 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[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision] - N[(a + N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 4e-317], N[(x / N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] + x), $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(\frac{2}{t \cdot 3} - \left(a + \frac{5}{6}\right)\right)\right)}} \leq 4 \cdot 10^{-317}:\\
                    \;\;\;\;\frac{x}{\mathsf{fma}\left(y, e^{2 \cdot \left(a \cdot c\right)}, x\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))))))))))) < 3.99999993e-317

                      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. lower-*.f64N/A

                          \[\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)}}} \]
                        2. +-commutativeN/A

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

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

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

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

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

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

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + \left(\frac{5}{6} + \left(\mathsf{neg}\left(\frac{\color{blue}{\frac{2}{3}}}{t}\right)\right)\right)\right)\right)}} \]
                        9. distribute-neg-fracN/A

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

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

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

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

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

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

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

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

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

                        \[\leadsto \frac{1}{\mathsf{fma}\left(y, e^{2 \cdot \left(a \cdot \color{blue}{c}\right)}, x\right)} \cdot x \]
                      9. Step-by-step derivation
                        1. Applied rewrites45.5%

                          \[\leadsto \frac{1}{\mathsf{fma}\left(y, e^{2 \cdot \left(a \cdot \color{blue}{c}\right)}, x\right)} \cdot x \]
                        2. Step-by-step derivation
                          1. lift-*.f64N/A

                            \[\leadsto \color{blue}{\frac{1}{\mathsf{fma}\left(y, e^{2 \cdot \left(a \cdot c\right)}, x\right)} \cdot x} \]
                          2. *-commutativeN/A

                            \[\leadsto \color{blue}{x \cdot \frac{1}{\mathsf{fma}\left(y, e^{2 \cdot \left(a \cdot c\right)}, x\right)}} \]
                          3. lift-/.f64N/A

                            \[\leadsto x \cdot \color{blue}{\frac{1}{\mathsf{fma}\left(y, e^{2 \cdot \left(a \cdot c\right)}, x\right)}} \]
                          4. un-div-invN/A

                            \[\leadsto \color{blue}{\frac{x}{\mathsf{fma}\left(y, e^{2 \cdot \left(a \cdot c\right)}, x\right)}} \]
                          5. lower-/.f6445.5

                            \[\leadsto \color{blue}{\frac{x}{\mathsf{fma}\left(y, e^{2 \cdot \left(a \cdot c\right)}, x\right)}} \]
                        3. Applied rewrites45.5%

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

                        if 3.99999993e-317 < (/.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 86.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. lower-*.f64N/A

                            \[\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)}}} \]
                          2. lower--.f64N/A

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

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

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

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

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

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

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

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

                            \[\leadsto \color{blue}{1} \]
                        8. Recombined 2 regimes into one program.
                        9. Final simplification71.5%

                          \[\leadsto \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(\frac{2}{t \cdot 3} - \left(a + \frac{5}{6}\right)\right)\right)}} \leq 4 \cdot 10^{-317}:\\ \;\;\;\;\frac{x}{\mathsf{fma}\left(y, e^{2 \cdot \left(a \cdot c\right)}, x\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
                        10. Add Preprocessing

                        Alternative 6: 74.5% accurate, 0.6× speedup?

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

                          1. Initial program 98.3%

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

                            \[\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. lower-*.f64N/A

                              \[\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)}}} \]
                            2. lower--.f64N/A

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

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

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

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

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

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

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

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

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

                            if 0.0 < (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 88.0%

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

                              \[\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. lower-*.f64N/A

                                \[\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)}}} \]
                              2. lower--.f64N/A

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

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

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

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

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

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

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

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

                                \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(-a\right)\right)}} \]
                              2. Step-by-step derivation
                                1. lift-+.f64N/A

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

                                  \[\leadsto \frac{x}{\color{blue}{y \cdot e^{2 \cdot \left(b \cdot \left(\mathsf{neg}\left(a\right)\right)\right)} + x}} \]
                                3. lift-*.f64N/A

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

                                  \[\leadsto \frac{x}{\color{blue}{e^{2 \cdot \left(b \cdot \left(\mathsf{neg}\left(a\right)\right)\right)} \cdot y} + x} \]
                                5. lower-fma.f6450.7

                                  \[\leadsto \frac{x}{\color{blue}{\mathsf{fma}\left(e^{2 \cdot \left(b \cdot \left(-a\right)\right)}, y, x\right)}} \]
                              3. Applied rewrites50.7%

                                \[\leadsto \frac{x}{\color{blue}{\mathsf{fma}\left(e^{2 \cdot \left(b \cdot \left(-a\right)\right)}, y, x\right)}} \]
                              4. Taylor expanded in t around inf

                                \[\leadsto \frac{x}{\mathsf{fma}\left(e^{2 \cdot \left(b \cdot \left(-1 \cdot \color{blue}{\left(\frac{5}{6} + a\right)}\right)\right)}, y, x\right)} \]
                              5. Step-by-step derivation
                                1. Applied rewrites56.1%

                                  \[\leadsto \frac{x}{\mathsf{fma}\left(e^{2 \cdot \left(b \cdot \left(-0.8333333333333334 - \color{blue}{a}\right)\right)}, y, x\right)} \]
                              6. Recombined 2 regimes into one program.
                              7. Final simplification74.9%

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

                              Alternative 7: 61.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(\frac{2}{t \cdot 3} - \left(a + \frac{5}{6}\right)\right)\right)}} \leq 0:\\ \;\;\;\;x \cdot {\left(x \cdot x\right)}^{-0.5}\\ \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) (- (/ 2.0 (* t 3.0)) (+ a (/ 5.0 6.0))))))))))
                                    0.0)
                                 (* x (pow (* x x) -0.5))
                                 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) * ((2.0 / (t * 3.0)) - (a + (5.0 / 6.0)))))))))) <= 0.0) {
                              		tmp = x * pow((x * x), -0.5);
                              	} 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) * ((2.0d0 / (t * 3.0d0)) - (a + (5.0d0 / 6.0d0)))))))))) <= 0.0d0) then
                                      tmp = x * ((x * x) ** (-0.5d0))
                                  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) * ((2.0 / (t * 3.0)) - (a + (5.0 / 6.0)))))))))) <= 0.0) {
                              		tmp = x * Math.pow((x * x), -0.5);
                              	} 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) * ((2.0 / (t * 3.0)) - (a + (5.0 / 6.0)))))))))) <= 0.0:
                              		tmp = x * math.pow((x * x), -0.5)
                              	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(2.0 / Float64(t * 3.0)) - Float64(a + Float64(5.0 / 6.0)))))))))) <= 0.0)
                              		tmp = Float64(x * (Float64(x * x) ^ -0.5));
                              	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) * ((2.0 / (t * 3.0)) - (a + (5.0 / 6.0)))))))))) <= 0.0)
                              		tmp = x * ((x * x) ^ -0.5);
                              	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[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision] - N[(a + N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 0.0], N[(x * N[Power[N[(x * x), $MachinePrecision], -0.5], $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(\frac{2}{t \cdot 3} - \left(a + \frac{5}{6}\right)\right)\right)}} \leq 0:\\
                              \;\;\;\;x \cdot {\left(x \cdot x\right)}^{-0.5}\\
                              
                              \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))))))))))) < 0.0

                                1. Initial program 100.0%

                                  \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
                                2. Add Preprocessing
                                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. lower-*.f64N/A

                                    \[\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)}}} \]
                                  2. +-commutativeN/A

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

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

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

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

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

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

                                    \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + \left(\frac{5}{6} + \left(\mathsf{neg}\left(\frac{\color{blue}{\frac{2}{3}}}{t}\right)\right)\right)\right)\right)}} \]
                                  9. distribute-neg-fracN/A

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

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

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

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

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

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

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

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

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

                                  \[\leadsto \color{blue}{\frac{1}{x}} \cdot x \]
                                9. Step-by-step derivation
                                  1. lower-/.f643.1

                                    \[\leadsto \color{blue}{\frac{1}{x}} \cdot x \]
                                10. Applied rewrites3.1%

                                  \[\leadsto \color{blue}{\frac{1}{x}} \cdot x \]
                                11. Step-by-step derivation
                                  1. Applied rewrites17.1%

                                    \[\leadsto {\left(x \cdot x\right)}^{\color{blue}{-0.5}} \cdot x \]

                                  if 0.0 < (/.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 86.6%

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

                                    \[\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. lower-*.f64N/A

                                      \[\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)}}} \]
                                    2. lower--.f64N/A

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

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

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

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

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

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

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

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

                                      \[\leadsto \color{blue}{1} \]
                                  8. Recombined 2 regimes into one program.
                                  9. Final simplification58.6%

                                    \[\leadsto \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(\frac{2}{t \cdot 3} - \left(a + \frac{5}{6}\right)\right)\right)}} \leq 0:\\ \;\;\;\;x \cdot {\left(x \cdot x\right)}^{-0.5}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
                                  10. Add Preprocessing

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

                                    1. Initial program 98.3%

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

                                      \[\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. lower-*.f64N/A

                                        \[\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)}}} \]
                                      2. lower--.f64N/A

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

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

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

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

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

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

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

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

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

                                      if -9.99999999999999959e87 < (-.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.9999999999999993e158

                                      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. lower-*.f64N/A

                                          \[\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)}}} \]
                                        2. +-commutativeN/A

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

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

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

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

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

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

                                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + \left(\frac{5}{6} + \left(\mathsf{neg}\left(\frac{\color{blue}{\frac{2}{3}}}{t}\right)\right)\right)\right)\right)}} \]
                                        9. distribute-neg-fracN/A

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

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

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

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

                                      if 9.9999999999999993e158 < (-.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 83.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. lower-*.f64N/A

                                          \[\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)}}} \]
                                        2. lower--.f64N/A

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

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

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

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

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

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

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

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

                                    Alternative 9: 73.1% accurate, 0.7× speedup?

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

                                      1. Initial program 98.3%

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

                                        \[\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. lower-*.f64N/A

                                          \[\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)}}} \]
                                        2. lower--.f64N/A

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

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

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

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

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

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

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

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

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

                                        if -9.99999999999999959e87 < (-.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)))))) < 3.9999999999999998e163

                                        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. lower-*.f64N/A

                                            \[\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)}}} \]
                                          2. +-commutativeN/A

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

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

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

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

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

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

                                            \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + \left(\frac{5}{6} + \left(\mathsf{neg}\left(\frac{\color{blue}{\frac{2}{3}}}{t}\right)\right)\right)\right)\right)}} \]
                                          9. distribute-neg-fracN/A

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

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

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

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

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

                                            \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}} \]
                                          2. Step-by-step derivation
                                            1. lift-+.f64N/A

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

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

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

                                              \[\leadsto \frac{x}{\color{blue}{e^{2 \cdot \left(c \cdot \left(a + \frac{5}{6}\right)\right)} \cdot y} + x} \]
                                            5. lower-fma.f6478.5

                                              \[\leadsto \frac{x}{\color{blue}{\mathsf{fma}\left(e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}, y, x\right)}} \]
                                          3. Applied rewrites78.5%

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

                                          if 3.9999999999999998e163 < (-.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 83.0%

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

                                            \[\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. lower-*.f64N/A

                                              \[\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)}}} \]
                                            2. lower--.f64N/A

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

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

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

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

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

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

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

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

                                              \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(-a\right)\right)}} \]
                                            2. Step-by-step derivation
                                              1. lift-+.f64N/A

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

                                                \[\leadsto \frac{x}{\color{blue}{y \cdot e^{2 \cdot \left(b \cdot \left(\mathsf{neg}\left(a\right)\right)\right)} + x}} \]
                                              3. lift-*.f64N/A

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

                                                \[\leadsto \frac{x}{\color{blue}{e^{2 \cdot \left(b \cdot \left(\mathsf{neg}\left(a\right)\right)\right)} \cdot y} + x} \]
                                              5. lower-fma.f6449.2

                                                \[\leadsto \frac{x}{\color{blue}{\mathsf{fma}\left(e^{2 \cdot \left(b \cdot \left(-a\right)\right)}, y, x\right)}} \]
                                            3. Applied rewrites49.2%

                                              \[\leadsto \frac{x}{\color{blue}{\mathsf{fma}\left(e^{2 \cdot \left(b \cdot \left(-a\right)\right)}, y, x\right)}} \]
                                            4. Taylor expanded in t around inf

                                              \[\leadsto \frac{x}{\mathsf{fma}\left(e^{2 \cdot \left(b \cdot \left(-1 \cdot \color{blue}{\left(\frac{5}{6} + a\right)}\right)\right)}, y, x\right)} \]
                                            5. Step-by-step derivation
                                              1. Applied rewrites53.1%

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

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

                                            Alternative 10: 51.1% 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 92.6%

                                              \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
                                            2. 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. lower-*.f64N/A

                                                \[\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)}}} \]
                                              2. lower--.f64N/A

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

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

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

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

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

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

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

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

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

                                              Developer Target 1: 95.4% 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 2024222 
                                              (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)))))))))))