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

Percentage Accurate: 93.8% → 96.4%
Time: 25.4s
Alternatives: 25
Speedup: 0.7×

Specification

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

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

Sampling outcomes in binary64 precision:

Local Percentage Accuracy vs ?

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

Accuracy vs Speed?

Herbie found 25 alternatives:

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

Initial Program: 93.8% accurate, 1.0× speedup?

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

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

Alternative 1: 96.4% accurate, 0.7× speedup?

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

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

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


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

    1. Initial program 98.8%

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

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

    1. Initial program 0.0%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Alternative 2: 81.6% accurate, 1.0× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;t \leq -2.9 \cdot 10^{-53} \lor \neg \left(t \leq 3.6 \cdot 10^{-107}\right):\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} + a \cdot \left(c - b\right)\right)}}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if t < -2.8999999999999998e-53 or 3.59999999999999976e-107 < t

    1. Initial program 96.4%

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

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

    if -2.8999999999999998e-53 < t < 3.59999999999999976e-107

    1. Initial program 93.5%

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

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

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

Alternative 3: 76.2% accurate, 1.0× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;t \leq 8.2 \cdot 10^{-88}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{t}}}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if t < 8.2000000000000002e-88

    1. Initial program 93.4%

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

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

    if 8.2000000000000002e-88 < t

    1. Initial program 97.1%

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

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

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

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

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

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

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

Alternative 4: 62.1% accurate, 1.7× speedup?

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

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

\mathbf{elif}\;c \leq -5 \cdot 10^{+162}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(c \cdot \left(1.6666666666666667 + c \cdot 1.3888888888888888\right) + 1\right)}\\

\mathbf{elif}\;c \leq -1.02 \cdot 10^{+39}:\\
\;\;\;\;1\\

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

\mathbf{else}:\\
\;\;\;\;\frac{x}{y \cdot e^{c \cdot 1.6666666666666667}}\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if c < -6.00000000000000032e235

    1. Initial program 100.0%

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

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

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

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

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

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

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

    if -6.00000000000000032e235 < c < -4.9999999999999997e162

    1. Initial program 88.2%

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{1.6666666666666667 \cdot c}}} \]
    10. Step-by-step derivation
      1. *-commutative25.9%

        \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{c \cdot 1.6666666666666667}}} \]
    11. Simplified25.9%

      \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{c \cdot 1.6666666666666667}}} \]
    12. Taylor expanded in c around 0 77.2%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + c \cdot \left(1.6666666666666667 + 1.3888888888888888 \cdot c\right)\right)}} \]
    13. Step-by-step derivation
      1. *-commutative77.2%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + c \cdot \left(1.6666666666666667 + \color{blue}{c \cdot 1.3888888888888888}\right)\right)} \]
    14. Simplified77.2%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + c \cdot \left(1.6666666666666667 + c \cdot 1.3888888888888888\right)\right)}} \]

    if -4.9999999999999997e162 < c < -1.02e39

    1. Initial program 81.6%

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

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

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

    if -1.02e39 < c < 1.9999999999999999e35

    1. Initial program 97.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if 1.9999999999999999e35 < c

    1. Initial program 96.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{1.6666666666666667 \cdot c}}} \]
    10. Step-by-step derivation
      1. *-commutative74.9%

        \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{c \cdot 1.6666666666666667}}} \]
    11. Simplified74.9%

      \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{c \cdot 1.6666666666666667}}} \]
    12. Taylor expanded in x around 0 74.9%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -6 \cdot 10^{+235}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\ \mathbf{elif}\;c \leq -5 \cdot 10^{+162}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(c \cdot \left(1.6666666666666667 + c \cdot 1.3888888888888888\right) + 1\right)}\\ \mathbf{elif}\;c \leq -1.02 \cdot 10^{+39}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq 2 \cdot 10^{+35}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(-0.8333333333333334 - a\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{y \cdot e^{c \cdot 1.6666666666666667}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 5: 59.7% accurate, 1.8× speedup?

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

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

\mathbf{elif}\;c \leq -5 \cdot 10^{+162}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(c \cdot \left(1.6666666666666667 + c \cdot 1.3888888888888888\right) + 1\right)}\\

\mathbf{elif}\;c \leq -2.15 \cdot 10^{+30}:\\
\;\;\;\;1\\

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

\mathbf{else}:\\
\;\;\;\;\frac{x}{y \cdot e^{c \cdot 1.6666666666666667}}\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if c < -9.49999999999999966e235

    1. Initial program 100.0%

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

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

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

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

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

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

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

    if -9.49999999999999966e235 < c < -4.9999999999999997e162

    1. Initial program 88.2%

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{1.6666666666666667 \cdot c}}} \]
    10. Step-by-step derivation
      1. *-commutative25.9%

        \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{c \cdot 1.6666666666666667}}} \]
    11. Simplified25.9%

      \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{c \cdot 1.6666666666666667}}} \]
    12. Taylor expanded in c around 0 77.2%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + c \cdot \left(1.6666666666666667 + 1.3888888888888888 \cdot c\right)\right)}} \]
    13. Step-by-step derivation
      1. *-commutative77.2%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + c \cdot \left(1.6666666666666667 + \color{blue}{c \cdot 1.3888888888888888}\right)\right)} \]
    14. Simplified77.2%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + c \cdot \left(1.6666666666666667 + c \cdot 1.3888888888888888\right)\right)}} \]

    if -4.9999999999999997e162 < c < -2.15e30

    1. Initial program 81.6%

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

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

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

    if -2.15e30 < c < 2.29999999999999996e36

    1. Initial program 97.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if 2.29999999999999996e36 < c

    1. Initial program 96.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{1.6666666666666667 \cdot c}}} \]
    10. Step-by-step derivation
      1. *-commutative74.9%

        \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{c \cdot 1.6666666666666667}}} \]
    11. Simplified74.9%

      \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{c \cdot 1.6666666666666667}}} \]
    12. Taylor expanded in x around 0 74.9%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -9.5 \cdot 10^{+235}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\ \mathbf{elif}\;c \leq -5 \cdot 10^{+162}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(c \cdot \left(1.6666666666666667 + c \cdot 1.3888888888888888\right) + 1\right)}\\ \mathbf{elif}\;c \leq -2.15 \cdot 10^{+30}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq 2.3 \cdot 10^{+36}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{\left(a \cdot b\right) \cdot -2}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{y \cdot e^{c \cdot 1.6666666666666667}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 6: 80.1% accurate, 1.8× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.65 \cdot 10^{-33} \lor \neg \left(b \leq 5 \cdot 10^{+63}\right):\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if b < -1.6500000000000001e-33 or 5.00000000000000011e63 < b

    1. Initial program 91.2%

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

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

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

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

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

    if -1.6500000000000001e-33 < b < 5.00000000000000011e63

    1. Initial program 98.1%

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

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

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

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

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

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

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

Alternative 7: 76.0% accurate, 1.8× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;c \leq -2.2 \cdot 10^{+38} \lor \neg \left(c \leq 2.2 \cdot 10^{+36}\right):\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\frac{-0.6666666666666666}{t} + 0.8333333333333334\right)\right)}}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if c < -2.20000000000000006e38 or 2.2e36 < c

    1. Initial program 92.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -2.20000000000000006e38 < c < 2.2e36

    1. Initial program 97.9%

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

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

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

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

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

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

