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

Percentage Accurate: 94.1% → 97.3%
Time: 25.8s
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.1% 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: 97.3% accurate, 0.4× speedup?

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

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

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


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

    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 t around 0 86.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\frac{\sqrt{a} \cdot z - -0.6666666666666666 \cdot \left(b - c\right)}{t}}}} \]
  3. Recombined 2 regimes into one program.
  4. Final 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}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\left(\mathsf{fma}\left(z, \frac{\sqrt{t + a}}{t}, \left(b - c\right) \cdot \left(\left(\frac{0.6666666666666666}{t} - 0.8333333333333334\right) - a\right)\right)\right)}, x\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{t}}}\\ \end{array} \]
  5. Add Preprocessing

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

\\
\begin{array}{l}
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}{x + y \cdot e^{2 \cdot \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{t}}}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if (-.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.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. Step-by-step derivation
      1. exp-prod98.4%

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

      \[\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. Add Preprocessing
    3. Taylor expanded in t around 0 86.2%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\frac{\sqrt{a} \cdot z - -0.6666666666666666 \cdot \left(b - c\right)}{t}}}} \]
  3. Recombined 2 regimes into one program.
  4. Final 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}{x + y \cdot e^{2 \cdot \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{t}}}\\ \end{array} \]
  5. Add Preprocessing

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

\\
\begin{array}{l}
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 \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{t}}}\\


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

    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 t around 0 86.2%

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

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

Alternative 4: 88.1% accurate, 1.0× speedup?

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

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

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


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

    1. Initial program 94.6%

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

    if 2.9000000000000001e-31 < t

    1. Initial program 96.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 t around inf 96.2%

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

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

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

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

\mathbf{elif}\;b \leq -2.7 \cdot 10^{-65}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{c \cdot -0.6666666666666666}{t}}}\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -4.2e-10 or 3.7999999999999999e-50 < b

    1. Initial program 96.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 85.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/85.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-eval85.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)}} \]
      3. +-commutative85.9%

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

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

    if -4.2e-10 < b < -2.6999999999999999e-65

    1. Initial program 94.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 t around 0 69.1%

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

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \frac{\color{blue}{-0.6666666666666666 \cdot c}}{t}}} \]
    5. Step-by-step derivation
      1. *-commutative79.6%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \frac{\color{blue}{c \cdot -0.6666666666666666}}{t}}} \]
    6. Simplified79.6%

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

    if -2.6999999999999999e-65 < b < 3.7999999999999999e-50

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -4.2 \cdot 10^{-10}:\\ \;\;\;\;\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 -2.7 \cdot 10^{-65}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{c \cdot -0.6666666666666666}{t}}}\\ \mathbf{elif}\;b \leq 3.8 \cdot 10^{-50}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 6: 64.8% accurate, 1.8× speedup?

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

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

\mathbf{elif}\;t \leq 2.1 \cdot 10^{+17}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{c \cdot -0.6666666666666666}{t}}}\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if t < -3.40000000000000003e-103

    1. Initial program 96.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. Simplified100.0%

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

      \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(\left(c - b\right) \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}, x\right)} \]
    5. Step-by-step derivation
      1. *-commutative96.3%

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

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

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

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

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

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

        \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(\left(c - b\right) \cdot a\right)}}, x\right)} \]
    9. Simplified92.5%

      \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(\left(c - b\right) \cdot a\right)}}, x\right)} \]
    10. Taylor expanded in c around 0 74.0%

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

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

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

    if -3.40000000000000003e-103 < t < 2.1e17

    1. Initial program 94.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 t around 0 77.0%

      \[\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 c around inf 63.3%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \frac{\color{blue}{-0.6666666666666666 \cdot c}}{t}}} \]
    5. Step-by-step derivation
      1. *-commutative63.3%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \frac{\color{blue}{c \cdot -0.6666666666666666}}{t}}} \]
    6. Simplified63.3%

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

    if 2.1e17 < t < 1.65e55

    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 86.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. +-commutative86.2%

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

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

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

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

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

    if 1.65e55 < t

    1. Initial program 96.1%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Alternative 7: 79.0% accurate, 1.8× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;b \leq -70000000 \lor \neg \left(b \leq 7.5 \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(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if b < -7e7 or 7.5e-50 < b

    1. Initial program 96.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 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)}} \]
      3. +-commutative86.3%

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

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

    if -7e7 < b < 7.5e-50

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

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

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

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

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

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

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

