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

Percentage Accurate: 93.7% → 96.2%
Time: 27.4s
Alternatives: 24
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 24 alternatives:

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

Initial Program: 93.7% accurate, 1.0× speedup?

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

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

Alternative 1: 96.2% accurate, 0.4× speedup?

\[\begin{array}{l} \\ \frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\left(\mathsf{fma}\left(z, \frac{\sqrt{t + a}}{t}, \left(b - c\right) \cdot \left(\left(\frac{0.6666666666666666}{t} - 0.8333333333333334\right) - a\right)\right)\right)}, x\right)} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (/
  x
  (fma
   y
   (pow
    (exp 2.0)
    (fma
     z
     (/ (sqrt (+ t a)) t)
     (* (- b c) (- (- (/ 0.6666666666666666 t) 0.8333333333333334) a))))
   x)))
double code(double x, double y, double z, double t, double a, double b, double c) {
	return x / fma(y, pow(exp(2.0), fma(z, (sqrt((t + a)) / t), ((b - c) * (((0.6666666666666666 / t) - 0.8333333333333334) - a)))), x);
}
function code(x, y, z, t, a, b, c)
	return Float64(x / fma(y, (exp(2.0) ^ fma(z, Float64(sqrt(Float64(t + a)) / t), Float64(Float64(b - c) * Float64(Float64(Float64(0.6666666666666666 / t) - 0.8333333333333334) - a)))), x))