Alternative 8: 69.5% accurate, 1.8× speedup?

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

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if c < -9.39999999999999952e27 or 5.19999999999999995e34 < c

    1. Initial program 92.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -9.39999999999999952e27 < c < 5.19999999999999995e34

    1. Initial program 97.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Alternative 9: 58.1% accurate, 1.9× speedup?

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

\\
\begin{array}{l}
t_1 := a + \left(\frac{-0.6666666666666666}{t} + 0.8333333333333334\right)\\
t_2 := \frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\
\mathbf{if}\;b \leq -1.2 \cdot 10^{-8}:\\
\;\;\;\;t\_2\\

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

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -1.19999999999999999e-8 or 1.74999999999999994e202 < b

    1. Initial program 90.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{-1.6666666666666667 \cdot b}}} \]
    10. Step-by-step derivation
      1. *-commutative70.7%

        \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{b \cdot -1.6666666666666667}}} \]
    11. Simplified70.7%

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

    if -1.19999999999999999e-8 < b < 2.40000000000000019e-96

    1. Initial program 97.6%

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

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

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

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

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

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

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

    if 2.40000000000000019e-96 < b < 1.74999999999999994e202

    1. Initial program 96.4%

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \frac{x}{x + y \cdot \left(1 + c \cdot \left(2 \cdot \left(c \cdot {\left(a + \color{blue}{\left(0.8333333333333334 + \left(-\frac{0.6666666666666666}{t}\right)\right)}\right)}^{2} + \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)\right)} \]
      7. distribute-neg-frac56.8%

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

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

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

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

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

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

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

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

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

        \[\leadsto \frac{x}{x + y \cdot \left(1 + c \cdot \left(2 \cdot \left(c \cdot \left(\left(\left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right) + a\right) \cdot \color{blue}{\left(\left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right) + a\right)}\right) + \left(a + \left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right)\right)\right)\right)\right)} \]
    10. Applied egg-rr56.8%

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

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

Alternative 10: 58.5% accurate, 1.9× speedup?

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

\\
\begin{array}{l}
t_1 := a + \left(\frac{-0.6666666666666666}{t} + 0.8333333333333334\right)\\
t_2 := \frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\
\mathbf{if}\;b \leq -1150000000:\\
\;\;\;\;t\_2\\

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

\mathbf{elif}\;b \leq 1.7 \cdot 10^{+202}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -1.15e9 or 1.7e202 < b

    1. Initial program 90.6%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{-1.6666666666666667 \cdot b}}} \]
    10. Step-by-step derivation
      1. *-commutative72.5%

        \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{b \cdot -1.6666666666666667}}} \]
    11. Simplified72.5%

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

    if -1.15e9 < b < -2.7e-159

    1. Initial program 100.0%

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \frac{x}{x + y \cdot \left(1 + c \cdot \left(2 \cdot \left(c \cdot {\left(a + \color{blue}{\left(0.8333333333333334 + \left(-\frac{0.6666666666666666}{t}\right)\right)}\right)}^{2} + \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)\right)} \]
      7. distribute-neg-frac60.6%

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

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

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

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

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

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

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

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

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

        \[\leadsto \frac{x}{x + y \cdot \left(1 + c \cdot \left(2 \cdot \left(c \cdot \left(\left(\left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right) + a\right) \cdot \color{blue}{\left(\left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right) + a\right)}\right) + \left(a + \left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right)\right)\right)\right)\right)} \]
    10. Applied egg-rr60.6%

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

    if -2.7e-159 < b < 1.7e202

    1. Initial program 96.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{1.6666666666666667 \cdot c}}} \]
    10. Step-by-step derivation
      1. *-commutative61.0%

        \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{c \cdot 1.6666666666666667}}} \]
    11. Simplified61.0%

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

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