Alternative 8: 60.7% accurate, 1.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -1.2 \cdot 10^{+44}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\ \mathbf{elif}\;b \leq -2.25 \cdot 10^{-128}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{b \cdot \left(a \cdot -2\right)}}\\ \mathbf{elif}\;b \leq 9 \cdot 10^{+113}:\\ \;\;\;\;\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 -1.2e+44)
   (/ x (+ x (* y (exp (* b -1.6666666666666667)))))
   (if (<= b -2.25e-128)
     (/ x (+ x (* y (exp (* b (* a -2.0))))))
     (if (<= b 9e+113) (/ 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 <= -1.2e+44) {
		tmp = x / (x + (y * exp((b * -1.6666666666666667))));
	} else if (b <= -2.25e-128) {
		tmp = x / (x + (y * exp((b * (a * -2.0)))));
	} else if (b <= 9e+113) {
		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 <= (-1.2d+44)) then
        tmp = x / (x + (y * exp((b * (-1.6666666666666667d0)))))
    else if (b <= (-2.25d-128)) then
        tmp = x / (x + (y * exp((b * (a * (-2.0d0))))))
    else if (b <= 9d+113) 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 <= -1.2e+44) {
		tmp = x / (x + (y * Math.exp((b * -1.6666666666666667))));
	} else if (b <= -2.25e-128) {
		tmp = x / (x + (y * Math.exp((b * (a * -2.0)))));
	} else if (b <= 9e+113) {
		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 <= -1.2e+44:
		tmp = x / (x + (y * math.exp((b * -1.6666666666666667))))
	elif b <= -2.25e-128:
		tmp = x / (x + (y * math.exp((b * (a * -2.0)))))
	elif b <= 9e+113:
		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 <= -1.2e+44)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(b * -1.6666666666666667)))));
	elseif (b <= -2.25e-128)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(b * Float64(a * -2.0))))));
	elseif (b <= 9e+113)
		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 <= -1.2e+44)
		tmp = x / (x + (y * exp((b * -1.6666666666666667))));
	elseif (b <= -2.25e-128)
		tmp = x / (x + (y * exp((b * (a * -2.0)))));
	elseif (b <= 9e+113)
		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, -1.2e+44], N[(x / N[(x + N[(y * N[Exp[N[(b * -1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -2.25e-128], N[(x / N[(x + N[(y * N[Exp[N[(b * N[(a * -2.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 9e+113], 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 -1.2 \cdot 10^{+44}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\

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

\mathbf{elif}\;b \leq 9 \cdot 10^{+113}:\\
\;\;\;\;\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 4 regimes
  2. if b < -1.20000000000000007e44

    1. Initial program 93.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -1.20000000000000007e44 < b < -2.25e-128

    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. Simplified93.4%

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

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

        \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(\left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right) \cdot \left(c - b\right)\right)}}, x\right)} \]
      2. +-commutative84.9%

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

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

        \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\left(\left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right) \cdot \left(c - b\right)\right)}, x\right)} \]
    6. Simplified84.9%

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

      \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(a \cdot \left(c - b\right)\right)}}, x\right)} \]
    8. Step-by-step derivation
      1. *-commutative59.3%

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

      \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(\left(c - b\right) \cdot a\right)}}, x\right)} \]
    10. Taylor expanded in c around 0 60.7%

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

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

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

    if -2.25e-128 < b < 9.0000000000000001e113

    1. Initial program 97.6%

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

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

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

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

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

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

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

    if 9.0000000000000001e113 < b

    1. Initial program 95.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. Simplified100.0%

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

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

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

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

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

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

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

      \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(a \cdot \left(c - b\right)\right)}}, x\right)} \]
    8. Step-by-step derivation
      1. *-commutative56.7%

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.2 \cdot 10^{+44}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\ \mathbf{elif}\;b \leq -2.25 \cdot 10^{-128}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{b \cdot \left(a \cdot -2\right)}}\\ \mathbf{elif}\;b \leq 9 \cdot 10^{+113}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 9: 63.6% accurate, 1.9× speedup?

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -3.0000000000000001e-113 < b < 2.99999999999999996e183

    1. Initial program 96.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 78.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. +-commutative78.1%

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

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

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

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

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

    if 2.99999999999999996e183 < b

    1. Initial program 96.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. Simplified100.0%

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

      \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(\left(c - b\right) \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}, x\right)} \]
    5. Step-by-step derivation
      1. *-commutative100.0%

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

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

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

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

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

      \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(a \cdot \left(c - b\right)\right)}}, x\right)} \]
    8. Step-by-step derivation
      1. *-commutative51.7%

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

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

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

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

