Diagrams.Solve.Tridiagonal:solveCyclicTriDiagonal from diagrams-solve-0.1, B

Percentage Accurate: 74.9% → 86.1%
Time: 14.8s
Alternatives: 11
Speedup: 0.6×

Specification

?
\[\begin{array}{l} \\ \frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \end{array} \]
(FPCore (x y z t a b)
 :precision binary64
 (/ (+ x (/ (* y z) t)) (+ (+ a 1.0) (/ (* y b) t))))
double code(double x, double y, double z, double t, double a, double b) {
	return (x + ((y * z) / t)) / ((a + 1.0) + ((y * b) / t));
}
real(8) function code(x, y, z, t, a, b)
    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
    code = (x + ((y * z) / t)) / ((a + 1.0d0) + ((y * b) / t))
end function
public static double code(double x, double y, double z, double t, double a, double b) {
	return (x + ((y * z) / t)) / ((a + 1.0) + ((y * b) / t));
}
def code(x, y, z, t, a, b):
	return (x + ((y * z) / t)) / ((a + 1.0) + ((y * b) / t))
function code(x, y, z, t, a, b)
	return Float64(Float64(x + Float64(Float64(y * z) / t)) / Float64(Float64(a + 1.0) + Float64(Float64(y * b) / t)))
end
function tmp = code(x, y, z, t, a, b)
	tmp = (x + ((y * z) / t)) / ((a + 1.0) + ((y * b) / t));