Alternative 11: 65.1% accurate, 1.9× speedup?

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

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

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

\mathbf{else}:\\
\;\;\;\;\frac{x}{y \cdot e^{c \cdot 1.6666666666666667}}\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if c < -3.19999999999999983e35

    1. Initial program 88.9%

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

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

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

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

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

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

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

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

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

    if -3.19999999999999983e35 < c < 2.0499999999999999e35

    1. Initial program 97.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if 2.0499999999999999e35 < c

    1. Initial program 96.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{1.6666666666666667 \cdot c}}} \]
    10. Step-by-step derivation
      1. *-commutative74.9%

        \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{c \cdot 1.6666666666666667}}} \]
    11. Simplified74.9%

      \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{c \cdot 1.6666666666666667}}} \]
    12. Taylor expanded in x around 0 74.9%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -3.2 \cdot 10^{+35}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\ \mathbf{elif}\;c \leq 2.05 \cdot 10^{+35}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(-0.8333333333333334 - a\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{y \cdot e^{c \cdot 1.6666666666666667}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 12: 54.9% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a + \left(\frac{-0.6666666666666666}{t} + 0.8333333333333334\right)\\ \mathbf{if}\;b \leq -110000000000 \lor \neg \left(b \leq 6.2 \cdot 10^{+202}\right):\\ \;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x - y \cdot \left(-1 - c \cdot \left(2 \cdot \left(t\_1 + c \cdot \left(t\_1 \cdot t\_1\right)\right)\right)\right)}\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (let* ((t_1 (+ a (+ (/ -0.6666666666666666 t) 0.8333333333333334))))
   (if (or (<= b -110000000000.0) (not (<= b 6.2e+202)))
     (/ x (+ x (* y (exp (* b -1.6666666666666667)))))
     (/ x (- x (* y (- -1.0 (* c (* 2.0 (+ t_1 (* c (* t_1 t_1))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double t_1 = a + ((-0.6666666666666666 / t) + 0.8333333333333334);
	double tmp;
	if ((b <= -110000000000.0) || !(b <= 6.2e+202)) {
		tmp = x / (x + (y * exp((b * -1.6666666666666667))));
	} else {
		tmp = x / (x - (y * (-1.0 - (c * (2.0 * (t_1 + (c * (t_1 * t_1))))))));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8) :: t_1
    real(8) :: tmp
    t_1 = a + (((-0.6666666666666666d0) / t) + 0.8333333333333334d0)
    if ((b <= (-110000000000.0d0)) .or. (.not. (b <= 6.2d+202))) then
        tmp = x / (x + (y * exp((b * (-1.6666666666666667d0)))))
    else
        tmp = x / (x - (y * ((-1.0d0) - (c * (2.0d0 * (t_1 + (c * (t_1 * t_1))))))))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
	double t_1 = a + ((-0.6666666666666666 / t) + 0.8333333333333334);
	double tmp;
	if ((b <= -110000000000.0) || !(b <= 6.2e+202)) {
		tmp = x / (x + (y * Math.exp((b * -1.6666666666666667))));
	} else {
		tmp = x / (x - (y * (-1.0 - (c * (2.0 * (t_1 + (c * (t_1 * t_1))))))));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	t_1 = a + ((-0.6666666666666666 / t) + 0.8333333333333334)
	tmp = 0
	if (b <= -110000000000.0) or not (b <= 6.2e+202):
		tmp = x / (x + (y * math.exp((b * -1.6666666666666667))))
	else:
		tmp = x / (x - (y * (-1.0 - (c * (2.0 * (t_1 + (c * (t_1 * t_1))))))))
	return tmp
function code(x, y, z, t, a, b, c)
	t_1 = Float64(a + Float64(Float64(-0.6666666666666666 / t) + 0.8333333333333334))
	tmp = 0.0
	if ((b <= -110000000000.0) || !(b <= 6.2e+202))
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(b * -1.6666666666666667)))));
	else
		tmp = Float64(x / Float64(x - Float64(y * Float64(-1.0 - Float64(c * Float64(2.0 * Float64(t_1 + Float64(c * Float64(t_1 * t_1)))))))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	t_1 = a + ((-0.6666666666666666 / t) + 0.8333333333333334);
	tmp = 0.0;
	if ((b <= -110000000000.0) || ~((b <= 6.2e+202)))
		tmp = x / (x + (y * exp((b * -1.6666666666666667))));
	else
		tmp = x / (x - (y * (-1.0 - (c * (2.0 * (t_1 + (c * (t_1 * t_1))))))));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(a + N[(N[(-0.6666666666666666 / t), $MachinePrecision] + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]}, If[Or[LessEqual[b, -110000000000.0], N[Not[LessEqual[b, 6.2e+202]], $MachinePrecision]], N[(x / N[(x + N[(y * N[Exp[N[(b * -1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x - N[(y * N[(-1.0 - N[(c * N[(2.0 * N[(t$95$1 + N[(c * N[(t$95$1 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a + \left(\frac{-0.6666666666666666}{t} + 0.8333333333333334\right)\\
\mathbf{if}\;b \leq -110000000000 \lor \neg \left(b \leq 6.2 \cdot 10^{+202}\right):\\
\;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\

\mathbf{else}:\\
\;\;\;\;\frac{x}{x - y \cdot \left(-1 - c \cdot \left(2 \cdot \left(t\_1 + c \cdot \left(t\_1 \cdot t\_1\right)\right)\right)\right)}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if b < -1.1e11 or 6.19999999999999983e202 < b

    1. Initial program 90.6%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{-1.6666666666666667 \cdot b}}} \]
    10. Step-by-step derivation
      1. *-commutative72.5%

        \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{b \cdot -1.6666666666666667}}} \]
    11. Simplified72.5%

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

    if -1.1e11 < b < 6.19999999999999983e202

    1. Initial program 97.3%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \frac{x}{x + y \cdot \left(1 + c \cdot \left(2 \cdot \left(c \cdot \left(\left(\left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right) + a\right) \cdot \color{blue}{\left(\left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right) + a\right)}\right) + \left(a + \left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right)\right)\right)\right)\right)} \]
    10. Applied egg-rr57.3%

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

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

Alternative 13: 52.3% accurate, 5.5× speedup?

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

\\
\begin{array}{l}
t_1 := a + \left(\frac{-0.6666666666666666}{t} + 0.8333333333333334\right)\\
\mathbf{if}\;z \leq -5 \cdot 10^{-42}:\\
\;\;\;\;1\\

\mathbf{else}:\\
\;\;\;\;\frac{x}{x - y \cdot \left(-1 - c \cdot \left(2 \cdot \left(t\_1 + c \cdot \left(t\_1 \cdot t\_1\right)\right)\right)\right)}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if z < -5.00000000000000003e-42

    1. Initial program 88.0%

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

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

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

    if -5.00000000000000003e-42 < z

    1. Initial program 98.4%

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \frac{x}{x + y \cdot \left(1 + c \cdot \left(2 \cdot \left(c \cdot {\left(a + \color{blue}{\left(0.8333333333333334 + \left(-\frac{0.6666666666666666}{t}\right)\right)}\right)}^{2} + \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)\right)\right)} \]
      7. distribute-neg-frac56.9%

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

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

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

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

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

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

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

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

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

        \[\leadsto \frac{x}{x + y \cdot \left(1 + c \cdot \left(2 \cdot \left(c \cdot \left(\left(\left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right) + a\right) \cdot \color{blue}{\left(\left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right) + a\right)}\right) + \left(a + \left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right)\right)\right)\right)\right)} \]
    10. Applied egg-rr56.9%

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

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

Alternative 14: 52.5% accurate, 5.9× speedup?

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

\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot \left(c \cdot \left(1.6666666666666667 + c \cdot 1.3888888888888888\right) + 1\right)}\\
\mathbf{if}\;c \leq -1 \cdot 10^{+250}:\\
\;\;\;\;1\\

\mathbf{elif}\;c \leq -2.9 \cdot 10^{+162}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;c \leq 1.15 \cdot 10^{-239}:\\
\;\;\;\;1\\

\mathbf{elif}\;c \leq 1.3 \cdot 10^{+114}:\\
\;\;\;\;\frac{x}{x + \left(y + \left(c \cdot 2\right) \cdot \left(a \cdot \left(y + \frac{y}{a} \cdot 0.8333333333333334\right)\right)\right)}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if c < -9.9999999999999992e249 or -2.90000000000000006e162 < c < 1.1499999999999999e-239

    1. Initial program 94.6%

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

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

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

    if -9.9999999999999992e249 < c < -2.90000000000000006e162 or 1.3e114 < c

    1. Initial program 92.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{1.6666666666666667 \cdot c}}} \]
    10. Step-by-step derivation
      1. *-commutative61.3%

        \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{c \cdot 1.6666666666666667}}} \]
    11. Simplified61.3%

      \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{c \cdot 1.6666666666666667}}} \]
    12. Taylor expanded in c around 0 77.1%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + c \cdot \left(1.6666666666666667 + 1.3888888888888888 \cdot c\right)\right)}} \]
    13. Step-by-step derivation
      1. *-commutative77.1%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + c \cdot \left(1.6666666666666667 + \color{blue}{c \cdot 1.3888888888888888}\right)\right)} \]
    14. Simplified77.1%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + c \cdot \left(1.6666666666666667 + c \cdot 1.3888888888888888\right)\right)}} \]

    if 1.1499999999999999e-239 < c < 1.3e114

    1. Initial program 98.6%

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + \left(2 \cdot c\right) \cdot \left(y \cdot \left(0.8333333333333334 + a\right)\right)\right)}} \]
    12. Taylor expanded in a around inf 52.5%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -1 \cdot 10^{+250}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq -2.9 \cdot 10^{+162}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(c \cdot \left(1.6666666666666667 + c \cdot 1.3888888888888888\right) + 1\right)}\\ \mathbf{elif}\;c \leq 1.15 \cdot 10^{-239}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq 1.3 \cdot 10^{+114}:\\ \;\;\;\;\frac{x}{x + \left(y + \left(c \cdot 2\right) \cdot \left(a \cdot \left(y + \frac{y}{a} \cdot 0.8333333333333334\right)\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(c \cdot \left(1.6666666666666667 + c \cdot 1.3888888888888888\right) + 1\right)}\\ \end{array} \]
  5. Add Preprocessing

Alternative 15: 52.4% accurate, 6.6× speedup?

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

\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot \left(c \cdot \left(1.6666666666666667 + c \cdot 1.3888888888888888\right) + 1\right)}\\
\mathbf{if}\;c \leq -2 \cdot 10^{+254}:\\
\;\;\;\;1\\