Alternative 10: 61.4% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -1650000000000:\\ \;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\ \mathbf{elif}\;b \leq 1.35 \cdot 10^{+113}:\\ \;\;\;\;\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 -1650000000000.0)
   (/ x (+ x (* y (exp (* b -1.6666666666666667)))))
   (if (<= b 1.35e+113) (/ 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 <= -1650000000000.0) {
		tmp = x / (x + (y * exp((b * -1.6666666666666667))));
	} else if (b <= 1.35e+113) {
		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 <= (-1650000000000.0d0)) then
        tmp = x / (x + (y * exp((b * (-1.6666666666666667d0)))))
    else if (b <= 1.35d+113) 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 <= -1650000000000.0) {
		tmp = x / (x + (y * Math.exp((b * -1.6666666666666667))));
	} else if (b <= 1.35e+113) {
		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 <= -1650000000000.0:
		tmp = x / (x + (y * math.exp((b * -1.6666666666666667))))
	elif b <= 1.35e+113:
		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 <= -1650000000000.0)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(b * -1.6666666666666667)))));
	elseif (b <= 1.35e+113)
		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 <= -1650000000000.0)
		tmp = x / (x + (y * exp((b * -1.6666666666666667))));
	elseif (b <= 1.35e+113)
		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, -1650000000000.0], N[(x / N[(x + N[(y * N[Exp[N[(b * -1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.35e+113], 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 -1650000000000:\\
\;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\

\mathbf{elif}\;b \leq 1.35 \cdot 10^{+113}:\\
\;\;\;\;\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 < -1.65e12

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

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

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

        \[\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)}} \]
      3. +-commutative86.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -1.65e12 < b < 1.35000000000000006e113

    1. Initial program 96.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 78.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. +-commutative78.7%

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

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

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

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

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

    if 1.35000000000000006e113 < b

    1. Initial program 95.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. Simplified100.0%

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

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

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

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

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

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

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

      \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(a \cdot \left(c - b\right)\right)}}, x\right)} \]
    8. Step-by-step derivation
      1. *-commutative56.7%

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

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

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

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

Alternative 11: 56.0% accurate, 1.9× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;t \leq -1.72 \cdot 10^{-164} \lor \neg \left(t \leq 2.25 \cdot 10^{+32}\right):\\
\;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if t < -1.72000000000000003e-164 or 2.2500000000000002e32 < t

    1. Initial program 96.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 77.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/77.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-eval77.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)}} \]
      3. +-commutative77.0%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -1.72000000000000003e-164 < t < 2.2500000000000002e32

    1. Initial program 94.6%

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

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

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

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

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

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

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

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

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

        \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(\left(c - b\right) \cdot a\right)}}, x\right)} \]
    9. Simplified44.8%

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.72 \cdot 10^{-164} \lor \neg \left(t \leq 2.25 \cdot 10^{+32}\right):\\ \;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 12: 59.2% accurate, 1.9× speedup?

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

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

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

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


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

    1. Initial program 95.2%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -1.5999999999999999e-6 < b < 3.99999999999999979e183

    1. Initial program 95.9%

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

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

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

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

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

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

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

    if 3.99999999999999979e183 < b

    1. Initial program 96.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. Simplified100.0%

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

      \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(\left(c - b\right) \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}, x\right)} \]
    5. Step-by-step derivation
      1. *-commutative100.0%

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

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

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

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

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

      \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(a \cdot \left(c - b\right)\right)}}, x\right)} \]
    8. Step-by-step derivation
      1. *-commutative51.7%

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.6 \cdot 10^{-6}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\ \mathbf{elif}\;b \leq 4 \cdot 10^{+183}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 13: 62.2% accurate, 2.0× speedup?

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

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

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


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

    1. Initial program 96.1%

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

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

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

        \[\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)}} \]
      3. +-commutative73.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

    if 2.45e16 < c

    1. Initial program 94.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 78.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. +-commutative78.9%

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

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

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

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

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

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

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