end
code[x_, y_, z_, t_, a_, b_] := N[(N[(x + N[(N[(y * z), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision] / N[(N[(a + 1.0), $MachinePrecision] + N[(N[(y * b), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}}
\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 11 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: 74.9% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \end{array} \]
(FPCore (x y z t a b)
 :precision binary64
 (/ (+ x (/ (* y z) t)) (+ (+ a 1.0) (/ (* y b) t))))
double code(double x, double y, double z, double t, double a, double b) {
	return (x + ((y * z) / t)) / ((a + 1.0) + ((y * b) / t));
}
real(8) function code(x, y, z, t, a, b)
    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
    code = (x + ((y * z) / t)) / ((a + 1.0d0) + ((y * b) / t))
end function
public static double code(double x, double y, double z, double t, double a, double b) {
	return (x + ((y * z) / t)) / ((a + 1.0) + ((y * b) / t));
}
def code(x, y, z, t, a, b):
	return (x + ((y * z) / t)) / ((a + 1.0) + ((y * b) / t))
function code(x, y, z, t, a, b)
	return Float64(Float64(x + Float64(Float64(y * z) / t)) / Float64(Float64(a + 1.0) + Float64(Float64(y * b) / t)))
end
function tmp = code(x, y, z, t, a, b)
	tmp = (x + ((y * z) / t)) / ((a + 1.0) + ((y * b) / t));
end
code[x_, y_, z_, t_, a_, b_] := N[(N[(x + N[(N[(y * z), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision] / N[(N[(a + 1.0), $MachinePrecision] + N[(N[(y * b), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}}
\end{array}

Alternative 1: 86.1% accurate, 0.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}}\\ \mathbf{if}\;t\_1 \leq -\infty:\\ \;\;\;\;\frac{z}{b}\\ \mathbf{elif}\;t\_1 \leq 5 \cdot 10^{+280}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\frac{z}{b}\\ \end{array} \end{array} \]
(FPCore (x y z t a b)
 :precision binary64
 (let* ((t_1 (/ (+ x (/ (* y z) t)) (+ (+ a 1.0) (/ (* y b) t)))))
   (if (<= t_1 (- INFINITY)) (/ z b) (if (<= t_1 5e+280) t_1 (/ z b)))))
double code(double x, double y, double z, double t, double a, double b) {
	double t_1 = (x + ((y * z) / t)) / ((a + 1.0) + ((y * b) / t));
	double tmp;
	if (t_1 <= -((double) INFINITY)) {
		tmp = z / b;
	} else if (t_1 <= 5e+280) {
		tmp = t_1;
	} else {
		tmp = z / b;
	}
	return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b) {
	double t_1 = (x + ((y * z) / t)) / ((a + 1.0) + ((y * b) / t));
	double tmp;
	if (t_1 <= -Double.POSITIVE_INFINITY) {
		tmp = z / b;
	} else if (t_1 <= 5e+280) {
		tmp = t_1;
	} else {
		tmp = z / b;
	}
	return tmp;
}
def code(x, y, z, t, a, b):
	t_1 = (x + ((y * z) / t)) / ((a + 1.0) + ((y * b) / t))
	tmp = 0
	if t_1 <= -math.inf:
		tmp = z / b
	elif t_1 <= 5e+280:
		tmp = t_1
	else:
		tmp = z / b
	return tmp
function code(x, y, z, t, a, b)
	t_1 = Float64(Float64(x + Float64(Float64(y * z) / t)) / Float64(Float64(a + 1.0) + Float64(Float64(y * b) / t)))
	tmp = 0.0
	if (t_1 <= Float64(-Inf))
		tmp = Float64(z / b);
	elseif (t_1 <= 5e+280)
		tmp = t_1;
	else
		tmp = Float64(z / b);
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b)
	t_1 = (x + ((y * z) / t)) / ((a + 1.0) + ((y * b) / t));
	tmp = 0.0;
	if (t_1 <= -Inf)
		tmp = z / b;
	elseif (t_1 <= 5e+280)
		tmp = t_1;
	else
		tmp = z / b;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(x + N[(N[(y * z), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision] / N[(N[(a + 1.0), $MachinePrecision] + N[(N[(y * b), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, (-Infinity)], N[(z / b), $MachinePrecision], If[LessEqual[t$95$1, 5e+280], t$95$1, N[(z / b), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}}\\
\mathbf{if}\;t\_1 \leq -\infty:\\
\;\;\;\;\frac{z}{b}\\

\mathbf{elif}\;t\_1 \leq 5 \cdot 10^{+280}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;\frac{z}{b}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if (/.f64 (+.f64 x (/.f64 (*.f64 y z) t)) (+.f64 (+.f64 a #s(literal 1 binary64)) (/.f64 (*.f64 y b) t))) < -inf.0 or 5.0000000000000002e280 < (/.f64 (+.f64 x (/.f64 (*.f64 y z) t)) (+.f64 (+.f64 a #s(literal 1 binary64)) (/.f64 (*.f64 y b) t)))

    1. Initial program 11.4%

      \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
    2. Add Preprocessing
    3. Taylor expanded in y around inf

      \[\leadsto \color{blue}{\frac{z}{b}} \]
    4. Step-by-step derivation
      1. /-lowering-/.f6479.2%

        \[\leadsto \mathsf{/.f64}\left(z, \color{blue}{b}\right) \]
    5. Simplified79.2%

      \[\leadsto \color{blue}{\frac{z}{b}} \]

    if -inf.0 < (/.f64 (+.f64 x (/.f64 (*.f64 y z) t)) (+.f64 (+.f64 a #s(literal 1 binary64)) (/.f64 (*.f64 y b) t))) < 5.0000000000000002e280

    1. Initial program 90.9%

      \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
    2. Add Preprocessing
  3. Recombined 2 regimes into one program.
  4. Add Preprocessing

Alternative 2: 65.1% accurate, 0.6× speedup?

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

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

\mathbf{elif}\;t \leq 2.65 \cdot 10^{-132}:\\
\;\;\;\;\frac{z}{b}\\

\mathbf{elif}\;t \leq 1.4 \cdot 10^{+58}:\\
\;\;\;\;\frac{t\_1}{a + \frac{y \cdot b}{t}}\\

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


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

    1. Initial program 78.4%

      \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. associate-*l/N/A

        \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \left(\frac{y}{t} \cdot z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, \color{blue}{1}\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
      2. *-lowering-*.f64N/A

        \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\left(\frac{y}{t}\right), z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, \color{blue}{1}\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
      3. /-lowering-/.f6480.7%

        \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
    4. Applied egg-rr80.7%

      \[\leadsto \frac{x + \color{blue}{\frac{y}{t} \cdot z}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
    5. Taylor expanded in y around 0

      \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \color{blue}{\left(1 + a\right)}\right) \]
    6. Step-by-step derivation
      1. +-lowering-+.f6466.6%

        \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(1, \color{blue}{a}\right)\right) \]
    7. Simplified66.6%

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

    if -5.50000000000000028e-178 < t < 2.65000000000000015e-132

    1. Initial program 44.3%

      \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
    2. Add Preprocessing
    3. Taylor expanded in y around inf

      \[\leadsto \color{blue}{\frac{z}{b}} \]
    4. Step-by-step derivation
      1. /-lowering-/.f6478.4%

        \[\leadsto \mathsf{/.f64}\left(z, \color{blue}{b}\right) \]
    5. Simplified78.4%

      \[\leadsto \color{blue}{\frac{z}{b}} \]

    if 2.65000000000000015e-132 < t < 1.3999999999999999e58

    1. Initial program 89.2%

      \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. associate-*l/N/A

        \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \left(\frac{y}{t} \cdot z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, \color{blue}{1}\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
      2. *-lowering-*.f64N/A

        \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\left(\frac{y}{t}\right), z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, \color{blue}{1}\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
      3. /-lowering-/.f6484.7%

        \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
    4. Applied egg-rr84.7%

      \[\leadsto \frac{x + \color{blue}{\frac{y}{t} \cdot z}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
    5. Taylor expanded in a around inf

      \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\color{blue}{a}, \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
    6. Step-by-step derivation
      1. Simplified71.4%

        \[\leadsto \frac{x + \frac{y}{t} \cdot z}{\color{blue}{a} + \frac{y \cdot b}{t}} \]

      if 1.3999999999999999e58 < t

      1. Initial program 86.4%

        \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
      2. Add Preprocessing
      3. Taylor expanded in x around inf

        \[\leadsto \mathsf{/.f64}\left(\color{blue}{x}, \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
      4. Step-by-step derivation
        1. Simplified79.7%

          \[\leadsto \frac{\color{blue}{x}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
        2. Step-by-step derivation
          1. *-commutativeN/A

            \[\leadsto \mathsf{/.f64}\left(x, \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \left(\frac{b \cdot y}{t}\right)\right)\right) \]
          2. associate-/l*N/A

            \[\leadsto \mathsf{/.f64}\left(x, \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \left(b \cdot \color{blue}{\frac{y}{t}}\right)\right)\right) \]
          3. *-commutativeN/A

            \[\leadsto \mathsf{/.f64}\left(x, \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \left(\frac{y}{t} \cdot \color{blue}{b}\right)\right)\right) \]
          4. *-lowering-*.f64N/A

            \[\leadsto \mathsf{/.f64}\left(x, \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \mathsf{*.f64}\left(\left(\frac{y}{t}\right), \color{blue}{b}\right)\right)\right) \]
          5. /-lowering-/.f6479.7%

            \[\leadsto \mathsf{/.f64}\left(x, \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), b\right)\right)\right) \]
        3. Applied egg-rr79.7%

          \[\leadsto \frac{x}{\left(a + 1\right) + \color{blue}{\frac{y}{t} \cdot b}} \]
      5. Recombined 4 regimes into one program.
      6. Final simplification72.9%

        \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -5.5 \cdot 10^{-178}:\\ \;\;\;\;\frac{x + z \cdot \frac{y}{t}}{a + 1}\\ \mathbf{elif}\;t \leq 2.65 \cdot 10^{-132}:\\ \;\;\;\;\frac{z}{b}\\ \mathbf{elif}\;t \leq 1.4 \cdot 10^{+58}:\\ \;\;\;\;\frac{x + z \cdot \frac{y}{t}}{a + \frac{y \cdot b}{t}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{\left(a + 1\right) + b \cdot \frac{y}{t}}\\ \end{array} \]
      7. Add Preprocessing

      Alternative 3: 78.1% accurate, 0.6× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := x + z \cdot \frac{y}{t}\\ \mathbf{if}\;t \leq -2.55 \cdot 10^{-211}:\\ \;\;\;\;\frac{t\_1}{\left(a + 1\right) + \frac{y \cdot b}{t}}\\ \mathbf{elif}\;t \leq 6.8 \cdot 10^{-106}:\\ \;\;\;\;\frac{z}{b}\\ \mathbf{else}:\\ \;\;\;\;\frac{t\_1}{\left(a + 1\right) + \frac{y}{\frac{t}{b}}}\\ \end{array} \end{array} \]
      (FPCore (x y z t a b)
       :precision binary64
       (let* ((t_1 (+ x (* z (/ y t)))))
         (if (<= t -2.55e-211)
           (/ t_1 (+ (+ a 1.0) (/ (* y b) t)))
           (if (<= t 6.8e-106) (/ z b) (/ t_1 (+ (+ a 1.0) (/ y (/ t b))))))))
      double code(double x, double y, double z, double t, double a, double b) {
      	double t_1 = x + (z * (y / t));
      	double tmp;
      	if (t <= -2.55e-211) {
      		tmp = t_1 / ((a + 1.0) + ((y * b) / t));
      	} else if (t <= 6.8e-106) {
      		tmp = z / b;
      	} else {
      		tmp = t_1 / ((a + 1.0) + (y / (t / b)));
      	}
      	return tmp;
      }
      
      real(8) function code(x, y, z, t, a, b)
          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) :: t_1
          real(8) :: tmp
          t_1 = x + (z * (y / t))
          if (t <= (-2.55d-211)) then
              tmp = t_1 / ((a + 1.0d0) + ((y * b) / t))
          else if (t <= 6.8d-106) then
              tmp = z / b
          else
              tmp = t_1 / ((a + 1.0d0) + (y / (t / b)))
          end if
          code = tmp
      end function
      
      public static double code(double x, double y, double z, double t, double a, double b) {
      	double t_1 = x + (z * (y / t));
      	double tmp;
      	if (t <= -2.55e-211) {
      		tmp = t_1 / ((a + 1.0) + ((y * b) / t));
      	} else if (t <= 6.8e-106) {
      		tmp = z / b;
      	} else {
      		tmp = t_1 / ((a + 1.0) + (y / (t / b)));
      	}
      	return tmp;
      }
      
      def code(x, y, z, t, a, b):
      	t_1 = x + (z * (y / t))
      	tmp = 0
      	if t <= -2.55e-211:
      		tmp = t_1 / ((a + 1.0) + ((y * b) / t))
      	elif t <= 6.8e-106:
      		tmp = z / b
      	else:
      		tmp = t_1 / ((a + 1.0) + (y / (t / b)))
      	return tmp
      
      function code(x, y, z, t, a, b)
      	t_1 = Float64(x + Float64(z * Float64(y / t)))
      	tmp = 0.0
      	if (t <= -2.55e-211)
      		tmp = Float64(t_1 / Float64(Float64(a + 1.0) + Float64(Float64(y * b) / t)));
      	elseif (t <= 6.8e-106)
      		tmp = Float64(z / b);
      	else
      		tmp = Float64(t_1 / Float64(Float64(a + 1.0) + Float64(y / Float64(t / b))));
      	end
      	return tmp
      end
      
      function tmp_2 = code(x, y, z, t, a, b)
      	t_1 = x + (z * (y / t));
      	tmp = 0.0;
      	if (t <= -2.55e-211)
      		tmp = t_1 / ((a + 1.0) + ((y * b) / t));
      	elseif (t <= 6.8e-106)
      		tmp = z / b;
      	else
      		tmp = t_1 / ((a + 1.0) + (y / (t / b)));
      	end
      	tmp_2 = tmp;
      end
      
      code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x + N[(z * N[(y / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.55e-211], N[(t$95$1 / N[(N[(a + 1.0), $MachinePrecision] + N[(N[(y * b), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 6.8e-106], N[(z / b), $MachinePrecision], N[(t$95$1 / N[(N[(a + 1.0), $MachinePrecision] + N[(y / N[(t / b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := x + z \cdot \frac{y}{t}\\
      \mathbf{if}\;t \leq -2.55 \cdot 10^{-211}:\\
      \;\;\;\;\frac{t\_1}{\left(a + 1\right) + \frac{y \cdot b}{t}}\\
      
      \mathbf{elif}\;t \leq 6.8 \cdot 10^{-106}:\\
      \;\;\;\;\frac{z}{b}\\
      
      \mathbf{else}:\\
      \;\;\;\;\frac{t\_1}{\left(a + 1\right) + \frac{y}{\frac{t}{b}}}\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 3 regimes
      2. if t < -2.55000000000000006e-211

        1. Initial program 78.2%

          \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
        2. Add Preprocessing
        3. Step-by-step derivation
          1. associate-*l/N/A

            \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \left(\frac{y}{t} \cdot z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, \color{blue}{1}\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
          2. *-lowering-*.f64N/A

            \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\left(\frac{y}{t}\right), z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, \color{blue}{1}\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
          3. /-lowering-/.f6480.5%

            \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
        4. Applied egg-rr80.5%

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

        if -2.55000000000000006e-211 < t < 6.79999999999999965e-106

        1. Initial program 47.0%

          \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
        2. Add Preprocessing
        3. Taylor expanded in y around inf

          \[\leadsto \color{blue}{\frac{z}{b}} \]
        4. Step-by-step derivation
          1. /-lowering-/.f6478.8%

            \[\leadsto \mathsf{/.f64}\left(z, \color{blue}{b}\right) \]
        5. Simplified78.8%

          \[\leadsto \color{blue}{\frac{z}{b}} \]

        if 6.79999999999999965e-106 < t

        1. Initial program 87.0%

          \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
        2. Add Preprocessing
        3. Step-by-step derivation
          1. associate-*l/N/A

            \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \left(\frac{y}{t} \cdot z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, \color{blue}{1}\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
          2. *-lowering-*.f64N/A

            \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\left(\frac{y}{t}\right), z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, \color{blue}{1}\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
          3. /-lowering-/.f6487.9%

            \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
        4. Applied egg-rr87.9%

          \[\leadsto \frac{x + \color{blue}{\frac{y}{t} \cdot z}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
        5. Step-by-step derivation
          1. +-commutativeN/A

            \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \left(\frac{y \cdot b}{t} + \color{blue}{\left(a + 1\right)}\right)\right) \]
          2. +-lowering-+.f64N/A

            \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\left(\frac{y \cdot b}{t}\right), \color{blue}{\left(a + 1\right)}\right)\right) \]
          3. associate-/l*N/A

            \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\left(y \cdot \frac{b}{t}\right), \left(\color{blue}{a} + 1\right)\right)\right) \]
          4. clear-numN/A

            \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\left(y \cdot \frac{1}{\frac{t}{b}}\right), \left(a + 1\right)\right)\right) \]
          5. un-div-invN/A

            \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\left(\frac{y}{\frac{t}{b}}\right), \left(\color{blue}{a} + 1\right)\right)\right) \]
          6. /-lowering-/.f64N/A

            \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\mathsf{/.f64}\left(y, \left(\frac{t}{b}\right)\right), \left(\color{blue}{a} + 1\right)\right)\right) \]
          7. /-lowering-/.f64N/A

            \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\mathsf{/.f64}\left(y, \mathsf{/.f64}\left(t, b\right)\right), \left(a + 1\right)\right)\right) \]
          8. +-lowering-+.f6491.4%

            \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\mathsf{/.f64}\left(y, \mathsf{/.f64}\left(t, b\right)\right), \mathsf{+.f64}\left(a, \color{blue}{1}\right)\right)\right) \]
        6. Applied egg-rr91.4%

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

        \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -2.55 \cdot 10^{-211}:\\ \;\;\;\;\frac{x + z \cdot \frac{y}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}}\\ \mathbf{elif}\;t \leq 6.8 \cdot 10^{-106}:\\ \;\;\;\;\frac{z}{b}\\ \mathbf{else}:\\ \;\;\;\;\frac{x + z \cdot \frac{y}{t}}{\left(a + 1\right) + \frac{y}{\frac{t}{b}}}\\ \end{array} \]
      5. Add Preprocessing

      Alternative 4: 77.1% accurate, 0.6× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{x + z \cdot \frac{y}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}}\\ \mathbf{if}\;t \leq -3.4 \cdot 10^{-212}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq 4.7 \cdot 10^{-129}:\\ \;\;\;\;\frac{z}{b}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
      (FPCore (x y z t a b)
       :precision binary64
       (let* ((t_1 (/ (+ x (* z (/ y t))) (+ (+ a 1.0) (/ (* y b) t)))))
         (if (<= t -3.4e-212) t_1 (if (<= t 4.7e-129) (/ z b) t_1))))
      double code(double x, double y, double z, double t, double a, double b) {
      	double t_1 = (x + (z * (y / t))) / ((a + 1.0) + ((y * b) / t));
      	double tmp;
      	if (t <= -3.4e-212) {
      		tmp = t_1;
      	} else if (t <= 4.7e-129) {
      		tmp = z / b;
      	} else {
      		tmp = t_1;
      	}
      	return tmp;
      }
      
      real(8) function code(x, y, z, t, a, b)
          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) :: t_1
          real(8) :: tmp
          t_1 = (x + (z * (y / t))) / ((a + 1.0d0) + ((y * b) / t))
          if (t <= (-3.4d-212)) then
              tmp = t_1
          else if (t <= 4.7d-129) then
              tmp = z / b
          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 t_1 = (x + (z * (y / t))) / ((a + 1.0) + ((y * b) / t));
      	double tmp;
      	if (t <= -3.4e-212) {
      		tmp = t_1;
      	} else if (t <= 4.7e-129) {
      		tmp = z / b;
      	} else {
      		tmp = t_1;
      	}
      	return tmp;
      }
      
      def code(x, y, z, t, a, b):
      	t_1 = (x + (z * (y / t))) / ((a + 1.0) + ((y * b) / t))
      	tmp = 0
      	if t <= -3.4e-212:
      		tmp = t_1
      	elif t <= 4.7e-129:
      		tmp = z / b
      	else:
      		tmp = t_1
      	return tmp
      
      function code(x, y, z, t, a, b)
      	t_1 = Float64(Float64(x + Float64(z * Float64(y / t))) / Float64(Float64(a + 1.0) + Float64(Float64(y * b) / t)))
      	tmp = 0.0
      	if (t <= -3.4e-212)
      		tmp = t_1;
      	elseif (t <= 4.7e-129)
      		tmp = Float64(z / b);
      	else
      		tmp = t_1;
      	end
      	return tmp
      end
      
      function tmp_2 = code(x, y, z, t, a, b)
      	t_1 = (x + (z * (y / t))) / ((a + 1.0) + ((y * b) / t));
      	tmp = 0.0;
      	if (t <= -3.4e-212)
      		tmp = t_1;
      	elseif (t <= 4.7e-129)
      		tmp = z / b;
      	else
      		tmp = t_1;
      	end
      	tmp_2 = tmp;
      end
      
      code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(x + N[(z * N[(y / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(N[(a + 1.0), $MachinePrecision] + N[(N[(y * b), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -3.4e-212], t$95$1, If[LessEqual[t, 4.7e-129], N[(z / b), $MachinePrecision], t$95$1]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := \frac{x + z \cdot \frac{y}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}}\\
      \mathbf{if}\;t \leq -3.4 \cdot 10^{-212}:\\
      \;\;\;\;t\_1\\
      
      \mathbf{elif}\;t \leq 4.7 \cdot 10^{-129}:\\
      \;\;\;\;\frac{z}{b}\\
      
      \mathbf{else}:\\
      \;\;\;\;t\_1\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if t < -3.39999999999999998e-212 or 4.7000000000000002e-129 < t

        1. Initial program 82.9%

          \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
        2. Add Preprocessing
        3. Step-by-step derivation
          1. associate-*l/N/A

            \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \left(\frac{y}{t} \cdot z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, \color{blue}{1}\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
          2. *-lowering-*.f64N/A

            \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\left(\frac{y}{t}\right), z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, \color{blue}{1}\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
          3. /-lowering-/.f6484.0%

            \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
        4. Applied egg-rr84.0%

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

        if -3.39999999999999998e-212 < t < 4.7000000000000002e-129

        1. Initial program 42.0%

          \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
        2. Add Preprocessing
        3. Taylor expanded in y around inf

          \[\leadsto \color{blue}{\frac{z}{b}} \]
        4. Step-by-step derivation
          1. /-lowering-/.f6480.4%

            \[\leadsto \mathsf{/.f64}\left(z, \color{blue}{b}\right) \]
        5. Simplified80.4%

          \[\leadsto \color{blue}{\frac{z}{b}} \]
      3. Recombined 2 regimes into one program.
      4. Final simplification83.3%

        \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -3.4 \cdot 10^{-212}:\\ \;\;\;\;\frac{x + z \cdot \frac{y}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}}\\ \mathbf{elif}\;t \leq 4.7 \cdot 10^{-129}:\\ \;\;\;\;\frac{z}{b}\\ \mathbf{else}:\\ \;\;\;\;\frac{x + z \cdot \frac{y}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}}\\ \end{array} \]
      5. Add Preprocessing

      Alternative 5: 74.3% accurate, 0.7× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := x + z \cdot \frac{y}{t}\\ t_2 := \frac{t\_1}{a + \frac{y \cdot b}{t}}\\ \mathbf{if}\;a \leq -28000:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;a \leq 0.6:\\ \;\;\;\;\frac{t\_1}{1 + \frac{y}{\frac{t}{b}}}\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
      (FPCore (x y z t a b)
       :precision binary64
       (let* ((t_1 (+ x (* z (/ y t)))) (t_2 (/ t_1 (+ a (/ (* y b) t)))))
         (if (<= a -28000.0) t_2 (if (<= a 0.6) (/ t_1 (+ 1.0 (/ y (/ t b)))) t_2))))
      double code(double x, double y, double z, double t, double a, double b) {
      	double t_1 = x + (z * (y / t));
      	double t_2 = t_1 / (a + ((y * b) / t));
      	double tmp;
      	if (a <= -28000.0) {
      		tmp = t_2;
      	} else if (a <= 0.6) {
      		tmp = t_1 / (1.0 + (y / (t / b)));
      	} else {
      		tmp = t_2;
      	}
      	return tmp;
      }
      
      real(8) function code(x, y, z, t, a, b)
          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) :: t_1
          real(8) :: t_2
          real(8) :: tmp
          t_1 = x + (z * (y / t))
          t_2 = t_1 / (a + ((y * b) / t))
          if (a <= (-28000.0d0)) then
              tmp = t_2
          else if (a <= 0.6d0) then
              tmp = t_1 / (1.0d0 + (y / (t / b)))
          else
              tmp = t_2
          end if
          code = tmp
      end function
      
      public static double code(double x, double y, double z, double t, double a, double b) {
      	double t_1 = x + (z * (y / t));
      	double t_2 = t_1 / (a + ((y * b) / t));
      	double tmp;
      	if (a <= -28000.0) {
      		tmp = t_2;
      	} else if (a <= 0.6) {
      		tmp = t_1 / (1.0 + (y / (t / b)));
      	} else {
      		tmp = t_2;
      	}
      	return tmp;
      }
      
      def code(x, y, z, t, a, b):
      	t_1 = x + (z * (y / t))
      	t_2 = t_1 / (a + ((y * b) / t))
      	tmp = 0
      	if a <= -28000.0:
      		tmp = t_2
      	elif a <= 0.6:
      		tmp = t_1 / (1.0 + (y / (t / b)))
      	else:
      		tmp = t_2
      	return tmp
      
      function code(x, y, z, t, a, b)
      	t_1 = Float64(x + Float64(z * Float64(y / t)))
      	t_2 = Float64(t_1 / Float64(a + Float64(Float64(y * b) / t)))
      	tmp = 0.0
      	if (a <= -28000.0)
      		tmp = t_2;
      	elseif (a <= 0.6)
      		tmp = Float64(t_1 / Float64(1.0 + Float64(y / Float64(t / b))));
      	else
      		tmp = t_2;
      	end
      	return tmp
      end
      
      function tmp_2 = code(x, y, z, t, a, b)
      	t_1 = x + (z * (y / t));
      	t_2 = t_1 / (a + ((y * b) / t));
      	tmp = 0.0;
      	if (a <= -28000.0)
      		tmp = t_2;
      	elseif (a <= 0.6)
      		tmp = t_1 / (1.0 + (y / (t / b)));
      	else
      		tmp = t_2;
      	end
      	tmp_2 = tmp;
      end
      
      code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x + N[(z * N[(y / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(t$95$1 / N[(a + N[(N[(y * b), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -28000.0], t$95$2, If[LessEqual[a, 0.6], N[(t$95$1 / N[(1.0 + N[(y / N[(t / b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := x + z \cdot \frac{y}{t}\\
      t_2 := \frac{t\_1}{a + \frac{y \cdot b}{t}}\\
      \mathbf{if}\;a \leq -28000:\\
      \;\;\;\;t\_2\\
      
      \mathbf{elif}\;a \leq 0.6:\\
      \;\;\;\;\frac{t\_1}{1 + \frac{y}{\frac{t}{b}}}\\
      
      \mathbf{else}:\\
      \;\;\;\;t\_2\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if a < -28000 or 0.599999999999999978 < a

        1. Initial program 77.7%

          \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
        2. Add Preprocessing
        3. Step-by-step derivation
          1. associate-*l/N/A

            \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \left(\frac{y}{t} \cdot z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, \color{blue}{1}\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
          2. *-lowering-*.f64N/A

            \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\left(\frac{y}{t}\right), z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, \color{blue}{1}\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
          3. /-lowering-/.f6478.3%

            \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
        4. Applied egg-rr78.3%

          \[\leadsto \frac{x + \color{blue}{\frac{y}{t} \cdot z}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
        5. Taylor expanded in a around inf

          \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\color{blue}{a}, \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
        6. Step-by-step derivation
          1. Simplified77.2%

            \[\leadsto \frac{x + \frac{y}{t} \cdot z}{\color{blue}{a} + \frac{y \cdot b}{t}} \]

          if -28000 < a < 0.599999999999999978

          1. Initial program 71.5%

            \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
          2. Add Preprocessing
          3. Step-by-step derivation
            1. associate-*l/N/A

              \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \left(\frac{y}{t} \cdot z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, \color{blue}{1}\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
            2. *-lowering-*.f64N/A

              \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\left(\frac{y}{t}\right), z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, \color{blue}{1}\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
            3. /-lowering-/.f6469.8%

              \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
          4. Applied egg-rr69.8%

            \[\leadsto \frac{x + \color{blue}{\frac{y}{t} \cdot z}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
          5. Step-by-step derivation
            1. +-commutativeN/A

              \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \left(\frac{y \cdot b}{t} + \color{blue}{\left(a + 1\right)}\right)\right) \]
            2. +-lowering-+.f64N/A

              \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\left(\frac{y \cdot b}{t}\right), \color{blue}{\left(a + 1\right)}\right)\right) \]
            3. associate-/l*N/A

              \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\left(y \cdot \frac{b}{t}\right), \left(\color{blue}{a} + 1\right)\right)\right) \]
            4. clear-numN/A

              \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\left(y \cdot \frac{1}{\frac{t}{b}}\right), \left(a + 1\right)\right)\right) \]
            5. un-div-invN/A

              \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\left(\frac{y}{\frac{t}{b}}\right), \left(\color{blue}{a} + 1\right)\right)\right) \]
            6. /-lowering-/.f64N/A

              \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\mathsf{/.f64}\left(y, \left(\frac{t}{b}\right)\right), \left(\color{blue}{a} + 1\right)\right)\right) \]
            7. /-lowering-/.f64N/A

              \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\mathsf{/.f64}\left(y, \mathsf{/.f64}\left(t, b\right)\right), \left(a + 1\right)\right)\right) \]
            8. +-lowering-+.f6467.6%

              \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\mathsf{/.f64}\left(y, \mathsf{/.f64}\left(t, b\right)\right), \mathsf{+.f64}\left(a, \color{blue}{1}\right)\right)\right) \]
          6. Applied egg-rr67.6%

            \[\leadsto \frac{x + \frac{y}{t} \cdot z}{\color{blue}{\frac{y}{\frac{t}{b}} + \left(a + 1\right)}} \]
          7. Taylor expanded in a around 0

            \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\mathsf{/.f64}\left(y, \mathsf{/.f64}\left(t, b\right)\right), \color{blue}{1}\right)\right) \]
          8. Step-by-step derivation
            1. Simplified66.5%

              \[\leadsto \frac{x + \frac{y}{t} \cdot z}{\frac{y}{\frac{t}{b}} + \color{blue}{1}} \]
          9. Recombined 2 regimes into one program.
          10. Final simplification71.6%

            \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -28000:\\ \;\;\;\;\frac{x + z \cdot \frac{y}{t}}{a + \frac{y \cdot b}{t}}\\ \mathbf{elif}\;a \leq 0.6:\\ \;\;\;\;\frac{x + z \cdot \frac{y}{t}}{1 + \frac{y}{\frac{t}{b}}}\\ \mathbf{else}:\\ \;\;\;\;\frac{x + z \cdot \frac{y}{t}}{a + \frac{y \cdot b}{t}}\\ \end{array} \]
          11. Add Preprocessing

          Alternative 6: 62.3% accurate, 0.8× speedup?

          \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -5.5 \cdot 10^{-178}:\\ \;\;\;\;\frac{x + z \cdot \frac{y}{t}}{a + 1}\\ \mathbf{elif}\;t \leq 1.2 \cdot 10^{+22}:\\ \;\;\;\;\frac{z}{b}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{\left(a + 1\right) + b \cdot \frac{y}{t}}\\ \end{array} \end{array} \]
          (FPCore (x y z t a b)
           :precision binary64
           (if (<= t -5.5e-178)
             (/ (+ x (* z (/ y t))) (+ a 1.0))
             (if (<= t 1.2e+22) (/ z b) (/ x (+ (+ a 1.0) (* b (/ y t)))))))
          double code(double x, double y, double z, double t, double a, double b) {
          	double tmp;
          	if (t <= -5.5e-178) {
          		tmp = (x + (z * (y / t))) / (a + 1.0);
          	} else if (t <= 1.2e+22) {
          		tmp = z / b;
          	} else {
          		tmp = x / ((a + 1.0) + (b * (y / t)));
          	}
          	return tmp;
          }
          
          real(8) function code(x, y, z, t, a, b)
              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) :: tmp
              if (t <= (-5.5d-178)) then
                  tmp = (x + (z * (y / t))) / (a + 1.0d0)
              else if (t <= 1.2d+22) then
                  tmp = z / b
              else
                  tmp = x / ((a + 1.0d0) + (b * (y / t)))
              end if
              code = tmp
          end function
          
          public static double code(double x, double y, double z, double t, double a, double b) {
          	double tmp;
          	if (t <= -5.5e-178) {
          		tmp = (x + (z * (y / t))) / (a + 1.0);
          	} else if (t <= 1.2e+22) {
          		tmp = z / b;
          	} else {
          		tmp = x / ((a + 1.0) + (b * (y / t)));
          	}
          	return tmp;
          }
          
          def code(x, y, z, t, a, b):
          	tmp = 0
          	if t <= -5.5e-178:
          		tmp = (x + (z * (y / t))) / (a + 1.0)
          	elif t <= 1.2e+22:
          		tmp = z / b
          	else:
          		tmp = x / ((a + 1.0) + (b * (y / t)))
          	return tmp
          
          function code(x, y, z, t, a, b)
          	tmp = 0.0
          	if (t <= -5.5e-178)
          		tmp = Float64(Float64(x + Float64(z * Float64(y / t))) / Float64(a + 1.0));
          	elseif (t <= 1.2e+22)
          		tmp = Float64(z / b);
          	else
          		tmp = Float64(x / Float64(Float64(a + 1.0) + Float64(b * Float64(y / t))));
          	end
          	return tmp
          end
          
          function tmp_2 = code(x, y, z, t, a, b)
          	tmp = 0.0;
          	if (t <= -5.5e-178)
          		tmp = (x + (z * (y / t))) / (a + 1.0);
          	elseif (t <= 1.2e+22)
          		tmp = z / b;
          	else
          		tmp = x / ((a + 1.0) + (b * (y / t)));
          	end
          	tmp_2 = tmp;
          end
          
          code[x_, y_, z_, t_, a_, b_] := If[LessEqual[t, -5.5e-178], N[(N[(x + N[(z * N[(y / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(a + 1.0), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.2e+22], N[(z / b), $MachinePrecision], N[(x / N[(N[(a + 1.0), $MachinePrecision] + N[(b * N[(y / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
          
          \begin{array}{l}
          
          \\
          \begin{array}{l}
          \mathbf{if}\;t \leq -5.5 \cdot 10^{-178}:\\
          \;\;\;\;\frac{x + z \cdot \frac{y}{t}}{a + 1}\\
          
          \mathbf{elif}\;t \leq 1.2 \cdot 10^{+22}:\\
          \;\;\;\;\frac{z}{b}\\
          
          \mathbf{else}:\\
          \;\;\;\;\frac{x}{\left(a + 1\right) + b \cdot \frac{y}{t}}\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 3 regimes
          2. if t < -5.50000000000000028e-178

            1. Initial program 78.4%

              \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
            2. Add Preprocessing
            3. Step-by-step derivation
              1. associate-*l/N/A

                \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \left(\frac{y}{t} \cdot z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, \color{blue}{1}\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
              2. *-lowering-*.f64N/A

                \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\left(\frac{y}{t}\right), z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, \color{blue}{1}\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
              3. /-lowering-/.f6480.7%

                \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
            4. Applied egg-rr80.7%

              \[\leadsto \frac{x + \color{blue}{\frac{y}{t} \cdot z}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
            5. Taylor expanded in y around 0

              \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \color{blue}{\left(1 + a\right)}\right) \]
            6. Step-by-step derivation
              1. +-lowering-+.f6466.6%

                \[\leadsto \mathsf{/.f64}\left(\mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), z\right)\right), \mathsf{+.f64}\left(1, \color{blue}{a}\right)\right) \]
            7. Simplified66.6%

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

            if -5.50000000000000028e-178 < t < 1.2e22

            1. Initial program 60.6%

              \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
            2. Add Preprocessing
            3. Taylor expanded in y around inf

              \[\leadsto \color{blue}{\frac{z}{b}} \]
            4. Step-by-step derivation
              1. /-lowering-/.f6468.1%

                \[\leadsto \mathsf{/.f64}\left(z, \color{blue}{b}\right) \]
            5. Simplified68.1%

              \[\leadsto \color{blue}{\frac{z}{b}} \]

            if 1.2e22 < t

            1. Initial program 88.4%

              \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
            2. Add Preprocessing
            3. Taylor expanded in x around inf

              \[\leadsto \mathsf{/.f64}\left(\color{blue}{x}, \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
            4. Step-by-step derivation
              1. Simplified76.8%

                \[\leadsto \frac{\color{blue}{x}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
              2. Step-by-step derivation
                1. *-commutativeN/A

                  \[\leadsto \mathsf{/.f64}\left(x, \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \left(\frac{b \cdot y}{t}\right)\right)\right) \]
                2. associate-/l*N/A

                  \[\leadsto \mathsf{/.f64}\left(x, \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \left(b \cdot \color{blue}{\frac{y}{t}}\right)\right)\right) \]
                3. *-commutativeN/A

                  \[\leadsto \mathsf{/.f64}\left(x, \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \left(\frac{y}{t} \cdot \color{blue}{b}\right)\right)\right) \]
                4. *-lowering-*.f64N/A

                  \[\leadsto \mathsf{/.f64}\left(x, \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \mathsf{*.f64}\left(\left(\frac{y}{t}\right), \color{blue}{b}\right)\right)\right) \]
                5. /-lowering-/.f6476.8%

                  \[\leadsto \mathsf{/.f64}\left(x, \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), b\right)\right)\right) \]
              3. Applied egg-rr76.8%

                \[\leadsto \frac{x}{\left(a + 1\right) + \color{blue}{\frac{y}{t} \cdot b}} \]
            5. Recombined 3 regimes into one program.
            6. Final simplification69.7%

              \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -5.5 \cdot 10^{-178}:\\ \;\;\;\;\frac{x + z \cdot \frac{y}{t}}{a + 1}\\ \mathbf{elif}\;t \leq 1.2 \cdot 10^{+22}:\\ \;\;\;\;\frac{z}{b}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{\left(a + 1\right) + b \cdot \frac{y}{t}}\\ \end{array} \]
            7. Add Preprocessing

            Alternative 7: 60.6% accurate, 0.8× speedup?

            \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{x}{\left(a + 1\right) + b \cdot \frac{y}{t}}\\ \mathbf{if}\;t \leq -1.8 \cdot 10^{-115}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq 1.2 \cdot 10^{+22}:\\ \;\;\;\;\frac{z}{b}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
            (FPCore (x y z t a b)
             :precision binary64
             (let* ((t_1 (/ x (+ (+ a 1.0) (* b (/ y t))))))
               (if (<= t -1.8e-115) t_1 (if (<= t 1.2e+22) (/ z b) t_1))))
            double code(double x, double y, double z, double t, double a, double b) {
            	double t_1 = x / ((a + 1.0) + (b * (y / t)));
            	double tmp;
            	if (t <= -1.8e-115) {
            		tmp = t_1;
            	} else if (t <= 1.2e+22) {
            		tmp = z / b;
            	} else {
            		tmp = t_1;
            	}
            	return tmp;
            }
            
            real(8) function code(x, y, z, t, a, b)
                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) :: t_1
                real(8) :: tmp
                t_1 = x / ((a + 1.0d0) + (b * (y / t)))
                if (t <= (-1.8d-115)) then
                    tmp = t_1
                else if (t <= 1.2d+22) then
                    tmp = z / b
                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 t_1 = x / ((a + 1.0) + (b * (y / t)));
            	double tmp;
            	if (t <= -1.8e-115) {
            		tmp = t_1;
            	} else if (t <= 1.2e+22) {
            		tmp = z / b;
            	} else {
            		tmp = t_1;
            	}
            	return tmp;
            }
            
            def code(x, y, z, t, a, b):
            	t_1 = x / ((a + 1.0) + (b * (y / t)))
            	tmp = 0
            	if t <= -1.8e-115:
            		tmp = t_1
            	elif t <= 1.2e+22:
            		tmp = z / b
            	else:
            		tmp = t_1
            	return tmp
            
            function code(x, y, z, t, a, b)
            	t_1 = Float64(x / Float64(Float64(a + 1.0) + Float64(b * Float64(y / t))))
            	tmp = 0.0
            	if (t <= -1.8e-115)
            		tmp = t_1;
            	elseif (t <= 1.2e+22)
            		tmp = Float64(z / b);
            	else
            		tmp = t_1;
            	end
            	return tmp
            end
            
            function tmp_2 = code(x, y, z, t, a, b)
            	t_1 = x / ((a + 1.0) + (b * (y / t)));
            	tmp = 0.0;
            	if (t <= -1.8e-115)
            		tmp = t_1;
            	elseif (t <= 1.2e+22)
            		tmp = z / b;
            	else
            		tmp = t_1;
            	end
            	tmp_2 = tmp;
            end
            
            code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x / N[(N[(a + 1.0), $MachinePrecision] + N[(b * N[(y / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.8e-115], t$95$1, If[LessEqual[t, 1.2e+22], N[(z / b), $MachinePrecision], t$95$1]]]
            
            \begin{array}{l}
            
            \\
            \begin{array}{l}
            t_1 := \frac{x}{\left(a + 1\right) + b \cdot \frac{y}{t}}\\
            \mathbf{if}\;t \leq -1.8 \cdot 10^{-115}:\\
            \;\;\;\;t\_1\\
            
            \mathbf{elif}\;t \leq 1.2 \cdot 10^{+22}:\\
            \;\;\;\;\frac{z}{b}\\
            
            \mathbf{else}:\\
            \;\;\;\;t\_1\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 2 regimes
            2. if t < -1.80000000000000005e-115 or 1.2e22 < t

              1. Initial program 84.6%

                \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
              2. Add Preprocessing
              3. Taylor expanded in x around inf

                \[\leadsto \mathsf{/.f64}\left(\color{blue}{x}, \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
              4. Step-by-step derivation
                1. Simplified71.3%

                  \[\leadsto \frac{\color{blue}{x}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
                2. Step-by-step derivation
                  1. *-commutativeN/A

                    \[\leadsto \mathsf{/.f64}\left(x, \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \left(\frac{b \cdot y}{t}\right)\right)\right) \]
                  2. associate-/l*N/A

                    \[\leadsto \mathsf{/.f64}\left(x, \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \left(b \cdot \color{blue}{\frac{y}{t}}\right)\right)\right) \]
                  3. *-commutativeN/A

                    \[\leadsto \mathsf{/.f64}\left(x, \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \left(\frac{y}{t} \cdot \color{blue}{b}\right)\right)\right) \]
                  4. *-lowering-*.f64N/A

                    \[\leadsto \mathsf{/.f64}\left(x, \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \mathsf{*.f64}\left(\left(\frac{y}{t}\right), \color{blue}{b}\right)\right)\right) \]
                  5. /-lowering-/.f6471.9%

                    \[\leadsto \mathsf{/.f64}\left(x, \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, t\right), b\right)\right)\right) \]
                3. Applied egg-rr71.9%

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

                if -1.80000000000000005e-115 < t < 1.2e22

                1. Initial program 60.4%

                  \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
                2. Add Preprocessing
                3. Taylor expanded in y around inf

                  \[\leadsto \color{blue}{\frac{z}{b}} \]
                4. Step-by-step derivation
                  1. /-lowering-/.f6464.3%

                    \[\leadsto \mathsf{/.f64}\left(z, \color{blue}{b}\right) \]
                5. Simplified64.3%

                  \[\leadsto \color{blue}{\frac{z}{b}} \]
              5. Recombined 2 regimes into one program.
              6. Final simplification68.7%

                \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.8 \cdot 10^{-115}:\\ \;\;\;\;\frac{x}{\left(a + 1\right) + b \cdot \frac{y}{t}}\\ \mathbf{elif}\;t \leq 1.2 \cdot 10^{+22}:\\ \;\;\;\;\frac{z}{b}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{\left(a + 1\right) + b \cdot \frac{y}{t}}\\ \end{array} \]
              7. Add Preprocessing

              Alternative 8: 60.6% accurate, 0.8× speedup?

              \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{x}{1 + \left(a + y \cdot \frac{b}{t}\right)}\\ \mathbf{if}\;t \leq -6.6 \cdot 10^{-113}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq 1.2 \cdot 10^{+22}:\\ \;\;\;\;\frac{z}{b}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
              (FPCore (x y z t a b)
               :precision binary64
               (let* ((t_1 (/ x (+ 1.0 (+ a (* y (/ b t)))))))
                 (if (<= t -6.6e-113) t_1 (if (<= t 1.2e+22) (/ z b) t_1))))
              double code(double x, double y, double z, double t, double a, double b) {
              	double t_1 = x / (1.0 + (a + (y * (b / t))));
              	double tmp;
              	if (t <= -6.6e-113) {
              		tmp = t_1;
              	} else if (t <= 1.2e+22) {
              		tmp = z / b;
              	} else {
              		tmp = t_1;
              	}
              	return tmp;
              }
              
              real(8) function code(x, y, z, t, a, b)
                  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) :: t_1
                  real(8) :: tmp
                  t_1 = x / (1.0d0 + (a + (y * (b / t))))
                  if (t <= (-6.6d-113)) then
                      tmp = t_1
                  else if (t <= 1.2d+22) then
                      tmp = z / b
                  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 t_1 = x / (1.0 + (a + (y * (b / t))));
              	double tmp;
              	if (t <= -6.6e-113) {
              		tmp = t_1;
              	} else if (t <= 1.2e+22) {
              		tmp = z / b;
              	} else {
              		tmp = t_1;
              	}
              	return tmp;
              }
              
              def code(x, y, z, t, a, b):
              	t_1 = x / (1.0 + (a + (y * (b / t))))
              	tmp = 0
              	if t <= -6.6e-113:
              		tmp = t_1
              	elif t <= 1.2e+22:
              		tmp = z / b
              	else:
              		tmp = t_1
              	return tmp
              
              function code(x, y, z, t, a, b)
              	t_1 = Float64(x / Float64(1.0 + Float64(a + Float64(y * Float64(b / t)))))
              	tmp = 0.0
              	if (t <= -6.6e-113)
              		tmp = t_1;
              	elseif (t <= 1.2e+22)
              		tmp = Float64(z / b);
              	else
              		tmp = t_1;
              	end
              	return tmp
              end
              
              function tmp_2 = code(x, y, z, t, a, b)
              	t_1 = x / (1.0 + (a + (y * (b / t))));
              	tmp = 0.0;
              	if (t <= -6.6e-113)
              		tmp = t_1;
              	elseif (t <= 1.2e+22)
              		tmp = z / b;
              	else
              		tmp = t_1;
              	end
              	tmp_2 = tmp;
              end
              
              code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x / N[(1.0 + N[(a + N[(y * N[(b / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -6.6e-113], t$95$1, If[LessEqual[t, 1.2e+22], N[(z / b), $MachinePrecision], t$95$1]]]
              
              \begin{array}{l}
              
              \\
              \begin{array}{l}
              t_1 := \frac{x}{1 + \left(a + y \cdot \frac{b}{t}\right)}\\
              \mathbf{if}\;t \leq -6.6 \cdot 10^{-113}:\\
              \;\;\;\;t\_1\\
              
              \mathbf{elif}\;t \leq 1.2 \cdot 10^{+22}:\\
              \;\;\;\;\frac{z}{b}\\
              
              \mathbf{else}:\\
              \;\;\;\;t\_1\\
              
              
              \end{array}
              \end{array}
              
              Derivation
              1. Split input into 2 regimes
              2. if t < -6.60000000000000041e-113 or 1.2e22 < t

                1. Initial program 84.6%

                  \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
                2. Add Preprocessing
                3. Taylor expanded in x around inf

                  \[\leadsto \color{blue}{\frac{x}{1 + \left(a + \frac{b \cdot y}{t}\right)}} \]
                4. Step-by-step derivation
                  1. /-lowering-/.f64N/A

                    \[\leadsto \mathsf{/.f64}\left(x, \color{blue}{\left(1 + \left(a + \frac{b \cdot y}{t}\right)\right)}\right) \]
                  2. +-lowering-+.f64N/A

                    \[\leadsto \mathsf{/.f64}\left(x, \mathsf{+.f64}\left(1, \color{blue}{\left(a + \frac{b \cdot y}{t}\right)}\right)\right) \]
                  3. +-lowering-+.f64N/A

                    \[\leadsto \mathsf{/.f64}\left(x, \mathsf{+.f64}\left(1, \mathsf{+.f64}\left(a, \color{blue}{\left(\frac{b \cdot y}{t}\right)}\right)\right)\right) \]
                  4. *-commutativeN/A

                    \[\leadsto \mathsf{/.f64}\left(x, \mathsf{+.f64}\left(1, \mathsf{+.f64}\left(a, \left(\frac{y \cdot b}{t}\right)\right)\right)\right) \]
                  5. associate-/l*N/A

                    \[\leadsto \mathsf{/.f64}\left(x, \mathsf{+.f64}\left(1, \mathsf{+.f64}\left(a, \left(y \cdot \color{blue}{\frac{b}{t}}\right)\right)\right)\right) \]
                  6. *-lowering-*.f64N/A

                    \[\leadsto \mathsf{/.f64}\left(x, \mathsf{+.f64}\left(1, \mathsf{+.f64}\left(a, \mathsf{*.f64}\left(y, \color{blue}{\left(\frac{b}{t}\right)}\right)\right)\right)\right) \]
                  7. /-lowering-/.f6471.3%

                    \[\leadsto \mathsf{/.f64}\left(x, \mathsf{+.f64}\left(1, \mathsf{+.f64}\left(a, \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(b, \color{blue}{t}\right)\right)\right)\right)\right) \]
                5. Simplified71.3%

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

                if -6.60000000000000041e-113 < t < 1.2e22

                1. Initial program 60.4%

                  \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
                2. Add Preprocessing
                3. Taylor expanded in y around inf

                  \[\leadsto \color{blue}{\frac{z}{b}} \]
                4. Step-by-step derivation
                  1. /-lowering-/.f6464.3%

                    \[\leadsto \mathsf{/.f64}\left(z, \color{blue}{b}\right) \]
                5. Simplified64.3%

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

              Alternative 9: 55.3% accurate, 1.1× speedup?

              \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{x}{a + 1}\\ \mathbf{if}\;t \leq -3.3 \cdot 10^{-13}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq 4.5 \cdot 10^{+62}:\\ \;\;\;\;\frac{z}{b}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
              (FPCore (x y z t a b)
               :precision binary64
               (let* ((t_1 (/ x (+ a 1.0))))
                 (if (<= t -3.3e-13) t_1 (if (<= t 4.5e+62) (/ z b) t_1))))
              double code(double x, double y, double z, double t, double a, double b) {
              	double t_1 = x / (a + 1.0);
              	double tmp;
              	if (t <= -3.3e-13) {
              		tmp = t_1;
              	} else if (t <= 4.5e+62) {
              		tmp = z / b;
              	} else {
              		tmp = t_1;
              	}
              	return tmp;
              }
              
              real(8) function code(x, y, z, t, a, b)
                  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) :: t_1
                  real(8) :: tmp
                  t_1 = x / (a + 1.0d0)
                  if (t <= (-3.3d-13)) then
                      tmp = t_1
                  else if (t <= 4.5d+62) then
                      tmp = z / b
                  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 t_1 = x / (a + 1.0);
              	double tmp;
              	if (t <= -3.3e-13) {
              		tmp = t_1;
              	} else if (t <= 4.5e+62) {
              		tmp = z / b;
              	} else {
              		tmp = t_1;
              	}
              	return tmp;
              }
              
              def code(x, y, z, t, a, b):
              	t_1 = x / (a + 1.0)
              	tmp = 0
              	if t <= -3.3e-13:
              		tmp = t_1
              	elif t <= 4.5e+62:
              		tmp = z / b
              	else:
              		tmp = t_1
              	return tmp
              
              function code(x, y, z, t, a, b)
              	t_1 = Float64(x / Float64(a + 1.0))
              	tmp = 0.0
              	if (t <= -3.3e-13)
              		tmp = t_1;
              	elseif (t <= 4.5e+62)
              		tmp = Float64(z / b);
              	else
              		tmp = t_1;
              	end
              	return tmp
              end
              
              function tmp_2 = code(x, y, z, t, a, b)
              	t_1 = x / (a + 1.0);
              	tmp = 0.0;
              	if (t <= -3.3e-13)
              		tmp = t_1;
              	elseif (t <= 4.5e+62)
              		tmp = z / b;
              	else
              		tmp = t_1;
              	end
              	tmp_2 = tmp;
              end
              
              code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x / N[(a + 1.0), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -3.3e-13], t$95$1, If[LessEqual[t, 4.5e+62], N[(z / b), $MachinePrecision], t$95$1]]]
              
              \begin{array}{l}
              
              \\
              \begin{array}{l}
              t_1 := \frac{x}{a + 1}\\
              \mathbf{if}\;t \leq -3.3 \cdot 10^{-13}:\\
              \;\;\;\;t\_1\\
              
              \mathbf{elif}\;t \leq 4.5 \cdot 10^{+62}:\\
              \;\;\;\;\frac{z}{b}\\
              
              \mathbf{else}:\\
              \;\;\;\;t\_1\\
              
              
              \end{array}
              \end{array}
              
              Derivation
              1. Split input into 2 regimes
              2. if t < -3.3000000000000001e-13 or 4.49999999999999999e62 < t

                1. Initial program 85.7%

                  \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
                2. Add Preprocessing
                3. Taylor expanded in y around 0

                  \[\leadsto \color{blue}{\frac{x}{1 + a}} \]
                4. Step-by-step derivation
                  1. /-lowering-/.f64N/A

                    \[\leadsto \mathsf{/.f64}\left(x, \color{blue}{\left(1 + a\right)}\right) \]
                  2. +-lowering-+.f6467.9%

                    \[\leadsto \mathsf{/.f64}\left(x, \mathsf{+.f64}\left(1, \color{blue}{a}\right)\right) \]
                5. Simplified67.9%

                  \[\leadsto \color{blue}{\frac{x}{1 + a}} \]

                if -3.3000000000000001e-13 < t < 4.49999999999999999e62

                1. Initial program 64.7%

                  \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
                2. Add Preprocessing
                3. Taylor expanded in y around inf

                  \[\leadsto \color{blue}{\frac{z}{b}} \]
                4. Step-by-step derivation
                  1. /-lowering-/.f6458.9%

                    \[\leadsto \mathsf{/.f64}\left(z, \color{blue}{b}\right) \]
                5. Simplified58.9%

                  \[\leadsto \color{blue}{\frac{z}{b}} \]
              3. Recombined 2 regimes into one program.
              4. Final simplification63.0%

                \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -3.3 \cdot 10^{-13}:\\ \;\;\;\;\frac{x}{a + 1}\\ \mathbf{elif}\;t \leq 4.5 \cdot 10^{+62}:\\ \;\;\;\;\frac{z}{b}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{a + 1}\\ \end{array} \]
              5. Add Preprocessing

              Alternative 10: 43.1% accurate, 1.3× speedup?

              \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -66:\\ \;\;\;\;\frac{x}{a}\\ \mathbf{elif}\;t \leq 7.5 \cdot 10^{+66}:\\ \;\;\;\;\frac{z}{b}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{a}\\ \end{array} \end{array} \]
              (FPCore (x y z t a b)
               :precision binary64
               (if (<= t -66.0) (/ x a) (if (<= t 7.5e+66) (/ z b) (/ x a))))
              double code(double x, double y, double z, double t, double a, double b) {
              	double tmp;
              	if (t <= -66.0) {
              		tmp = x / a;
              	} else if (t <= 7.5e+66) {
              		tmp = z / b;
              	} else {
              		tmp = x / a;
              	}
              	return tmp;
              }
              
              real(8) function code(x, y, z, t, a, b)
                  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) :: tmp
                  if (t <= (-66.0d0)) then
                      tmp = x / a
                  else if (t <= 7.5d+66) then
                      tmp = z / b
                  else
                      tmp = x / a
                  end if
                  code = tmp
              end function
              
              public static double code(double x, double y, double z, double t, double a, double b) {
              	double tmp;
              	if (t <= -66.0) {
              		tmp = x / a;
              	} else if (t <= 7.5e+66) {
              		tmp = z / b;
              	} else {
              		tmp = x / a;
              	}
              	return tmp;
              }
              
              def code(x, y, z, t, a, b):
              	tmp = 0
              	if t <= -66.0:
              		tmp = x / a
              	elif t <= 7.5e+66:
              		tmp = z / b
              	else:
              		tmp = x / a
              	return tmp
              
              function code(x, y, z, t, a, b)
              	tmp = 0.0
              	if (t <= -66.0)
              		tmp = Float64(x / a);
              	elseif (t <= 7.5e+66)
              		tmp = Float64(z / b);
              	else
              		tmp = Float64(x / a);
              	end
              	return tmp
              end
              
              function tmp_2 = code(x, y, z, t, a, b)
              	tmp = 0.0;
              	if (t <= -66.0)
              		tmp = x / a;
              	elseif (t <= 7.5e+66)
              		tmp = z / b;
              	else
              		tmp = x / a;
              	end
              	tmp_2 = tmp;
              end
              
              code[x_, y_, z_, t_, a_, b_] := If[LessEqual[t, -66.0], N[(x / a), $MachinePrecision], If[LessEqual[t, 7.5e+66], N[(z / b), $MachinePrecision], N[(x / a), $MachinePrecision]]]
              
              \begin{array}{l}
              
              \\
              \begin{array}{l}
              \mathbf{if}\;t \leq -66:\\
              \;\;\;\;\frac{x}{a}\\
              
              \mathbf{elif}\;t \leq 7.5 \cdot 10^{+66}:\\
              \;\;\;\;\frac{z}{b}\\
              
              \mathbf{else}:\\
              \;\;\;\;\frac{x}{a}\\
              
              
              \end{array}
              \end{array}
              
              Derivation
              1. Split input into 2 regimes
              2. if t < -66 or 7.50000000000000024e66 < t

                1. Initial program 85.5%

                  \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
                2. Add Preprocessing
                3. Taylor expanded in x around inf

                  \[\leadsto \mathsf{/.f64}\left(\color{blue}{x}, \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
                4. Step-by-step derivation
                  1. Simplified75.9%

                    \[\leadsto \frac{\color{blue}{x}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
                  2. Taylor expanded in a around inf

                    \[\leadsto \color{blue}{\frac{x}{a}} \]
                  3. Step-by-step derivation
                    1. /-lowering-/.f6439.7%

                      \[\leadsto \mathsf{/.f64}\left(x, \color{blue}{a}\right) \]
                  4. Simplified39.7%

                    \[\leadsto \color{blue}{\frac{x}{a}} \]

                  if -66 < t < 7.50000000000000024e66

                  1. Initial program 65.0%

                    \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
                  2. Add Preprocessing
                  3. Taylor expanded in y around inf

                    \[\leadsto \color{blue}{\frac{z}{b}} \]
                  4. Step-by-step derivation
                    1. /-lowering-/.f6458.4%

                      \[\leadsto \mathsf{/.f64}\left(z, \color{blue}{b}\right) \]
                  5. Simplified58.4%

                    \[\leadsto \color{blue}{\frac{z}{b}} \]
                5. Recombined 2 regimes into one program.
                6. Add Preprocessing

                Alternative 11: 25.6% accurate, 5.7× speedup?

                \[\begin{array}{l} \\ \frac{x}{a} \end{array} \]
                (FPCore (x y z t a b) :precision binary64 (/ x a))
                double code(double x, double y, double z, double t, double a, double b) {
                	return x / a;
                }
                
                real(8) function code(x, y, z, t, a, b)
                    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
                    code = x / a
                end function
                
                public static double code(double x, double y, double z, double t, double a, double b) {
                	return x / a;
                }
                
                def code(x, y, z, t, a, b):
                	return x / a
                
                function code(x, y, z, t, a, b)
                	return Float64(x / a)
                end
                
                function tmp = code(x, y, z, t, a, b)
                	tmp = x / a;
                end
                
                code[x_, y_, z_, t_, a_, b_] := N[(x / a), $MachinePrecision]
                
                \begin{array}{l}
                
                \\
                \frac{x}{a}
                \end{array}
                
                Derivation
                1. Initial program 74.4%

                  \[\frac{x + \frac{y \cdot z}{t}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
                2. Add Preprocessing
                3. Taylor expanded in x around inf

                  \[\leadsto \mathsf{/.f64}\left(\color{blue}{x}, \mathsf{+.f64}\left(\mathsf{+.f64}\left(a, 1\right), \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, b\right), t\right)\right)\right) \]
                4. Step-by-step derivation
                  1. Simplified53.7%

                    \[\leadsto \frac{\color{blue}{x}}{\left(a + 1\right) + \frac{y \cdot b}{t}} \]
                  2. Taylor expanded in a around inf

                    \[\leadsto \color{blue}{\frac{x}{a}} \]
                  3. Step-by-step derivation
                    1. /-lowering-/.f6426.5%

                      \[\leadsto \mathsf{/.f64}\left(x, \color{blue}{a}\right) \]
                  4. Simplified26.5%

                    \[\leadsto \color{blue}{\frac{x}{a}} \]
                  5. Add Preprocessing

                  Developer Target 1: 78.9% accurate, 0.5× speedup?

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

                  Reproduce

                  ?
                  herbie shell --seed 2024164 
                  (FPCore (x y z t a b)
                    :name "Diagrams.Solve.Tridiagonal:solveCyclicTriDiagonal from diagrams-solve-0.1, B"
                    :precision binary64
                  
                    :alt
                    (! :herbie-platform default (if (< t -1707385670788761/12500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (* 1 (* (+ x (* (/ y t) z)) (/ 1 (+ (+ a 1) (* (/ y t) b))))) (if (< t 1518483551868623/5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (/ z b) (* 1 (* (+ x (* (/ y t) z)) (/ 1 (+ (+ a 1) (* (/ y t) b))))))))
                  
                    (/ (+ x (/ (* y z) t)) (+ (+ a 1.0) (/ (* y b) t))))