\mathbf{elif}\;c \leq -7.2 \cdot 10^{+162}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;c \leq 1.25 \cdot 10^{-194}:\\
\;\;\;\;1\\

\mathbf{elif}\;c \leq 4.5 \cdot 10^{+113}:\\
\;\;\;\;\frac{x}{x + \left(y + \left(c \cdot 2\right) \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)\right)}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if c < -1.9999999999999999e254 or -7.19999999999999987e162 < c < 1.2500000000000001e-194

    1. Initial program 94.9%

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

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

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

    if -1.9999999999999999e254 < c < -7.19999999999999987e162 or 4.5000000000000001e113 < c

    1. Initial program 92.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{1.6666666666666667 \cdot c}}} \]
    10. Step-by-step derivation
      1. *-commutative61.3%

        \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{c \cdot 1.6666666666666667}}} \]
    11. Simplified61.3%

      \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{c \cdot 1.6666666666666667}}} \]
    12. Taylor expanded in c around 0 77.1%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + c \cdot \left(1.6666666666666667 + 1.3888888888888888 \cdot c\right)\right)}} \]
    13. Step-by-step derivation
      1. *-commutative77.1%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + c \cdot \left(1.6666666666666667 + \color{blue}{c \cdot 1.3888888888888888}\right)\right)} \]
    14. Simplified77.1%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + c \cdot \left(1.6666666666666667 + c \cdot 1.3888888888888888\right)\right)}} \]

    if 1.2500000000000001e-194 < c < 4.5000000000000001e113

    1. Initial program 98.5%

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

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

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

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

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -2 \cdot 10^{+254}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq -7.2 \cdot 10^{+162}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(c \cdot \left(1.6666666666666667 + c \cdot 1.3888888888888888\right) + 1\right)}\\ \mathbf{elif}\;c \leq 1.25 \cdot 10^{-194}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq 4.5 \cdot 10^{+113}:\\ \;\;\;\;\frac{x}{x + \left(y + \left(c \cdot 2\right) \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(c \cdot \left(1.6666666666666667 + c \cdot 1.3888888888888888\right) + 1\right)}\\ \end{array} \]
  5. Add Preprocessing

