?

Average Error: 7.3 → 1.9
Time: 20.4s
Precision: binary64
Cost: 5452

?

\[\frac{x + \frac{y \cdot z - x}{t \cdot z - x}}{x + 1} \]
\[\begin{array}{l} t_1 := z \cdot t - x\\ t_2 := t_1 \cdot \left(x + 1\right)\\ t_3 := \frac{x + \frac{y \cdot z - x}{t_1}}{x + 1}\\ t_4 := \frac{x}{x + 1}\\ \mathbf{if}\;t_3 \leq -0.5:\\ \;\;\;\;\frac{z}{t_1} \cdot \frac{y}{x + 1}\\ \mathbf{elif}\;t_3 \leq 10^{-16}:\\ \;\;\;\;\frac{x + \frac{y - \frac{x}{z}}{t}}{x + 1}\\ \mathbf{elif}\;t_3 \leq 4 \cdot 10^{+219}:\\ \;\;\;\;\left(\frac{y \cdot z}{t_2} + t_4\right) - \frac{x}{t_2}\\ \mathbf{else}:\\ \;\;\;\;\left(t_4 + \frac{y}{t \cdot \left(x + 1\right)}\right) - \frac{x}{\left(z \cdot t\right) \cdot \left(x + 1\right)}\\ \end{array} \]
(FPCore (x y z t)
 :precision binary64
 (/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0)))
(FPCore (x y z t)
 :precision binary64
 (let* ((t_1 (- (* z t) x))
        (t_2 (* t_1 (+ x 1.0)))
        (t_3 (/ (+ x (/ (- (* y z) x) t_1)) (+ x 1.0)))
        (t_4 (/ x (+ x 1.0))))
   (if (<= t_3 -0.5)
     (* (/ z t_1) (/ y (+ x 1.0)))
     (if (<= t_3 1e-16)
       (/ (+ x (/ (- y (/ x z)) t)) (+ x 1.0))
       (if (<= t_3 4e+219)
         (- (+ (/ (* y z) t_2) t_4) (/ x t_2))
         (- (+ t_4 (/ y (* t (+ x 1.0)))) (/ x (* (* z t) (+ x 1.0)))))))))