end
code[x_, y_, z_, t_, a_, b_, c_] := N[(x / N[(y * N[Power[N[Exp[2.0], $MachinePrecision], N[(z * N[(N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision] / t), $MachinePrecision] + N[(N[(b - c), $MachinePrecision] * N[(N[(N[(0.6666666666666666 / t), $MachinePrecision] - 0.8333333333333334), $MachinePrecision] - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] + x), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\left(\mathsf{fma}\left(z, \frac{\sqrt{t + a}}{t}, \left(b - c\right) \cdot \left(\left(\frac{0.6666666666666666}{t} - 0.8333333333333334\right) - a\right)\right)\right)}, x\right)}
\end{array}
Derivation
  1. Initial program 89.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.9%

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

    \[\leadsto \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)} \]
  5. Add Preprocessing

Alternative 2: 96.5% 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^{1.3333333333333333 \cdot \frac{b - c}{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 (* 1.3333333333333333 (/ (- b c) 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((1.3333333333333333 * ((b - c) / 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((1.3333333333333333 * ((b - c) / 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((1.3333333333333333 * ((b - c) / 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(1.3333333333333333 * Float64(Float64(b - c) / 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((1.3333333333333333 * ((b - c) / 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[(1.3333333333333333 * N[(N[(b - c), $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^{1.3333333333333333 \cdot \frac{b - c}{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 96.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. Step-by-step derivation
      1. exp-prod96.7%

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

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

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

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

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

Alternative 3: 96.6% 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^{1.3333333333333333 \cdot \frac{b - c}{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 (* 1.3333333333333333 (/ (- b c) 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((1.3333333333333333 * ((b - c) / 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((1.3333333333333333 * ((b - c) / 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((1.3333333333333333 * ((b - c) / 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(1.3333333333333333 * Float64(Float64(b - c) / 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((1.3333333333333333 * ((b - c) / 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[(1.3333333333333333 * N[(N[(b - c), $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^{1.3333333333333333 \cdot \frac{b - c}{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 96.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

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

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

      \[\leadsto \frac{x}{x + \color{blue}{y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification94.3%

    \[\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^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 4: 80.6% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(0.8333333333333334 + \left(a - \frac{0.6666666666666666}{t}\right)\right)\right)}}\\ \mathbf{if}\;c \leq -4.3 \cdot 10^{-28}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq -1.5 \cdot 10^{-288}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} + a \cdot \left(c - b\right)\right)}}\\ \mathbf{elif}\;c \leq 5.5 \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{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
              (*
               c
               (+ 0.8333333333333334 (- a (/ 0.6666666666666666 t)))))))))))
   (if (<= c -4.3e-28)
     t_1
     (if (<= c -1.5e-288)
       (/
        x
        (+ x (* y (exp (* 2.0 (+ (/ (* z (sqrt (+ t a))) t) (* a (- c b))))))))
       (if (<= c 5.5e-10)
         (/
          x
          (+
           x
           (*
            y
            (exp
             (*
              2.0
              (* b (- (/ 0.6666666666666666 t) (+ 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 * (c * (0.8333333333333334 + (a - (0.6666666666666666 / t))))))));
	double tmp;
	if (c <= -4.3e-28) {
		tmp = t_1;
	} else if (c <= -1.5e-288) {
		tmp = x / (x + (y * exp((2.0 * (((z * sqrt((t + a))) / t) + (a * (c - b)))))));
	} else if (c <= 5.5e-10) {
		tmp = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (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 * (c * (0.8333333333333334d0 + (a - (0.6666666666666666d0 / t))))))))
    if (c <= (-4.3d-28)) then
        tmp = t_1
    else if (c <= (-1.5d-288)) then
        tmp = x / (x + (y * exp((2.0d0 * (((z * sqrt((t + a))) / t) + (a * (c - b)))))))
    else if (c <= 5.5d-10) then
        tmp = x / (x + (y * exp((2.0d0 * (b * ((0.6666666666666666d0 / t) - (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 * (c * (0.8333333333333334 + (a - (0.6666666666666666 / t))))))));
	double tmp;
	if (c <= -4.3e-28) {
		tmp = t_1;
	} else if (c <= -1.5e-288) {
		tmp = x / (x + (y * Math.exp((2.0 * (((z * Math.sqrt((t + a))) / t) + (a * (c - b)))))));
	} else if (c <= 5.5e-10) {
		tmp = x / (x + (y * Math.exp((2.0 * (b * ((0.6666666666666666 / t) - (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 * (c * (0.8333333333333334 + (a - (0.6666666666666666 / t))))))))
	tmp = 0
	if c <= -4.3e-28:
		tmp = t_1
	elif c <= -1.5e-288:
		tmp = x / (x + (y * math.exp((2.0 * (((z * math.sqrt((t + a))) / t) + (a * (c - b)))))))
	elif c <= 5.5e-10:
		tmp = x / (x + (y * math.exp((2.0 * (b * ((0.6666666666666666 / t) - (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(c * Float64(0.8333333333333334 + Float64(a - Float64(0.6666666666666666 / t)))))))))
	tmp = 0.0
	if (c <= -4.3e-28)
		tmp = t_1;
	elseif (c <= -1.5e-288)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(Float64(t + a))) / t) + Float64(a * Float64(c - b))))))));
	elseif (c <= 5.5e-10)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(b * Float64(Float64(0.6666666666666666 / t) - 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 * (c * (0.8333333333333334 + (a - (0.6666666666666666 / t))))))));
	tmp = 0.0;
	if (c <= -4.3e-28)
		tmp = t_1;
	elseif (c <= -1.5e-288)
		tmp = x / (x + (y * exp((2.0 * (((z * sqrt((t + a))) / t) + (a * (c - b)))))));
	elseif (c <= 5.5e-10)
		tmp = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (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[(c * N[(0.8333333333333334 + N[(a - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -4.3e-28], t$95$1, If[LessEqual[c, -1.5e-288], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(z * N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision] + N[(a * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5.5e-10], 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], t$95$1]]]]
\begin{array}{l}

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

\mathbf{elif}\;c \leq -1.5 \cdot 10^{-288}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} + a \cdot \left(c - b\right)\right)}}\\

\mathbf{elif}\;c \leq 5.5 \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{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if c < -4.3e-28 or 5.4999999999999996e-10 < c

    1. Initial program 88.1%

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

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

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

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

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

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

    if -4.3e-28 < c < -1.5e-288

    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 a around inf 87.9%

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

    if -1.5e-288 < c < 5.4999999999999996e-10

    1. Initial program 88.0%

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

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

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

Alternative 5: 80.4% accurate, 1.8× speedup?

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

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if c < -1.65999999999999993e-21 or 1.05e-10 < c

    1. Initial program 89.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 85.5%

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

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

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

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

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

    if -1.65999999999999993e-21 < c < 1.05e-10

    1. Initial program 90.6%

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

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

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

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

Alternative 6: 73.9% accurate, 1.8× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;b \leq -4.8 \cdot 10^{-53} \lor \neg \left(b \leq 1.65 \cdot 10^{-61}\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(a + 0.8333333333333334\right)\right)}}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if b < -4.80000000000000015e-53 or 1.64999999999999998e-61 < b

    1. Initial program 86.8%

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

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

    if -4.80000000000000015e-53 < b < 1.64999999999999998e-61

    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 c around inf 84.5%

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -4.8 \cdot 10^{-53} \lor \neg \left(b \leq 1.65 \cdot 10^{-61}\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(a + 0.8333333333333334\right)\right)}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 7: 73.1% accurate, 1.9× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;t \leq 0.0068:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\

\mathbf{elif}\;t \leq 2 \cdot 10^{+156}:\\
\;\;\;\;\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^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\


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

    1. Initial program 88.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 76.3%

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

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

    if 0.00679999999999999962 < t < 2e156

    1. Initial program 100.0%

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

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

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    6. Taylor expanded in t around inf 82.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-neg82.9%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(-b \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
      2. +-commutative82.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-in82.9%

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

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

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

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

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

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

    if 2e156 < t

    1. Initial program 85.0%

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

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

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

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

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

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

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

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

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

Alternative 8: 62.5% accurate, 1.9× speedup?

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

\mathbf{elif}\;b \leq 2 \cdot 10^{-18}:\\
\;\;\;\;\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.6e14

    1. Initial program 85.9%

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

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

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

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

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    6. Taylor expanded in 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. distribute-neg-in69.2%

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

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{-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)}}} \]
    9. Taylor expanded in a around 0 67.7%

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

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

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

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

    if -1.6e14 < b < 2.0000000000000001e-18

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

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

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

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

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

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

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

    if 2.0000000000000001e-18 < b

    1. Initial program 84.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. Simplified93.8%

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

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

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

Alternative 9: 61.1% accurate, 1.9× speedup?

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

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

\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 b < -6.60000000000000037e-9 or 1.72000000000000008e-37 < b

    1. Initial program 85.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 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)}} \]
    5. Simplified81.3%

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -6.60000000000000037e-9 < b < 1.72000000000000008e-37

    1. Initial program 95.1%

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

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

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

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

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

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

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

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

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

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

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

Alternative 10: 69.6% accurate, 1.9× speedup?

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

\mathbf{elif}\;t \leq 1.8 \cdot 10^{+156}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\

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


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

    1. Initial program 88.9%

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

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

    if 56000 < t < 1.79999999999999989e156

    1. Initial program 100.0%

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

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

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

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

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    6. Taylor expanded in t around inf 84.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-neg84.3%

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

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

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

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

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{-0.8333333333333334} - a\right)\right)}} \]
    8. Simplified84.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.5%

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

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

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

    if 1.79999999999999989e156 < t

    1. Initial program 85.0%

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

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

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq 56000:\\ \;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\ \mathbf{elif}\;t \leq 1.8 \cdot 10^{+156}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 11: 61.4% accurate, 1.9× speedup?

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

\mathbf{elif}\;b \leq 9.5 \cdot 10^{-19}:\\
\;\;\;\;\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 < -3.15e10

    1. Initial program 84.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 81.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/81.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-eval81.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)}} \]
    5. Simplified81.8%

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    6. Taylor expanded in t around inf 69.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-neg69.7%

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(-b \cdot \left(0.8333333333333334 + a\right)\right)}}} \]
      2. +-commutative69.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-in69.7%

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

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

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

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{-0.8333333333333334} - a\right)\right)}} \]
    8. Simplified69.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 68.2%

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

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

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

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

    if -3.15e10 < b < 9.4999999999999995e-19

    1. Initial program 95.4%

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

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

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

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

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

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

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

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

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

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

    if 9.4999999999999995e-19 < b

    1. Initial program 84.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. Simplified93.8%

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

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

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

Alternative 12: 73.1% accurate, 2.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq 2.6 \cdot 10^{-9}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(-0.8333333333333334 - a\right)\right)}}\\ \end{array} \end{array} \]
(FPCore (x y z t a b c)
 :precision binary64
 (if (<= t 2.6e-9)
   (/ x (+ x (* y (exp (* 1.3333333333333333 (/ (- b c) t))))))
   (/ 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 <= 2.6e-9) {
		tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t)))));
	} 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 <= 2.6d-9) then
        tmp = x / (x + (y * exp((1.3333333333333333d0 * ((b - c) / t)))))
    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 <= 2.6e-9) {
		tmp = x / (x + (y * Math.exp((1.3333333333333333 * ((b - c) / t)))));
	} 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 <= 2.6e-9:
		tmp = x / (x + (y * math.exp((1.3333333333333333 * ((b - c) / t)))))
	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 <= 2.6e-9)
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(1.3333333333333333 * Float64(Float64(b - c) / t))))));
	else
		tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(b * Float64(-0.8333333333333334 - a)))))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c)
	tmp = 0.0;
	if (t <= 2.6e-9)
		tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t)))));
	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, 2.6e-9], N[(x / N[(x + N[(y * N[Exp[N[(1.3333333333333333 * N[(N[(b - c), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(b * N[(-0.8333333333333334 - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;t \leq 2.6 \cdot 10^{-9}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\

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


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

    1. Initial program 88.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 76.3%

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

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

    if 2.6000000000000001e-9 < t

    1. Initial program 91.2%

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

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

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

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

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

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

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

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

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

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

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

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

Alternative 13: 57.1% accurate, 2.1× speedup?

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

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

\mathbf{elif}\;b \leq -1.08 \cdot 10^{-231}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(1 + \frac{c \cdot -1.3333333333333333 + 2 \cdot \left(c \cdot \left(t \cdot \left(a + 0.8333333333333334\right)\right)\right)}{t}\right)}\\

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


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

    1. Initial program 87.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 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)}} \]
    5. Simplified81.3%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -1.10000000000000004e23 < b < -1.08e-231

    1. Initial program 91.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -1.08e-231 < b

    1. Initial program 90.6%

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

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

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

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

Alternative 14: 53.3% accurate, 6.1× speedup?

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

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

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

\mathbf{elif}\;c \leq 4.45 \cdot 10^{+167}:\\
\;\;\;\;1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if c < 3.2999999999999998e-261 or 1.1e67 < c < 4.4500000000000003e167

    1. Initial program 90.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. Simplified97.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 x around inf 60.8%

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

    if 3.2999999999999998e-261 < c < 1.1e67

    1. Initial program 90.6%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if 4.4500000000000003e167 < c

    1. Initial program 88.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 88.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq 3.3 \cdot 10^{-261}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq 1.1 \cdot 10^{+67}:\\ \;\;\;\;\frac{x}{x + \left(y + \left(2 \cdot b\right) \cdot \frac{y \cdot 0.6666666666666666 - t \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)}{t}\right)}\\ \mathbf{elif}\;c \leq 4.45 \cdot 10^{+167}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(1 + \frac{c \cdot -1.3333333333333333 + 2 \cdot \left(c \cdot \left(t \cdot \left(a + 0.8333333333333334\right)\right)\right)}{t}\right)}\\ \end{array} \]
  5. Add Preprocessing

Alternative 15: 52.9% accurate, 6.1× speedup?

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

\\
\begin{array}{l}
t_1 := t \cdot \left(a + 0.8333333333333334\right)\\
\mathbf{if}\;c \leq -7.2 \cdot 10^{-281}:\\
\;\;\;\;1\\

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

\mathbf{elif}\;c \leq 4.45 \cdot 10^{+167}:\\
\;\;\;\;1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if c < -7.20000000000000013e-281 or 5.2000000000000001e67 < c < 4.4500000000000003e167

    1. Initial program 90.9%

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

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

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

    if -7.20000000000000013e-281 < c < 5.2000000000000001e67

    1. Initial program 88.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 81.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/81.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-eval81.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)}} \]
    5. Simplified81.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if 4.4500000000000003e167 < c

    1. Initial program 88.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 88.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -7.2 \cdot 10^{-281}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq 5.2 \cdot 10^{+67}:\\ \;\;\;\;\frac{x}{x + \left(y + \left(2 \cdot b\right) \cdot \left(y \cdot \frac{0.6666666666666666 - t \cdot \left(a + 0.8333333333333334\right)}{t}\right)\right)}\\ \mathbf{elif}\;c \leq 4.45 \cdot 10^{+167}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(1 + \frac{c \cdot -1.3333333333333333 + 2 \cdot \left(c \cdot \left(t \cdot \left(a + 0.8333333333333334\right)\right)\right)}{t}\right)}\\ \end{array} \]
  5. Add Preprocessing

Alternative 16: 52.0% accurate, 6.8× speedup?

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

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

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

\mathbf{elif}\;c \leq 3.6 \cdot 10^{+167}:\\
\;\;\;\;1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if c < -1.94999999999999999e-280 or 1.8e66 < c < 3.60000000000000024e167

    1. Initial program 90.9%

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

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

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

    if -1.94999999999999999e-280 < c < 1.8e66

    1. Initial program 88.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 81.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/81.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-eval81.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)}} \]
    5. Simplified81.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if 3.60000000000000024e167 < c

    1. Initial program 88.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 88.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -1.95 \cdot 10^{-280}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq 1.8 \cdot 10^{+66}:\\ \;\;\;\;\frac{x}{x + \left(y + \left(2 \cdot b\right) \cdot \left(y \cdot \frac{0.6666666666666666 - t \cdot \left(a + 0.8333333333333334\right)}{t}\right)\right)}\\ \mathbf{elif}\;c \leq 3.6 \cdot 10^{+167}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x - y \cdot \left(-1 - \left(a + \left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right)\right) \cdot \left(2 \cdot c\right)\right)}\\ \end{array} \]
  5. Add Preprocessing