Alternative 16: 53.7% accurate, 7.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;c \leq -1 \cdot 10^{+252}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq -7.2 \cdot 10^{+162} \lor \neg \left(c \leq 4.8 \cdot 10^{+131}\right):\\ \;\;\;\;\frac{x}{x + y \cdot \left(c \cdot \left(1.6666666666666667 + c \cdot 1.3888888888888888\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= c -1e+252)
   1.0
   (if (or (<= c -7.2e+162) (not (<= c 4.8e+131)))
     (/
      x
      (+
       x
       (* y (+ (* c (+ 1.6666666666666667 (* c 1.3888888888888888))) 1.0))))
     1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (c <= -1e+252) {
		tmp = 1.0;
	} else if ((c <= -7.2e+162) || !(c <= 4.8e+131)) {
		tmp = x / (x + (y * ((c * (1.6666666666666667 + (c * 1.3888888888888888))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8) :: tmp
    if (c <= (-1d+252)) then
        tmp = 1.0d0
    else if ((c <= (-7.2d+162)) .or. (.not. (c <= 4.8d+131))) then
        tmp = x / (x + (y * ((c * (1.6666666666666667d0 + (c * 1.3888888888888888d0))) + 1.0d0)))
    else
        tmp = 1.0d0
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
	double tmp;
	if (c <= -1e+252) {
		tmp = 1.0;
	} else if ((c <= -7.2e+162) || !(c <= 4.8e+131)) {
		tmp = x / (x + (y * ((c * (1.6666666666666667 + (c * 1.3888888888888888))) + 1.0)));
	} else {
		tmp = 1.0;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	tmp = 0
	if c <= -1e+252:
		tmp = 1.0
	elif (c <= -7.2e+162) or not (c <= 4.8e+131):
		tmp = x / (x + (y * ((c * (1.6666666666666667 + (c * 1.3888888888888888))) + 1.0)))
	else:
		tmp = 1.0
	return tmp
function code(x, y, z, t, a, b, c)
	tmp = 0.0
	if (c <= -1e+252)
		tmp = 1.0;
	elseif ((c <= -7.2e+162) || !(c <= 4.8e+131))
		tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(c * Float64(1.6666666666666667 + Float64(c * 1.3888888888888888))) + 1.0))));
	else
		tmp = 1.0;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (c <= -1e+252)
		tmp = 1.0;
	elseif ((c <= -7.2e+162) || ~((c <= 4.8e+131)))
		tmp = x / (x + (y * ((c * (1.6666666666666667 + (c * 1.3888888888888888))) + 1.0)));
	else
		tmp = 1.0;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[c, -1e+252], 1.0, If[Or[LessEqual[c, -7.2e+162], N[Not[LessEqual[c, 4.8e+131]], $MachinePrecision]], N[(x / N[(x + N[(y * N[(N[(c * N[(1.6666666666666667 + N[(c * 1.3888888888888888), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;c \leq -1 \cdot 10^{+252}:\\
\;\;\;\;1\\

\mathbf{elif}\;c \leq -7.2 \cdot 10^{+162} \lor \neg \left(c \leq 4.8 \cdot 10^{+131}\right):\\
\;\;\;\;\frac{x}{x + y \cdot \left(c \cdot \left(1.6666666666666667 + c \cdot 1.3888888888888888\right) + 1\right)}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if c < -1.0000000000000001e252 or -7.19999999999999987e162 < c < 4.7999999999999999e131

    1. Initial program 96.1%

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

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

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

    if -1.0000000000000001e252 < c < -7.19999999999999987e162 or 4.7999999999999999e131 < c

    1. Initial program 92.2%

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{1.6666666666666667 \cdot c}}} \]
    10. Step-by-step derivation
      1. *-commutative63.9%

        \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{c \cdot 1.6666666666666667}}} \]
    11. Simplified63.9%

      \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{c \cdot 1.6666666666666667}}} \]
    12. Taylor expanded in c around 0 81.0%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + c \cdot \left(1.6666666666666667 + 1.3888888888888888 \cdot c\right)\right)}} \]
    13. Step-by-step derivation
      1. *-commutative81.0%

        \[\leadsto \frac{x}{x + y \cdot \left(1 + c \cdot \left(1.6666666666666667 + \color{blue}{c \cdot 1.3888888888888888}\right)\right)} \]
    14. Simplified81.0%

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + c \cdot \left(1.6666666666666667 + c \cdot 1.3888888888888888\right)\right)}} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification57.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -1 \cdot 10^{+252}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq -7.2 \cdot 10^{+162} \lor \neg \left(c \leq 4.8 \cdot 10^{+131}\right):\\ \;\;\;\;\frac{x}{x + y \cdot \left(c \cdot \left(1.6666666666666667 + c \cdot 1.3888888888888888\right) + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 17: 53.2% accurate, 11.5× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;c \leq 2.65 \cdot 10^{-194}:\\
\;\;\;\;1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if c < 2.6500000000000001e-194

    1. Initial program 94.2%

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

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

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

    if 2.6500000000000001e-194 < c

    1. Initial program 97.1%

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

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

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

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

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

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

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

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

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

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

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

Alternative 18: 52.6% accurate, 12.8× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;c \leq 5.3 \cdot 10^{-194}:\\
\;\;\;\;1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if c < 5.3000000000000002e-194

    1. Initial program 94.2%

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

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

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

    if 5.3000000000000002e-194 < c

    1. Initial program 97.1%

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

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

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

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

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

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

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

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

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \color{blue}{\left(\left(a \cdot c\right) \cdot y\right)}\right)} \]
      2. *-commutative50.7%

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(\color{blue}{\left(c \cdot a\right)} \cdot y\right)\right)} \]
    9. Simplified50.7%

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

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

