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

Percentage Accurate: 93.5% → 95.8%
Time: 12.0s
Alternatives: 10
Speedup: 0.5×

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)))))))));
}
module fmin_fmax_functions
    implicit none
    private
    public fmax
    public fmin

    interface fmax
        module procedure fmax88
        module procedure fmax44
        module procedure fmax84
        module procedure fmax48
    end interface
    interface fmin
        module procedure fmin88
        module procedure fmin44
        module procedure fmin84
        module procedure fmin48
    end interface
contains
    real(8) function fmax88(x, y) result (res)
        real(8), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(x, max(x, y), y /= y), x /= x)
    end function
    real(4) function fmax44(x, y) result (res)
        real(4), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(y, merge(x, max(x, y), y /= y), x /= x)
    end function
    real(8) function fmax84(x, y) result(res)
        real(8), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
    end function
    real(8) function fmax48(x, y) result(res)
        real(4), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
    end function
    real(8) function fmin88(x, y) result (res)
        real(8), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(x, min(x, y), y /= y), x /= x)
    end function
    real(4) function fmin44(x, y) result (res)
        real(4), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(y, merge(x, min(x, y), y /= y), x /= x)
    end function
    real(8) function fmin84(x, y) result(res)
        real(8), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
    end function
    real(8) function fmin48(x, y) result(res)
        real(4), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
    end function
end module

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

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

Sampling outcomes in binary64 precision:

Local Percentage Accuracy vs ?

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

Accuracy vs Speed?

Herbie found 10 alternatives:

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

Initial Program: 93.5% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (/
  x
  (+
   x
   (*
    y
    (exp
     (*
      2.0
      (-
       (/ (* z (sqrt (+ t a))) t)
       (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	return x / (x + (y * exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
}
module fmin_fmax_functions
    implicit none
    private
    public fmax
    public fmin

    interface fmax
        module procedure fmax88
        module procedure fmax44
        module procedure fmax84
        module procedure fmax48
    end interface
    interface fmin
        module procedure fmin88
        module procedure fmin44
        module procedure fmin84
        module procedure fmin48
    end interface
contains
    real(8) function fmax88(x, y) result (res)
        real(8), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(x, max(x, y), y /= y), x /= x)
    end function
    real(4) function fmax44(x, y) result (res)
        real(4), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(y, merge(x, max(x, y), y /= y), x /= x)
    end function
    real(8) function fmax84(x, y) result(res)
        real(8), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
    end function
    real(8) function fmax48(x, y) result(res)
        real(4), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
    end function
    real(8) function fmin88(x, y) result (res)
        real(8), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(x, min(x, y), y /= y), x /= x)
    end function
    real(4) function fmin44(x, y) result (res)
        real(4), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(y, merge(x, min(x, y), y /= y), x /= x)
    end function
    real(8) function fmin84(x, y) result(res)
        real(8), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
    end function
    real(8) function fmin48(x, y) result(res)
        real(4), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
    end function
end module

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

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

Alternative 1: 95.8% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_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)}}\\ \mathbf{if}\;t\_1 \leq 2:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(0.8333333333333334 \cdot c\right)}}\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (let* ((t_1
         (/
          x
          (+
           x
           (*
            y
            (exp
             (*
              2.0
              (-
               (/ (* z (sqrt (+ t a))) t)
               (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))))))))
   (if (<= t_1 2.0)
     t_1
     (/ x (+ x (* y (exp (* 2.0 (* 0.8333333333333334 c)))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double t_1 = x / (x + (y * exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
	double tmp;
	if (t_1 <= 2.0) {
		tmp = t_1;
	} else {
		tmp = x / (x + (y * exp((2.0 * (0.8333333333333334 * c)))));
	}
	return tmp;
}
module fmin_fmax_functions
    implicit none
    private
    public fmax
    public fmin

    interface fmax
        module procedure fmax88
        module procedure fmax44
        module procedure fmax84
        module procedure fmax48
    end interface
    interface fmin
        module procedure fmin88
        module procedure fmin44
        module procedure fmin84
        module procedure fmin48
    end interface
contains
    real(8) function fmax88(x, y) result (res)
        real(8), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(x, max(x, y), y /= y), x /= x)
    end function
    real(4) function fmax44(x, y) result (res)
        real(4), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(y, merge(x, max(x, y), y /= y), x /= x)
    end function
    real(8) function fmax84(x, y) result(res)
        real(8), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
    end function
    real(8) function fmax48(x, y) result(res)
        real(4), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
    end function
    real(8) function fmin88(x, y) result (res)
        real(8), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(x, min(x, y), y /= y), x /= x)
    end function
    real(4) function fmin44(x, y) result (res)
        real(4), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(y, merge(x, min(x, y), y /= y), x /= x)
    end function
    real(8) function fmin84(x, y) result(res)
        real(8), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
    end function
    real(8) function fmin48(x, y) result(res)
        real(4), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
    end function
end module

real(8) function code(x, y, z, t, a, b, c)
use fmin_fmax_functions
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8) :: t_1
    real(8) :: tmp
    t_1 = x / (x + (y * exp((2.0d0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0d0 / 6.0d0)) - (2.0d0 / (t * 3.0d0)))))))))
    if (t_1 <= 2.0d0) then
        tmp = t_1
    else
        tmp = x / (x + (y * exp((2.0d0 * (0.8333333333333334d0 * c)))))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
	double t_1 = 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)))))))));
	double tmp;
	if (t_1 <= 2.0) {
		tmp = t_1;
	} else {
		tmp = x / (x + (y * Math.exp((2.0 * (0.8333333333333334 * c)))));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	t_1 = 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)))))))))
	tmp = 0
	if t_1 <= 2.0:
		tmp = t_1
	else:
		tmp = x / (x + (y * math.exp((2.0 * (0.8333333333333334 * c)))))
	return tmp