Alternative 17: 51.5% accurate, 6.8× speedup?

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

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

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

\mathbf{elif}\;c \leq 2.5 \cdot 10^{+167}:\\
\;\;\;\;1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if c < 7.6000000000000004e-262 or 1.6999999999999999e72 < c < 2.4999999999999998e167

    1. Initial program 90.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. Simplified97.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 x around inf 60.8%

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

    if 7.6000000000000004e-262 < c < 1.6999999999999999e72

    1. Initial program 90.6%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \frac{x}{x + \left(y + \left(b \cdot 2\right) \cdot \left(y \cdot \color{blue}{\left(\frac{0.6666666666666666}{t} + \left(-0.8333333333333334 - a\right)\right)}\right)\right)} \]
      9. associate-*l*56.6%

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

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

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

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

    if 2.4999999999999998e167 < c

    1. Initial program 88.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 88.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq 7.6 \cdot 10^{-262}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq 1.7 \cdot 10^{+72}:\\ \;\;\;\;\frac{x}{x + \left(y - \left(b \cdot \left(y \cdot 2\right)\right) \cdot \left(\left(a - -0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}\\ \mathbf{elif}\;c \leq 2.5 \cdot 10^{+167}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x - y \cdot \left(-1 - \left(a + \left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right)\right) \cdot \left(2 \cdot c\right)\right)}\\ \end{array} \]
  5. Add Preprocessing