Alternative 19: 52.4% accurate, 12.8× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;c \leq 2.16 \cdot 10^{-193}:\\
\;\;\;\;1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if c < 2.16e-193

    1. Initial program 94.2%

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

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

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

    if 2.16e-193 < c

    1. Initial program 97.1%

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

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

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

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

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

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

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

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

Alternative 20: 53.0% accurate, 14.4× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;c \leq 5.4 \cdot 10^{+133}:\\
\;\;\;\;1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if c < 5.4000000000000004e133

    1. Initial program 95.6%

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

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

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

    if 5.4000000000000004e133 < c

    1. Initial program 93.8%

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + \left(2 \cdot c\right) \cdot \left(y \cdot \left(0.8333333333333334 + a\right)\right)\right)}} \]
    12. Taylor expanded in c around inf 57.9%

      \[\leadsto \color{blue}{0.5 \cdot \frac{x}{c \cdot \left(y \cdot \left(0.8333333333333334 + a\right)\right)}} \]
    13. Step-by-step derivation
      1. *-commutative57.9%

        \[\leadsto 0.5 \cdot \frac{x}{c \cdot \color{blue}{\left(\left(0.8333333333333334 + a\right) \cdot y\right)}} \]
    14. Simplified57.9%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq 5.4 \cdot 10^{+133}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;0.5 \cdot \frac{x}{c \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)}\\ \end{array} \]
  5. Add Preprocessing

Alternative 21: 52.8% accurate, 16.5× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;c \leq 1.25 \cdot 10^{+179}:\\
\;\;\;\;1\\

\mathbf{else}:\\
\;\;\;\;\frac{x \cdot 0.5}{a \cdot \left(c \cdot y\right)}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if c < 1.25e179

    1. Initial program 95.8%

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

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

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

    if 1.25e179 < c

    1. Initial program 90.6%

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \frac{x}{x + \color{blue}{\left(y + \left(2 \cdot c\right) \cdot \left(y \cdot \left(0.8333333333333334 + a\right)\right)\right)}} \]
    12. Taylor expanded in a around inf 63.8%

      \[\leadsto \color{blue}{0.5 \cdot \frac{x}{a \cdot \left(c \cdot y\right)}} \]
    13. Step-by-step derivation
      1. associate-*r/63.8%

        \[\leadsto \color{blue}{\frac{0.5 \cdot x}{a \cdot \left(c \cdot y\right)}} \]
      2. *-commutative63.8%

        \[\leadsto \frac{0.5 \cdot x}{a \cdot \color{blue}{\left(y \cdot c\right)}} \]
    14. Simplified63.8%

      \[\leadsto \color{blue}{\frac{0.5 \cdot x}{a \cdot \left(y \cdot c\right)}} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification49.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq 1.25 \cdot 10^{+179}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x \cdot 0.5}{a \cdot \left(c \cdot y\right)}\\ \end{array} \]
  5. Add Preprocessing