double code(double x, double y, double z, double t) {
	return (x + (((y * z) - x) / ((t * z) - x))) / (x + 1.0);
}
double code(double x, double y, double z, double t) {
	double t_1 = (z * t) - x;
	double t_2 = t_1 * (x + 1.0);
	double t_3 = (x + (((y * z) - x) / t_1)) / (x + 1.0);
	double t_4 = x / (x + 1.0);
	double tmp;
	if (t_3 <= -0.5) {
		tmp = (z / t_1) * (y / (x + 1.0));
	} else if (t_3 <= 1e-16) {
		tmp = (x + ((y - (x / z)) / t)) / (x + 1.0);
	} else if (t_3 <= 4e+219) {
		tmp = (((y * z) / t_2) + t_4) - (x / t_2);
	} else {
		tmp = (t_4 + (y / (t * (x + 1.0)))) - (x / ((z * t) * (x + 1.0)));
	}
	return tmp;
}
real(8) function code(x, y, z, t)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    code = (x + (((y * z) - x) / ((t * z) - x))) / (x + 1.0d0)
end function
real(8) function code(x, y, z, t)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: tmp
    t_1 = (z * t) - x
    t_2 = t_1 * (x + 1.0d0)
    t_3 = (x + (((y * z) - x) / t_1)) / (x + 1.0d0)
    t_4 = x / (x + 1.0d0)
    if (t_3 <= (-0.5d0)) then
        tmp = (z / t_1) * (y / (x + 1.0d0))
    else if (t_3 <= 1d-16) then
        tmp = (x + ((y - (x / z)) / t)) / (x + 1.0d0)
    else if (t_3 <= 4d+219) then
        tmp = (((y * z) / t_2) + t_4) - (x / t_2)
    else
        tmp = (t_4 + (y / (t * (x + 1.0d0)))) - (x / ((z * t) * (x + 1.0d0)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t) {
	return (x + (((y * z) - x) / ((t * z) - x))) / (x + 1.0);
}
public static double code(double x, double y, double z, double t) {
	double t_1 = (z * t) - x;
	double t_2 = t_1 * (x + 1.0);
	double t_3 = (x + (((y * z) - x) / t_1)) / (x + 1.0);
	double t_4 = x / (x + 1.0);
	double tmp;
	if (t_3 <= -0.5) {
		tmp = (z / t_1) * (y / (x + 1.0));
	} else if (t_3 <= 1e-16) {
		tmp = (x + ((y - (x / z)) / t)) / (x + 1.0);
	} else if (t_3 <= 4e+219) {
		tmp = (((y * z) / t_2) + t_4) - (x / t_2);
	} else {
		tmp = (t_4 + (y / (t * (x + 1.0)))) - (x / ((z * t) * (x + 1.0)));
	}
	return tmp;
}
def code(x, y, z, t):
	return (x + (((y * z) - x) / ((t * z) - x))) / (x + 1.0)
def code(x, y, z, t):
	t_1 = (z * t) - x
	t_2 = t_1 * (x + 1.0)
	t_3 = (x + (((y * z) - x) / t_1)) / (x + 1.0)
	t_4 = x / (x + 1.0)
	tmp = 0
	if t_3 <= -0.5:
		tmp = (z / t_1) * (y / (x + 1.0))
	elif t_3 <= 1e-16:
		tmp = (x + ((y - (x / z)) / t)) / (x + 1.0)
	elif t_3 <= 4e+219:
		tmp = (((y * z) / t_2) + t_4) - (x / t_2)
	else:
		tmp = (t_4 + (y / (t * (x + 1.0)))) - (x / ((z * t) * (x + 1.0)))
	return tmp
function code(x, y, z, t)
	return Float64(Float64(x + Float64(Float64(Float64(y * z) - x) / Float64(Float64(t * z) - x))) / Float64(x + 1.0))
end
function code(x, y, z, t)
	t_1 = Float64(Float64(z * t) - x)
	t_2 = Float64(t_1 * Float64(x + 1.0))
	t_3 = Float64(Float64(x + Float64(Float64(Float64(y * z) - x) / t_1)) / Float64(x + 1.0))
	t_4 = Float64(x / Float64(x + 1.0))
	tmp = 0.0
	if (t_3 <= -0.5)
		tmp = Float64(Float64(z / t_1) * Float64(y / Float64(x + 1.0)));
	elseif (t_3 <= 1e-16)
		tmp = Float64(Float64(x + Float64(Float64(y - Float64(x / z)) / t)) / Float64(x + 1.0));
	elseif (t_3 <= 4e+219)
		tmp = Float64(Float64(Float64(Float64(y * z) / t_2) + t_4) - Float64(x / t_2));
	else
		tmp = Float64(Float64(t_4 + Float64(y / Float64(t * Float64(x + 1.0)))) - Float64(x / Float64(Float64(z * t) * Float64(x + 1.0))));
	end
	return tmp
end
function tmp = code(x, y, z, t)
	tmp = (x + (((y * z) - x) / ((t * z) - x))) / (x + 1.0);
end
function tmp_2 = code(x, y, z, t)
	t_1 = (z * t) - x;
	t_2 = t_1 * (x + 1.0);
	t_3 = (x + (((y * z) - x) / t_1)) / (x + 1.0);
	t_4 = x / (x + 1.0);
	tmp = 0.0;
	if (t_3 <= -0.5)
		tmp = (z / t_1) * (y / (x + 1.0));
	elseif (t_3 <= 1e-16)
		tmp = (x + ((y - (x / z)) / t)) / (x + 1.0);
	elseif (t_3 <= 4e+219)
		tmp = (((y * z) / t_2) + t_4) - (x / t_2);
	else
		tmp = (t_4 + (y / (t * (x + 1.0)))) - (x / ((z * t) * (x + 1.0)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_] := N[(N[(x + N[(N[(N[(y * z), $MachinePrecision] - x), $MachinePrecision] / N[(N[(t * z), $MachinePrecision] - x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(x + 1.0), $MachinePrecision]), $MachinePrecision]
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(N[(z * t), $MachinePrecision] - x), $MachinePrecision]}, Block[{t$95$2 = N[(t$95$1 * N[(x + 1.0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x + N[(N[(N[(y * z), $MachinePrecision] - x), $MachinePrecision] / t$95$1), $MachinePrecision]), $MachinePrecision] / N[(x + 1.0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(x / N[(x + 1.0), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$3, -0.5], N[(N[(z / t$95$1), $MachinePrecision] * N[(y / N[(x + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$3, 1e-16], N[(N[(x + N[(N[(y - N[(x / z), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision] / N[(x + 1.0), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$3, 4e+219], N[(N[(N[(N[(y * z), $MachinePrecision] / t$95$2), $MachinePrecision] + t$95$4), $MachinePrecision] - N[(x / t$95$2), $MachinePrecision]), $MachinePrecision], N[(N[(t$95$4 + N[(y / N[(t * N[(x + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(x / N[(N[(z * t), $MachinePrecision] * N[(x + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\frac{x + \frac{y \cdot z - x}{t \cdot z - x}}{x + 1}
\begin{array}{l}
t_1 := z \cdot t - x\\
t_2 := t_1 \cdot \left(x + 1\right)\\
t_3 := \frac{x + \frac{y \cdot z - x}{t_1}}{x + 1}\\
t_4 := \frac{x}{x + 1}\\
\mathbf{if}\;t_3 \leq -0.5:\\
\;\;\;\;\frac{z}{t_1} \cdot \frac{y}{x + 1}\\

\mathbf{elif}\;t_3 \leq 10^{-16}:\\
\;\;\;\;\frac{x + \frac{y - \frac{x}{z}}{t}}{x + 1}\\

\mathbf{elif}\;t_3 \leq 4 \cdot 10^{+219}:\\
\;\;\;\;\left(\frac{y \cdot z}{t_2} + t_4\right) - \frac{x}{t_2}\\

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


\end{array}

Error?

Try it out?

Your Program's Arguments

Results

Enter valid numbers for all inputs

Target

Original7.3
Target0.4
Herbie1.9
\[\frac{x + \left(\frac{y}{t - \frac{x}{z}} - \frac{x}{t \cdot z - x}\right)}{x + 1} \]

Derivation?

  1. Split input into 4 regimes
  2. if (/.f64 (+.f64 x (/.f64 (-.f64 (*.f64 y z) x) (-.f64 (*.f64 t z) x))) (+.f64 x 1)) < -0.5

    1. Initial program 16.6

      \[\frac{x + \frac{y \cdot z - x}{t \cdot z - x}}{x + 1} \]
    2. Simplified16.6

      \[\leadsto \color{blue}{\frac{x + \frac{y \cdot z - x}{z \cdot t - x}}{x + 1}} \]
      Proof

      [Start]16.6

      \[ \frac{x + \frac{y \cdot z - x}{t \cdot z - x}}{x + 1} \]

      *-commutative [=>]16.6

      \[ \frac{x + \frac{y \cdot z - x}{\color{blue}{z \cdot t} - x}}{x + 1} \]
    3. Taylor expanded in y around inf 17.9

      \[\leadsto \color{blue}{\frac{y \cdot z}{\left(t \cdot z - x\right) \cdot \left(1 + x\right)}} \]
    4. Applied egg-rr6.3

      \[\leadsto \color{blue}{\frac{z}{t \cdot z - x} \cdot \frac{y}{x + 1}} \]

    if -0.5 < (/.f64 (+.f64 x (/.f64 (-.f64 (*.f64 y z) x) (-.f64 (*.f64 t z) x))) (+.f64 x 1)) < 9.9999999999999998e-17

    1. Initial program 2.4

      \[\frac{x + \frac{y \cdot z - x}{t \cdot z - x}}{x + 1} \]
    2. Simplified2.4

      \[\leadsto \color{blue}{\frac{x + \frac{y \cdot z - x}{z \cdot t - x}}{x + 1}} \]
      Proof

      [Start]2.4

      \[ \frac{x + \frac{y \cdot z - x}{t \cdot z - x}}{x + 1} \]

      *-commutative [=>]2.4

      \[ \frac{x + \frac{y \cdot z - x}{\color{blue}{z \cdot t} - x}}{x + 1} \]
    3. Taylor expanded in t around -inf 0.4

      \[\leadsto \frac{\color{blue}{-1 \cdot \frac{-1 \cdot y - -1 \cdot \frac{x}{z}}{t} + x}}{x + 1} \]

    if 9.9999999999999998e-17 < (/.f64 (+.f64 x (/.f64 (-.f64 (*.f64 y z) x) (-.f64 (*.f64 t z) x))) (+.f64 x 1)) < 3.99999999999999986e219

    1. Initial program 0.1

      \[\frac{x + \frac{y \cdot z - x}{t \cdot z - x}}{x + 1} \]
    2. Simplified0.1

      \[\leadsto \color{blue}{\frac{x + \frac{y \cdot z - x}{z \cdot t - x}}{x + 1}} \]
      Proof

      [Start]0.1

      \[ \frac{x + \frac{y \cdot z - x}{t \cdot z - x}}{x + 1} \]

      *-commutative [=>]0.1

      \[ \frac{x + \frac{y \cdot z - x}{\color{blue}{z \cdot t} - x}}{x + 1} \]
    3. Taylor expanded in y around 0 0.1

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

    if 3.99999999999999986e219 < (/.f64 (+.f64 x (/.f64 (-.f64 (*.f64 y z) x) (-.f64 (*.f64 t z) x))) (+.f64 x 1))

    1. Initial program 55.8

      \[\frac{x + \frac{y \cdot z - x}{t \cdot z - x}}{x + 1} \]
    2. Simplified55.8

      \[\leadsto \color{blue}{\frac{x + \frac{y \cdot z - x}{z \cdot t - x}}{x + 1}} \]
      Proof

      [Start]55.8

      \[ \frac{x + \frac{y \cdot z - x}{t \cdot z - x}}{x + 1} \]

      *-commutative [=>]55.8

      \[ \frac{x + \frac{y \cdot z - x}{\color{blue}{z \cdot t} - x}}{x + 1} \]
    3. Taylor expanded in t around inf 11.6

      \[\leadsto \color{blue}{\left(\frac{x}{1 + x} + \frac{y}{\left(1 + x\right) \cdot t}\right) - \frac{x}{\left(1 + x\right) \cdot \left(t \cdot z\right)}} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification1.9

    \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{x + \frac{y \cdot z - x}{z \cdot t - x}}{x + 1} \leq -0.5:\\ \;\;\;\;\frac{z}{z \cdot t - x} \cdot \frac{y}{x + 1}\\ \mathbf{elif}\;\frac{x + \frac{y \cdot z - x}{z \cdot t - x}}{x + 1} \leq 10^{-16}:\\ \;\;\;\;\frac{x + \frac{y - \frac{x}{z}}{t}}{x + 1}\\ \mathbf{elif}\;\frac{x + \frac{y \cdot z - x}{z \cdot t - x}}{x + 1} \leq 4 \cdot 10^{+219}:\\ \;\;\;\;\left(\frac{y \cdot z}{\left(z \cdot t - x\right) \cdot \left(x + 1\right)} + \frac{x}{x + 1}\right) - \frac{x}{\left(z \cdot t - x\right) \cdot \left(x + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;\left(\frac{x}{x + 1} + \frac{y}{t \cdot \left(x + 1\right)}\right) - \frac{x}{\left(z \cdot t\right) \cdot \left(x + 1\right)}\\ \end{array} \]

Alternatives

Alternative 1
Error1.9
Cost4940
\[\begin{array}{l} t_1 := z \cdot t - x\\ t_2 := \frac{x + \frac{y \cdot z - x}{t_1}}{x + 1}\\ \mathbf{if}\;t_2 \leq -0.5:\\ \;\;\;\;\frac{z}{t_1} \cdot \frac{y}{x + 1}\\ \mathbf{elif}\;t_2 \leq 10^{-16}:\\ \;\;\;\;\frac{x + \frac{y - \frac{x}{z}}{t}}{x + 1}\\ \mathbf{elif}\;t_2 \leq 4 \cdot 10^{+219}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;\left(\frac{x}{x + 1} + \frac{y}{t \cdot \left(x + 1\right)}\right) - \frac{x}{\left(z \cdot t\right) \cdot \left(x + 1\right)}\\ \end{array} \]
Alternative 2
Error1.7
Cost4556
\[\begin{array}{l} t_1 := x + \frac{y}{t}\\ t_2 := z \cdot t - x\\ t_3 := \frac{x + \frac{y \cdot z - x}{t_2}}{x + 1}\\ \mathbf{if}\;t_3 \leq -0.5:\\ \;\;\;\;\frac{z}{t_2} \cdot \frac{y}{x + 1}\\ \mathbf{elif}\;t_3 \leq 10^{-16}:\\ \;\;\;\;\frac{t_1 - \frac{x}{z \cdot t}}{x + 1}\\ \mathbf{elif}\;t_3 \leq 2 \cdot 10^{+275}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;\frac{1}{\frac{x + 1}{t_1}}\\ \end{array} \]
Alternative 3
Error1.7
Cost4556
\[\begin{array}{l} t_1 := z \cdot t - x\\ t_2 := \frac{x + \frac{y \cdot z - x}{t_1}}{x + 1}\\ \mathbf{if}\;t_2 \leq -0.5:\\ \;\;\;\;\frac{z}{t_1} \cdot \frac{y}{x + 1}\\ \mathbf{elif}\;t_2 \leq 10^{-16}:\\ \;\;\;\;\frac{x + \frac{y - \frac{x}{z}}{t}}{x + 1}\\ \mathbf{elif}\;t_2 \leq 2 \cdot 10^{+275}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;\frac{1}{\frac{x + 1}{x + \frac{y}{t}}}\\ \end{array} \]
Alternative 4
Error13.3
Cost1625
\[\begin{array}{l} t_1 := \frac{x - \frac{x}{z \cdot t - x}}{x + 1}\\ t_2 := \frac{x + \frac{y}{t}}{x + 1}\\ \mathbf{if}\;t \leq -4000000:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -5.4 \cdot 10^{-98}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq -5.2 \cdot 10^{-112}:\\ \;\;\;\;\frac{y}{t \cdot \left(x + 1\right)}\\ \mathbf{elif}\;t \leq 1.25 \cdot 10^{-118}:\\ \;\;\;\;\frac{x + \frac{x - y \cdot z}{x}}{x + 1}\\ \mathbf{elif}\;t \leq 2.45 \cdot 10^{+104} \lor \neg \left(t \leq 5.2 \cdot 10^{+171}\right):\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 5
Error13.3
Cost1625
\[\begin{array}{l} t_1 := \frac{x - \frac{x}{z \cdot t - x}}{x + 1}\\ t_2 := \frac{x + \frac{y}{t}}{x + 1}\\ \mathbf{if}\;t \leq -3300000:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t \leq -1.56 \cdot 10^{-96}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;t \leq -6.8 \cdot 10^{-112}:\\ \;\;\;\;\frac{y}{t \cdot \left(x + 1\right)}\\ \mathbf{elif}\;t \leq 2.6 \cdot 10^{-117}:\\ \;\;\;\;\frac{\left(x + 1\right) - \frac{y \cdot z}{x}}{x + 1}\\ \mathbf{elif}\;t \leq 2.3 \cdot 10^{+104} \lor \neg \left(t \leq 8 \cdot 10^{+171}\right):\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 6
Error11.5
Cost1352
\[\begin{array}{l} t_1 := z \cdot t - x\\ t_2 := \frac{x}{x + 1}\\ \mathbf{if}\;x \leq -1.8 \cdot 10^{-74}:\\ \;\;\;\;\frac{x - \frac{x}{t_1}}{x + 1}\\ \mathbf{elif}\;x \leq 1.65 \cdot 10^{-75}:\\ \;\;\;\;\frac{\left(x + \frac{y}{t}\right) - \frac{x}{z \cdot t}}{x + 1}\\ \mathbf{else}:\\ \;\;\;\;t_2 - \frac{t_2}{t_1}\\ \end{array} \]
Alternative 7
Error11.5
Cost1225
\[\begin{array}{l} \mathbf{if}\;x \leq -1.38 \cdot 10^{-74} \lor \neg \left(x \leq 9.6 \cdot 10^{-76}\right):\\ \;\;\;\;\frac{x - \frac{x}{z \cdot t - x}}{x + 1}\\ \mathbf{else}:\\ \;\;\;\;\frac{\left(x + \frac{y}{t}\right) - \frac{x}{z \cdot t}}{x + 1}\\ \end{array} \]
Alternative 8
Error13.1
Cost1097
\[\begin{array}{l} \mathbf{if}\;z \leq -3.6 \cdot 10^{-32} \lor \neg \left(z \leq 5.1 \cdot 10^{+91}\right):\\ \;\;\;\;\frac{x + \frac{y}{t}}{x + 1}\\ \mathbf{else}:\\ \;\;\;\;\frac{x - \frac{x}{z \cdot t - x}}{x + 1}\\ \end{array} \]
Alternative 9
Error20.7
Cost844
\[\begin{array}{l} \mathbf{if}\;x \leq -2.06 \cdot 10^{-75}:\\ \;\;\;\;1\\ \mathbf{elif}\;x \leq -2.93 \cdot 10^{-172}:\\ \;\;\;\;x \cdot \left(1 + \frac{-1}{z \cdot t}\right)\\ \mathbf{elif}\;x \leq 3.6 \cdot 10^{-75}:\\ \;\;\;\;\frac{y}{t \cdot \left(x + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
Alternative 10
Error14.7
Cost840
\[\begin{array}{l} \mathbf{if}\;x \leq -2.5 \cdot 10^{+48}:\\ \;\;\;\;1\\ \mathbf{elif}\;x \leq 8.8 \cdot 10^{-14}:\\ \;\;\;\;\frac{x + \frac{y}{t}}{x + 1}\\ \mathbf{else}:\\ \;\;\;\;1 - z \cdot \frac{y}{x \cdot x}\\ \end{array} \]
Alternative 11
Error20.4
Cost712
\[\begin{array}{l} \mathbf{if}\;x \leq -2.65 \cdot 10^{-76}:\\ \;\;\;\;1\\ \mathbf{elif}\;x \leq 5.5 \cdot 10^{-75}:\\ \;\;\;\;\frac{y}{t \cdot \left(x + 1\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
Alternative 12
Error20.4
Cost456
\[\begin{array}{l} \mathbf{if}\;x \leq -1.36 \cdot 10^{-78}:\\ \;\;\;\;1\\ \mathbf{elif}\;x \leq 1.3 \cdot 10^{-76}:\\ \;\;\;\;\frac{y}{t}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
Alternative 13
Error28.3
Cost64
\[1 \]

Error

Reproduce?

herbie shell --seed 2023054 
(FPCore (x y z t)
  :name "Diagrams.Trail:splitAtParam  from diagrams-lib-1.3.0.3, A"
  :precision binary64

  :herbie-target
  (/ (+ x (- (/ y (- t (/ x z))) (/ x (- (* t z) x)))) (+ x 1.0))

  (/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0)))