Alternative 18: 52.1% accurate, 6.8× speedup?

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

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

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

\mathbf{elif}\;c \leq 2.35 \cdot 10^{+167}:\\
\;\;\;\;1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if c < 1.27999999999999998e-259 or 2.39999999999999987e70 < c < 2.35000000000000006e167

    1. Initial program 90.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. Simplified97.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 x around inf 60.8%

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

    if 1.27999999999999998e-259 < c < 2.39999999999999987e70

    1. Initial program 90.6%

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

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

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

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

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

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

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

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

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

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

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

    if 2.35000000000000006e167 < c

    1. Initial program 88.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 88.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq 1.28 \cdot 10^{-259}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq 2.4 \cdot 10^{+70}:\\ \;\;\;\;\frac{x}{x + \left(y - \left(2 \cdot b\right) \cdot \left(y \cdot \left(a - \left(\frac{0.6666666666666666}{t} + -0.8333333333333334\right)\right)\right)\right)}\\ \mathbf{elif}\;c \leq 2.35 \cdot 10^{+167}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x - y \cdot \left(-1 - \left(a + \left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right)\right) \cdot \left(2 \cdot c\right)\right)}\\ \end{array} \]
  5. Add Preprocessing

Alternative 19: 51.5% accurate, 8.2× speedup?

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

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

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