Alternative 22: 50.2% accurate, 16.5× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;t \leq 1.38 \cdot 10^{+219}:\\
\;\;\;\;1\\

\mathbf{else}:\\
\;\;\;\;\frac{x}{y \cdot \left(\frac{x}{y} + 1\right)}\\


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

    1. Initial program 95.9%

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

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

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

    if 1.3800000000000001e219 < t

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

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

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

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

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

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{1}} \]
    7. Taylor expanded in y around inf 53.0%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq 1.38 \cdot 10^{+219}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{y \cdot \left(\frac{x}{y} + 1\right)}\\ \end{array} \]
  5. Add Preprocessing

Alternative 23: 51.5% accurate, 19.2× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;t \leq 1.2 \cdot 10^{+284}:\\
\;\;\;\;1\\

\mathbf{else}:\\
\;\;\;\;x \cdot \frac{1}{x + y}\\


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

    1. Initial program 95.6%

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

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

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

    if 1.2e284 < t

    1. Initial program 89.2%

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

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

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

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

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

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{1}} \]
    7. Step-by-step derivation
      1. div-inv55.4%

        \[\leadsto \color{blue}{x \cdot \frac{1}{x + y \cdot 1}} \]
      2. *-rgt-identity55.4%

        \[\leadsto x \cdot \frac{1}{x + \color{blue}{y}} \]
    8. Applied egg-rr55.4%

      \[\leadsto \color{blue}{x \cdot \frac{1}{x + y}} \]
  3. Recombined 2 regimes into one program.
  4. Add Preprocessing

Alternative 24: 51.6% accurate, 23.1× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;t \leq 2.4 \cdot 10^{+284}:\\
\;\;\;\;1\\

\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y}\\


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

    1. Initial program 95.6%

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

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

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

    if 2.4000000000000001e284 < t

    1. Initial program 89.2%

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

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

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

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

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

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{1}} \]
    7. Taylor expanded in x around 0 55.4%

      \[\leadsto \frac{x}{\color{blue}{x + y}} \]
  3. Recombined 2 regimes into one program.
  4. Add Preprocessing

Alternative 25: 52.0% accurate, 231.0× speedup?

\[\begin{array}{l} \\ 1 \end{array} \]
(FPCore (x y z t a b c) :precision binary64 1.0)
double code(double x, double y, double z, double t, double a, double b, double c) {
	return 1.0;
}
real(8) function code(x, y, z, t, a, b, c)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    code = 1.0d0
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
	return 1.0;
}
def code(x, y, z, t, a, b, c):
	return 1.0
function code(x, y, z, t, a, b, c)
	return 1.0
end
function tmp = code(x, y, z, t, a, b, c)
	tmp = 1.0;
end
code[x_, y_, z_, t_, a_, b_, c_] := 1.0
\begin{array}{l}

\\
1
\end{array}
Derivation
  1. Initial program 95.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. Simplified95.4%

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

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