Alternative 14: 49.6% accurate, 5.8× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;y \leq -7.2 \cdot 10^{+30}:\\
\;\;\;\;\frac{x}{x + \left(y - 2 \cdot \left(c \cdot \left(a \cdot \left(y \cdot \frac{\frac{0.6666666666666666}{t} - 0.8333333333333334}{a} - y\right)\right)\right)\right)}\\

\mathbf{elif}\;y \leq 1.36 \cdot 10^{-30}:\\
\;\;\;\;1\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if y < -7.2000000000000004e30

    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
    3. Taylor expanded in c around inf 77.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. +-commutative77.3%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -7.2000000000000004e30 < y < 1.36e-30 or 3.79999999999999979e102 < y

    1. Initial program 95.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. 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 z around 0 90.2%

      \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(\left(c - b\right) \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}, x\right)} \]
    5. Step-by-step derivation
      1. *-commutative90.2%

        \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(\left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right) \cdot \left(c - b\right)\right)}}, x\right)} \]
      2. +-commutative90.2%

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

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

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

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

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

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

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

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

    if 1.36e-30 < y < 3.79999999999999979e102

    1. Initial program 96.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Alternative 15: 50.2% accurate, 8.2× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.48 \cdot 10^{+32}:\\
\;\;\;\;\frac{x}{x + \left(y - 2 \cdot \left(c \cdot \left(a \cdot \left(y \cdot \frac{\frac{0.6666666666666666}{t} - 0.8333333333333334}{a} - y\right)\right)\right)\right)}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if y < -1.4799999999999999e32

    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
    3. Taylor expanded in c around inf 77.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. +-commutative77.3%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -1.4799999999999999e32 < y

    1. Initial program 95.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.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 z around 0 90.1%

      \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(\left(c - b\right) \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}, x\right)} \]
    5. Step-by-step derivation
      1. *-commutative90.1%

        \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(\left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right) \cdot \left(c - b\right)\right)}}, x\right)} \]
      2. +-commutative90.1%

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

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

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

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

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

        \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(\left(c - b\right) \cdot a\right)}}, x\right)} \]
    9. Simplified62.8%

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

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

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

Alternative 16: 52.7% accurate, 9.2× speedup?

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

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

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

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


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

    1. Initial program 94.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -7.5e8 < b < -3.19999999999999986e-56

    1. Initial program 95.2%

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

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

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

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

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

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

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

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

    if -3.19999999999999986e-56 < b

    1. Initial program 96.1%

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

      \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(\left(c - b\right) \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}, x\right)} \]
    5. Step-by-step derivation
      1. *-commutative90.1%

        \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(\left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right) \cdot \left(c - b\right)\right)}}, x\right)} \]
      2. +-commutative90.1%

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

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

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

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

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

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

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

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

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