\mathbf{elif}\;c \leq 6.2 \cdot 10^{+167}:\\
\;\;\;\;1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if c < 1.44999999999999993e-261 or 1.9500000000000002e-62 < c < 6.1999999999999999e167

    1. Initial program 89.8%

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

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

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

    if 1.44999999999999993e-261 < c < 1.9500000000000002e-62

    1. Initial program 91.8%

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

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

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

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

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

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

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

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

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

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

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

    if 6.1999999999999999e167 < c

    1. Initial program 88.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 88.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq 1.45 \cdot 10^{-261}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq 1.95 \cdot 10^{-62}:\\ \;\;\;\;\frac{x}{x + y \cdot \left(1 + b \cdot \left(a \cdot -2\right)\right)}\\ \mathbf{elif}\;c \leq 6.2 \cdot 10^{+167}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x - y \cdot \left(-1 - a \cdot \left(2 \cdot c\right)\right)}\\ \end{array} \]
  5. Add Preprocessing

Alternative 20: 50.1% accurate, 8.2× speedup?

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

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

\mathbf{elif}\;c \leq 3.55 \cdot 10^{+87}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(b \cdot -1.6666666666666667 + 1\right)}\\

\mathbf{elif}\;c \leq 5.3 \cdot 10^{+167}:\\
\;\;\;\;1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if c < 6.1999999999999995e-259 or 3.5499999999999999e87 < c < 5.2999999999999997e167

    1. Initial program 89.8%

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

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

    if 6.1999999999999995e-259 < c < 3.5499999999999999e87

    1. Initial program 90.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if 5.2999999999999997e167 < c

    1. Initial program 88.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 88.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Alternative 21: 50.3% accurate, 10.5× speedup?

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

