?

Average Accuracy: 93.7% → 96.8%
Time: 39.4s
Precision: binary64
Cost: 28804

?

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

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


\end{array}

Error?

Try it out?

Your Program's Arguments

Results

Enter valid numbers for all inputs

Target

Original93.7%
Target95.0%
Herbie96.8%
\[\begin{array}{l} \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{\left(z \cdot \sqrt{t + a}\right) \cdot \left(\left(3 \cdot t\right) \cdot \left(a - \frac{5}{6}\right)\right) - \left(\left(\frac{5}{6} + a\right) \cdot \left(3 \cdot t\right) - 2\right) \cdot \left(\left(a - \frac{5}{6}\right) \cdot \left(\left(b - c\right) \cdot t\right)\right)}{\left(\left(t \cdot t\right) \cdot 3\right) \cdot \left(a - \frac{5}{6}\right)}}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \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} \]

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 5 6)) (/.f64 2 (*.f64 t 3))))) < +inf.0

    1. Initial program 98.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. Simplified98.9%

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

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

      exp-prod [=>]98.7

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

      associate-/l* [=>]98.9

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

      metadata-eval [=>]98.9

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

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

    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. Taylor expanded in t around inf 57.5%

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

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

      [Start]57.5

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

      mul-1-neg [=>]57.5

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

      distribute-rgt-neg-in [=>]57.5

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

      neg-sub0 [=>]57.5

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

      associate--r+ [=>]57.5

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

      metadata-eval [=>]57.5

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

      \[\leadsto \frac{x}{x + y \cdot e^{2 \cdot \color{blue}{\frac{0.6944444444444444 - a \cdot a}{\frac{-0.8333333333333334 + a}{b - c}}}}} \]
    5. Simplified57.5%

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

      [Start]57.5

      \[ \frac{x}{x + y \cdot e^{2 \cdot \frac{0.6944444444444444 - a \cdot a}{\frac{-0.8333333333333334 + a}{b - c}}}} \]

      associate-/l* [<=]57.5

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

      *-commutative [=>]57.5

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

      +-commutative [=>]57.5

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

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

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

Alternatives

