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

Percentage Accurate: 94.5% → 96.9%
Time: 28.0s
Alternatives: 20
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 20 alternatives:

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

Initial Program: 94.5% accurate, 1.0× speedup?

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

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

Alternative 1: 96.9% accurate, 0.5× speedup?

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

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

\mathbf{else}:\\
\;\;\;\;\frac{x}{{\left(\sqrt[3]{x + y \cdot e^{\left(1.6666666666666667 + 2 \cdot a\right) \cdot \left(c - b\right)}}\right)}^{3}}\\


\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.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. Step-by-step derivation
      1. exp-prod98.0%

        \[\leadsto \frac{x}{x + y \cdot \color{blue}{{\left(e^{2}\right)}^{\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)}}} \]
    3. Simplified99.6%

      \[\leadsto \color{blue}{\frac{x}{x + y \cdot {\left(e^{2}\right)}^{\left(z \cdot \frac{\sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(a + \left(0.8333333333333334 - \frac{2}{t \cdot 3}\right)\right)\right)}}} \]
    4. 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. Simplified54.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. Step-by-step derivation
      1. add-cube-cbrt53.6%

        \[\leadsto \frac{x}{\color{blue}{\left(\sqrt[3]{\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)} \cdot \sqrt[3]{\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)}\right) \cdot \sqrt[3]{\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)}}} \]
      2. pow353.5%

        \[\leadsto \frac{x}{\color{blue}{{\left(\sqrt[3]{\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)}\right)}^{3}}} \]
      3. +-commutative53.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \frac{x}{{\left(\sqrt[3]{x + y \cdot e^{\left(\color{blue}{1.6666666666666667} + 2 \cdot a\right) \cdot \left(c - b\right)}}\right)}^{3}} \]
    11. Simplified79.7%

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

    \[\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 {\left(e^{2}\right)}^{\left(z \cdot \frac{\sqrt{t + a}}{t} + \left(b - c\right) \cdot \left(\left(\frac{2}{t \cdot 3} - 0.8333333333333334\right) - a\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{{\left(\sqrt[3]{x + y \cdot e^{\left(1.6666666666666667 + 2 \cdot a\right) \cdot \left(c - b\right)}}\right)}^{3}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 2: 96.5% accurate, 0.4× speedup?

\[\begin{array}{l} \\ \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)} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (/
  x
  (fma
   y
   (pow
    (exp 2.0)
    (fma
     z
     (/ (sqrt (+ t a)) t)
     (* (+ a (- 0.8333333333333334 (/ 0.6666666666666666 t))) (- c b))))
   x)))
double code(double x, double y, double z, double t, double a, double b, double c) {
	return x / fma(y, pow(exp(2.0), fma(z, (sqrt((t + a)) / t), ((a + (0.8333333333333334 - (0.6666666666666666 / t))) * (c - b)))), x);
}
function code(x, y, z, t, a, b, c)
	return Float64(x / fma(y, (exp(2.0) ^ fma(z, Float64(sqrt(Float64(t + a)) / t), Float64(Float64(a + Float64(0.8333333333333334 - Float64(0.6666666666666666 / t))) * Float64(c - b)))), x))
end
code[x_, y_, z_, t_, a_, b_, c_] := N[(x / N[(y * N[Power[N[Exp[2.0], $MachinePrecision], N[(z * N[(N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision] / t), $MachinePrecision] + N[(N[(a + N[(0.8333333333333334 - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] + x), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\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)}
\end{array}
Derivation
  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. Simplified96.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. Add Preprocessing

Alternative 3: 97.1% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{z \cdot \sqrt{t + a}}{t} + \left(b - c\right) \cdot \left(\frac{2}{t \cdot 3} - \left(a + 0.8333333333333334\right)\right)\\ \mathbf{if}\;t\_1 \leq \infty:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot t\_1}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{{\left(\sqrt[3]{x + y \cdot e^{\left(1.6666666666666667 + 2 \cdot a\right) \cdot \left(c - b\right)}}\right)}^{3}}\\ \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
      (pow
       (cbrt (+ x (* y (exp (* (+ 1.6666666666666667 (* 2.0 a)) (- c b))))))
       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))) / 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 / pow(cbrt((x + (y * exp(((1.6666666666666667 + (2.0 * a)) * (c - b)))))), 3.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 / Math.pow(Math.cbrt((x + (y * Math.exp(((1.6666666666666667 + (2.0 * a)) * (c - b)))))), 3.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 / (cbrt(Float64(x + Float64(y * exp(Float64(Float64(1.6666666666666667 + Float64(2.0 * a)) * Float64(c - b)))))) ^ 3.0));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(N[(N[(z * N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision] + N[(N[(b - c), $MachinePrecision] * N[(N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision] - N[(a + 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[Power[N[Power[N[(x + N[(y * N[Exp[N[(N[(1.6666666666666667 + N[(2.0 * a), $MachinePrecision]), $MachinePrecision] * N[(c - b), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1/3], $MachinePrecision], 3.0], $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}{{\left(\sqrt[3]{x + y \cdot e^{\left(1.6666666666666667 + 2 \cdot a\right) \cdot \left(c - b\right)}}\right)}^{3}}\\


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

    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. Simplified54.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. Step-by-step derivation
      1. add-cube-cbrt53.6%

        \[\leadsto \frac{x}{\color{blue}{\left(\sqrt[3]{\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)} \cdot \sqrt[3]{\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)}\right) \cdot \sqrt[3]{\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)}}} \]
      2. pow353.5%

        \[\leadsto \frac{x}{\color{blue}{{\left(\sqrt[3]{\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)}\right)}^{3}}} \]
      3. +-commutative53.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \frac{x}{{\left(\sqrt[3]{x + y \cdot e^{\left(\color{blue}{1.6666666666666667} + 2 \cdot a\right) \cdot \left(c - b\right)}}\right)}^{3}} \]
    11. Simplified79.7%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{z \cdot \sqrt{t + a}}{t} + \left(b - c\right) \cdot \left(\frac{2}{t \cdot 3} - \left(a + 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}{{\left(\sqrt[3]{x + y \cdot e^{\left(1.6666666666666667 + 2 \cdot a\right) \cdot \left(c - b\right)}}\right)}^{3}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 4: 97.0% accurate, 0.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{z \cdot \sqrt{t + a}}{t} + \left(b - c\right) \cdot \left(\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^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (let* ((t_1
         (+
          (/ (* z (sqrt (+ t a))) t)
          (* (- b c) (- (/ 2.0 (* t 3.0)) (+ a 0.8333333333333334))))))
   (if (<= t_1 INFINITY)
     (/ x (+ x (* y (exp (* 2.0 t_1)))))
     (/
      x
      (+
       x
       (*
        y
        (exp
         (*
          2.0
          (* b (- (/ 0.6666666666666666 t) (+ a 0.8333333333333334)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double t_1 = ((z * sqrt((t + a))) / t) + ((b - c) * ((2.0 / (t * 3.0)) - (a + 0.8333333333333334)));
	double tmp;
	if (t_1 <= ((double) INFINITY)) {
		tmp = x / (x + (y * exp((2.0 * t_1))));
	} else {
		tmp = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
	}
	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((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	t_1 = ((z * math.sqrt((t + a))) / t) + ((b - c) * ((2.0 / (t * 3.0)) - (a + 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((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))))
	return tmp
function code(x, y, z, t, a, b, c)
	t_1 = Float64(Float64(Float64(z * sqrt(Float64(t + a))) / t) + Float64(Float64(b - c) * Float64(Float64(2.0 / Float64(t * 3.0)) - Float64(a + 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(2.0 * Float64(b * Float64(Float64(0.6666666666666666 / t) - Float64(a + 0.8333333333333334))))))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	t_1 = ((z * sqrt((t + a))) / t) + ((b - c) * ((2.0 / (t * 3.0)) - (a + 0.8333333333333334)));
	tmp = 0.0;
	if (t_1 <= Inf)
		tmp = x / (x + (y * exp((2.0 * t_1))));
	else
		tmp = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(N[(N[(z * N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision] + N[(N[(b - c), $MachinePrecision] * N[(N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision] - N[(a + 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[(2.0 * N[(b * N[(N[(0.6666666666666666 / t), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \frac{z \cdot \sqrt{t + a}}{t} + \left(b - c\right) \cdot \left(\frac{2}{t \cdot 3} - \left(a + 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^{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 (-.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.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

    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 74.2%

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{z \cdot \sqrt{t + a}}{t} + \left(b - c\right) \cdot \left(\frac{2}{t \cdot 3} - \left(a + 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^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 5: 82.0% accurate, 1.0× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;b \leq -5 \cdot 10^{+82} \lor \neg \left(b \leq 7 \cdot 10^{+109}\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(\frac{z \cdot \sqrt{t + a}}{t} + a \cdot \left(c - b\right)\right)}}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if b < -5.00000000000000015e82 or 6.99999999999999966e109 < b

    1. Initial program 89.8%

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

    if -5.00000000000000015e82 < b < 6.99999999999999966e109

    1. Initial program 93.7%

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

      \[\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)}} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification87.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -5 \cdot 10^{+82} \lor \neg \left(b \leq 7 \cdot 10^{+109}\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(\frac{z \cdot \sqrt{t + a}}{t} + a \cdot \left(c - b\right)\right)}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 6: 73.6% accurate, 1.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\ \mathbf{if}\;b \leq -3.3 \cdot 10^{-31}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq -1.6 \cdot 10^{-279}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right)\right)}}\\ \mathbf{elif}\;b \leq 1.4 \cdot 10^{-69}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\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
            (exp
             (*
              2.0
              (*
               b
               (- (/ 0.6666666666666666 t) (+ a 0.8333333333333334))))))))))
   (if (<= b -3.3e-31)
     t_1
     (if (<= b -1.6e-279)
       (/
        x
        (+
         x
         (*
          y
          (exp
           (* 2.0 (* c (+ 0.8333333333333334 (/ -0.6666666666666666 t))))))))
       (if (<= b 1.4e-69) (/ x (+ x (* y (exp (* 2.0 (* a c)))))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c) {
	double t_1 = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
	double tmp;
	if (b <= -3.3e-31) {
		tmp = t_1;
	} else if (b <= -1.6e-279) {
		tmp = x / (x + (y * exp((2.0 * (c * (0.8333333333333334 + (-0.6666666666666666 / t)))))));
	} else if (b <= 1.4e-69) {
		tmp = x / (x + (y * exp((2.0 * (a * c)))));
	} 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 * exp((2.0d0 * (b * ((0.6666666666666666d0 / t) - (a + 0.8333333333333334d0)))))))
    if (b <= (-3.3d-31)) then
        tmp = t_1
    else if (b <= (-1.6d-279)) then
        tmp = x / (x + (y * exp((2.0d0 * (c * (0.8333333333333334d0 + ((-0.6666666666666666d0) / t)))))))
    else if (b <= 1.4d-69) then
        tmp = x / (x + (y * exp((2.0d0 * (a * c)))))
    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 * Math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
	double tmp;
	if (b <= -3.3e-31) {
		tmp = t_1;
	} else if (b <= -1.6e-279) {
		tmp = x / (x + (y * Math.exp((2.0 * (c * (0.8333333333333334 + (-0.6666666666666666 / t)))))));
	} else if (b <= 1.4e-69) {
		tmp = x / (x + (y * Math.exp((2.0 * (a * c)))));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c):
	t_1 = x / (x + (y * math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))))
	tmp = 0
	if b <= -3.3e-31:
		tmp = t_1
	elif b <= -1.6e-279:
		tmp = x / (x + (y * math.exp((2.0 * (c * (0.8333333333333334 + (-0.6666666666666666 / t)))))))
	elif b <= 1.4e-69:
		tmp = x / (x + (y * math.exp((2.0 * (a * c)))))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c)
	t_1 = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(b * Float64(Float64(0.6666666666666666 / t) - Float64(a + 0.8333333333333334))))))))
	tmp = 0.0
	if (b <= -3.3e-31)
		tmp = t_1;
	elseif (b <= -1.6e-279)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(c * Float64(0.8333333333333334 + Float64(-0.6666666666666666 / t))))))));
	elseif (b <= 1.4e-69)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * c))))));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	t_1 = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
	tmp = 0.0;
	if (b <= -3.3e-31)
		tmp = t_1;
	elseif (b <= -1.6e-279)
		tmp = x / (x + (y * exp((2.0 * (c * (0.8333333333333334 + (-0.6666666666666666 / t)))))));
	elseif (b <= 1.4e-69)
		tmp = x / (x + (y * exp((2.0 * (a * c)))));
	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[Exp[N[(2.0 * N[(b * N[(N[(0.6666666666666666 / t), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -3.3e-31], t$95$1, If[LessEqual[b, -1.6e-279], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(c * N[(0.8333333333333334 + N[(-0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.4e-69], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\
\mathbf{if}\;b \leq -3.3 \cdot 10^{-31}:\\
\;\;\;\;t\_1\\

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

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -3.2999999999999999e-31 or 1.3999999999999999e-69 < 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 83.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/83.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-eval83.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. Simplified83.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)}}} \]

    if -3.2999999999999999e-31 < b < -1.5999999999999999e-279

    1. Initial program 95.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 82.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+82.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/82.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-eval82.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. Simplified82.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 71.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/71.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-eval71.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-neg71.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-frac71.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-eval71.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. Simplified71.0%

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

    if -1.5999999999999999e-279 < b < 1.3999999999999999e-69

    1. Initial program 92.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 83.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+83.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/83.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-eval83.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. Simplified83.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 inf 78.0%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -3.3 \cdot 10^{-31}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\ \mathbf{elif}\;b \leq -1.6 \cdot 10^{-279}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right)\right)}}\\ \mathbf{elif}\;b \leq 1.4 \cdot 10^{-69}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\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 7: 79.7% accurate, 1.8× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;b \leq -2 \cdot 10^{-30} \lor \neg \left(b \leq 5.8 \cdot 10^{+50}\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(0.8333333333333334 + \left(a - \frac{0.6666666666666666}{t}\right)\right)\right)}}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if b < -2e-30 or 5.8e50 < 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 86.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/86.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-eval86.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. Simplified86.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)}}} \]

    if -2e-30 < b < 5.8e50

    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 81.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+81.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/81.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-eval81.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. Simplified81.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 simplification83.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2 \cdot 10^{-30} \lor \neg \left(b \leq 5.8 \cdot 10^{+50}\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(0.8333333333333334 + \left(a - \frac{0.6666666666666666}{t}\right)\right)\right)}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 8: 63.1% accurate, 1.9× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;b \leq -2.8 \cdot 10^{-23} \lor \neg \left(b \leq 1.45 \cdot 10^{-70}\right):\\
\;\;\;\;\frac{x}{x + y \cdot e^{-2 \cdot \left(b \cdot \left(a + 0.8333333333333334\right)\right)}}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if b < -2.7999999999999997e-23 or 1.44999999999999986e-70 < b

    1. Initial program 91.7%

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

      \[\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/83.1%

        \[\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-eval83.1%

        \[\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. Simplified83.1%

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

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

    if -2.7999999999999997e-23 < b < 1.44999999999999986e-70

    1. Initial program 93.0%

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

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

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

Alternative 9: 73.2% accurate, 1.9× speedup?

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

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

\mathbf{elif}\;t \leq 2.5 \cdot 10^{-7}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\

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


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

    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 85.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+85.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/85.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-eval85.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. Simplified85.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 85.2%

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

    if -3e7 < t < 2.49999999999999989e-7

    1. Initial program 91.1%

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

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

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

    if 2.49999999999999989e-7 < t

    1. Initial program 92.6%

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

      \[\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/71.9%

        \[\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-eval71.9%

        \[\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. Simplified71.9%

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

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

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

Alternative 10: 61.2% accurate, 1.9× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;b \leq -1950:\\
\;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -1950

    1. Initial program 87.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 84.1%

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

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

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

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

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

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

        \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{b \cdot -1.6666666666666667}}} \]
    9. Simplified71.8%

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

    if -1950 < b < 1.05999999999999994e27

    1. Initial program 93.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 79.1%

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

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

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

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

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

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

    if 1.05999999999999994e27 < b

    1. Initial program 94.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. Simplified95.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 63.9%

      \[\leadsto \color{blue}{1} \]
  3. Recombined 3 regimes into one program.
  4. Add Preprocessing

Alternative 11: 51.4% accurate, 1.9× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;t \leq -1.4 \cdot 10^{-243}:\\
\;\;\;\;1\\

\mathbf{elif}\;t \leq 5.8 \cdot 10^{-12}:\\
\;\;\;\;\frac{x}{a \cdot \left(\frac{x + y}{a} - -2 \cdot \left(y \cdot c\right)\right)}\\

\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if t < -1.39999999999999997e-243

    1. Initial program 95.7%

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

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

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

    if -1.39999999999999997e-243 < t < 5.8000000000000003e-12

    1. Initial program 89.7%

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

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

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

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

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot a\right)\right)}} \]
    10. Taylor expanded in a around -inf 54.1%

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

        \[\leadsto \frac{x}{\color{blue}{\left(-1 \cdot a\right) \cdot \left(-2 \cdot \left(c \cdot y\right) + -1 \cdot \frac{x + y}{a}\right)}} \]
      2. neg-mul-154.1%

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

        \[\leadsto \frac{x}{\left(-a\right) \cdot \left(-2 \cdot \left(c \cdot y\right) + \color{blue}{\left(-\frac{x + y}{a}\right)}\right)} \]
      4. unsub-neg54.1%

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

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

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

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

    if 5.8000000000000003e-12 < t

    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 b around inf 72.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/72.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-eval72.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. Simplified72.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 71.0%

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

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

        \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{b \cdot -1.6666666666666667}}} \]
    9. Simplified66.3%

      \[\leadsto \frac{x}{x + y \cdot e^{\color{blue}{b \cdot -1.6666666666666667}}} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification62.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.4 \cdot 10^{-243}:\\ \;\;\;\;1\\ \mathbf{elif}\;t \leq 5.8 \cdot 10^{-12}:\\ \;\;\;\;\frac{x}{a \cdot \left(\frac{x + y}{a} - -2 \cdot \left(y \cdot c\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 12: 49.4% accurate, 6.4× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;b \leq -3 \cdot 10^{+205}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(-2 \cdot \left(b \cdot \left(a + 0.8333333333333334\right)\right) + 1\right)}\\

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

\mathbf{elif}\;b \leq 1.02 \cdot 10^{-127}:\\
\;\;\;\;\frac{x}{x + \left(y - 2 \cdot \left(b \cdot \left(y \cdot \frac{t \cdot \left(a + 0.8333333333333334\right) - 0.6666666666666666}{t}\right)\right)\right)}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if b < -2.9999999999999999e205

    1. Initial program 83.5%

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

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

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + -2 \cdot \left(b \cdot \left(0.8333333333333334 + a\right)\right)\right)}} \]
    8. Step-by-step derivation
      1. +-commutative68.0%

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

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

    if -2.9999999999999999e205 < b < -6.40000000000000042e-151

    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 c around inf 64.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+64.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/64.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-eval64.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. Simplified64.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)}}} \]
    6. Taylor expanded in a around inf 53.2%

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

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

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

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot a\right)\right)}} \]
    10. Taylor expanded in a around -inf 59.0%

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

        \[\leadsto \frac{x}{\color{blue}{\left(-1 \cdot a\right) \cdot \left(-2 \cdot \left(c \cdot y\right) + -1 \cdot \frac{x + y}{a}\right)}} \]
      2. neg-mul-159.0%

        \[\leadsto \frac{x}{\color{blue}{\left(-a\right)} \cdot \left(-2 \cdot \left(c \cdot y\right) + -1 \cdot \frac{x + y}{a}\right)} \]
      3. mul-1-neg59.0%

        \[\leadsto \frac{x}{\left(-a\right) \cdot \left(-2 \cdot \left(c \cdot y\right) + \color{blue}{\left(-\frac{x + y}{a}\right)}\right)} \]
      4. unsub-neg59.0%

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

        \[\leadsto \frac{x}{\left(-a\right) \cdot \left(\color{blue}{\left(c \cdot y\right) \cdot -2} - \frac{x + y}{a}\right)} \]
      6. +-commutative59.0%

        \[\leadsto \frac{x}{\left(-a\right) \cdot \left(\left(c \cdot y\right) \cdot -2 - \frac{\color{blue}{y + x}}{a}\right)} \]
    12. Simplified59.0%

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

    if -6.40000000000000042e-151 < b < 1.02000000000000008e-127

    1. Initial program 93.7%

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

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

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

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

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

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

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

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

      \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(y \cdot \color{blue}{\frac{0.6666666666666666 + -1 \cdot \left(t \cdot \left(0.8333333333333334 + a\right)\right)}{t}}\right)\right)\right)} \]
    10. Step-by-step derivation
      1. mul-1-neg52.5%

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

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

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

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

    if 1.02000000000000008e-127 < b

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

      \[\leadsto \color{blue}{1} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification59.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -3 \cdot 10^{+205}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(-2 \cdot \left(b \cdot \left(a + 0.8333333333333334\right)\right) + 1\right)}\\ \mathbf{elif}\;b \leq -6.4 \cdot 10^{-151}:\\ \;\;\;\;\frac{x}{a \cdot \left(\frac{x + y}{a} - -2 \cdot \left(y \cdot c\right)\right)}\\ \mathbf{elif}\;b \leq 1.02 \cdot 10^{-127}:\\ \;\;\;\;\frac{x}{x + \left(y - 2 \cdot \left(b \cdot \left(y \cdot \frac{t \cdot \left(a + 0.8333333333333334\right) - 0.6666666666666666}{t}\right)\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 13: 51.4% accurate, 9.2× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;b \leq -4.4 \cdot 10^{+206}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(-2 \cdot \left(b \cdot \left(a + 0.8333333333333334\right)\right) + 1\right)}\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -4.40000000000000003e206

    1. Initial program 83.5%

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

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

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + -2 \cdot \left(b \cdot \left(0.8333333333333334 + a\right)\right)\right)}} \]
    8. Step-by-step derivation
      1. +-commutative68.0%

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

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

    if -4.40000000000000003e206 < b < -6e-151

    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 c around inf 64.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+64.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/64.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-eval64.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. Simplified64.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)}}} \]
    6. Taylor expanded in a around inf 53.2%

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

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

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

      \[\leadsto \frac{x}{x + y \cdot \color{blue}{\left(1 + 2 \cdot \left(c \cdot a\right)\right)}} \]
    10. Taylor expanded in a around -inf 59.0%

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

        \[\leadsto \frac{x}{\color{blue}{\left(-1 \cdot a\right) \cdot \left(-2 \cdot \left(c \cdot y\right) + -1 \cdot \frac{x + y}{a}\right)}} \]
      2. neg-mul-159.0%

        \[\leadsto \frac{x}{\color{blue}{\left(-a\right)} \cdot \left(-2 \cdot \left(c \cdot y\right) + -1 \cdot \frac{x + y}{a}\right)} \]
      3. mul-1-neg59.0%

        \[\leadsto \frac{x}{\left(-a\right) \cdot \left(-2 \cdot \left(c \cdot y\right) + \color{blue}{\left(-\frac{x + y}{a}\right)}\right)} \]
      4. unsub-neg59.0%

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

        \[\leadsto \frac{x}{\left(-a\right) \cdot \left(\color{blue}{\left(c \cdot y\right) \cdot -2} - \frac{x + y}{a}\right)} \]
      6. +-commutative59.0%

        \[\leadsto \frac{x}{\left(-a\right) \cdot \left(\left(c \cdot y\right) \cdot -2 - \frac{\color{blue}{y + x}}{a}\right)} \]
    12. Simplified59.0%

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

    if -6e-151 < b

    1. Initial program 93.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. Simplified97.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 56.1%

      \[\leadsto \color{blue}{1} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification57.9%

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

Alternative 14: 54.5% accurate, 11.5× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.6 \cdot 10^{+79}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(-2 \cdot \left(b \cdot \left(a + 0.8333333333333334\right)\right) + 1\right)}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if b < -1.60000000000000001e79

    1. Initial program 85.5%

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

      \[\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/87.9%

        \[\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-eval87.9%

        \[\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. Simplified87.9%

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

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

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

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

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

    if -1.60000000000000001e79 < b

    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. Simplified97.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 54.4%

      \[\leadsto \color{blue}{1} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification55.0%

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

Alternative 15: 53.5% accurate, 11.5× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;b \leq -1 \cdot 10^{+191}:\\
\;\;\;\;0.5 \cdot \frac{x}{b \cdot \left(y \cdot \left(\frac{0.6666666666666666}{t} + \left(-0.8333333333333334 - a\right)\right)\right)}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if b < -1.00000000000000007e191

    1. Initial program 84.5%

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

      \[\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/93.9%

        \[\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-eval93.9%

        \[\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. Simplified93.9%

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{0.5 \cdot \frac{x}{b \cdot \left(y \cdot \left(0.6666666666666666 \cdot \frac{1}{t} - \left(0.8333333333333334 + a\right)\right)\right)}} \]
    10. Step-by-step derivation
      1. associate--r+59.0%

        \[\leadsto 0.5 \cdot \frac{x}{b \cdot \left(y \cdot \color{blue}{\left(\left(0.6666666666666666 \cdot \frac{1}{t} - 0.8333333333333334\right) - a\right)}\right)} \]
      2. sub-neg59.0%

        \[\leadsto 0.5 \cdot \frac{x}{b \cdot \left(y \cdot \left(\color{blue}{\left(0.6666666666666666 \cdot \frac{1}{t} + \left(-0.8333333333333334\right)\right)} - a\right)\right)} \]
      3. associate-*r/59.0%

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

        \[\leadsto 0.5 \cdot \frac{x}{b \cdot \left(y \cdot \left(\left(\frac{\color{blue}{0.6666666666666666}}{t} + \left(-0.8333333333333334\right)\right) - a\right)\right)} \]
      5. metadata-eval59.0%

        \[\leadsto 0.5 \cdot \frac{x}{b \cdot \left(y \cdot \left(\left(\frac{0.6666666666666666}{t} + \color{blue}{-0.8333333333333334}\right) - a\right)\right)} \]
      6. associate-+r-59.0%

        \[\leadsto 0.5 \cdot \frac{x}{b \cdot \left(y \cdot \color{blue}{\left(\frac{0.6666666666666666}{t} + \left(-0.8333333333333334 - a\right)\right)}\right)} \]
    11. Simplified59.0%

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

    if -1.00000000000000007e191 < b

    1. Initial program 93.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. Simplified96.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 53.3%

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

Alternative 16: 53.4% accurate, 12.8× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.7 \cdot 10^{+189}:\\
\;\;\;\;\frac{x}{x - \left(2 \cdot \left(b \cdot \left(y \cdot a\right)\right) - y\right)}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if b < -1.69999999999999992e189

    1. Initial program 84.5%

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

      \[\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/93.9%

        \[\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-eval93.9%

        \[\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. Simplified93.9%

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

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

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

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

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

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

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

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

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

        \[\leadsto \frac{x}{x + \left(y + 2 \cdot \left(b \cdot \color{blue}{\left(\left(-1 \cdot a\right) \cdot y\right)}\right)\right)} \]
      2. neg-mul-156.0%

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

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

    if -1.69999999999999992e189 < b

    1. Initial program 93.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. Simplified96.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 53.3%

      \[\leadsto \color{blue}{1} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification53.6%

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

Alternative 17: 53.0% accurate, 12.8× speedup?

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

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

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


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

    1. Initial program 91.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. Simplified96.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 55.5%

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

    if 1.85000000000000001e-93 < c

    1. Initial program 92.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 70.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+70.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/70.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-eval70.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. Simplified70.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 61.0%

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

      \[\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*49.7%

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

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

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

Alternative 18: 53.3% accurate, 12.8× speedup?

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

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

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


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

    1. Initial program 91.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. Simplified96.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 55.5%

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

    if 2.15000000000000007e-92 < c

    1. Initial program 92.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 70.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+70.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/70.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-eval70.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. Simplified70.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 61.0%

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

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

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

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

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

Alternative 19: 52.5% accurate, 16.5× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;b \leq -5 \cdot 10^{+191}:\\
\;\;\;\;-0.5 \cdot \frac{\frac{x}{a}}{y \cdot b}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if b < -5.0000000000000002e191

    1. Initial program 84.5%

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

      \[\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/93.9%

        \[\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-eval93.9%

        \[\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. Simplified93.9%

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

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

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

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

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

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

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

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

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

        \[\leadsto -0.5 \cdot \color{blue}{\frac{\frac{x}{a}}{b \cdot y}} \]
      2. *-commutative51.6%

        \[\leadsto -0.5 \cdot \frac{\frac{x}{a}}{\color{blue}{y \cdot b}} \]
    11. Simplified51.6%

      \[\leadsto \color{blue}{-0.5 \cdot \frac{\frac{x}{a}}{y \cdot b}} \]

    if -5.0000000000000002e191 < b

    1. Initial program 93.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. Simplified96.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 53.3%

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

Alternative 20: 52.1% 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 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. Simplified96.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 49.7%

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

Developer Target 1: 95.5% 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 2024157 
(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)))))))))))