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

Percentage Accurate: 93.8% → 96.4%
Time: 14.9s
Alternatives: 9
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 9 alternatives:

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

Initial Program: 93.8% 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.4% accurate, 0.7× speedup?

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

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

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


\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 98.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

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

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

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

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

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

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

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

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

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

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

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

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

    Alternative 2: 79.2% accurate, 0.6× speedup?

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

      1. Initial program 98.4%

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

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

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

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

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

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

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

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

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

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

      if 4.9999999999999999e-86 < (/.f64 x (+.f64 x (*.f64 y (exp.f64 (*.f64 #s(literal 2 binary64) (-.f64 (/.f64 (*.f64 z (sqrt.f64 (+.f64 t a))) t) (*.f64 (-.f64 b c) (-.f64 (+.f64 a (/.f64 #s(literal 5 binary64) #s(literal 6 binary64))) (/.f64 #s(literal 2 binary64) (*.f64 t #s(literal 3 binary64)))))))))))

      1. Initial program 85.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 z around inf

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

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

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

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

          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\sqrt{\color{blue}{a + t}} \cdot \frac{z}{t}\right)}} \]
        5. lower-/.f6458.8

          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\sqrt{a + t} \cdot \color{blue}{\frac{z}{t}}\right)}} \]
      5. Applied rewrites58.8%

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

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

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

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

      Alternative 3: 74.6% accurate, 0.6× speedup?

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

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

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

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

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

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

            \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\sqrt{\color{blue}{a + t}} \cdot \frac{z}{t}\right)}} \]
          5. lower-/.f6457.0

            \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\sqrt{a + t} \cdot \color{blue}{\frac{z}{t}}\right)}} \]
        5. Applied rewrites57.0%

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

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

            \[\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 85.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

          Alternative 4: 71.4% accurate, 0.6× speedup?

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

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

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

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

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

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

                \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\sqrt{\color{blue}{a + t}} \cdot \frac{z}{t}\right)}} \]
              5. lower-/.f6457.0

                \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\sqrt{a + t} \cdot \color{blue}{\frac{z}{t}}\right)}} \]
            5. Applied rewrites57.0%

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

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

                \[\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 85.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

              Alternative 5: 70.8% accurate, 0.6× speedup?

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

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

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

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

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

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

                    \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\sqrt{\color{blue}{a + t}} \cdot \frac{z}{t}\right)}} \]
                  5. lower-/.f6457.0

                    \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\sqrt{a + t} \cdot \color{blue}{\frac{z}{t}}\right)}} \]
                5. Applied rewrites57.0%

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

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

                    \[\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 85.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

                        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(0.8333333333333334 \cdot c\right)}} \]
                    4. Recombined 2 regimes into one program.
                    5. Final simplification70.0%

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

                    Alternative 6: 73.4% accurate, 0.7× speedup?

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

                      1. Initial program 99.1%

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

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

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

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

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

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\sqrt{\color{blue}{a + t}} \cdot \frac{z}{t}\right)}} \]
                        5. lower-/.f6457.0

                          \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\sqrt{a + t} \cdot \color{blue}{\frac{z}{t}}\right)}} \]
                      5. Applied rewrites57.0%

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

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

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

                        if -4e6 < (-.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)))))) < 2.00000000000000014e246

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

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

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

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

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

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

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

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

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

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

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

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

                          if 2.00000000000000014e246 < (-.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 78.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

                          Alternative 7: 71.4% accurate, 0.7× speedup?

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

                            1. Initial program 99.1%

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

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

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

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

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

                                \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\sqrt{\color{blue}{a + t}} \cdot \frac{z}{t}\right)}} \]
                              5. lower-/.f6457.0

                                \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\sqrt{a + t} \cdot \color{blue}{\frac{z}{t}}\right)}} \]
                            5. Applied rewrites57.0%

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

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

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

                              if -4e6 < (-.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)))))) < 2.00000000000000014e246

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

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

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

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

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

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

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

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

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

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

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

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

                                if 2.00000000000000014e246 < (-.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 78.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

                                Alternative 8: 80.0% accurate, 0.9× speedup?

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

                                  1. Initial program 99.1%

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

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

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

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

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

                                      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\sqrt{\color{blue}{a + t}} \cdot \frac{z}{t}\right)}} \]
                                    5. lower-/.f6457.5

                                      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\sqrt{a + t} \cdot \color{blue}{\frac{z}{t}}\right)}} \]
                                  5. Applied rewrites57.5%

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

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

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

                                    if -2e9 < (-.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.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. *-commutativeN/A

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

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

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

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

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

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

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

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

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

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

                                  Alternative 9: 51.9% accurate, 198.0× speedup?

                                  \[\begin{array}{l} \\ 1 \end{array} \]
                                  (FPCore (x y z t a b c) :precision binary64 1.0)
                                  double code(double x, double y, double z, double t, double a, double b, double c) {
                                  	return 1.0;
                                  }
                                  
                                  real(8) function code(x, y, z, t, a, b, c)
                                      real(8), intent (in) :: x
                                      real(8), intent (in) :: y
                                      real(8), intent (in) :: z
                                      real(8), intent (in) :: t
                                      real(8), intent (in) :: a
                                      real(8), intent (in) :: b
                                      real(8), intent (in) :: c
                                      code = 1.0d0
                                  end function
                                  
                                  public static double code(double x, double y, double z, double t, double a, double b, double c) {
                                  	return 1.0;
                                  }
                                  
                                  def code(x, y, z, t, a, b, c):
                                  	return 1.0
                                  
                                  function code(x, y, z, t, a, b, c)
                                  	return 1.0
                                  end
                                  
                                  function tmp = code(x, y, z, t, a, b, c)
                                  	tmp = 1.0;
                                  end
                                  
                                  code[x_, y_, z_, t_, a_, b_, c_] := 1.0
                                  
                                  \begin{array}{l}
                                  
                                  \\
                                  1
                                  \end{array}
                                  
                                  Derivation
                                  1. Initial program 91.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 z around inf

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

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

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

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

                                      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\sqrt{\color{blue}{a + t}} \cdot \frac{z}{t}\right)}} \]
                                    5. lower-/.f6456.4

                                      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(\sqrt{a + t} \cdot \color{blue}{\frac{z}{t}}\right)}} \]
                                  5. Applied rewrites56.4%

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

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

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

                                    Developer Target 1: 95.8% 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 2024276 
                                    (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)))))))))))