Alternative 1
Accuracy96.7%
Cost33408
\[\frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\left(\mathsf{fma}\left(b - c, \frac{0.6666666666666666}{t} + \left(-0.8333333333333334 - a\right), z \cdot \frac{\sqrt{t + a}}{t}\right)\right)}, x\right)} \]
Alternative 2
Accuracy96.6%
Cost22468
\[\begin{array}{l} t_1 := \frac{z \cdot \sqrt{t + a}}{t} + \left(b - c\right) \cdot \left(\frac{2}{t \cdot 3} + \left(-0.8333333333333334 - a\right)\right)\\ \mathbf{if}\;t_1 \leq \infty:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot t_1}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{\left(b - c\right) \cdot \left(0.6944444444444444 - a \cdot a\right)}{a}}}\\ \end{array} \]
Alternative 3
Accuracy78.8%
Cost14028
\[\begin{array}{l} t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)}}\\ t_2 := \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} + \left(-0.8333333333333334 - a\right)\right)\right)}}\\ \mathbf{if}\;c \leq -1.12 \cdot 10^{+27}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 2.1 \cdot 10^{-8}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 7.4 \cdot 10^{+16}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(z \cdot \sqrt{\frac{1}{t}}\right)}}\\ \mathbf{elif}\;c \leq 3.4 \cdot 10^{+114}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 4
Accuracy79.6%
Cost8016
\[\begin{array}{l} t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right)\right)}}\\ t_2 := \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} + \left(-0.8333333333333334 - a\right)\right)\right)}}\\ \mathbf{if}\;c \leq -3 \cdot 10^{+28}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 3.4 \cdot 10^{-6}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;c \leq 2 \cdot 10^{+40}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(b - c\right) \cdot \left(-0.8333333333333334 - a\right)\right)}}\\ \mathbf{elif}\;c \leq 5 \cdot 10^{+114}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 5
Accuracy80.9%
Cost7884
\[\begin{array}{l} t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(\left(b - c\right) \cdot \left(-0.8333333333333334 - a\right)\right)}}\\ \mathbf{if}\;t \leq -1 \cdot 10^{-308}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 2.7 \cdot 10^{-214}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(-0.6666666666666666 \cdot \frac{c}{t}\right)}}\\ \mathbf{elif}\;t \leq 0.0115:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} + \left(-0.8333333333333334 - a\right)\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 6
Accuracy66.3%
Cost7764
\[\begin{array}{l} t_1 := \frac{x}{x + y \cdot e^{\left(b - c\right) \cdot -1.6666666666666667}}\\ \mathbf{if}\;t \leq -1.9 \cdot 10^{-256}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 3.7 \cdot 10^{-168}:\\ \;\;\;\;1\\ \mathbf{elif}\;t \leq 3.55 \cdot 10^{-130}:\\ \;\;\;\;\frac{x}{y - \frac{\left(c \cdot c - b \cdot b\right) \cdot \left(y \cdot \left(a \cdot -2\right)\right)}{b + c}}\\ \mathbf{elif}\;t \leq 7.6 \cdot 10^{-106}:\\ \;\;\;\;1\\ \mathbf{elif}\;t \leq 10^{-18}:\\ \;\;\;\;\frac{x}{x + \left(y + -2 \cdot \left(\frac{y}{t \cdot \frac{t}{b \cdot b}} \cdot -0.4444444444444444\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 7
Accuracy70.4%
Cost7760
\[\begin{array}{l} t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(-0.6666666666666666 \cdot \frac{c}{t}\right)}}\\ t_2 := \frac{x}{x + y \cdot e^{\left(b - c\right) \cdot -1.6666666666666667}}\\ \mathbf{if}\;t \leq -1.7 \cdot 10^{-308}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq 3.6 \cdot 10^{-98}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 2.5 \cdot 10^{-52}:\\ \;\;\;\;\frac{x}{x + \left(y + -2 \cdot \left(\frac{y}{t \cdot \frac{t}{b \cdot b}} \cdot -0.4444444444444444\right)\right)}\\ \mathbf{elif}\;t \leq 0.00013:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 8
Accuracy70.8%
Cost7760
\[\begin{array}{l} t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(-0.6666666666666666 \cdot \frac{c}{t}\right)}}\\ \mathbf{if}\;t \leq -5.2 \cdot 10^{-244}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{-2 \cdot \left(\left(b - c\right) \cdot a\right)}}\\ \mathbf{elif}\;t \leq 5.5 \cdot 10^{-98}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 1.1 \cdot 10^{-52}:\\ \;\;\;\;\frac{x}{x + \left(y + -2 \cdot \left(\frac{y}{t \cdot \frac{t}{b \cdot b}} \cdot -0.4444444444444444\right)\right)}\\ \mathbf{elif}\;t \leq 0.0016:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{\left(b - c\right) \cdot -1.6666666666666667}}\\ \end{array} \]
Alternative 9
Accuracy78.9%
Cost7756
\[\begin{array}{l} t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(\left(b - c\right) \cdot \left(-0.8333333333333334 - a\right)\right)}}\\ \mathbf{if}\;t \leq -1.8 \cdot 10^{-308}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq 1.25 \cdot 10^{-200}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(-0.6666666666666666 \cdot \frac{c}{t}\right)}}\\ \mathbf{elif}\;t \leq 5.5 \cdot 10^{-5}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \frac{0.6666666666666666}{t}\right)}}\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 10
Accuracy49.5%
Cost7636
\[\begin{array}{l} t_1 := \frac{x}{x - \left(2 \cdot \left(\left(y \cdot b\right) \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right) - \left(b \cdot b\right) \cdot \left(y \cdot \left(a \cdot a\right)\right)\right) - y\right)}\\ \mathbf{if}\;c \leq -3.4 \cdot 10^{-140}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq 5.5 \cdot 10^{-253}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 2.8 \cdot 10^{-107}:\\ \;\;\;\;\frac{x}{y \cdot y - x \cdot x} \cdot \left(y - x\right)\\ \mathbf{elif}\;c \leq 9.4 \cdot 10^{-54}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 9 \cdot 10^{+172}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{y \cdot e^{2 \cdot \left(c \cdot a\right)}}\\ \end{array} \]
Alternative 11
Accuracy71.8%
Cost7628
\[\begin{array}{l} \mathbf{if}\;t \leq -7.2 \cdot 10^{-244}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{-2 \cdot \left(\left(b - c\right) \cdot a\right)}}\\ \mathbf{elif}\;t \leq 2.6 \cdot 10^{-208}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(-0.6666666666666666 \cdot \frac{c}{t}\right)}}\\ \mathbf{elif}\;t \leq 0.00106:\\ \;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \frac{0.6666666666666666}{t}\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + y \cdot e^{\left(b - c\right) \cdot -1.6666666666666667}}\\ \end{array} \]
Alternative 12
Accuracy60.2%
Cost7236
\[\begin{array}{l} \mathbf{if}\;b - c \leq -400000:\\ \;\;\;\;\frac{x}{y \cdot e^{\left(b - c\right) \cdot -1.6666666666666667}}\\ \mathbf{elif}\;b - c \leq 4 \cdot 10^{-76}:\\ \;\;\;\;\frac{x}{x - \left(2 \cdot \left(\left(y \cdot b\right) \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right) - \left(b \cdot b\right) \cdot \left(y \cdot \left(a \cdot a\right)\right)\right) - y\right)}\\ \mathbf{elif}\;b - c \leq 2.5 \cdot 10^{+262}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + \left(y + -2 \cdot \left(\frac{y}{t \cdot \frac{t}{b \cdot b}} \cdot -0.4444444444444444\right)\right)}\\ \end{array} \]
Alternative 13
Accuracy49.2%
Cost2384
\[\begin{array}{l} t_1 := \frac{x}{x - \left(2 \cdot \left(\left(y \cdot b\right) \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right) - \left(b \cdot b\right) \cdot \left(y \cdot \left(a \cdot a\right)\right)\right) - y\right)}\\ \mathbf{if}\;c \leq -3.2 \cdot 10^{-138}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq 4.7 \cdot 10^{-253}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 8.2 \cdot 10^{-109}:\\ \;\;\;\;\frac{x}{y \cdot y - x \cdot x} \cdot \left(y - x\right)\\ \mathbf{elif}\;c \leq 7.5 \cdot 10^{-54}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;c \leq 1.9 \cdot 10^{+169}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + \left(y + \left(y \cdot \left(b - c\right)\right) \cdot \left(a \cdot -2\right)\right)}\\ \end{array} \]
Alternative 14
Accuracy50.2%
Cost2016
\[\begin{array}{l} \mathbf{if}\;c \leq -3.4 \cdot 10^{-138}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq -6.5 \cdot 10^{-225}:\\ \;\;\;\;\frac{x}{x - \left(2 \cdot \left(\left(a + 0.8333333333333334\right) \cdot \left(y \cdot b\right)\right) - y\right)}\\ \mathbf{elif}\;c \leq -2.85 \cdot 10^{-238}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq -9.2 \cdot 10^{-262}:\\ \;\;\;\;0.5 \cdot \frac{x}{y \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)}\\ \mathbf{elif}\;c \leq 1.25 \cdot 10^{-303}:\\ \;\;\;\;\frac{x}{x + y}\\ \mathbf{elif}\;c \leq 1.9 \cdot 10^{-219}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq 2.4 \cdot 10^{-109}:\\ \;\;\;\;\frac{x}{y \cdot y - x \cdot x} \cdot \left(y - x\right)\\ \mathbf{elif}\;c \leq 7.2 \cdot 10^{+168}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + \left(y + \left(y \cdot \left(b - c\right)\right) \cdot \left(a \cdot -2\right)\right)}\\ \end{array} \]
Alternative 15
Accuracy50.4%
Cost2016
\[\begin{array}{l} \mathbf{if}\;c \leq -8.2 \cdot 10^{-140}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq -7.5 \cdot 10^{-225}:\\ \;\;\;\;\frac{x}{x + \left(y - 2 \cdot \left(y \cdot \left(b \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)\right)\right)}\\ \mathbf{elif}\;c \leq -2.85 \cdot 10^{-238}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq -9.2 \cdot 10^{-262}:\\ \;\;\;\;0.5 \cdot \frac{x}{y \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)}\\ \mathbf{elif}\;c \leq 3.5 \cdot 10^{-306}:\\ \;\;\;\;\frac{x}{x + y}\\ \mathbf{elif}\;c \leq 3.4 \cdot 10^{-220}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq 2.5 \cdot 10^{-109}:\\ \;\;\;\;\frac{x}{y \cdot y - x \cdot x} \cdot \left(y - x\right)\\ \mathbf{elif}\;c \leq 1.06 \cdot 10^{+169}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{x + \left(y + \left(y \cdot \left(b - c\right)\right) \cdot \left(a \cdot -2\right)\right)}\\ \end{array} \]
Alternative 16
Accuracy49.2%
Cost1760
\[\begin{array}{l} \mathbf{if}\;c \leq -2.3 \cdot 10^{-139}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq -5.2 \cdot 10^{-225}:\\ \;\;\;\;\frac{x}{x - \left(2 \cdot \left(\left(a + 0.8333333333333334\right) \cdot \left(y \cdot b\right)\right) - y\right)}\\ \mathbf{elif}\;c \leq -2.85 \cdot 10^{-238}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq -5.5 \cdot 10^{-262}:\\ \;\;\;\;0.5 \cdot \frac{x}{y \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)}\\ \mathbf{elif}\;c \leq 2.2 \cdot 10^{-304}:\\ \;\;\;\;\frac{x}{x + y}\\ \mathbf{elif}\;c \leq 2.3 \cdot 10^{-223}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq 2.4 \cdot 10^{-109}:\\ \;\;\;\;\frac{x}{y \cdot y - x \cdot x} \cdot \left(y - x\right)\\ \mathbf{elif}\;c \leq 1.5 \cdot 10^{+177}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{y - \left(y \cdot c\right) \cdot \left(a \cdot -2\right)}\\ \end{array} \]
Alternative 17
Accuracy50.4%
Cost1492
\[\begin{array}{l} t_1 := 0.5 \cdot \frac{x}{y \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)}\\ \mathbf{if}\;b \leq -7 \cdot 10^{+152}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq -1.22 \cdot 10^{-146}:\\ \;\;\;\;1\\ \mathbf{elif}\;b \leq 6.3 \cdot 10^{-223}:\\ \;\;\;\;\frac{x}{x + y}\\ \mathbf{elif}\;b \leq 6.6 \cdot 10^{-10}:\\ \;\;\;\;1\\ \mathbf{elif}\;b \leq 6.4 \cdot 10^{+15}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
Alternative 18
Accuracy49.9%
Cost1364
\[\begin{array}{l} \mathbf{if}\;c \leq -2.85 \cdot 10^{-238}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq -9.2 \cdot 10^{-262}:\\ \;\;\;\;0.5 \cdot \frac{x}{y \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)}\\ \mathbf{elif}\;c \leq 2.1 \cdot 10^{-222}:\\ \;\;\;\;1\\ \mathbf{elif}\;c \leq 2.4 \cdot 10^{-109}:\\ \;\;\;\;\frac{x}{y \cdot y - x \cdot x} \cdot \left(y - x\right)\\ \mathbf{elif}\;c \leq 1.2 \cdot 10^{+178}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{y - \left(y \cdot c\right) \cdot \left(a \cdot -2\right)}\\ \end{array} \]
Alternative 19
Accuracy49.2%
Cost1236
\[\begin{array}{l} t_1 := -0.5 \cdot \frac{x}{a \cdot \left(y \cdot b\right)}\\ \mathbf{if}\;y \leq -6.2 \cdot 10^{+230}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 4.2 \cdot 10^{+58}:\\ \;\;\;\;1\\ \mathbf{elif}\;y \leq 4.4 \cdot 10^{+112}:\\ \;\;\;\;\frac{x}{x + y}\\ \mathbf{elif}\;y \leq 1.15 \cdot 10^{+227}:\\ \;\;\;\;1\\ \mathbf{elif}\;y \leq 1.2 \cdot 10^{+260}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
Alternative 20
Accuracy48.3%
Cost1104
\[\begin{array}{l} t_1 := 0.5 \cdot \frac{x}{c \cdot \left(y \cdot a\right)}\\ \mathbf{if}\;y \leq -1.05 \cdot 10^{+228}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 4 \cdot 10^{+58}:\\ \;\;\;\;1\\ \mathbf{elif}\;y \leq 5 \cdot 10^{+112}:\\ \;\;\;\;\frac{x}{x + y}\\ \mathbf{elif}\;y \leq 8.5 \cdot 10^{+226}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 21
Accuracy48.0%
Cost1104
\[\begin{array}{l} t_1 := 0.5 \cdot \frac{x}{c \cdot \left(y \cdot a\right)}\\ \mathbf{if}\;y \leq -6.2 \cdot 10^{+230}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 4.2 \cdot 10^{+58}:\\ \;\;\;\;1\\ \mathbf{elif}\;y \leq 1.35 \cdot 10^{+115}:\\ \;\;\;\;\frac{x}{y + y \cdot \left(2 \cdot \left(c \cdot a\right)\right)}\\ \mathbf{elif}\;y \leq 6.5 \cdot 10^{+226}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 22
Accuracy48.1%
Cost1104
\[\begin{array}{l} \mathbf{if}\;y \leq -5.8 \cdot 10^{+201}:\\ \;\;\;\;\frac{x}{y - \left(y \cdot c\right) \cdot \left(a \cdot -2\right)}\\ \mathbf{elif}\;y \leq 5 \cdot 10^{+58}:\\ \;\;\;\;1\\ \mathbf{elif}\;y \leq 2.35 \cdot 10^{+120}:\\ \;\;\;\;\frac{x}{y + y \cdot \left(2 \cdot \left(c \cdot a\right)\right)}\\ \mathbf{elif}\;y \leq 1.15 \cdot 10^{+227}:\\ \;\;\;\;1\\ \mathbf{else}:\\ \;\;\;\;0.5 \cdot \frac{x}{c \cdot \left(y \cdot a\right)}\\ \end{array} \]
Alternative 23
Accuracy49.4%
Cost584
\[\begin{array}{l} \mathbf{if}\;x \leq -1.8 \cdot 10^{-168}:\\ \;\;\;\;1\\ \mathbf{elif}\;x \leq 4.3 \cdot 10^{-286}:\\ \;\;\;\;\frac{x}{x + y}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
Alternative 24
Accuracy50.4%
Cost456
\[\begin{array}{l} \mathbf{if}\;x \leq -1.95 \cdot 10^{-248}:\\ \;\;\;\;1\\ \mathbf{elif}\;x \leq 4.3 \cdot 10^{-286}:\\ \;\;\;\;\frac{x}{y}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
Alternative 25
Accuracy51.6%
Cost64
\[1 \]

Error

Reproduce?

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

  :herbie-target
  (if (< t -2.118326644891581e-50) (/ x (+ x (* y (exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b))))))) (if (< t 5.196588770651547e-123) (/ x (+ x (* y (exp (* 2.0 (/ (- (* (* z (sqrt (+ t a))) (* (* 3.0 t) (- a (/ 5.0 6.0)))) (* (- (* (+ (/ 5.0 6.0) a) (* 3.0 t)) 2.0) (* (- a (/ 5.0 6.0)) (* (- b c) t)))) (* (* (* t t) 3.0) (- a (/ 5.0 6.0))))))))) (/ x (+ x (* y (exp (* 2.0 (- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))))))))

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