\\
\begin{array}{l}
t_1 := 1 + \frac{x}{y}\\
\mathbf{if}\;x \leq -2.7 \cdot 10^{+246}:\\
\;\;\;\;\frac{x}{y \cdot t\_1}\\

\mathbf{elif}\;x \leq -6.2 \cdot 10^{-132}:\\
\;\;\;\;1\\

\mathbf{elif}\;x \leq 3.9 \cdot 10^{-258}:\\
\;\;\;\;t\_1 + -1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if x < -2.7e246

    1. Initial program 90.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 b around inf 61.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/61.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-eval61.3%

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

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

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

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

    if -2.7e246 < x < -6.20000000000000016e-132 or 3.90000000000000004e-258 < x

    1. Initial program 89.8%

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

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

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

    if -6.20000000000000016e-132 < x < 3.90000000000000004e-258

    1. Initial program 90.5%

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

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

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

      \[\leadsto \color{blue}{\frac{x}{y}} \]
    8. Step-by-step derivation
      1. expm1-log1p-u20.4%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(\frac{x}{y}\right)\right)} \]
      2. log1p-define56.4%

        \[\leadsto \mathsf{expm1}\left(\color{blue}{\log \left(1 + \frac{x}{y}\right)}\right) \]
      3. expm1-undefine56.4%

        \[\leadsto \color{blue}{e^{\log \left(1 + \frac{x}{y}\right)} - 1} \]
      4. add-exp-log56.6%

        \[\leadsto \color{blue}{\left(1 + \frac{x}{y}\right)} - 1 \]
      5. +-commutative56.6%

        \[\leadsto \color{blue}{\left(\frac{x}{y} + 1\right)} - 1 \]
    9. Applied egg-rr56.6%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -2.7 \cdot 10^{+246}:\\ \;\;\;\;\frac{x}{y \cdot \left(1 + \frac{x}{y}\right)}\\ \mathbf{elif}\;x \leq -6.2 \cdot 10^{-132}:\\ \;\;\;\;1\\ \mathbf{elif}\;x \leq 3.9 \cdot 10^{-258}:\\ \;\;\;\;\left(1 + \frac{x}{y}\right) + -1\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 22: 54.3% accurate, 11.5× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;b \leq -9.5 \cdot 10^{+118}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(1 + b \cdot \left(b \cdot 1.3888888888888888 - 1.6666666666666667\right)\right)}\\

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


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

    1. Initial program 85.9%

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

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(0.8333333333333334 + a\right)\right)\right)}}} \]
    6. Taylor expanded in t around inf 72.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-neg72.3%

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

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

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

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

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

        \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\color{blue}{-0.8333333333333334} - a\right)\right)}} \]
    8. Simplified72.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 67.7%

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

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

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

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

    if -9.49999999999999974e118 < b

    1. Initial program 90.7%

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

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

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

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