Alternative 17: 50.2% accurate, 12.8× speedup?

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

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if y < -1.45e194

    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. Add Preprocessing
    3. Taylor expanded in c around inf 74.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. +-commutative74.7%

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

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

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

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

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

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

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

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

    if -1.45e194 < y

    1. Initial program 95.8%

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

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

        \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(\left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right) \cdot \left(c - b\right)\right)}}, x\right)} \]
      2. +-commutative90.9%

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

        \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\left(\left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right) \cdot \left(c - b\right)\right)}, x\right)} \]
      4. metadata-eval90.9%

        \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\left(\left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right) \cdot \left(c - b\right)\right)}, x\right)} \]
    6. Simplified90.9%

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

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

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

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

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

Alternative 18: 50.2% accurate, 12.8× speedup?

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

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if y < -1.28000000000000005e194

    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. Add Preprocessing
    3. Taylor expanded in c around inf 74.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. +-commutative74.7%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -1.28000000000000005e194 < y

    1. Initial program 95.8%

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

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

        \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(\left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right) \cdot \left(c - b\right)\right)}}, x\right)} \]
      2. +-commutative90.9%

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

        \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\left(\left(\left(a + 0.8333333333333334\right) - \color{blue}{\frac{0.6666666666666666 \cdot 1}{t}}\right) \cdot \left(c - b\right)\right)}, x\right)} \]
      4. metadata-eval90.9%

        \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\left(\left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right) \cdot \left(c - b\right)\right)}, x\right)} \]
    6. Simplified90.9%

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

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

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

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

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

Alternative 19: 49.6% accurate, 16.5× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.8 \cdot 10^{+242}:\\
\;\;\;\;-0.75 \cdot \frac{t \cdot x}{c \cdot y}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if y < -1.79999999999999997e242

    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 74.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. +-commutative74.2%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{-0.75 \cdot \frac{t \cdot x}{c \cdot y}} \]

    if -1.79999999999999997e242 < y

    1. Initial program 95.9%

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

      \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(\left(c - b\right) \cdot \left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right)\right)}}, x\right)} \]
    5. Step-by-step derivation
      1. *-commutative90.4%

        \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(\left(\left(0.8333333333333334 + a\right) - 0.6666666666666666 \cdot \frac{1}{t}\right) \cdot \left(c - b\right)\right)}}, x\right)} \]
      2. +-commutative90.4%

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

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

        \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\left(\left(\left(a + 0.8333333333333334\right) - \frac{\color{blue}{0.6666666666666666}}{t}\right) \cdot \left(c - b\right)\right)}, x\right)} \]
    6. Simplified90.4%

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

      \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(a \cdot \left(c - b\right)\right)}}, x\right)} \]
    8. Step-by-step derivation
      1. *-commutative62.3%

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

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

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

Alternative 20: 50.4% accurate, 231.0× speedup?

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

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

    \[\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 z around 0 90.6%

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

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

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

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

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

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

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

      \[\leadsto \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\color{blue}{\left(\left(c - b\right) \cdot a\right)}}, x\right)} \]
  9. Simplified63.1%

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

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

Developer target: 95.2% accurate, 0.9× speedup?

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

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

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

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


\end{array}
\end{array}

Reproduce

?
herbie shell --seed 2024106 
(FPCore (x y z t a b c)
  :name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, I"
  :precision binary64

  :alt
  (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 (/ (- (* (* z (sqrt (+ t a))) (* (* 3.0 t) (- a (/ 5.0 6.0)))) (* (- (* (+ (/ 5.0 6.0) a) (* 3.0 t)) 2.0) (* (- a (/ 5.0 6.0)) (* (- b c) t)))) (* (* (* t t) 3.0) (- a (/ 5.0 6.0))))))))) (/ x (+ x (* y (exp (* 2.0 (- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))))))))

  (/ x (+ x (* y (exp (* 2.0 (- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))))))))