Developer Target 1: 95.2% accurate, 0.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := z \cdot \sqrt{t + a}\\ t_2 := a - \frac{5}{6}\\ \mathbf{if}\;t < -2.118326644891581 \cdot 10^{-50}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(a \cdot c + 0.8333333333333334 \cdot c\right) - a \cdot b\right)}}\\ \mathbf{elif}\;t < 5.196588770651547 \cdot 10^{-123}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{t\_1 \cdot \left(\left(3 \cdot t\right) \cdot t\_2\right) - \left(\left(\frac{5}{6} + a\right) \cdot \left(3 \cdot t\right) - 2\right) \cdot \left(t\_2 \cdot \left(\left(b - c\right) \cdot t\right)\right)}{\left(\left(t \cdot t\right) \cdot 3\right) \cdot t\_2}}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{t\_1}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}}\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (let* ((t_1 (* z (sqrt (+ t a)))) (t_2 (- a (/ 5.0 6.0))))
   (if (< t -2.118326644891581e-50)
     (/
      x
      (+
       x
       (* y (exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b)))))))
     (if (< t 5.196588770651547e-123)
       (/
        x
        (+
         x
         (*
          y
          (exp
           (*
            2.0
            (/
             (-
              (* t_1 (* (* 3.0 t) t_2))
              (*
               (- (* (+ (/ 5.0 6.0) a) (* 3.0 t)) 2.0)
               (* t_2 (* (- b c) t))))
             (* (* (* t t) 3.0) t_2)))))))
       (/
        x
        (+
         x
         (*
          y
          (exp
           (*
            2.0
            (-
             (/ t_1 t)
             (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double t_1 = z * sqrt((t + a));
	double t_2 = a - (5.0 / 6.0);
	double tmp;
	if (t < -2.118326644891581e-50) {
		tmp = x / (x + (y * exp((2.0 * (((a * c) + (0.8333333333333334 * c)) - (a * b))))));
	} else if (t < 5.196588770651547e-123) {
		tmp = x / (x + (y * exp((2.0 * (((t_1 * ((3.0 * t) * t_2)) - (((((5.0 / 6.0) + a) * (3.0 * t)) - 2.0) * (t_2 * ((b - c) * t)))) / (((t * t) * 3.0) * t_2))))));
	} else {
		tmp = x / (x + (y * exp((2.0 * ((t_1 / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = z * sqrt((t + a))
    t_2 = a - (5.0d0 / 6.0d0)
    if (t < (-2.118326644891581d-50)) then
        tmp = x / (x + (y * exp((2.0d0 * (((a * c) + (0.8333333333333334d0 * c)) - (a * b))))))
    else if (t < 5.196588770651547d-123) then
        tmp = x / (x + (y * exp((2.0d0 * (((t_1 * ((3.0d0 * t) * t_2)) - (((((5.0d0 / 6.0d0) + a) * (3.0d0 * t)) - 2.0d0) * (t_2 * ((b - c) * t)))) / (((t * t) * 3.0d0) * t_2))))))
    else
        tmp = x / (x + (y * exp((2.0d0 * ((t_1 / t) - ((b - c) * ((a + (5.0d0 / 6.0d0)) - (2.0d0 / (t * 3.0d0)))))))))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
	double t_1 = z * Math.sqrt((t + a));
	double t_2 = a - (5.0 / 6.0);
	double tmp;
	if (t < -2.118326644891581e-50) {
		tmp = x / (x + (y * Math.exp((2.0 * (((a * c) + (0.8333333333333334 * c)) - (a * b))))));
	} else if (t < 5.196588770651547e-123) {
		tmp = x / (x + (y * Math.exp((2.0 * (((t_1 * ((3.0 * t) * t_2)) - (((((5.0 / 6.0) + a) * (3.0 * t)) - 2.0) * (t_2 * ((b - c) * t)))) / (((t * t) * 3.0) * t_2))))));
	} else {
		tmp = x / (x + (y * Math.exp((2.0 * ((t_1 / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	t_1 = z * math.sqrt((t + a))
	t_2 = a - (5.0 / 6.0)
	tmp = 0
	if t < -2.118326644891581e-50:
		tmp = x / (x + (y * math.exp((2.0 * (((a * c) + (0.8333333333333334 * c)) - (a * b))))))
	elif t < 5.196588770651547e-123:
		tmp = x / (x + (y * math.exp((2.0 * (((t_1 * ((3.0 * t) * t_2)) - (((((5.0 / 6.0) + a) * (3.0 * t)) - 2.0) * (t_2 * ((b - c) * t)))) / (((t * t) * 3.0) * t_2))))))
	else:
		tmp = x / (x + (y * math.exp((2.0 * ((t_1 / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))))
	return tmp
function code(x, y, z, t, a, b, c)
	t_1 = Float64(z * sqrt(Float64(t + a)))
	t_2 = Float64(a - Float64(5.0 / 6.0))
	tmp = 0.0
	if (t < -2.118326644891581e-50)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(a * c) + Float64(0.8333333333333334 * c)) - Float64(a * b)))))));
	elseif (t < 5.196588770651547e-123)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(t_1 * Float64(Float64(3.0 * t) * t_2)) - Float64(Float64(Float64(Float64(Float64(5.0 / 6.0) + a) * Float64(3.0 * t)) - 2.0) * Float64(t_2 * Float64(Float64(b - c) * t)))) / Float64(Float64(Float64(t * t) * 3.0) * t_2)))))));
	else
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(t_1 / t) - Float64(Float64(b - c) * Float64(Float64(a + Float64(5.0 / 6.0)) - Float64(2.0 / Float64(t * 3.0))))))))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	t_1 = z * sqrt((t + a));
	t_2 = a - (5.0 / 6.0);
	tmp = 0.0;
	if (t < -2.118326644891581e-50)
		tmp = x / (x + (y * exp((2.0 * (((a * c) + (0.8333333333333334 * c)) - (a * b))))));
	elseif (t < 5.196588770651547e-123)
		tmp = x / (x + (y * exp((2.0 * (((t_1 * ((3.0 * t) * t_2)) - (((((5.0 / 6.0) + a) * (3.0 * t)) - 2.0) * (t_2 * ((b - c) * t)))) / (((t * t) * 3.0) * t_2))))));
	else
		tmp = x / (x + (y * exp((2.0 * ((t_1 / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(z * N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a - N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision]}, If[Less[t, -2.118326644891581e-50], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(a * c), $MachinePrecision] + N[(0.8333333333333334 * c), $MachinePrecision]), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Less[t, 5.196588770651547e-123], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(t$95$1 * N[(N[(3.0 * t), $MachinePrecision] * t$95$2), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(N[(N[(5.0 / 6.0), $MachinePrecision] + a), $MachinePrecision] * N[(3.0 * t), $MachinePrecision]), $MachinePrecision] - 2.0), $MachinePrecision] * N[(t$95$2 * N[(N[(b - c), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(N[(N[(t * t), $MachinePrecision] * 3.0), $MachinePrecision] * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(t$95$1 / t), $MachinePrecision] - N[(N[(b - c), $MachinePrecision] * N[(N[(a + N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision] - N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}

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

\mathbf{elif}\;t < 5.196588770651547 \cdot 10^{-123}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{t\_1 \cdot \left(\left(3 \cdot t\right) \cdot t\_2\right) - \left(\left(\frac{5}{6} + a\right) \cdot \left(3 \cdot t\right) - 2\right) \cdot \left(t\_2 \cdot \left(\left(b - c\right) \cdot t\right)\right)}{\left(\left(t \cdot t\right) \cdot 3\right) \cdot t\_2}}}\\

\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{t\_1}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}}\\


\end{array}
\end{array}

Reproduce

?
herbie shell --seed 2024181 
(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)))))))))))