Alternative 23: 50.3% accurate, 13.6× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;x \leq -3.4 \cdot 10^{-130}:\\
\;\;\;\;1\\

\mathbf{elif}\;x \leq 3.3 \cdot 10^{-258}:\\
\;\;\;\;\left(1 + \frac{x}{y}\right) + -1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if x < -3.40000000000000005e-130 or 3.3e-258 < x

    1. Initial program 89.8%

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

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

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

    if -3.40000000000000005e-130 < x < 3.3e-258

    1. Initial program 90.5%

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

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

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

      \[\leadsto \color{blue}{\frac{x}{y}} \]
    8. Step-by-step derivation
      1. expm1-log1p-u20.4%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(\frac{x}{y}\right)\right)} \]
      2. log1p-define56.4%

        \[\leadsto \mathsf{expm1}\left(\color{blue}{\log \left(1 + \frac{x}{y}\right)}\right) \]
      3. expm1-undefine56.4%

        \[\leadsto \color{blue}{e^{\log \left(1 + \frac{x}{y}\right)} - 1} \]
      4. add-exp-log56.6%

        \[\leadsto \color{blue}{\left(1 + \frac{x}{y}\right)} - 1 \]
      5. +-commutative56.6%

        \[\leadsto \color{blue}{\left(\frac{x}{y} + 1\right)} - 1 \]
    9. Applied egg-rr56.6%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -3.4 \cdot 10^{-130}:\\ \;\;\;\;1\\ \mathbf{elif}\;x \leq 3.3 \cdot 10^{-258}:\\ \;\;\;\;\left(1 + \frac{x}{y}\right) + -1\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
  5. Add Preprocessing

Alternative 24: 50.1% accurate, 231.0× speedup?

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

\\
1
\end{array}
Derivation
  1. Initial program 89.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.9%

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

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

Developer Target 1: 95.1% 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 2024146 
(FPCore (x y z t a b c)
  :name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, I"
  :precision binary64

  :alt
  (! :herbie-platform default (if (< t -2118326644891581/100000000000000000000000000000000000000000000000000000000000000000) (/ x (+ x (* y (exp (* 2 (- (+ (* a c) (* 4166666666666667/5000000000000000 c)) (* a b))))))) (if (< t 5196588770651547/1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (/ x (+ x (* y (exp (* 2 (/ (- (* (* z (sqrt (+ t a))) (* (* 3 t) (- a (/ 5 6)))) (* (- (* (+ (/ 5 6) a) (* 3 t)) 2) (* (- a (/ 5 6)) (* (- b c) t)))) (* (* (* t t) 3) (- a (/ 5 6))))))))) (/ x (+ x (* y (exp (* 2 (- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5 6)) (/ 2 (* t 3)))))))))))))

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