function code(x, y, z, t, a, b, c)
	t_1 = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(Float64(t + a))) / t) - Float64(Float64(b - c) * Float64(Float64(a + Float64(5.0 / 6.0)) - Float64(2.0 / Float64(t * 3.0))))))))))
	tmp = 0.0
	if (t_1 <= 2.0)
		tmp = t_1;
	else
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(0.8333333333333334 * c))))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	t_1 = x / (x + (y * exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
	tmp = 0.0;
	if (t_1 <= 2.0)
		tmp = t_1;
	else
		tmp = x / (x + (y * exp((2.0 * (0.8333333333333334 * c)))));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(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]}, If[LessEqual[t$95$1, 2.0], t$95$1, N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(0.8333333333333334 * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

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

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


\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))))))))))) < 2

    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 2 < (/.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 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. Applied rewrites67.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)}}} \]
      2. 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)}} \]
      3. Step-by-step derivation
        1. Applied rewrites67.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 rewrites68.0%

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

        Alternative 2: 89.8% accurate, 0.4× speedup?

        \[\begin{array}{l} \\ \begin{array}{l} t_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)}}\\ \mathbf{if}\;t\_1 \leq 4 \cdot 10^{-80}:\\ \;\;\;\;\frac{\frac{x}{y}}{e^{\left(\frac{z}{t} \cdot \sqrt{a + t} - \left(b - c\right) \cdot \left(\left(0.8333333333333334 + a\right) - \frac{0.6666666666666666}{t}\right)\right) \cdot 2}}\\ \mathbf{elif}\;t\_1 \leq 2:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(0.8333333333333334 \cdot c\right)}}\\ \end{array} \end{array} \]
        (FPCore (x y z t a b c)
         :precision binary64
         (let* ((t_1
                 (/
                  x
                  (+
                   x
                   (*
                    y
                    (exp
                     (*
                      2.0
                      (-
                       (/ (* z (sqrt (+ t a))) t)
                       (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))))))))
           (if (<= t_1 4e-80)
             (/
              (/ x y)
              (exp
               (*
                (-
                 (* (/ z t) (sqrt (+ a t)))
                 (* (- b c) (- (+ 0.8333333333333334 a) (/ 0.6666666666666666 t))))
                2.0)))
             (if (<= t_1 2.0)
               1.0
               (/ x (+ x (* y (exp (* 2.0 (* 0.8333333333333334 c))))))))))
        double code(double x, double y, double z, double t, double a, double b, double c) {
        	double t_1 = x / (x + (y * exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
        	double tmp;
        	if (t_1 <= 4e-80) {
        		tmp = (x / y) / exp(((((z / t) * sqrt((a + t))) - ((b - c) * ((0.8333333333333334 + a) - (0.6666666666666666 / t)))) * 2.0));
        	} else if (t_1 <= 2.0) {
        		tmp = 1.0;
        	} else {
        		tmp = x / (x + (y * exp((2.0 * (0.8333333333333334 * c)))));
        	}
        	return tmp;
        }
        
        module fmin_fmax_functions
            implicit none
            private
            public fmax
            public fmin
        
            interface fmax
                module procedure fmax88
                module procedure fmax44
                module procedure fmax84
                module procedure fmax48
            end interface
            interface fmin
                module procedure fmin88
                module procedure fmin44
                module procedure fmin84
                module procedure fmin48
            end interface
        contains
            real(8) function fmax88(x, y) result (res)
                real(8), intent (in) :: x
                real(8), intent (in) :: y
                res = merge(y, merge(x, max(x, y), y /= y), x /= x)
            end function
            real(4) function fmax44(x, y) result (res)
                real(4), intent (in) :: x
                real(4), intent (in) :: y
                res = merge(y, merge(x, max(x, y), y /= y), x /= x)
            end function
            real(8) function fmax84(x, y) result(res)
                real(8), intent (in) :: x
                real(4), intent (in) :: y
                res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
            end function
            real(8) function fmax48(x, y) result(res)
                real(4), intent (in) :: x
                real(8), intent (in) :: y
                res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
            end function
            real(8) function fmin88(x, y) result (res)
                real(8), intent (in) :: x
                real(8), intent (in) :: y
                res = merge(y, merge(x, min(x, y), y /= y), x /= x)
            end function
            real(4) function fmin44(x, y) result (res)
                real(4), intent (in) :: x
                real(4), intent (in) :: y
                res = merge(y, merge(x, min(x, y), y /= y), x /= x)
            end function
            real(8) function fmin84(x, y) result(res)
                real(8), intent (in) :: x
                real(4), intent (in) :: y
                res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
            end function
            real(8) function fmin48(x, y) result(res)
                real(4), intent (in) :: x
                real(8), intent (in) :: y
                res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
            end function
        end module
        
        real(8) function code(x, y, z, t, a, b, c)
        use fmin_fmax_functions
            real(8), intent (in) :: x
            real(8), intent (in) :: y
            real(8), intent (in) :: z
            real(8), intent (in) :: t
            real(8), intent (in) :: a
            real(8), intent (in) :: b
            real(8), intent (in) :: c
            real(8) :: t_1
            real(8) :: tmp
            t_1 = x / (x + (y * exp((2.0d0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0d0 / 6.0d0)) - (2.0d0 / (t * 3.0d0)))))))))
            if (t_1 <= 4d-80) then
                tmp = (x / y) / exp(((((z / t) * sqrt((a + t))) - ((b - c) * ((0.8333333333333334d0 + a) - (0.6666666666666666d0 / t)))) * 2.0d0))
            else if (t_1 <= 2.0d0) then
                tmp = 1.0d0
            else
                tmp = x / (x + (y * exp((2.0d0 * (0.8333333333333334d0 * c)))))
            end if
            code = tmp
        end function
        
        public static double code(double x, double y, double z, double t, double a, double b, double c) {
        	double t_1 = 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)))))))));
        	double tmp;
        	if (t_1 <= 4e-80) {
        		tmp = (x / y) / Math.exp(((((z / t) * Math.sqrt((a + t))) - ((b - c) * ((0.8333333333333334 + a) - (0.6666666666666666 / t)))) * 2.0));
        	} else if (t_1 <= 2.0) {
        		tmp = 1.0;
        	} else {
        		tmp = x / (x + (y * Math.exp((2.0 * (0.8333333333333334 * c)))));
        	}
        	return tmp;
        }
        
        def code(x, y, z, t, a, b, c):
        	t_1 = 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)))))))))
        	tmp = 0
        	if t_1 <= 4e-80:
        		tmp = (x / y) / math.exp(((((z / t) * math.sqrt((a + t))) - ((b - c) * ((0.8333333333333334 + a) - (0.6666666666666666 / t)))) * 2.0))
        	elif t_1 <= 2.0:
        		tmp = 1.0
        	else:
        		tmp = x / (x + (y * math.exp((2.0 * (0.8333333333333334 * c)))))
        	return tmp
        
        function code(x, y, z, t, a, b, c)
        	t_1 = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(Float64(t + a))) / t) - Float64(Float64(b - c) * Float64(Float64(a + Float64(5.0 / 6.0)) - Float64(2.0 / Float64(t * 3.0))))))))))
        	tmp = 0.0
        	if (t_1 <= 4e-80)
        		tmp = Float64(Float64(x / y) / exp(Float64(Float64(Float64(Float64(z / t) * sqrt(Float64(a + t))) - Float64(Float64(b - c) * Float64(Float64(0.8333333333333334 + a) - Float64(0.6666666666666666 / t)))) * 2.0)));
        	elseif (t_1 <= 2.0)
        		tmp = 1.0;
        	else
        		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(0.8333333333333334 * c))))));
        	end
        	return tmp
        end
        
        function tmp_2 = code(x, y, z, t, a, b, c)
        	t_1 = x / (x + (y * exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
        	tmp = 0.0;
        	if (t_1 <= 4e-80)
        		tmp = (x / y) / exp(((((z / t) * sqrt((a + t))) - ((b - c) * ((0.8333333333333334 + a) - (0.6666666666666666 / t)))) * 2.0));
        	elseif (t_1 <= 2.0)
        		tmp = 1.0;
        	else
        		tmp = x / (x + (y * exp((2.0 * (0.8333333333333334 * c)))));
        	end
        	tmp_2 = tmp;
        end
        
        code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(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]}, If[LessEqual[t$95$1, 4e-80], N[(N[(x / y), $MachinePrecision] / N[Exp[N[(N[(N[(N[(z / t), $MachinePrecision] * N[Sqrt[N[(a + t), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] - N[(N[(b - c), $MachinePrecision] * N[(N[(0.8333333333333334 + a), $MachinePrecision] - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * 2.0), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$1, 2.0], 1.0, N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(0.8333333333333334 * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
        
        \begin{array}{l}
        
        \\
        \begin{array}{l}
        t_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)}}\\
        \mathbf{if}\;t\_1 \leq 4 \cdot 10^{-80}:\\
        \;\;\;\;\frac{\frac{x}{y}}{e^{\left(\frac{z}{t} \cdot \sqrt{a + t} - \left(b - c\right) \cdot \left(\left(0.8333333333333334 + a\right) - \frac{0.6666666666666666}{t}\right)\right) \cdot 2}}\\
        
        \mathbf{elif}\;t\_1 \leq 2:\\
        \;\;\;\;1\\
        
        \mathbf{else}:\\
        \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(0.8333333333333334 \cdot c\right)}}\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 3 regimes
        2. if (/.f64 x (+.f64 x (*.f64 y (exp.f64 (*.f64 #s(literal 2 binary64) (-.f64 (/.f64 (*.f64 z (sqrt.f64 (+.f64 t a))) t) (*.f64 (-.f64 b c) (-.f64 (+.f64 a (/.f64 #s(literal 5 binary64) #s(literal 6 binary64))) (/.f64 #s(literal 2 binary64) (*.f64 t #s(literal 3 binary64))))))))))) < 3.99999999999999985e-80

          1. Initial program 99.2%

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

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

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

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

            if 3.99999999999999985e-80 < (/.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))))))))))) < 2

            1. Initial program 98.3%

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

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

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

              if 2 < (/.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 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. Applied rewrites67.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)}}} \]
                2. 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)}} \]
                3. Step-by-step derivation
                  1. Applied rewrites67.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 rewrites68.0%

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

                  Alternative 3: 74.2% accurate, 0.4× speedup?

                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}\\ \mathbf{if}\;t\_1 \leq -5 \cdot 10^{-241}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(-b\right) \cdot \left(0.8333333333333334 + a\right)\right)}}\\ \mathbf{elif}\;t\_1 \leq 0:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(0.8333333333333334 + a\right) \cdot c\right)}}\\ \end{array} \end{array} \]
                  (FPCore (x y z t a b c)
                   :precision binary64
                   (let* ((t_1
                           (*
                            y
                            (exp
                             (*
                              2.0
                              (-
                               (/ (* z (sqrt (+ t a))) t)
                               (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))))))
                     (if (<= t_1 -5e-241)
                       (/ x (+ x (* y (exp (* 2.0 (* (- b) (+ 0.8333333333333334 a)))))))
                       (if (<= t_1 0.0)
                         1.0
                         (/ x (+ x (* y (exp (* 2.0 (* (+ 0.8333333333333334 a) c))))))))))
                  double code(double x, double y, double z, double t, double a, double b, double c) {
                  	double t_1 = y * exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))));
                  	double tmp;
                  	if (t_1 <= -5e-241) {
                  		tmp = x / (x + (y * exp((2.0 * (-b * (0.8333333333333334 + a))))));
                  	} else if (t_1 <= 0.0) {
                  		tmp = 1.0;
                  	} else {
                  		tmp = x / (x + (y * exp((2.0 * ((0.8333333333333334 + a) * c)))));
                  	}
                  	return tmp;
                  }
                  
                  module fmin_fmax_functions
                      implicit none
                      private
                      public fmax
                      public fmin
                  
                      interface fmax
                          module procedure fmax88
                          module procedure fmax44
                          module procedure fmax84
                          module procedure fmax48
                      end interface
                      interface fmin
                          module procedure fmin88
                          module procedure fmin44
                          module procedure fmin84
                          module procedure fmin48
                      end interface
                  contains
                      real(8) function fmax88(x, y) result (res)
                          real(8), intent (in) :: x
                          real(8), intent (in) :: y
                          res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                      end function
                      real(4) function fmax44(x, y) result (res)
                          real(4), intent (in) :: x
                          real(4), intent (in) :: y
                          res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                      end function
                      real(8) function fmax84(x, y) result(res)
                          real(8), intent (in) :: x
                          real(4), intent (in) :: y
                          res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                      end function
                      real(8) function fmax48(x, y) result(res)
                          real(4), intent (in) :: x
                          real(8), intent (in) :: y
                          res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                      end function
                      real(8) function fmin88(x, y) result (res)
                          real(8), intent (in) :: x
                          real(8), intent (in) :: y
                          res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                      end function
                      real(4) function fmin44(x, y) result (res)
                          real(4), intent (in) :: x
                          real(4), intent (in) :: y
                          res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                      end function
                      real(8) function fmin84(x, y) result(res)
                          real(8), intent (in) :: x
                          real(4), intent (in) :: y
                          res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                      end function
                      real(8) function fmin48(x, y) result(res)
                          real(4), intent (in) :: x
                          real(8), intent (in) :: y
                          res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                      end function
                  end module
                  
                  real(8) function code(x, y, z, t, a, b, c)
                  use fmin_fmax_functions
                      real(8), intent (in) :: x
                      real(8), intent (in) :: y
                      real(8), intent (in) :: z
                      real(8), intent (in) :: t
                      real(8), intent (in) :: a
                      real(8), intent (in) :: b
                      real(8), intent (in) :: c
                      real(8) :: t_1
                      real(8) :: tmp
                      t_1 = y * exp((2.0d0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0d0 / 6.0d0)) - (2.0d0 / (t * 3.0d0)))))))
                      if (t_1 <= (-5d-241)) then
                          tmp = x / (x + (y * exp((2.0d0 * (-b * (0.8333333333333334d0 + a))))))
                      else if (t_1 <= 0.0d0) then
                          tmp = 1.0d0
                      else
                          tmp = x / (x + (y * exp((2.0d0 * ((0.8333333333333334d0 + a) * c)))))
                      end if
                      code = tmp
                  end function
                  
                  public static double code(double x, double y, double z, double t, double a, double b, double c) {
                  	double t_1 = y * Math.exp((2.0 * (((z * Math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))));
                  	double tmp;
                  	if (t_1 <= -5e-241) {
                  		tmp = x / (x + (y * Math.exp((2.0 * (-b * (0.8333333333333334 + a))))));
                  	} else if (t_1 <= 0.0) {
                  		tmp = 1.0;
                  	} else {
                  		tmp = x / (x + (y * Math.exp((2.0 * ((0.8333333333333334 + a) * c)))));
                  	}
                  	return tmp;
                  }
                  
                  def code(x, y, z, t, a, b, c):
                  	t_1 = y * math.exp((2.0 * (((z * math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))
                  	tmp = 0
                  	if t_1 <= -5e-241:
                  		tmp = x / (x + (y * math.exp((2.0 * (-b * (0.8333333333333334 + a))))))
                  	elif t_1 <= 0.0:
                  		tmp = 1.0
                  	else:
                  		tmp = x / (x + (y * math.exp((2.0 * ((0.8333333333333334 + a) * c)))))
                  	return tmp
                  
                  function code(x, y, z, t, a, b, c)
                  	t_1 = Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(Float64(t + a))) / t) - Float64(Float64(b - c) * Float64(Float64(a + Float64(5.0 / 6.0)) - Float64(2.0 / Float64(t * 3.0))))))))
                  	tmp = 0.0
                  	if (t_1 <= -5e-241)
                  		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(-b) * Float64(0.8333333333333334 + a)))))));
                  	elseif (t_1 <= 0.0)
                  		tmp = 1.0;
                  	else
                  		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(0.8333333333333334 + a) * c))))));
                  	end
                  	return tmp
                  end
                  
                  function tmp_2 = code(x, y, z, t, a, b, c)
                  	t_1 = y * exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))));
                  	tmp = 0.0;
                  	if (t_1 <= -5e-241)
                  		tmp = x / (x + (y * exp((2.0 * (-b * (0.8333333333333334 + a))))));
                  	elseif (t_1 <= 0.0)
                  		tmp = 1.0;
                  	else
                  		tmp = x / (x + (y * exp((2.0 * ((0.8333333333333334 + a) * c)))));
                  	end
                  	tmp_2 = tmp;
                  end
                  
                  code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(y * N[Exp[N[(2.0 * N[(N[(N[(z * N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision] - N[(N[(b - c), $MachinePrecision] * N[(N[(a + N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision] - N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, -5e-241], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[((-b) * N[(0.8333333333333334 + a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$1, 0.0], 1.0, N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(0.8333333333333334 + a), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
                  
                  \begin{array}{l}
                  
                  \\
                  \begin{array}{l}
                  t_1 := y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}\\
                  \mathbf{if}\;t\_1 \leq -5 \cdot 10^{-241}:\\
                  \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(-b\right) \cdot \left(0.8333333333333334 + a\right)\right)}}\\
                  
                  \mathbf{elif}\;t\_1 \leq 0:\\
                  \;\;\;\;1\\
                  
                  \mathbf{else}:\\
                  \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(0.8333333333333334 + a\right) \cdot c\right)}}\\
                  
                  
                  \end{array}
                  \end{array}
                  
                  Derivation
                  1. Split input into 3 regimes
                  2. if (*.f64 y (exp.f64 (*.f64 #s(literal 2 binary64) (-.f64 (/.f64 (*.f64 z (sqrt.f64 (+.f64 t a))) t) (*.f64 (-.f64 b c) (-.f64 (+.f64 a (/.f64 #s(literal 5 binary64) #s(literal 6 binary64))) (/.f64 #s(literal 2 binary64) (*.f64 t #s(literal 3 binary64))))))))) < -4.9999999999999998e-241

                    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 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. Applied rewrites68.4%

                        \[\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)}}} \]
                      2. Taylor expanded in t around inf

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

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

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

                        1. Initial program 98.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 x around inf

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

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

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

                          1. Initial program 81.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. Applied rewrites69.4%

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

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

                            Alternative 4: 72.5% accurate, 0.4× speedup?

                            \[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}\\ \mathbf{if}\;t\_1 \leq -5 \cdot 10^{-241}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(-0.8333333333333334 \cdot b\right)}}\\ \mathbf{elif}\;t\_1 \leq 0:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(0.8333333333333334 + a\right) \cdot c\right)}}\\ \end{array} \end{array} \]
                            (FPCore (x y z t a b c)
                             :precision binary64
                             (let* ((t_1
                                     (*
                                      y
                                      (exp
                                       (*
                                        2.0
                                        (-
                                         (/ (* z (sqrt (+ t a))) t)
                                         (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))))))
                               (if (<= t_1 -5e-241)
                                 (/ x (+ x (* y (exp (* 2.0 (* -0.8333333333333334 b))))))
                                 (if (<= t_1 0.0)
                                   1.0
                                   (/ x (+ x (* y (exp (* 2.0 (* (+ 0.8333333333333334 a) c))))))))))
                            double code(double x, double y, double z, double t, double a, double b, double c) {
                            	double t_1 = y * exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))));
                            	double tmp;
                            	if (t_1 <= -5e-241) {
                            		tmp = x / (x + (y * exp((2.0 * (-0.8333333333333334 * b)))));
                            	} else if (t_1 <= 0.0) {
                            		tmp = 1.0;
                            	} else {
                            		tmp = x / (x + (y * exp((2.0 * ((0.8333333333333334 + a) * c)))));
                            	}
                            	return tmp;
                            }
                            
                            module fmin_fmax_functions
                                implicit none
                                private
                                public fmax
                                public fmin
                            
                                interface fmax
                                    module procedure fmax88
                                    module procedure fmax44
                                    module procedure fmax84
                                    module procedure fmax48
                                end interface
                                interface fmin
                                    module procedure fmin88
                                    module procedure fmin44
                                    module procedure fmin84
                                    module procedure fmin48
                                end interface
                            contains
                                real(8) function fmax88(x, y) result (res)
                                    real(8), intent (in) :: x
                                    real(8), intent (in) :: y
                                    res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                end function
                                real(4) function fmax44(x, y) result (res)
                                    real(4), intent (in) :: x
                                    real(4), intent (in) :: y
                                    res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                end function
                                real(8) function fmax84(x, y) result(res)
                                    real(8), intent (in) :: x
                                    real(4), intent (in) :: y
                                    res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                end function
                                real(8) function fmax48(x, y) result(res)
                                    real(4), intent (in) :: x
                                    real(8), intent (in) :: y
                                    res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                end function
                                real(8) function fmin88(x, y) result (res)
                                    real(8), intent (in) :: x
                                    real(8), intent (in) :: y
                                    res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                end function
                                real(4) function fmin44(x, y) result (res)
                                    real(4), intent (in) :: x
                                    real(4), intent (in) :: y
                                    res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                end function
                                real(8) function fmin84(x, y) result(res)
                                    real(8), intent (in) :: x
                                    real(4), intent (in) :: y
                                    res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                end function
                                real(8) function fmin48(x, y) result(res)
                                    real(4), intent (in) :: x
                                    real(8), intent (in) :: y
                                    res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                end function
                            end module
                            
                            real(8) function code(x, y, z, t, a, b, c)
                            use fmin_fmax_functions
                                real(8), intent (in) :: x
                                real(8), intent (in) :: y
                                real(8), intent (in) :: z
                                real(8), intent (in) :: t
                                real(8), intent (in) :: a
                                real(8), intent (in) :: b
                                real(8), intent (in) :: c
                                real(8) :: t_1
                                real(8) :: tmp
                                t_1 = y * exp((2.0d0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0d0 / 6.0d0)) - (2.0d0 / (t * 3.0d0)))))))
                                if (t_1 <= (-5d-241)) then
                                    tmp = x / (x + (y * exp((2.0d0 * ((-0.8333333333333334d0) * b)))))
                                else if (t_1 <= 0.0d0) then
                                    tmp = 1.0d0
                                else
                                    tmp = x / (x + (y * exp((2.0d0 * ((0.8333333333333334d0 + a) * c)))))
                                end if
                                code = tmp
                            end function
                            
                            public static double code(double x, double y, double z, double t, double a, double b, double c) {
                            	double t_1 = y * Math.exp((2.0 * (((z * Math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))));
                            	double tmp;
                            	if (t_1 <= -5e-241) {
                            		tmp = x / (x + (y * Math.exp((2.0 * (-0.8333333333333334 * b)))));
                            	} else if (t_1 <= 0.0) {
                            		tmp = 1.0;
                            	} else {
                            		tmp = x / (x + (y * Math.exp((2.0 * ((0.8333333333333334 + a) * c)))));
                            	}
                            	return tmp;
                            }
                            
                            def code(x, y, z, t, a, b, c):
                            	t_1 = y * math.exp((2.0 * (((z * math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))
                            	tmp = 0
                            	if t_1 <= -5e-241:
                            		tmp = x / (x + (y * math.exp((2.0 * (-0.8333333333333334 * b)))))
                            	elif t_1 <= 0.0:
                            		tmp = 1.0
                            	else:
                            		tmp = x / (x + (y * math.exp((2.0 * ((0.8333333333333334 + a) * c)))))
                            	return tmp
                            
                            function code(x, y, z, t, a, b, c)
                            	t_1 = Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(Float64(t + a))) / t) - Float64(Float64(b - c) * Float64(Float64(a + Float64(5.0 / 6.0)) - Float64(2.0 / Float64(t * 3.0))))))))
                            	tmp = 0.0
                            	if (t_1 <= -5e-241)
                            		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(-0.8333333333333334 * b))))));
                            	elseif (t_1 <= 0.0)
                            		tmp = 1.0;
                            	else
                            		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(0.8333333333333334 + a) * c))))));
                            	end
                            	return tmp
                            end
                            
                            function tmp_2 = code(x, y, z, t, a, b, c)
                            	t_1 = y * exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))));
                            	tmp = 0.0;
                            	if (t_1 <= -5e-241)
                            		tmp = x / (x + (y * exp((2.0 * (-0.8333333333333334 * b)))));
                            	elseif (t_1 <= 0.0)
                            		tmp = 1.0;
                            	else
                            		tmp = x / (x + (y * exp((2.0 * ((0.8333333333333334 + a) * c)))));
                            	end
                            	tmp_2 = tmp;
                            end
                            
                            code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(y * N[Exp[N[(2.0 * N[(N[(N[(z * N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision] - N[(N[(b - c), $MachinePrecision] * N[(N[(a + N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision] - N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, -5e-241], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(-0.8333333333333334 * b), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$1, 0.0], 1.0, N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(0.8333333333333334 + a), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
                            
                            \begin{array}{l}
                            
                            \\
                            \begin{array}{l}
                            t_1 := y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}\\
                            \mathbf{if}\;t\_1 \leq -5 \cdot 10^{-241}:\\
                            \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(-0.8333333333333334 \cdot b\right)}}\\
                            
                            \mathbf{elif}\;t\_1 \leq 0:\\
                            \;\;\;\;1\\
                            
                            \mathbf{else}:\\
                            \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(0.8333333333333334 + a\right) \cdot c\right)}}\\
                            
                            
                            \end{array}
                            \end{array}
                            
                            Derivation
                            1. Split input into 3 regimes
                            2. if (*.f64 y (exp.f64 (*.f64 #s(literal 2 binary64) (-.f64 (/.f64 (*.f64 z (sqrt.f64 (+.f64 t a))) t) (*.f64 (-.f64 b c) (-.f64 (+.f64 a (/.f64 #s(literal 5 binary64) #s(literal 6 binary64))) (/.f64 #s(literal 2 binary64) (*.f64 t #s(literal 3 binary64))))))))) < -4.9999999999999998e-241

                              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 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. Applied rewrites68.4%

                                  \[\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)}}} \]
                                2. Taylor expanded in t around inf

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

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

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

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

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

                                    1. Initial program 98.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 x around inf

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

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

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

                                      1. Initial program 81.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. Applied rewrites69.4%

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

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

                                        Alternative 5: 70.7% accurate, 0.4× speedup?

                                        \[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}\\ \mathbf{if}\;t\_1 \leq -5 \cdot 10^{-241}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(-0.8333333333333334 \cdot b\right)}}\\ \mathbf{elif}\;t\_1 \leq 0:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(0.8333333333333334 \cdot c\right)}}\\ \end{array} \end{array} \]
                                        (FPCore (x y z t a b c)
                                         :precision binary64
                                         (let* ((t_1
                                                 (*
                                                  y
                                                  (exp
                                                   (*
                                                    2.0
                                                    (-
                                                     (/ (* z (sqrt (+ t a))) t)
                                                     (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))))))
                                           (if (<= t_1 -5e-241)
                                             (/ x (+ x (* y (exp (* 2.0 (* -0.8333333333333334 b))))))
                                             (if (<= t_1 0.0)
                                               1.0
                                               (/ x (+ x (* y (exp (* 2.0 (* 0.8333333333333334 c))))))))))
                                        double code(double x, double y, double z, double t, double a, double b, double c) {
                                        	double t_1 = y * exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))));
                                        	double tmp;
                                        	if (t_1 <= -5e-241) {
                                        		tmp = x / (x + (y * exp((2.0 * (-0.8333333333333334 * b)))));
                                        	} else if (t_1 <= 0.0) {
                                        		tmp = 1.0;
                                        	} else {
                                        		tmp = x / (x + (y * exp((2.0 * (0.8333333333333334 * c)))));
                                        	}
                                        	return tmp;
                                        }
                                        
                                        module fmin_fmax_functions
                                            implicit none
                                            private
                                            public fmax
                                            public fmin
                                        
                                            interface fmax
                                                module procedure fmax88
                                                module procedure fmax44
                                                module procedure fmax84
                                                module procedure fmax48
                                            end interface
                                            interface fmin
                                                module procedure fmin88
                                                module procedure fmin44
                                                module procedure fmin84
                                                module procedure fmin48
                                            end interface
                                        contains
                                            real(8) function fmax88(x, y) result (res)
                                                real(8), intent (in) :: x
                                                real(8), intent (in) :: y
                                                res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                            end function
                                            real(4) function fmax44(x, y) result (res)
                                                real(4), intent (in) :: x
                                                real(4), intent (in) :: y
                                                res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                            end function
                                            real(8) function fmax84(x, y) result(res)
                                                real(8), intent (in) :: x
                                                real(4), intent (in) :: y
                                                res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                            end function
                                            real(8) function fmax48(x, y) result(res)
                                                real(4), intent (in) :: x
                                                real(8), intent (in) :: y
                                                res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                            end function
                                            real(8) function fmin88(x, y) result (res)
                                                real(8), intent (in) :: x
                                                real(8), intent (in) :: y
                                                res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                            end function
                                            real(4) function fmin44(x, y) result (res)
                                                real(4), intent (in) :: x
                                                real(4), intent (in) :: y
                                                res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                            end function
                                            real(8) function fmin84(x, y) result(res)
                                                real(8), intent (in) :: x
                                                real(4), intent (in) :: y
                                                res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                            end function
                                            real(8) function fmin48(x, y) result(res)
                                                real(4), intent (in) :: x
                                                real(8), intent (in) :: y
                                                res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                            end function
                                        end module
                                        
                                        real(8) function code(x, y, z, t, a, b, c)
                                        use fmin_fmax_functions
                                            real(8), intent (in) :: x
                                            real(8), intent (in) :: y
                                            real(8), intent (in) :: z
                                            real(8), intent (in) :: t
                                            real(8), intent (in) :: a
                                            real(8), intent (in) :: b
                                            real(8), intent (in) :: c
                                            real(8) :: t_1
                                            real(8) :: tmp
                                            t_1 = y * exp((2.0d0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0d0 / 6.0d0)) - (2.0d0 / (t * 3.0d0)))))))
                                            if (t_1 <= (-5d-241)) then
                                                tmp = x / (x + (y * exp((2.0d0 * ((-0.8333333333333334d0) * b)))))
                                            else if (t_1 <= 0.0d0) then
                                                tmp = 1.0d0
                                            else
                                                tmp = x / (x + (y * exp((2.0d0 * (0.8333333333333334d0 * c)))))
                                            end if
                                            code = tmp
                                        end function
                                        
                                        public static double code(double x, double y, double z, double t, double a, double b, double c) {
                                        	double t_1 = y * Math.exp((2.0 * (((z * Math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))));
                                        	double tmp;
                                        	if (t_1 <= -5e-241) {
                                        		tmp = x / (x + (y * Math.exp((2.0 * (-0.8333333333333334 * b)))));
                                        	} else if (t_1 <= 0.0) {
                                        		tmp = 1.0;
                                        	} else {
                                        		tmp = x / (x + (y * Math.exp((2.0 * (0.8333333333333334 * c)))));
                                        	}
                                        	return tmp;
                                        }
                                        
                                        def code(x, y, z, t, a, b, c):
                                        	t_1 = y * math.exp((2.0 * (((z * math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))
                                        	tmp = 0
                                        	if t_1 <= -5e-241:
                                        		tmp = x / (x + (y * math.exp((2.0 * (-0.8333333333333334 * b)))))
                                        	elif t_1 <= 0.0:
                                        		tmp = 1.0
                                        	else:
                                        		tmp = x / (x + (y * math.exp((2.0 * (0.8333333333333334 * c)))))
                                        	return tmp
                                        
                                        function code(x, y, z, t, a, b, c)
                                        	t_1 = Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(Float64(t + a))) / t) - Float64(Float64(b - c) * Float64(Float64(a + Float64(5.0 / 6.0)) - Float64(2.0 / Float64(t * 3.0))))))))
                                        	tmp = 0.0
                                        	if (t_1 <= -5e-241)
                                        		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(-0.8333333333333334 * b))))));
                                        	elseif (t_1 <= 0.0)
                                        		tmp = 1.0;
                                        	else
                                        		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(0.8333333333333334 * c))))));
                                        	end
                                        	return tmp
                                        end
                                        
                                        function tmp_2 = code(x, y, z, t, a, b, c)
                                        	t_1 = y * exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))));
                                        	tmp = 0.0;
                                        	if (t_1 <= -5e-241)
                                        		tmp = x / (x + (y * exp((2.0 * (-0.8333333333333334 * b)))));
                                        	elseif (t_1 <= 0.0)
                                        		tmp = 1.0;
                                        	else
                                        		tmp = x / (x + (y * exp((2.0 * (0.8333333333333334 * c)))));
                                        	end
                                        	tmp_2 = tmp;
                                        end
                                        
                                        code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(y * N[Exp[N[(2.0 * N[(N[(N[(z * N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision] - N[(N[(b - c), $MachinePrecision] * N[(N[(a + N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision] - N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, -5e-241], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(-0.8333333333333334 * b), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$1, 0.0], 1.0, N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(0.8333333333333334 * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
                                        
                                        \begin{array}{l}
                                        
                                        \\
                                        \begin{array}{l}
                                        t_1 := y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}\\
                                        \mathbf{if}\;t\_1 \leq -5 \cdot 10^{-241}:\\
                                        \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(-0.8333333333333334 \cdot b\right)}}\\
                                        
                                        \mathbf{elif}\;t\_1 \leq 0:\\
                                        \;\;\;\;1\\
                                        
                                        \mathbf{else}:\\
                                        \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(0.8333333333333334 \cdot c\right)}}\\
                                        
                                        
                                        \end{array}
                                        \end{array}
                                        
                                        Derivation
                                        1. Split input into 3 regimes
                                        2. if (*.f64 y (exp.f64 (*.f64 #s(literal 2 binary64) (-.f64 (/.f64 (*.f64 z (sqrt.f64 (+.f64 t a))) t) (*.f64 (-.f64 b c) (-.f64 (+.f64 a (/.f64 #s(literal 5 binary64) #s(literal 6 binary64))) (/.f64 #s(literal 2 binary64) (*.f64 t #s(literal 3 binary64))))))))) < -4.9999999999999998e-241

                                          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 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. Applied rewrites68.4%

                                              \[\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)}}} \]
                                            2. Taylor expanded in t around inf

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

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

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

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

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

                                                1. Initial program 98.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 x around inf

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

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

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

                                                  1. Initial program 81.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. Applied rewrites69.4%

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

                                                        \[\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 rewrites64.6%

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

                                                      Alternative 6: 80.0% accurate, 0.6× speedup?

                                                      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)} \leq 0:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(0.8333333333333334 + a\right) - \frac{0.6666666666666666}{t}\right) \cdot c\right)}}\\ \end{array} \end{array} \]
                                                      (FPCore (x y z t a b c)
                                                       :precision binary64
                                                       (if (<=
                                                            (exp
                                                             (*
                                                              2.0
                                                              (-
                                                               (/ (* z (sqrt (+ t a))) t)
                                                               (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))))
                                                            0.0)
                                                         1.0
                                                         (/
                                                          x
                                                          (+
                                                           x
                                                           (*
                                                            y
                                                            (exp
                                                             (*
                                                              2.0
                                                              (* (- (+ 0.8333333333333334 a) (/ 0.6666666666666666 t)) c))))))))
                                                      double code(double x, double y, double z, double t, double a, double b, double c) {
                                                      	double tmp;
                                                      	if (exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))))))) <= 0.0) {
                                                      		tmp = 1.0;
                                                      	} else {
                                                      		tmp = x / (x + (y * exp((2.0 * (((0.8333333333333334 + a) - (0.6666666666666666 / t)) * c)))));
                                                      	}
                                                      	return tmp;
                                                      }
                                                      
                                                      module fmin_fmax_functions
                                                          implicit none
                                                          private
                                                          public fmax
                                                          public fmin
                                                      
                                                          interface fmax
                                                              module procedure fmax88
                                                              module procedure fmax44
                                                              module procedure fmax84
                                                              module procedure fmax48
                                                          end interface
                                                          interface fmin
                                                              module procedure fmin88
                                                              module procedure fmin44
                                                              module procedure fmin84
                                                              module procedure fmin48
                                                          end interface
                                                      contains
                                                          real(8) function fmax88(x, y) result (res)
                                                              real(8), intent (in) :: x
                                                              real(8), intent (in) :: y
                                                              res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                          end function
                                                          real(4) function fmax44(x, y) result (res)
                                                              real(4), intent (in) :: x
                                                              real(4), intent (in) :: y
                                                              res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                          end function
                                                          real(8) function fmax84(x, y) result(res)
                                                              real(8), intent (in) :: x
                                                              real(4), intent (in) :: y
                                                              res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                                          end function
                                                          real(8) function fmax48(x, y) result(res)
                                                              real(4), intent (in) :: x
                                                              real(8), intent (in) :: y
                                                              res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                                          end function
                                                          real(8) function fmin88(x, y) result (res)
                                                              real(8), intent (in) :: x
                                                              real(8), intent (in) :: y
                                                              res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                          end function
                                                          real(4) function fmin44(x, y) result (res)
                                                              real(4), intent (in) :: x
                                                              real(4), intent (in) :: y
                                                              res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                          end function
                                                          real(8) function fmin84(x, y) result(res)
                                                              real(8), intent (in) :: x
                                                              real(4), intent (in) :: y
                                                              res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                                          end function
                                                          real(8) function fmin48(x, y) result(res)
                                                              real(4), intent (in) :: x
                                                              real(8), intent (in) :: y
                                                              res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                                          end function
                                                      end module
                                                      
                                                      real(8) function code(x, y, z, t, a, b, c)
                                                      use fmin_fmax_functions
                                                          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((2.0d0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0d0 / 6.0d0)) - (2.0d0 / (t * 3.0d0))))))) <= 0.0d0) then
                                                              tmp = 1.0d0
                                                          else
                                                              tmp = x / (x + (y * exp((2.0d0 * (((0.8333333333333334d0 + a) - (0.6666666666666666d0 / t)) * c)))))
                                                          end if
                                                          code = tmp
                                                      end function
                                                      
                                                      public static double code(double x, double y, double z, double t, double a, double b, double c) {
                                                      	double tmp;
                                                      	if (Math.exp((2.0 * (((z * Math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))))))) <= 0.0) {
                                                      		tmp = 1.0;
                                                      	} else {
                                                      		tmp = x / (x + (y * Math.exp((2.0 * (((0.8333333333333334 + a) - (0.6666666666666666 / t)) * c)))));
                                                      	}
                                                      	return tmp;
                                                      }
                                                      
                                                      def code(x, y, z, t, a, b, c):
                                                      	tmp = 0
                                                      	if math.exp((2.0 * (((z * math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))))))) <= 0.0:
                                                      		tmp = 1.0
                                                      	else:
                                                      		tmp = x / (x + (y * math.exp((2.0 * (((0.8333333333333334 + a) - (0.6666666666666666 / t)) * c)))))
                                                      	return tmp
                                                      
                                                      function code(x, y, z, t, a, b, c)
                                                      	tmp = 0.0
                                                      	if (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))))))) <= 0.0)
                                                      		tmp = 1.0;
                                                      	else
                                                      		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(0.8333333333333334 + a) - Float64(0.6666666666666666 / t)) * c))))));
                                                      	end
                                                      	return tmp
                                                      end
                                                      
                                                      function tmp_2 = code(x, y, z, t, a, b, c)
                                                      	tmp = 0.0;
                                                      	if (exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))))))) <= 0.0)
                                                      		tmp = 1.0;
                                                      	else
                                                      		tmp = x / (x + (y * exp((2.0 * (((0.8333333333333334 + a) - (0.6666666666666666 / t)) * c)))));
                                                      	end
                                                      	tmp_2 = tmp;
                                                      end
                                                      
                                                      code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[N[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], 0.0], 1.0, N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(0.8333333333333334 + a), $MachinePrecision] - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
                                                      
                                                      \begin{array}{l}
                                                      
                                                      \\
                                                      \begin{array}{l}
                                                      \mathbf{if}\;e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)} \leq 0:\\
                                                      \;\;\;\;1\\
                                                      
                                                      \mathbf{else}:\\
                                                      \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(0.8333333333333334 + a\right) - \frac{0.6666666666666666}{t}\right) \cdot c\right)}}\\
                                                      
                                                      
                                                      \end{array}
                                                      \end{array}
                                                      
                                                      Derivation
                                                      1. Split input into 2 regimes
                                                      2. if (exp.f64 (*.f64 #s(literal 2 binary64) (-.f64 (/.f64 (*.f64 z (sqrt.f64 (+.f64 t a))) t) (*.f64 (-.f64 b c) (-.f64 (+.f64 a (/.f64 #s(literal 5 binary64) #s(literal 6 binary64))) (/.f64 #s(literal 2 binary64) (*.f64 t #s(literal 3 binary64)))))))) < 0.0

                                                        1. Initial program 98.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 x around inf

                                                          \[\leadsto \color{blue}{1} \]
                                                        4. Step-by-step derivation
                                                          1. Applied rewrites98.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 87.7%

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

                                                              \[\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)}}} \]
                                                          5. Recombined 2 regimes into one program.
                                                          6. Add Preprocessing

                                                          Alternative 7: 70.9% accurate, 0.6× speedup?

                                                          \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)} \leq 0:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(0.8333333333333334 \cdot c\right)}}\\ \end{array} \end{array} \]
                                                          (FPCore (x y z t a b c)
                                                           :precision binary64
                                                           (if (<=
                                                                (exp
                                                                 (*
                                                                  2.0
                                                                  (-
                                                                   (/ (* z (sqrt (+ t a))) t)
                                                                   (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))))
                                                                0.0)
                                                             1.0
                                                             (/ x (+ x (* y (exp (* 2.0 (* 0.8333333333333334 c))))))))
                                                          double code(double x, double y, double z, double t, double a, double b, double c) {
                                                          	double tmp;
                                                          	if (exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))))))) <= 0.0) {
                                                          		tmp = 1.0;
                                                          	} else {
                                                          		tmp = x / (x + (y * exp((2.0 * (0.8333333333333334 * c)))));
                                                          	}
                                                          	return tmp;
                                                          }
                                                          
                                                          module fmin_fmax_functions
                                                              implicit none
                                                              private
                                                              public fmax
                                                              public fmin
                                                          
                                                              interface fmax
                                                                  module procedure fmax88
                                                                  module procedure fmax44
                                                                  module procedure fmax84
                                                                  module procedure fmax48
                                                              end interface
                                                              interface fmin
                                                                  module procedure fmin88
                                                                  module procedure fmin44
                                                                  module procedure fmin84
                                                                  module procedure fmin48
                                                              end interface
                                                          contains
                                                              real(8) function fmax88(x, y) result (res)
                                                                  real(8), intent (in) :: x
                                                                  real(8), intent (in) :: y
                                                                  res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                              end function
                                                              real(4) function fmax44(x, y) result (res)
                                                                  real(4), intent (in) :: x
                                                                  real(4), intent (in) :: y
                                                                  res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                              end function
                                                              real(8) function fmax84(x, y) result(res)
                                                                  real(8), intent (in) :: x
                                                                  real(4), intent (in) :: y
                                                                  res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                                              end function
                                                              real(8) function fmax48(x, y) result(res)
                                                                  real(4), intent (in) :: x
                                                                  real(8), intent (in) :: y
                                                                  res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                                              end function
                                                              real(8) function fmin88(x, y) result (res)
                                                                  real(8), intent (in) :: x
                                                                  real(8), intent (in) :: y
                                                                  res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                              end function
                                                              real(4) function fmin44(x, y) result (res)
                                                                  real(4), intent (in) :: x
                                                                  real(4), intent (in) :: y
                                                                  res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                              end function
                                                              real(8) function fmin84(x, y) result(res)
                                                                  real(8), intent (in) :: x
                                                                  real(4), intent (in) :: y
                                                                  res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                                              end function
                                                              real(8) function fmin48(x, y) result(res)
                                                                  real(4), intent (in) :: x
                                                                  real(8), intent (in) :: y
                                                                  res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                                              end function
                                                          end module
                                                          
                                                          real(8) function code(x, y, z, t, a, b, c)
                                                          use fmin_fmax_functions
                                                              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((2.0d0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0d0 / 6.0d0)) - (2.0d0 / (t * 3.0d0))))))) <= 0.0d0) then
                                                                  tmp = 1.0d0
                                                              else
                                                                  tmp = x / (x + (y * exp((2.0d0 * (0.8333333333333334d0 * c)))))
                                                              end if
                                                              code = tmp
                                                          end function
                                                          
                                                          public static double code(double x, double y, double z, double t, double a, double b, double c) {
                                                          	double tmp;
                                                          	if (Math.exp((2.0 * (((z * Math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))))))) <= 0.0) {
                                                          		tmp = 1.0;
                                                          	} else {
                                                          		tmp = x / (x + (y * Math.exp((2.0 * (0.8333333333333334 * c)))));
                                                          	}
                                                          	return tmp;
                                                          }
                                                          
                                                          def code(x, y, z, t, a, b, c):
                                                          	tmp = 0
                                                          	if math.exp((2.0 * (((z * math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))))))) <= 0.0:
                                                          		tmp = 1.0
                                                          	else:
                                                          		tmp = x / (x + (y * math.exp((2.0 * (0.8333333333333334 * c)))))
                                                          	return tmp
                                                          
                                                          function code(x, y, z, t, a, b, c)
                                                          	tmp = 0.0
                                                          	if (exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(Float64(t + a))) / t) - Float64(Float64(b - c) * Float64(Float64(a + Float64(5.0 / 6.0)) - Float64(2.0 / Float64(t * 3.0))))))) <= 0.0)
                                                          		tmp = 1.0;
                                                          	else
                                                          		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(0.8333333333333334 * c))))));
                                                          	end
                                                          	return tmp
                                                          end
                                                          
                                                          function tmp_2 = code(x, y, z, t, a, b, c)
                                                          	tmp = 0.0;
                                                          	if (exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))))))) <= 0.0)
                                                          		tmp = 1.0;
                                                          	else
                                                          		tmp = x / (x + (y * exp((2.0 * (0.8333333333333334 * c)))));
                                                          	end
                                                          	tmp_2 = tmp;
                                                          end
                                                          
                                                          code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[N[Exp[N[(2.0 * N[(N[(N[(z * N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision] - N[(N[(b - c), $MachinePrecision] * N[(N[(a + N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision] - N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], 0.0], 1.0, N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(0.8333333333333334 * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
                                                          
                                                          \begin{array}{l}
                                                          
                                                          \\
                                                          \begin{array}{l}
                                                          \mathbf{if}\;e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)} \leq 0:\\
                                                          \;\;\;\;1\\
                                                          
                                                          \mathbf{else}:\\
                                                          \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(0.8333333333333334 \cdot c\right)}}\\
                                                          
                                                          
                                                          \end{array}
                                                          \end{array}
                                                          
                                                          Derivation
                                                          1. Split input into 2 regimes
                                                          2. if (exp.f64 (*.f64 #s(literal 2 binary64) (-.f64 (/.f64 (*.f64 z (sqrt.f64 (+.f64 t a))) t) (*.f64 (-.f64 b c) (-.f64 (+.f64 a (/.f64 #s(literal 5 binary64) #s(literal 6 binary64))) (/.f64 #s(literal 2 binary64) (*.f64 t #s(literal 3 binary64)))))))) < 0.0

                                                            1. Initial program 98.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 x around inf

                                                              \[\leadsto \color{blue}{1} \]
                                                            4. Step-by-step derivation
                                                              1. Applied rewrites98.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 87.7%

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

                                                                  \[\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)}}} \]
                                                                2. 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)}} \]
                                                                3. Step-by-step derivation
                                                                  1. Applied rewrites57.8%

                                                                    \[\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 rewrites55.4%

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

                                                                  Alternative 8: 71.3% accurate, 0.6× speedup?

                                                                  \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)} \leq 0:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot a\right)}}\\ \end{array} \end{array} \]
                                                                  (FPCore (x y z t a b c)
                                                                   :precision binary64
                                                                   (if (<=
                                                                        (exp
                                                                         (*
                                                                          2.0
                                                                          (-
                                                                           (/ (* z (sqrt (+ t a))) t)
                                                                           (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))))
                                                                        0.0)
                                                                     1.0
                                                                     (/ x (+ x (* y (exp (* 2.0 (* c a))))))))
                                                                  double code(double x, double y, double z, double t, double a, double b, double c) {
                                                                  	double tmp;
                                                                  	if (exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))))))) <= 0.0) {
                                                                  		tmp = 1.0;
                                                                  	} else {
                                                                  		tmp = x / (x + (y * exp((2.0 * (c * a)))));
                                                                  	}
                                                                  	return tmp;
                                                                  }
                                                                  
                                                                  module fmin_fmax_functions
                                                                      implicit none
                                                                      private
                                                                      public fmax
                                                                      public fmin
                                                                  
                                                                      interface fmax
                                                                          module procedure fmax88
                                                                          module procedure fmax44
                                                                          module procedure fmax84
                                                                          module procedure fmax48
                                                                      end interface
                                                                      interface fmin
                                                                          module procedure fmin88
                                                                          module procedure fmin44
                                                                          module procedure fmin84
                                                                          module procedure fmin48
                                                                      end interface
                                                                  contains
                                                                      real(8) function fmax88(x, y) result (res)
                                                                          real(8), intent (in) :: x
                                                                          real(8), intent (in) :: y
                                                                          res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                      end function
                                                                      real(4) function fmax44(x, y) result (res)
                                                                          real(4), intent (in) :: x
                                                                          real(4), intent (in) :: y
                                                                          res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                      end function
                                                                      real(8) function fmax84(x, y) result(res)
                                                                          real(8), intent (in) :: x
                                                                          real(4), intent (in) :: y
                                                                          res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                                                      end function
                                                                      real(8) function fmax48(x, y) result(res)
                                                                          real(4), intent (in) :: x
                                                                          real(8), intent (in) :: y
                                                                          res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                                                      end function
                                                                      real(8) function fmin88(x, y) result (res)
                                                                          real(8), intent (in) :: x
                                                                          real(8), intent (in) :: y
                                                                          res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                      end function
                                                                      real(4) function fmin44(x, y) result (res)
                                                                          real(4), intent (in) :: x
                                                                          real(4), intent (in) :: y
                                                                          res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                      end function
                                                                      real(8) function fmin84(x, y) result(res)
                                                                          real(8), intent (in) :: x
                                                                          real(4), intent (in) :: y
                                                                          res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                                                      end function
                                                                      real(8) function fmin48(x, y) result(res)
                                                                          real(4), intent (in) :: x
                                                                          real(8), intent (in) :: y
                                                                          res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                                                      end function
                                                                  end module
                                                                  
                                                                  real(8) function code(x, y, z, t, a, b, c)
                                                                  use fmin_fmax_functions
                                                                      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((2.0d0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0d0 / 6.0d0)) - (2.0d0 / (t * 3.0d0))))))) <= 0.0d0) then
                                                                          tmp = 1.0d0
                                                                      else
                                                                          tmp = x / (x + (y * exp((2.0d0 * (c * a)))))
                                                                      end if
                                                                      code = tmp
                                                                  end function
                                                                  
                                                                  public static double code(double x, double y, double z, double t, double a, double b, double c) {
                                                                  	double tmp;
                                                                  	if (Math.exp((2.0 * (((z * Math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))))))) <= 0.0) {
                                                                  		tmp = 1.0;
                                                                  	} else {
                                                                  		tmp = x / (x + (y * Math.exp((2.0 * (c * a)))));
                                                                  	}
                                                                  	return tmp;
                                                                  }
                                                                  
                                                                  def code(x, y, z, t, a, b, c):
                                                                  	tmp = 0
                                                                  	if math.exp((2.0 * (((z * math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))))))) <= 0.0:
                                                                  		tmp = 1.0
                                                                  	else:
                                                                  		tmp = x / (x + (y * math.exp((2.0 * (c * a)))))
                                                                  	return tmp
                                                                  
                                                                  function code(x, y, z, t, a, b, c)
                                                                  	tmp = 0.0
                                                                  	if (exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(Float64(t + a))) / t) - Float64(Float64(b - c) * Float64(Float64(a + Float64(5.0 / 6.0)) - Float64(2.0 / Float64(t * 3.0))))))) <= 0.0)
                                                                  		tmp = 1.0;
                                                                  	else
                                                                  		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(c * a))))));
                                                                  	end
                                                                  	return tmp
                                                                  end
                                                                  
                                                                  function tmp_2 = code(x, y, z, t, a, b, c)
                                                                  	tmp = 0.0;
                                                                  	if (exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))))))) <= 0.0)
                                                                  		tmp = 1.0;
                                                                  	else
                                                                  		tmp = x / (x + (y * exp((2.0 * (c * a)))));
                                                                  	end
                                                                  	tmp_2 = tmp;
                                                                  end
                                                                  
                                                                  code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[N[Exp[N[(2.0 * N[(N[(N[(z * N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision] - N[(N[(b - c), $MachinePrecision] * N[(N[(a + N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision] - N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], 0.0], 1.0, N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(c * a), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
                                                                  
                                                                  \begin{array}{l}
                                                                  
                                                                  \\
                                                                  \begin{array}{l}
                                                                  \mathbf{if}\;e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)} \leq 0:\\
                                                                  \;\;\;\;1\\
                                                                  
                                                                  \mathbf{else}:\\
                                                                  \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot a\right)}}\\
                                                                  
                                                                  
                                                                  \end{array}
                                                                  \end{array}
                                                                  
                                                                  Derivation
                                                                  1. Split input into 2 regimes
                                                                  2. if (exp.f64 (*.f64 #s(literal 2 binary64) (-.f64 (/.f64 (*.f64 z (sqrt.f64 (+.f64 t a))) t) (*.f64 (-.f64 b c) (-.f64 (+.f64 a (/.f64 #s(literal 5 binary64) #s(literal 6 binary64))) (/.f64 #s(literal 2 binary64) (*.f64 t #s(literal 3 binary64)))))))) < 0.0

                                                                    1. Initial program 98.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 x around inf

                                                                      \[\leadsto \color{blue}{1} \]
                                                                    4. Step-by-step derivation
                                                                      1. Applied rewrites98.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 87.7%

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

                                                                          \[\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)}}} \]
                                                                        2. Taylor expanded in a around inf

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

                                                                            \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \color{blue}{a}\right)}} \]
                                                                        4. Recombined 2 regimes into one program.
                                                                        5. Add Preprocessing

                                                                        Alternative 9: 74.0% accurate, 1.2× speedup?

                                                                        \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;c \leq -2.3 \cdot 10^{-67}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(0.8333333333333334 + a\right) - \frac{0.6666666666666666}{t}\right) \cdot c\right)}}\\ \mathbf{elif}\;c \leq 3.5 \cdot 10^{-171}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{0.6666666666666666}{t} - 0.8333333333333334\right) - a\right) \cdot b\right)}}\\ \mathbf{elif}\;c \leq 5.5 \cdot 10^{+43}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\sqrt{a + t} \cdot \frac{z}{t}\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(0.8333333333333334 + a\right) \cdot c\right)}}\\ \end{array} \end{array} \]
                                                                        (FPCore (x y z t a b c)
                                                                         :precision binary64
                                                                         (if (<= c -2.3e-67)
                                                                           (/
                                                                            x
                                                                            (+
                                                                             x
                                                                             (*
                                                                              y
                                                                              (exp
                                                                               (* 2.0 (* (- (+ 0.8333333333333334 a) (/ 0.6666666666666666 t)) c))))))
                                                                           (if (<= c 3.5e-171)
                                                                             (/
                                                                              x
                                                                              (+
                                                                               x
                                                                               (*
                                                                                y
                                                                                (exp
                                                                                 (*
                                                                                  2.0
                                                                                  (* (- (- (/ 0.6666666666666666 t) 0.8333333333333334) a) b))))))
                                                                             (if (<= c 5.5e+43)
                                                                               (/ x (+ x (* y (exp (* 2.0 (* (sqrt (+ a t)) (/ z t)))))))
                                                                               (/ x (+ x (* y (exp (* 2.0 (* (+ 0.8333333333333334 a) c))))))))))
                                                                        double code(double x, double y, double z, double t, double a, double b, double c) {
                                                                        	double tmp;
                                                                        	if (c <= -2.3e-67) {
                                                                        		tmp = x / (x + (y * exp((2.0 * (((0.8333333333333334 + a) - (0.6666666666666666 / t)) * c)))));
                                                                        	} else if (c <= 3.5e-171) {
                                                                        		tmp = x / (x + (y * exp((2.0 * ((((0.6666666666666666 / t) - 0.8333333333333334) - a) * b)))));
                                                                        	} else if (c <= 5.5e+43) {
                                                                        		tmp = x / (x + (y * exp((2.0 * (sqrt((a + t)) * (z / t))))));
                                                                        	} else {
                                                                        		tmp = x / (x + (y * exp((2.0 * ((0.8333333333333334 + a) * c)))));
                                                                        	}
                                                                        	return tmp;
                                                                        }
                                                                        
                                                                        module fmin_fmax_functions
                                                                            implicit none
                                                                            private
                                                                            public fmax
                                                                            public fmin
                                                                        
                                                                            interface fmax
                                                                                module procedure fmax88
                                                                                module procedure fmax44
                                                                                module procedure fmax84
                                                                                module procedure fmax48
                                                                            end interface
                                                                            interface fmin
                                                                                module procedure fmin88
                                                                                module procedure fmin44
                                                                                module procedure fmin84
                                                                                module procedure fmin48
                                                                            end interface
                                                                        contains
                                                                            real(8) function fmax88(x, y) result (res)
                                                                                real(8), intent (in) :: x
                                                                                real(8), intent (in) :: y
                                                                                res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                            end function
                                                                            real(4) function fmax44(x, y) result (res)
                                                                                real(4), intent (in) :: x
                                                                                real(4), intent (in) :: y
                                                                                res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                            end function
                                                                            real(8) function fmax84(x, y) result(res)
                                                                                real(8), intent (in) :: x
                                                                                real(4), intent (in) :: y
                                                                                res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                                                            end function
                                                                            real(8) function fmax48(x, y) result(res)
                                                                                real(4), intent (in) :: x
                                                                                real(8), intent (in) :: y
                                                                                res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                                                            end function
                                                                            real(8) function fmin88(x, y) result (res)
                                                                                real(8), intent (in) :: x
                                                                                real(8), intent (in) :: y
                                                                                res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                            end function
                                                                            real(4) function fmin44(x, y) result (res)
                                                                                real(4), intent (in) :: x
                                                                                real(4), intent (in) :: y
                                                                                res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                            end function
                                                                            real(8) function fmin84(x, y) result(res)
                                                                                real(8), intent (in) :: x
                                                                                real(4), intent (in) :: y
                                                                                res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                                                            end function
                                                                            real(8) function fmin48(x, y) result(res)
                                                                                real(4), intent (in) :: x
                                                                                real(8), intent (in) :: y
                                                                                res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                                                            end function
                                                                        end module
                                                                        
                                                                        real(8) function code(x, y, z, t, a, b, c)
                                                                        use fmin_fmax_functions
                                                                            real(8), intent (in) :: x
                                                                            real(8), intent (in) :: y
                                                                            real(8), intent (in) :: z
                                                                            real(8), intent (in) :: t
                                                                            real(8), intent (in) :: a
                                                                            real(8), intent (in) :: b
                                                                            real(8), intent (in) :: c
                                                                            real(8) :: tmp
                                                                            if (c <= (-2.3d-67)) then
                                                                                tmp = x / (x + (y * exp((2.0d0 * (((0.8333333333333334d0 + a) - (0.6666666666666666d0 / t)) * c)))))
                                                                            else if (c <= 3.5d-171) then
                                                                                tmp = x / (x + (y * exp((2.0d0 * ((((0.6666666666666666d0 / t) - 0.8333333333333334d0) - a) * b)))))
                                                                            else if (c <= 5.5d+43) then
                                                                                tmp = x / (x + (y * exp((2.0d0 * (sqrt((a + t)) * (z / t))))))
                                                                            else
                                                                                tmp = x / (x + (y * exp((2.0d0 * ((0.8333333333333334d0 + a) * c)))))
                                                                            end if
                                                                            code = tmp
                                                                        end function
                                                                        
                                                                        public static double code(double x, double y, double z, double t, double a, double b, double c) {
                                                                        	double tmp;
                                                                        	if (c <= -2.3e-67) {
                                                                        		tmp = x / (x + (y * Math.exp((2.0 * (((0.8333333333333334 + a) - (0.6666666666666666 / t)) * c)))));
                                                                        	} else if (c <= 3.5e-171) {
                                                                        		tmp = x / (x + (y * Math.exp((2.0 * ((((0.6666666666666666 / t) - 0.8333333333333334) - a) * b)))));
                                                                        	} else if (c <= 5.5e+43) {
                                                                        		tmp = x / (x + (y * Math.exp((2.0 * (Math.sqrt((a + t)) * (z / t))))));
                                                                        	} else {
                                                                        		tmp = x / (x + (y * Math.exp((2.0 * ((0.8333333333333334 + a) * c)))));
                                                                        	}
                                                                        	return tmp;
                                                                        }
                                                                        
                                                                        def code(x, y, z, t, a, b, c):
                                                                        	tmp = 0
                                                                        	if c <= -2.3e-67:
                                                                        		tmp = x / (x + (y * math.exp((2.0 * (((0.8333333333333334 + a) - (0.6666666666666666 / t)) * c)))))
                                                                        	elif c <= 3.5e-171:
                                                                        		tmp = x / (x + (y * math.exp((2.0 * ((((0.6666666666666666 / t) - 0.8333333333333334) - a) * b)))))
                                                                        	elif c <= 5.5e+43:
                                                                        		tmp = x / (x + (y * math.exp((2.0 * (math.sqrt((a + t)) * (z / t))))))
                                                                        	else:
                                                                        		tmp = x / (x + (y * math.exp((2.0 * ((0.8333333333333334 + a) * c)))))
                                                                        	return tmp
                                                                        
                                                                        function code(x, y, z, t, a, b, c)
                                                                        	tmp = 0.0
                                                                        	if (c <= -2.3e-67)
                                                                        		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(0.8333333333333334 + a) - Float64(0.6666666666666666 / t)) * c))))));
                                                                        	elseif (c <= 3.5e-171)
                                                                        		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(Float64(0.6666666666666666 / t) - 0.8333333333333334) - a) * b))))));
                                                                        	elseif (c <= 5.5e+43)
                                                                        		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(sqrt(Float64(a + t)) * Float64(z / t)))))));
                                                                        	else
                                                                        		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(0.8333333333333334 + a) * c))))));
                                                                        	end
                                                                        	return tmp
                                                                        end
                                                                        
                                                                        function tmp_2 = code(x, y, z, t, a, b, c)
                                                                        	tmp = 0.0;
                                                                        	if (c <= -2.3e-67)
                                                                        		tmp = x / (x + (y * exp((2.0 * (((0.8333333333333334 + a) - (0.6666666666666666 / t)) * c)))));
                                                                        	elseif (c <= 3.5e-171)
                                                                        		tmp = x / (x + (y * exp((2.0 * ((((0.6666666666666666 / t) - 0.8333333333333334) - a) * b)))));
                                                                        	elseif (c <= 5.5e+43)
                                                                        		tmp = x / (x + (y * exp((2.0 * (sqrt((a + t)) * (z / t))))));
                                                                        	else
                                                                        		tmp = x / (x + (y * exp((2.0 * ((0.8333333333333334 + a) * c)))));
                                                                        	end
                                                                        	tmp_2 = tmp;
                                                                        end
                                                                        
                                                                        code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[c, -2.3e-67], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(0.8333333333333334 + a), $MachinePrecision] - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3.5e-171], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(N[(0.6666666666666666 / t), $MachinePrecision] - 0.8333333333333334), $MachinePrecision] - a), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5.5e+43], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[Sqrt[N[(a + t), $MachinePrecision]], $MachinePrecision] * N[(z / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(0.8333333333333334 + a), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
                                                                        
                                                                        \begin{array}{l}
                                                                        
                                                                        \\
                                                                        \begin{array}{l}
                                                                        \mathbf{if}\;c \leq -2.3 \cdot 10^{-67}:\\
                                                                        \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(0.8333333333333334 + a\right) - \frac{0.6666666666666666}{t}\right) \cdot c\right)}}\\
                                                                        
                                                                        \mathbf{elif}\;c \leq 3.5 \cdot 10^{-171}:\\
                                                                        \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(\left(\frac{0.6666666666666666}{t} - 0.8333333333333334\right) - a\right) \cdot b\right)}}\\
                                                                        
                                                                        \mathbf{elif}\;c \leq 5.5 \cdot 10^{+43}:\\
                                                                        \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\sqrt{a + t} \cdot \frac{z}{t}\right)}}\\
                                                                        
                                                                        \mathbf{else}:\\
                                                                        \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(0.8333333333333334 + a\right) \cdot c\right)}}\\
                                                                        
                                                                        
                                                                        \end{array}
                                                                        \end{array}
                                                                        
                                                                        Derivation
                                                                        1. Split input into 4 regimes
                                                                        2. if c < -2.3e-67

                                                                          1. Initial program 93.0%

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

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

                                                                            if -2.3e-67 < c < 3.49999999999999994e-171

                                                                            1. Initial program 91.7%

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

                                                                              \[\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. Applied rewrites84.6%

                                                                                \[\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)}}} \]

                                                                              if 3.49999999999999994e-171 < c < 5.49999999999999989e43

                                                                              1. Initial program 90.5%

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

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

                                                                                if 5.49999999999999989e43 < c

                                                                                1. Initial program 91.1%

                                                                                  \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}} \]
                                                                                2. 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. Applied rewrites89.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)}}} \]
                                                                                  2. 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)}} \]
                                                                                  3. Step-by-step derivation
                                                                                    1. Applied rewrites89.2%

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

                                                                                  Alternative 10: 52.4% 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;
                                                                                  }
                                                                                  
                                                                                  module fmin_fmax_functions
                                                                                      implicit none
                                                                                      private
                                                                                      public fmax
                                                                                      public fmin
                                                                                  
                                                                                      interface fmax
                                                                                          module procedure fmax88
                                                                                          module procedure fmax44
                                                                                          module procedure fmax84
                                                                                          module procedure fmax48
                                                                                      end interface
                                                                                      interface fmin
                                                                                          module procedure fmin88
                                                                                          module procedure fmin44
                                                                                          module procedure fmin84
                                                                                          module procedure fmin48
                                                                                      end interface
                                                                                  contains
                                                                                      real(8) function fmax88(x, y) result (res)
                                                                                          real(8), intent (in) :: x
                                                                                          real(8), intent (in) :: y
                                                                                          res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                      end function
                                                                                      real(4) function fmax44(x, y) result (res)
                                                                                          real(4), intent (in) :: x
                                                                                          real(4), intent (in) :: y
                                                                                          res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                      end function
                                                                                      real(8) function fmax84(x, y) result(res)
                                                                                          real(8), intent (in) :: x
                                                                                          real(4), intent (in) :: y
                                                                                          res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                                                                      end function
                                                                                      real(8) function fmax48(x, y) result(res)
                                                                                          real(4), intent (in) :: x
                                                                                          real(8), intent (in) :: y
                                                                                          res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                                                                      end function
                                                                                      real(8) function fmin88(x, y) result (res)
                                                                                          real(8), intent (in) :: x
                                                                                          real(8), intent (in) :: y
                                                                                          res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                      end function
                                                                                      real(4) function fmin44(x, y) result (res)
                                                                                          real(4), intent (in) :: x
                                                                                          real(4), intent (in) :: y
                                                                                          res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                      end function
                                                                                      real(8) function fmin84(x, y) result(res)
                                                                                          real(8), intent (in) :: x
                                                                                          real(4), intent (in) :: y
                                                                                          res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                                                                      end function
                                                                                      real(8) function fmin48(x, y) result(res)
                                                                                          real(4), intent (in) :: x
                                                                                          real(8), intent (in) :: y
                                                                                          res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                                                                      end function
                                                                                  end module
                                                                                  
                                                                                  real(8) function code(x, y, z, t, a, b, c)
                                                                                  use fmin_fmax_functions
                                                                                      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.8%

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

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

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

                                                                                    Developer Target 1: 95.1% 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;
                                                                                    }
                                                                                    
                                                                                    module fmin_fmax_functions
                                                                                        implicit none
                                                                                        private
                                                                                        public fmax
                                                                                        public fmin
                                                                                    
                                                                                        interface fmax
                                                                                            module procedure fmax88
                                                                                            module procedure fmax44
                                                                                            module procedure fmax84
                                                                                            module procedure fmax48
                                                                                        end interface
                                                                                        interface fmin
                                                                                            module procedure fmin88
                                                                                            module procedure fmin44
                                                                                            module procedure fmin84
                                                                                            module procedure fmin48
                                                                                        end interface
                                                                                    contains
                                                                                        real(8) function fmax88(x, y) result (res)
                                                                                            real(8), intent (in) :: x
                                                                                            real(8), intent (in) :: y
                                                                                            res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                        end function
                                                                                        real(4) function fmax44(x, y) result (res)
                                                                                            real(4), intent (in) :: x
                                                                                            real(4), intent (in) :: y
                                                                                            res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                        end function
                                                                                        real(8) function fmax84(x, y) result(res)
                                                                                            real(8), intent (in) :: x
                                                                                            real(4), intent (in) :: y
                                                                                            res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                                                                        end function
                                                                                        real(8) function fmax48(x, y) result(res)
                                                                                            real(4), intent (in) :: x
                                                                                            real(8), intent (in) :: y
                                                                                            res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                                                                        end function
                                                                                        real(8) function fmin88(x, y) result (res)
                                                                                            real(8), intent (in) :: x
                                                                                            real(8), intent (in) :: y
                                                                                            res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                        end function
                                                                                        real(4) function fmin44(x, y) result (res)
                                                                                            real(4), intent (in) :: x
                                                                                            real(4), intent (in) :: y
                                                                                            res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                        end function
                                                                                        real(8) function fmin84(x, y) result(res)
                                                                                            real(8), intent (in) :: x
                                                                                            real(4), intent (in) :: y
                                                                                            res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                                                                        end function
                                                                                        real(8) function fmin48(x, y) result(res)
                                                                                            real(4), intent (in) :: x
                                                                                            real(8), intent (in) :: y
                                                                                            res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                                                                        end function
                                                                                    end module
                                                                                    
                                                                                    real(8) function code(x, y, z, t, a, b, c)
                                                                                    use fmin_fmax_functions
                                                                                        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 2025021 
                                                                                    (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)))))))))))