Numeric.SpecFunctions:incompleteBetaWorker from math-functions-0.1.5.2, A

Percentage Accurate: 98.5% → 98.5%
Time: 11.6s
Alternatives: 17
Speedup: 1.0×

Specification

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

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

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

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

Alternative 1: 98.5% accurate, 1.0× speedup?

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

\\
\frac{e^{\left(\log a \cdot \left(t - 1\right) + \log z \cdot y\right) - b} \cdot x}{y}
\end{array}
Derivation
  1. Initial program 98.1%

    \[\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1\right) \cdot \log a\right) - b}}{y} \]
  2. Add Preprocessing
  3. Final simplification98.1%

    \[\leadsto \frac{e^{\left(\log a \cdot \left(t - 1\right) + \log z \cdot y\right) - b} \cdot x}{y} \]
  4. Add Preprocessing

Alternative 2: 74.3% accurate, 0.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \log a \cdot \left(t - 1\right)\\ t_2 := \frac{{a}^{\left(t - 1\right)}}{y} \cdot x\\ \mathbf{if}\;t\_1 \leq -2 \cdot 10^{+41}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;t\_1 \leq -570:\\ \;\;\;\;\frac{\frac{{z}^{y} \cdot x}{y}}{a}\\ \mathbf{elif}\;t\_1 \leq 4 \cdot 10^{+53}:\\ \;\;\;\;\frac{\frac{e^{-b}}{a} \cdot x}{y}\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
(FPCore (x y z t a b)
 :precision binary64
 (let* ((t_1 (* (log a) (- t 1.0))) (t_2 (* (/ (pow a (- t 1.0)) y) x)))
   (if (<= t_1 -2e+41)
     t_2
     (if (<= t_1 -570.0)
       (/ (/ (* (pow z y) x) y) a)
       (if (<= t_1 4e+53) (/ (* (/ (exp (- b)) a) x) y) t_2)))))
double code(double x, double y, double z, double t, double a, double b) {
	double t_1 = log(a) * (t - 1.0);
	double t_2 = (pow(a, (t - 1.0)) / y) * x;
	double tmp;
	if (t_1 <= -2e+41) {
		tmp = t_2;
	} else if (t_1 <= -570.0) {
		tmp = ((pow(z, y) * x) / y) / a;
	} else if (t_1 <= 4e+53) {
		tmp = ((exp(-b) / a) * x) / y;
	} 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 = log(a) * (t - 1.0d0)
    t_2 = ((a ** (t - 1.0d0)) / y) * x
    if (t_1 <= (-2d+41)) then
        tmp = t_2
    else if (t_1 <= (-570.0d0)) then
        tmp = (((z ** y) * x) / y) / a
    else if (t_1 <= 4d+53) then
        tmp = ((exp(-b) / a) * x) / y
    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 = Math.log(a) * (t - 1.0);
	double t_2 = (Math.pow(a, (t - 1.0)) / y) * x;
	double tmp;
	if (t_1 <= -2e+41) {
		tmp = t_2;
	} else if (t_1 <= -570.0) {
		tmp = ((Math.pow(z, y) * x) / y) / a;
	} else if (t_1 <= 4e+53) {
		tmp = ((Math.exp(-b) / a) * x) / y;
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t, a, b):
	t_1 = math.log(a) * (t - 1.0)
	t_2 = (math.pow(a, (t - 1.0)) / y) * x
	tmp = 0
	if t_1 <= -2e+41:
		tmp = t_2
	elif t_1 <= -570.0:
		tmp = ((math.pow(z, y) * x) / y) / a
	elif t_1 <= 4e+53:
		tmp = ((math.exp(-b) / a) * x) / y
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b)
	t_1 = Float64(log(a) * Float64(t - 1.0))
	t_2 = Float64(Float64((a ^ Float64(t - 1.0)) / y) * x)
	tmp = 0.0
	if (t_1 <= -2e+41)
		tmp = t_2;
	elseif (t_1 <= -570.0)
		tmp = Float64(Float64(Float64((z ^ y) * x) / y) / a);
	elseif (t_1 <= 4e+53)
		tmp = Float64(Float64(Float64(exp(Float64(-b)) / a) * x) / y);
	else
		tmp = t_2;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b)
	t_1 = log(a) * (t - 1.0);
	t_2 = ((a ^ (t - 1.0)) / y) * x;
	tmp = 0.0;
	if (t_1 <= -2e+41)
		tmp = t_2;
	elseif (t_1 <= -570.0)
		tmp = (((z ^ y) * x) / y) / a;
	elseif (t_1 <= 4e+53)
		tmp = ((exp(-b) / a) * x) / y;
	else
		tmp = t_2;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[Log[a], $MachinePrecision] * N[(t - 1.0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[Power[a, N[(t - 1.0), $MachinePrecision]], $MachinePrecision] / y), $MachinePrecision] * x), $MachinePrecision]}, If[LessEqual[t$95$1, -2e+41], t$95$2, If[LessEqual[t$95$1, -570.0], N[(N[(N[(N[Power[z, y], $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision] / a), $MachinePrecision], If[LessEqual[t$95$1, 4e+53], N[(N[(N[(N[Exp[(-b)], $MachinePrecision] / a), $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision], t$95$2]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \log a \cdot \left(t - 1\right)\\
t_2 := \frac{{a}^{\left(t - 1\right)}}{y} \cdot x\\
\mathbf{if}\;t\_1 \leq -2 \cdot 10^{+41}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;t\_1 \leq -570:\\
\;\;\;\;\frac{\frac{{z}^{y} \cdot x}{y}}{a}\\

\mathbf{elif}\;t\_1 \leq 4 \cdot 10^{+53}:\\
\;\;\;\;\frac{\frac{e^{-b}}{a} \cdot x}{y}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if (*.f64 (-.f64 t #s(literal 1 binary64)) (log.f64 a)) < -2.00000000000000001e41 or 4e53 < (*.f64 (-.f64 t #s(literal 1 binary64)) (log.f64 a))

    1. Initial program 100.0%

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

      \[\leadsto \color{blue}{\frac{x \cdot e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}{y}} \]
    4. Step-by-step derivation
      1. exp-sumN/A

        \[\leadsto \frac{x \cdot \color{blue}{\left(e^{y \cdot \log z} \cdot e^{\log a \cdot \left(t - 1\right)}\right)}}{y} \]
      2. associate-*r*N/A

        \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
      3. associate-/l*N/A

        \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
      4. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
      5. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right)} \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
      6. *-commutativeN/A

        \[\leadsto \left(x \cdot e^{\color{blue}{\log z \cdot y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
      7. exp-to-powN/A

        \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
      8. lower-pow.f64N/A

        \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
      9. lower-/.f64N/A

        \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \color{blue}{\frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
      10. exp-prodN/A

        \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
      11. lower-pow.f64N/A

        \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
      12. rem-exp-logN/A

        \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{\color{blue}{a}}^{\left(t - 1\right)}}{y} \]
      13. lower--.f6472.9

        \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
    5. Applied rewrites72.9%

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

      \[\leadsto \frac{x \cdot e^{\log a \cdot \left(t - 1\right)}}{\color{blue}{y}} \]
    7. Step-by-step derivation
      1. Applied rewrites83.8%

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

      if -2.00000000000000001e41 < (*.f64 (-.f64 t #s(literal 1 binary64)) (log.f64 a)) < -570

      1. Initial program 90.3%

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

        \[\leadsto \color{blue}{\frac{x \cdot e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}{y}} \]
      4. Step-by-step derivation
        1. exp-sumN/A

          \[\leadsto \frac{x \cdot \color{blue}{\left(e^{y \cdot \log z} \cdot e^{\log a \cdot \left(t - 1\right)}\right)}}{y} \]
        2. associate-*r*N/A

          \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
        3. associate-/l*N/A

          \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
        4. lower-*.f64N/A

          \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
        5. lower-*.f64N/A

          \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right)} \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
        6. *-commutativeN/A

          \[\leadsto \left(x \cdot e^{\color{blue}{\log z \cdot y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
        7. exp-to-powN/A

          \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
        8. lower-pow.f64N/A

          \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
        9. lower-/.f64N/A

          \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \color{blue}{\frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
        10. exp-prodN/A

          \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
        11. lower-pow.f64N/A

          \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
        12. rem-exp-logN/A

          \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{\color{blue}{a}}^{\left(t - 1\right)}}{y} \]
        13. lower--.f6452.1

          \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
      5. Applied rewrites52.1%

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

        \[\leadsto \frac{x \cdot {z}^{y}}{\color{blue}{a \cdot y}} \]
      7. Step-by-step derivation
        1. Applied rewrites59.7%

          \[\leadsto \frac{x}{y} \cdot \color{blue}{\frac{{z}^{y}}{a}} \]
        2. Step-by-step derivation
          1. Applied rewrites77.0%

            \[\leadsto \frac{\frac{x \cdot {z}^{y}}{y}}{a} \]

          if -570 < (*.f64 (-.f64 t #s(literal 1 binary64)) (log.f64 a)) < 4e53

          1. Initial program 98.4%

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

            \[\leadsto \frac{x \cdot \color{blue}{e^{\left(-1 \cdot \log a + y \cdot \log z\right) - b}}}{y} \]
          4. Step-by-step derivation
            1. exp-diffN/A

              \[\leadsto \frac{x \cdot \color{blue}{\frac{e^{-1 \cdot \log a + y \cdot \log z}}{e^{b}}}}{y} \]
            2. lower-/.f64N/A

              \[\leadsto \frac{x \cdot \color{blue}{\frac{e^{-1 \cdot \log a + y \cdot \log z}}{e^{b}}}}{y} \]
            3. +-commutativeN/A

              \[\leadsto \frac{x \cdot \frac{e^{\color{blue}{y \cdot \log z + -1 \cdot \log a}}}{e^{b}}}{y} \]
            4. mul-1-negN/A

              \[\leadsto \frac{x \cdot \frac{e^{y \cdot \log z + \color{blue}{\left(\mathsf{neg}\left(\log a\right)\right)}}}{e^{b}}}{y} \]
            5. unsub-negN/A

              \[\leadsto \frac{x \cdot \frac{e^{\color{blue}{y \cdot \log z - \log a}}}{e^{b}}}{y} \]
            6. exp-diffN/A

              \[\leadsto \frac{x \cdot \frac{\color{blue}{\frac{e^{y \cdot \log z}}{e^{\log a}}}}{e^{b}}}{y} \]
            7. lower-/.f64N/A

              \[\leadsto \frac{x \cdot \frac{\color{blue}{\frac{e^{y \cdot \log z}}{e^{\log a}}}}{e^{b}}}{y} \]
            8. *-commutativeN/A

              \[\leadsto \frac{x \cdot \frac{\frac{e^{\color{blue}{\log z \cdot y}}}{e^{\log a}}}{e^{b}}}{y} \]
            9. exp-to-powN/A

              \[\leadsto \frac{x \cdot \frac{\frac{\color{blue}{{z}^{y}}}{e^{\log a}}}{e^{b}}}{y} \]
            10. lower-pow.f64N/A

              \[\leadsto \frac{x \cdot \frac{\frac{\color{blue}{{z}^{y}}}{e^{\log a}}}{e^{b}}}{y} \]
            11. rem-exp-logN/A

              \[\leadsto \frac{x \cdot \frac{\frac{{z}^{y}}{\color{blue}{a}}}{e^{b}}}{y} \]
            12. lower-exp.f6485.4

              \[\leadsto \frac{x \cdot \frac{\frac{{z}^{y}}{a}}{\color{blue}{e^{b}}}}{y} \]
          5. Applied rewrites85.4%

            \[\leadsto \frac{x \cdot \color{blue}{\frac{\frac{{z}^{y}}{a}}{e^{b}}}}{y} \]
          6. Taylor expanded in y around 0

            \[\leadsto \frac{x \cdot \frac{1}{\color{blue}{a \cdot e^{b}}}}{y} \]
          7. Step-by-step derivation
            1. Applied rewrites78.0%

              \[\leadsto \frac{x \cdot \frac{e^{-b}}{\color{blue}{a}}}{y} \]
          8. Recombined 3 regimes into one program.
          9. Final simplification80.2%

            \[\leadsto \begin{array}{l} \mathbf{if}\;\log a \cdot \left(t - 1\right) \leq -2 \cdot 10^{+41}:\\ \;\;\;\;\frac{{a}^{\left(t - 1\right)}}{y} \cdot x\\ \mathbf{elif}\;\log a \cdot \left(t - 1\right) \leq -570:\\ \;\;\;\;\frac{\frac{{z}^{y} \cdot x}{y}}{a}\\ \mathbf{elif}\;\log a \cdot \left(t - 1\right) \leq 4 \cdot 10^{+53}:\\ \;\;\;\;\frac{\frac{e^{-b}}{a} \cdot x}{y}\\ \mathbf{else}:\\ \;\;\;\;\frac{{a}^{\left(t - 1\right)}}{y} \cdot x\\ \end{array} \]
          10. Add Preprocessing

          Alternative 3: 92.6% accurate, 1.0× speedup?

          \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{e^{\mathsf{fma}\left(\log z, y, -\log a\right) - b} \cdot x}{y}\\ \mathbf{if}\;y \leq -1950000000:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 2 \cdot 10^{+52}:\\ \;\;\;\;\frac{e^{\log a \cdot \left(t - 1\right) - b} \cdot x}{y}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
          (FPCore (x y z t a b)
           :precision binary64
           (let* ((t_1 (/ (* (exp (- (fma (log z) y (- (log a))) b)) x) y)))
             (if (<= y -1950000000.0)
               t_1
               (if (<= y 2e+52) (/ (* (exp (- (* (log a) (- t 1.0)) b)) x) y) t_1))))
          double code(double x, double y, double z, double t, double a, double b) {
          	double t_1 = (exp((fma(log(z), y, -log(a)) - b)) * x) / y;
          	double tmp;
          	if (y <= -1950000000.0) {
          		tmp = t_1;
          	} else if (y <= 2e+52) {
          		tmp = (exp(((log(a) * (t - 1.0)) - b)) * x) / y;
          	} else {
          		tmp = t_1;
          	}
          	return tmp;
          }
          
          function code(x, y, z, t, a, b)
          	t_1 = Float64(Float64(exp(Float64(fma(log(z), y, Float64(-log(a))) - b)) * x) / y)
          	tmp = 0.0
          	if (y <= -1950000000.0)
          		tmp = t_1;
          	elseif (y <= 2e+52)
          		tmp = Float64(Float64(exp(Float64(Float64(log(a) * Float64(t - 1.0)) - b)) * x) / y);
          	else
          		tmp = t_1;
          	end
          	return tmp
          end
          
          code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(N[Exp[N[(N[(N[Log[z], $MachinePrecision] * y + (-N[Log[a], $MachinePrecision])), $MachinePrecision] - b), $MachinePrecision]], $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision]}, If[LessEqual[y, -1950000000.0], t$95$1, If[LessEqual[y, 2e+52], N[(N[(N[Exp[N[(N[(N[Log[a], $MachinePrecision] * N[(t - 1.0), $MachinePrecision]), $MachinePrecision] - b), $MachinePrecision]], $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision], t$95$1]]]
          
          \begin{array}{l}
          
          \\
          \begin{array}{l}
          t_1 := \frac{e^{\mathsf{fma}\left(\log z, y, -\log a\right) - b} \cdot x}{y}\\
          \mathbf{if}\;y \leq -1950000000:\\
          \;\;\;\;t\_1\\
          
          \mathbf{elif}\;y \leq 2 \cdot 10^{+52}:\\
          \;\;\;\;\frac{e^{\log a \cdot \left(t - 1\right) - b} \cdot x}{y}\\
          
          \mathbf{else}:\\
          \;\;\;\;t\_1\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 2 regimes
          2. if y < -1.95e9 or 2e52 < y

            1. Initial program 100.0%

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

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

                \[\leadsto \frac{x \cdot e^{\color{blue}{\left(y \cdot \log z + -1 \cdot \log a\right)} - b}}{y} \]
              2. *-commutativeN/A

                \[\leadsto \frac{x \cdot e^{\left(\color{blue}{\log z \cdot y} + -1 \cdot \log a\right) - b}}{y} \]
              3. lower-fma.f64N/A

                \[\leadsto \frac{x \cdot e^{\color{blue}{\mathsf{fma}\left(\log z, y, -1 \cdot \log a\right)} - b}}{y} \]
              4. lower-log.f64N/A

                \[\leadsto \frac{x \cdot e^{\mathsf{fma}\left(\color{blue}{\log z}, y, -1 \cdot \log a\right) - b}}{y} \]
              5. mul-1-negN/A

                \[\leadsto \frac{x \cdot e^{\mathsf{fma}\left(\log z, y, \color{blue}{\mathsf{neg}\left(\log a\right)}\right) - b}}{y} \]
              6. lower-neg.f64N/A

                \[\leadsto \frac{x \cdot e^{\mathsf{fma}\left(\log z, y, \color{blue}{-\log a}\right) - b}}{y} \]
              7. rem-exp-logN/A

                \[\leadsto \frac{x \cdot e^{\mathsf{fma}\left(\log z, y, -\log \color{blue}{\left(e^{\log a}\right)}\right) - b}}{y} \]
              8. lower-log.f64N/A

                \[\leadsto \frac{x \cdot e^{\mathsf{fma}\left(\log z, y, -\color{blue}{\log \left(e^{\log a}\right)}\right) - b}}{y} \]
              9. rem-exp-log93.9

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

              \[\leadsto \frac{x \cdot e^{\color{blue}{\mathsf{fma}\left(\log z, y, -\log a\right)} - b}}{y} \]

            if -1.95e9 < y < 2e52

            1. Initial program 96.6%

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

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

                \[\leadsto \frac{x \cdot e^{\color{blue}{\left(t - 1\right) \cdot \log a} - b}}{y} \]
              2. lower-*.f64N/A

                \[\leadsto \frac{x \cdot e^{\color{blue}{\left(t - 1\right) \cdot \log a} - b}}{y} \]
              3. lower--.f64N/A

                \[\leadsto \frac{x \cdot e^{\color{blue}{\left(t - 1\right)} \cdot \log a - b}}{y} \]
              4. rem-exp-logN/A

                \[\leadsto \frac{x \cdot e^{\left(t - 1\right) \cdot \log \color{blue}{\left(e^{\log a}\right)} - b}}{y} \]
              5. lower-log.f64N/A

                \[\leadsto \frac{x \cdot e^{\left(t - 1\right) \cdot \color{blue}{\log \left(e^{\log a}\right)} - b}}{y} \]
              6. rem-exp-log95.9

                \[\leadsto \frac{x \cdot e^{\left(t - 1\right) \cdot \log \color{blue}{a} - b}}{y} \]
            5. Applied rewrites95.9%

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

            \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1950000000:\\ \;\;\;\;\frac{e^{\mathsf{fma}\left(\log z, y, -\log a\right) - b} \cdot x}{y}\\ \mathbf{elif}\;y \leq 2 \cdot 10^{+52}:\\ \;\;\;\;\frac{e^{\log a \cdot \left(t - 1\right) - b} \cdot x}{y}\\ \mathbf{else}:\\ \;\;\;\;\frac{e^{\mathsf{fma}\left(\log z, y, -\log a\right) - b} \cdot x}{y}\\ \end{array} \]
          5. Add Preprocessing

          Alternative 4: 81.1% accurate, 1.3× speedup?

          \[\begin{array}{l} \\ \begin{array}{l} t_1 := {a}^{\left(t - 1\right)}\\ t_2 := {z}^{y} \cdot x\\ t_3 := \frac{e^{\log a \cdot t - b} \cdot x}{y}\\ \mathbf{if}\;b \leq -0.00044:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;b \leq 5.6 \cdot 10^{-281}:\\ \;\;\;\;\frac{\frac{t\_2}{y}}{a}\\ \mathbf{elif}\;b \leq 5.8 \cdot 10^{-165}:\\ \;\;\;\;\frac{t\_1 \cdot x}{y}\\ \mathbf{elif}\;b \leq 6.8 \cdot 10^{+21}:\\ \;\;\;\;\frac{t\_1}{y} \cdot t\_2\\ \mathbf{else}:\\ \;\;\;\;t\_3\\ \end{array} \end{array} \]
          (FPCore (x y z t a b)
           :precision binary64
           (let* ((t_1 (pow a (- t 1.0)))
                  (t_2 (* (pow z y) x))
                  (t_3 (/ (* (exp (- (* (log a) t) b)) x) y)))
             (if (<= b -0.00044)
               t_3
               (if (<= b 5.6e-281)
                 (/ (/ t_2 y) a)
                 (if (<= b 5.8e-165)
                   (/ (* t_1 x) y)
                   (if (<= b 6.8e+21) (* (/ t_1 y) t_2) t_3))))))
          double code(double x, double y, double z, double t, double a, double b) {
          	double t_1 = pow(a, (t - 1.0));
          	double t_2 = pow(z, y) * x;
          	double t_3 = (exp(((log(a) * t) - b)) * x) / y;
          	double tmp;
          	if (b <= -0.00044) {
          		tmp = t_3;
          	} else if (b <= 5.6e-281) {
          		tmp = (t_2 / y) / a;
          	} else if (b <= 5.8e-165) {
          		tmp = (t_1 * x) / y;
          	} else if (b <= 6.8e+21) {
          		tmp = (t_1 / y) * t_2;
          	} else {
          		tmp = t_3;
          	}
          	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) :: t_3
              real(8) :: tmp
              t_1 = a ** (t - 1.0d0)
              t_2 = (z ** y) * x
              t_3 = (exp(((log(a) * t) - b)) * x) / y
              if (b <= (-0.00044d0)) then
                  tmp = t_3
              else if (b <= 5.6d-281) then
                  tmp = (t_2 / y) / a
              else if (b <= 5.8d-165) then
                  tmp = (t_1 * x) / y
              else if (b <= 6.8d+21) then
                  tmp = (t_1 / y) * t_2
              else
                  tmp = t_3
              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 = Math.pow(a, (t - 1.0));
          	double t_2 = Math.pow(z, y) * x;
          	double t_3 = (Math.exp(((Math.log(a) * t) - b)) * x) / y;
          	double tmp;
          	if (b <= -0.00044) {
          		tmp = t_3;
          	} else if (b <= 5.6e-281) {
          		tmp = (t_2 / y) / a;
          	} else if (b <= 5.8e-165) {
          		tmp = (t_1 * x) / y;
          	} else if (b <= 6.8e+21) {
          		tmp = (t_1 / y) * t_2;
          	} else {
          		tmp = t_3;
          	}
          	return tmp;
          }
          
          def code(x, y, z, t, a, b):
          	t_1 = math.pow(a, (t - 1.0))
          	t_2 = math.pow(z, y) * x
          	t_3 = (math.exp(((math.log(a) * t) - b)) * x) / y
          	tmp = 0
          	if b <= -0.00044:
          		tmp = t_3
          	elif b <= 5.6e-281:
          		tmp = (t_2 / y) / a
          	elif b <= 5.8e-165:
          		tmp = (t_1 * x) / y
          	elif b <= 6.8e+21:
          		tmp = (t_1 / y) * t_2
          	else:
          		tmp = t_3
          	return tmp
          
          function code(x, y, z, t, a, b)
          	t_1 = a ^ Float64(t - 1.0)
          	t_2 = Float64((z ^ y) * x)
          	t_3 = Float64(Float64(exp(Float64(Float64(log(a) * t) - b)) * x) / y)
          	tmp = 0.0
          	if (b <= -0.00044)
          		tmp = t_3;
          	elseif (b <= 5.6e-281)
          		tmp = Float64(Float64(t_2 / y) / a);
          	elseif (b <= 5.8e-165)
          		tmp = Float64(Float64(t_1 * x) / y);
          	elseif (b <= 6.8e+21)
          		tmp = Float64(Float64(t_1 / y) * t_2);
          	else
          		tmp = t_3;
          	end
          	return tmp
          end
          
          function tmp_2 = code(x, y, z, t, a, b)
          	t_1 = a ^ (t - 1.0);
          	t_2 = (z ^ y) * x;
          	t_3 = (exp(((log(a) * t) - b)) * x) / y;
          	tmp = 0.0;
          	if (b <= -0.00044)
          		tmp = t_3;
          	elseif (b <= 5.6e-281)
          		tmp = (t_2 / y) / a;
          	elseif (b <= 5.8e-165)
          		tmp = (t_1 * x) / y;
          	elseif (b <= 6.8e+21)
          		tmp = (t_1 / y) * t_2;
          	else
          		tmp = t_3;
          	end
          	tmp_2 = tmp;
          end
          
          code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[Power[a, N[(t - 1.0), $MachinePrecision]], $MachinePrecision]}, Block[{t$95$2 = N[(N[Power[z, y], $MachinePrecision] * x), $MachinePrecision]}, Block[{t$95$3 = N[(N[(N[Exp[N[(N[(N[Log[a], $MachinePrecision] * t), $MachinePrecision] - b), $MachinePrecision]], $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision]}, If[LessEqual[b, -0.00044], t$95$3, If[LessEqual[b, 5.6e-281], N[(N[(t$95$2 / y), $MachinePrecision] / a), $MachinePrecision], If[LessEqual[b, 5.8e-165], N[(N[(t$95$1 * x), $MachinePrecision] / y), $MachinePrecision], If[LessEqual[b, 6.8e+21], N[(N[(t$95$1 / y), $MachinePrecision] * t$95$2), $MachinePrecision], t$95$3]]]]]]]
          
          \begin{array}{l}
          
          \\
          \begin{array}{l}
          t_1 := {a}^{\left(t - 1\right)}\\
          t_2 := {z}^{y} \cdot x\\
          t_3 := \frac{e^{\log a \cdot t - b} \cdot x}{y}\\
          \mathbf{if}\;b \leq -0.00044:\\
          \;\;\;\;t\_3\\
          
          \mathbf{elif}\;b \leq 5.6 \cdot 10^{-281}:\\
          \;\;\;\;\frac{\frac{t\_2}{y}}{a}\\
          
          \mathbf{elif}\;b \leq 5.8 \cdot 10^{-165}:\\
          \;\;\;\;\frac{t\_1 \cdot x}{y}\\
          
          \mathbf{elif}\;b \leq 6.8 \cdot 10^{+21}:\\
          \;\;\;\;\frac{t\_1}{y} \cdot t\_2\\
          
          \mathbf{else}:\\
          \;\;\;\;t\_3\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 4 regimes
          2. if b < -4.40000000000000016e-4 or 6.8e21 < b

            1. Initial program 100.0%

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

              \[\leadsto \frac{x \cdot e^{\color{blue}{t \cdot \log a} - b}}{y} \]
            4. Step-by-step derivation
              1. *-commutativeN/A

                \[\leadsto \frac{x \cdot e^{\color{blue}{\log a \cdot t} - b}}{y} \]
              2. lower-*.f64N/A

                \[\leadsto \frac{x \cdot e^{\color{blue}{\log a \cdot t} - b}}{y} \]
              3. rem-exp-logN/A

                \[\leadsto \frac{x \cdot e^{\log \color{blue}{\left(e^{\log a}\right)} \cdot t - b}}{y} \]
              4. lower-log.f64N/A

                \[\leadsto \frac{x \cdot e^{\color{blue}{\log \left(e^{\log a}\right)} \cdot t - b}}{y} \]
              5. rem-exp-log91.7

                \[\leadsto \frac{x \cdot e^{\log \color{blue}{a} \cdot t - b}}{y} \]
            5. Applied rewrites91.7%

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

            if -4.40000000000000016e-4 < b < 5.6000000000000001e-281

            1. Initial program 96.1%

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

              \[\leadsto \color{blue}{\frac{x \cdot e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}{y}} \]
            4. Step-by-step derivation
              1. exp-sumN/A

                \[\leadsto \frac{x \cdot \color{blue}{\left(e^{y \cdot \log z} \cdot e^{\log a \cdot \left(t - 1\right)}\right)}}{y} \]
              2. associate-*r*N/A

                \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
              3. associate-/l*N/A

                \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
              4. lower-*.f64N/A

                \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
              5. lower-*.f64N/A

                \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right)} \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
              6. *-commutativeN/A

                \[\leadsto \left(x \cdot e^{\color{blue}{\log z \cdot y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
              7. exp-to-powN/A

                \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
              8. lower-pow.f64N/A

                \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
              9. lower-/.f64N/A

                \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \color{blue}{\frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
              10. exp-prodN/A

                \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
              11. lower-pow.f64N/A

                \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
              12. rem-exp-logN/A

                \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{\color{blue}{a}}^{\left(t - 1\right)}}{y} \]
              13. lower--.f6475.6

                \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
            5. Applied rewrites75.6%

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

              \[\leadsto \frac{x \cdot {z}^{y}}{\color{blue}{a \cdot y}} \]
            7. Step-by-step derivation
              1. Applied rewrites74.5%

                \[\leadsto \frac{x}{y} \cdot \color{blue}{\frac{{z}^{y}}{a}} \]
              2. Step-by-step derivation
                1. Applied rewrites81.1%

                  \[\leadsto \frac{\frac{x \cdot {z}^{y}}{y}}{a} \]

                if 5.6000000000000001e-281 < b < 5.8e-165

                1. Initial program 98.0%

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

                  \[\leadsto \color{blue}{\frac{x \cdot e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}{y}} \]
                4. Step-by-step derivation
                  1. exp-sumN/A

                    \[\leadsto \frac{x \cdot \color{blue}{\left(e^{y \cdot \log z} \cdot e^{\log a \cdot \left(t - 1\right)}\right)}}{y} \]
                  2. associate-*r*N/A

                    \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
                  3. associate-/l*N/A

                    \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                  4. lower-*.f64N/A

                    \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                  5. lower-*.f64N/A

                    \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right)} \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                  6. *-commutativeN/A

                    \[\leadsto \left(x \cdot e^{\color{blue}{\log z \cdot y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                  7. exp-to-powN/A

                    \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                  8. lower-pow.f64N/A

                    \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                  9. lower-/.f64N/A

                    \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \color{blue}{\frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                  10. exp-prodN/A

                    \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                  11. lower-pow.f64N/A

                    \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                  12. rem-exp-logN/A

                    \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{\color{blue}{a}}^{\left(t - 1\right)}}{y} \]
                  13. lower--.f6468.5

                    \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
                5. Applied rewrites68.5%

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

                  \[\leadsto \frac{x \cdot {z}^{y}}{\color{blue}{a \cdot y}} \]
                7. Step-by-step derivation
                  1. Applied rewrites56.3%

                    \[\leadsto \frac{x}{y} \cdot \color{blue}{\frac{{z}^{y}}{a}} \]
                  2. Taylor expanded in y around 0

                    \[\leadsto \frac{x \cdot e^{\log a \cdot \left(t - 1\right)}}{\color{blue}{y}} \]
                  3. Step-by-step derivation
                    1. Applied rewrites90.9%

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

                    if 5.8e-165 < b < 6.8e21

                    1. Initial program 97.1%

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

                      \[\leadsto \color{blue}{\frac{x \cdot e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}{y}} \]
                    4. Step-by-step derivation
                      1. exp-sumN/A

                        \[\leadsto \frac{x \cdot \color{blue}{\left(e^{y \cdot \log z} \cdot e^{\log a \cdot \left(t - 1\right)}\right)}}{y} \]
                      2. associate-*r*N/A

                        \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
                      3. associate-/l*N/A

                        \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                      4. lower-*.f64N/A

                        \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                      5. lower-*.f64N/A

                        \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right)} \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                      6. *-commutativeN/A

                        \[\leadsto \left(x \cdot e^{\color{blue}{\log z \cdot y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                      7. exp-to-powN/A

                        \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                      8. lower-pow.f64N/A

                        \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                      9. lower-/.f64N/A

                        \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \color{blue}{\frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                      10. exp-prodN/A

                        \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                      11. lower-pow.f64N/A

                        \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                      12. rem-exp-logN/A

                        \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{\color{blue}{a}}^{\left(t - 1\right)}}{y} \]
                      13. lower--.f6480.9

                        \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
                    5. Applied rewrites80.9%

                      \[\leadsto \color{blue}{\left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\left(t - 1\right)}}{y}} \]
                  4. Recombined 4 regimes into one program.
                  5. Final simplification86.3%

                    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -0.00044:\\ \;\;\;\;\frac{e^{\log a \cdot t - b} \cdot x}{y}\\ \mathbf{elif}\;b \leq 5.6 \cdot 10^{-281}:\\ \;\;\;\;\frac{\frac{{z}^{y} \cdot x}{y}}{a}\\ \mathbf{elif}\;b \leq 5.8 \cdot 10^{-165}:\\ \;\;\;\;\frac{{a}^{\left(t - 1\right)} \cdot x}{y}\\ \mathbf{elif}\;b \leq 6.8 \cdot 10^{+21}:\\ \;\;\;\;\frac{{a}^{\left(t - 1\right)}}{y} \cdot \left({z}^{y} \cdot x\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{e^{\log a \cdot t - b} \cdot x}{y}\\ \end{array} \]
                  6. Add Preprocessing

                  Alternative 5: 79.6% accurate, 1.3× speedup?

                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{\frac{{z}^{y} \cdot x}{y}}{a}\\ t_2 := \frac{e^{\log a \cdot t - b} \cdot x}{y}\\ \mathbf{if}\;b \leq -0.00044:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;b \leq 5.6 \cdot 10^{-281}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 6.2 \cdot 10^{-173}:\\ \;\;\;\;\frac{{a}^{\left(t - 1\right)} \cdot x}{y}\\ \mathbf{elif}\;b \leq 5.3 \cdot 10^{-14}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
                  (FPCore (x y z t a b)
                   :precision binary64
                   (let* ((t_1 (/ (/ (* (pow z y) x) y) a))
                          (t_2 (/ (* (exp (- (* (log a) t) b)) x) y)))
                     (if (<= b -0.00044)
                       t_2
                       (if (<= b 5.6e-281)
                         t_1
                         (if (<= b 6.2e-173)
                           (/ (* (pow a (- t 1.0)) x) y)
                           (if (<= b 5.3e-14) t_1 t_2))))))
                  double code(double x, double y, double z, double t, double a, double b) {
                  	double t_1 = ((pow(z, y) * x) / y) / a;
                  	double t_2 = (exp(((log(a) * t) - b)) * x) / y;
                  	double tmp;
                  	if (b <= -0.00044) {
                  		tmp = t_2;
                  	} else if (b <= 5.6e-281) {
                  		tmp = t_1;
                  	} else if (b <= 6.2e-173) {
                  		tmp = (pow(a, (t - 1.0)) * x) / y;
                  	} else if (b <= 5.3e-14) {
                  		tmp = t_1;
                  	} 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 = (((z ** y) * x) / y) / a
                      t_2 = (exp(((log(a) * t) - b)) * x) / y
                      if (b <= (-0.00044d0)) then
                          tmp = t_2
                      else if (b <= 5.6d-281) then
                          tmp = t_1
                      else if (b <= 6.2d-173) then
                          tmp = ((a ** (t - 1.0d0)) * x) / y
                      else if (b <= 5.3d-14) then
                          tmp = t_1
                      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 = ((Math.pow(z, y) * x) / y) / a;
                  	double t_2 = (Math.exp(((Math.log(a) * t) - b)) * x) / y;
                  	double tmp;
                  	if (b <= -0.00044) {
                  		tmp = t_2;
                  	} else if (b <= 5.6e-281) {
                  		tmp = t_1;
                  	} else if (b <= 6.2e-173) {
                  		tmp = (Math.pow(a, (t - 1.0)) * x) / y;
                  	} else if (b <= 5.3e-14) {
                  		tmp = t_1;
                  	} else {
                  		tmp = t_2;
                  	}
                  	return tmp;
                  }
                  
                  def code(x, y, z, t, a, b):
                  	t_1 = ((math.pow(z, y) * x) / y) / a
                  	t_2 = (math.exp(((math.log(a) * t) - b)) * x) / y
                  	tmp = 0
                  	if b <= -0.00044:
                  		tmp = t_2
                  	elif b <= 5.6e-281:
                  		tmp = t_1
                  	elif b <= 6.2e-173:
                  		tmp = (math.pow(a, (t - 1.0)) * x) / y
                  	elif b <= 5.3e-14:
                  		tmp = t_1
                  	else:
                  		tmp = t_2
                  	return tmp
                  
                  function code(x, y, z, t, a, b)
                  	t_1 = Float64(Float64(Float64((z ^ y) * x) / y) / a)
                  	t_2 = Float64(Float64(exp(Float64(Float64(log(a) * t) - b)) * x) / y)
                  	tmp = 0.0
                  	if (b <= -0.00044)
                  		tmp = t_2;
                  	elseif (b <= 5.6e-281)
                  		tmp = t_1;
                  	elseif (b <= 6.2e-173)
                  		tmp = Float64(Float64((a ^ Float64(t - 1.0)) * x) / y);
                  	elseif (b <= 5.3e-14)
                  		tmp = t_1;
                  	else
                  		tmp = t_2;
                  	end
                  	return tmp
                  end
                  
                  function tmp_2 = code(x, y, z, t, a, b)
                  	t_1 = (((z ^ y) * x) / y) / a;
                  	t_2 = (exp(((log(a) * t) - b)) * x) / y;
                  	tmp = 0.0;
                  	if (b <= -0.00044)
                  		tmp = t_2;
                  	elseif (b <= 5.6e-281)
                  		tmp = t_1;
                  	elseif (b <= 6.2e-173)
                  		tmp = ((a ^ (t - 1.0)) * x) / y;
                  	elseif (b <= 5.3e-14)
                  		tmp = t_1;
                  	else
                  		tmp = t_2;
                  	end
                  	tmp_2 = tmp;
                  end
                  
                  code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(N[(N[Power[z, y], $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision] / a), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[Exp[N[(N[(N[Log[a], $MachinePrecision] * t), $MachinePrecision] - b), $MachinePrecision]], $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision]}, If[LessEqual[b, -0.00044], t$95$2, If[LessEqual[b, 5.6e-281], t$95$1, If[LessEqual[b, 6.2e-173], N[(N[(N[Power[a, N[(t - 1.0), $MachinePrecision]], $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision], If[LessEqual[b, 5.3e-14], t$95$1, t$95$2]]]]]]
                  
                  \begin{array}{l}
                  
                  \\
                  \begin{array}{l}
                  t_1 := \frac{\frac{{z}^{y} \cdot x}{y}}{a}\\
                  t_2 := \frac{e^{\log a \cdot t - b} \cdot x}{y}\\
                  \mathbf{if}\;b \leq -0.00044:\\
                  \;\;\;\;t\_2\\
                  
                  \mathbf{elif}\;b \leq 5.6 \cdot 10^{-281}:\\
                  \;\;\;\;t\_1\\
                  
                  \mathbf{elif}\;b \leq 6.2 \cdot 10^{-173}:\\
                  \;\;\;\;\frac{{a}^{\left(t - 1\right)} \cdot x}{y}\\
                  
                  \mathbf{elif}\;b \leq 5.3 \cdot 10^{-14}:\\
                  \;\;\;\;t\_1\\
                  
                  \mathbf{else}:\\
                  \;\;\;\;t\_2\\
                  
                  
                  \end{array}
                  \end{array}
                  
                  Derivation
                  1. Split input into 3 regimes
                  2. if b < -4.40000000000000016e-4 or 5.3000000000000001e-14 < b

                    1. Initial program 99.9%

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

                      \[\leadsto \frac{x \cdot e^{\color{blue}{t \cdot \log a} - b}}{y} \]
                    4. Step-by-step derivation
                      1. *-commutativeN/A

                        \[\leadsto \frac{x \cdot e^{\color{blue}{\log a \cdot t} - b}}{y} \]
                      2. lower-*.f64N/A

                        \[\leadsto \frac{x \cdot e^{\color{blue}{\log a \cdot t} - b}}{y} \]
                      3. rem-exp-logN/A

                        \[\leadsto \frac{x \cdot e^{\log \color{blue}{\left(e^{\log a}\right)} \cdot t - b}}{y} \]
                      4. lower-log.f64N/A

                        \[\leadsto \frac{x \cdot e^{\color{blue}{\log \left(e^{\log a}\right)} \cdot t - b}}{y} \]
                      5. rem-exp-log90.0

                        \[\leadsto \frac{x \cdot e^{\log \color{blue}{a} \cdot t - b}}{y} \]
                    5. Applied rewrites90.0%

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

                    if -4.40000000000000016e-4 < b < 5.6000000000000001e-281 or 6.20000000000000011e-173 < b < 5.3000000000000001e-14

                    1. Initial program 96.3%

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

                      \[\leadsto \color{blue}{\frac{x \cdot e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}{y}} \]
                    4. Step-by-step derivation
                      1. exp-sumN/A

                        \[\leadsto \frac{x \cdot \color{blue}{\left(e^{y \cdot \log z} \cdot e^{\log a \cdot \left(t - 1\right)}\right)}}{y} \]
                      2. associate-*r*N/A

                        \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
                      3. associate-/l*N/A

                        \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                      4. lower-*.f64N/A

                        \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                      5. lower-*.f64N/A

                        \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right)} \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                      6. *-commutativeN/A

                        \[\leadsto \left(x \cdot e^{\color{blue}{\log z \cdot y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                      7. exp-to-powN/A

                        \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                      8. lower-pow.f64N/A

                        \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                      9. lower-/.f64N/A

                        \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \color{blue}{\frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                      10. exp-prodN/A

                        \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                      11. lower-pow.f64N/A

                        \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                      12. rem-exp-logN/A

                        \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{\color{blue}{a}}^{\left(t - 1\right)}}{y} \]
                      13. lower--.f6477.0

                        \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
                    5. Applied rewrites77.0%

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

                      \[\leadsto \frac{x \cdot {z}^{y}}{\color{blue}{a \cdot y}} \]
                    7. Step-by-step derivation
                      1. Applied rewrites75.5%

                        \[\leadsto \frac{x}{y} \cdot \color{blue}{\frac{{z}^{y}}{a}} \]
                      2. Step-by-step derivation
                        1. Applied rewrites81.3%

                          \[\leadsto \frac{\frac{x \cdot {z}^{y}}{y}}{a} \]

                        if 5.6000000000000001e-281 < b < 6.20000000000000011e-173

                        1. Initial program 98.3%

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

                          \[\leadsto \color{blue}{\frac{x \cdot e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}{y}} \]
                        4. Step-by-step derivation
                          1. exp-sumN/A

                            \[\leadsto \frac{x \cdot \color{blue}{\left(e^{y \cdot \log z} \cdot e^{\log a \cdot \left(t - 1\right)}\right)}}{y} \]
                          2. associate-*r*N/A

                            \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
                          3. associate-/l*N/A

                            \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                          4. lower-*.f64N/A

                            \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                          5. lower-*.f64N/A

                            \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right)} \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                          6. *-commutativeN/A

                            \[\leadsto \left(x \cdot e^{\color{blue}{\log z \cdot y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                          7. exp-to-powN/A

                            \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                          8. lower-pow.f64N/A

                            \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                          9. lower-/.f64N/A

                            \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \color{blue}{\frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                          10. exp-prodN/A

                            \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                          11. lower-pow.f64N/A

                            \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                          12. rem-exp-logN/A

                            \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{\color{blue}{a}}^{\left(t - 1\right)}}{y} \]
                          13. lower--.f6472.5

                            \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
                        5. Applied rewrites72.5%

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

                          \[\leadsto \frac{x \cdot {z}^{y}}{\color{blue}{a \cdot y}} \]
                        7. Step-by-step derivation
                          1. Applied rewrites46.6%

                            \[\leadsto \frac{x}{y} \cdot \color{blue}{\frac{{z}^{y}}{a}} \]
                          2. Taylor expanded in y around 0

                            \[\leadsto \frac{x \cdot e^{\log a \cdot \left(t - 1\right)}}{\color{blue}{y}} \]
                          3. Step-by-step derivation
                            1. Applied rewrites94.4%

                              \[\leadsto \frac{{a}^{\left(t - 1\right)} \cdot x}{\color{blue}{y}} \]
                          4. Recombined 3 regimes into one program.
                          5. Final simplification86.3%

                            \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -0.00044:\\ \;\;\;\;\frac{e^{\log a \cdot t - b} \cdot x}{y}\\ \mathbf{elif}\;b \leq 5.6 \cdot 10^{-281}:\\ \;\;\;\;\frac{\frac{{z}^{y} \cdot x}{y}}{a}\\ \mathbf{elif}\;b \leq 6.2 \cdot 10^{-173}:\\ \;\;\;\;\frac{{a}^{\left(t - 1\right)} \cdot x}{y}\\ \mathbf{elif}\;b \leq 5.3 \cdot 10^{-14}:\\ \;\;\;\;\frac{\frac{{z}^{y} \cdot x}{y}}{a}\\ \mathbf{else}:\\ \;\;\;\;\frac{e^{\log a \cdot t - b} \cdot x}{y}\\ \end{array} \]
                          6. Add Preprocessing

                          Alternative 6: 89.2% accurate, 1.4× speedup?

                          \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -1 \cdot 10^{+54}:\\ \;\;\;\;\frac{\frac{{z}^{y} \cdot x}{y}}{a}\\ \mathbf{elif}\;y \leq 1.15 \cdot 10^{+66}:\\ \;\;\;\;\frac{e^{\log a \cdot \left(t - 1\right) - b} \cdot x}{y}\\ \mathbf{else}:\\ \;\;\;\;\frac{e^{\log z \cdot y} \cdot x}{y}\\ \end{array} \end{array} \]
                          (FPCore (x y z t a b)
                           :precision binary64
                           (if (<= y -1e+54)
                             (/ (/ (* (pow z y) x) y) a)
                             (if (<= y 1.15e+66)
                               (/ (* (exp (- (* (log a) (- t 1.0)) b)) x) y)
                               (/ (* (exp (* (log z) y)) x) y))))
                          double code(double x, double y, double z, double t, double a, double b) {
                          	double tmp;
                          	if (y <= -1e+54) {
                          		tmp = ((pow(z, y) * x) / y) / a;
                          	} else if (y <= 1.15e+66) {
                          		tmp = (exp(((log(a) * (t - 1.0)) - b)) * x) / y;
                          	} else {
                          		tmp = (exp((log(z) * y)) * x) / y;
                          	}
                          	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 (y <= (-1d+54)) then
                                  tmp = (((z ** y) * x) / y) / a
                              else if (y <= 1.15d+66) then
                                  tmp = (exp(((log(a) * (t - 1.0d0)) - b)) * x) / y
                              else
                                  tmp = (exp((log(z) * y)) * x) / y
                              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 (y <= -1e+54) {
                          		tmp = ((Math.pow(z, y) * x) / y) / a;
                          	} else if (y <= 1.15e+66) {
                          		tmp = (Math.exp(((Math.log(a) * (t - 1.0)) - b)) * x) / y;
                          	} else {
                          		tmp = (Math.exp((Math.log(z) * y)) * x) / y;
                          	}
                          	return tmp;
                          }
                          
                          def code(x, y, z, t, a, b):
                          	tmp = 0
                          	if y <= -1e+54:
                          		tmp = ((math.pow(z, y) * x) / y) / a
                          	elif y <= 1.15e+66:
                          		tmp = (math.exp(((math.log(a) * (t - 1.0)) - b)) * x) / y
                          	else:
                          		tmp = (math.exp((math.log(z) * y)) * x) / y
                          	return tmp
                          
                          function code(x, y, z, t, a, b)
                          	tmp = 0.0
                          	if (y <= -1e+54)
                          		tmp = Float64(Float64(Float64((z ^ y) * x) / y) / a);
                          	elseif (y <= 1.15e+66)
                          		tmp = Float64(Float64(exp(Float64(Float64(log(a) * Float64(t - 1.0)) - b)) * x) / y);
                          	else
                          		tmp = Float64(Float64(exp(Float64(log(z) * y)) * x) / y);
                          	end
                          	return tmp
                          end
                          
                          function tmp_2 = code(x, y, z, t, a, b)
                          	tmp = 0.0;
                          	if (y <= -1e+54)
                          		tmp = (((z ^ y) * x) / y) / a;
                          	elseif (y <= 1.15e+66)
                          		tmp = (exp(((log(a) * (t - 1.0)) - b)) * x) / y;
                          	else
                          		tmp = (exp((log(z) * y)) * x) / y;
                          	end
                          	tmp_2 = tmp;
                          end
                          
                          code[x_, y_, z_, t_, a_, b_] := If[LessEqual[y, -1e+54], N[(N[(N[(N[Power[z, y], $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision] / a), $MachinePrecision], If[LessEqual[y, 1.15e+66], N[(N[(N[Exp[N[(N[(N[Log[a], $MachinePrecision] * N[(t - 1.0), $MachinePrecision]), $MachinePrecision] - b), $MachinePrecision]], $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision], N[(N[(N[Exp[N[(N[Log[z], $MachinePrecision] * y), $MachinePrecision]], $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision]]]
                          
                          \begin{array}{l}
                          
                          \\
                          \begin{array}{l}
                          \mathbf{if}\;y \leq -1 \cdot 10^{+54}:\\
                          \;\;\;\;\frac{\frac{{z}^{y} \cdot x}{y}}{a}\\
                          
                          \mathbf{elif}\;y \leq 1.15 \cdot 10^{+66}:\\
                          \;\;\;\;\frac{e^{\log a \cdot \left(t - 1\right) - b} \cdot x}{y}\\
                          
                          \mathbf{else}:\\
                          \;\;\;\;\frac{e^{\log z \cdot y} \cdot x}{y}\\
                          
                          
                          \end{array}
                          \end{array}
                          
                          Derivation
                          1. Split input into 3 regimes
                          2. if y < -1.0000000000000001e54

                            1. Initial program 100.0%

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

                              \[\leadsto \color{blue}{\frac{x \cdot e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}{y}} \]
                            4. Step-by-step derivation
                              1. exp-sumN/A

                                \[\leadsto \frac{x \cdot \color{blue}{\left(e^{y \cdot \log z} \cdot e^{\log a \cdot \left(t - 1\right)}\right)}}{y} \]
                              2. associate-*r*N/A

                                \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
                              3. associate-/l*N/A

                                \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                              4. lower-*.f64N/A

                                \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                              5. lower-*.f64N/A

                                \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right)} \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                              6. *-commutativeN/A

                                \[\leadsto \left(x \cdot e^{\color{blue}{\log z \cdot y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                              7. exp-to-powN/A

                                \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                              8. lower-pow.f64N/A

                                \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                              9. lower-/.f64N/A

                                \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \color{blue}{\frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                              10. exp-prodN/A

                                \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                              11. lower-pow.f64N/A

                                \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                              12. rem-exp-logN/A

                                \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{\color{blue}{a}}^{\left(t - 1\right)}}{y} \]
                              13. lower--.f6450.1

                                \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
                            5. Applied rewrites50.1%

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

                              \[\leadsto \frac{x \cdot {z}^{y}}{\color{blue}{a \cdot y}} \]
                            7. Step-by-step derivation
                              1. Applied rewrites68.9%

                                \[\leadsto \frac{x}{y} \cdot \color{blue}{\frac{{z}^{y}}{a}} \]
                              2. Step-by-step derivation
                                1. Applied rewrites83.6%

                                  \[\leadsto \frac{\frac{x \cdot {z}^{y}}{y}}{a} \]

                                if -1.0000000000000001e54 < y < 1.15e66

                                1. Initial program 96.9%

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

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

                                    \[\leadsto \frac{x \cdot e^{\color{blue}{\left(t - 1\right) \cdot \log a} - b}}{y} \]
                                  2. lower-*.f64N/A

                                    \[\leadsto \frac{x \cdot e^{\color{blue}{\left(t - 1\right) \cdot \log a} - b}}{y} \]
                                  3. lower--.f64N/A

                                    \[\leadsto \frac{x \cdot e^{\color{blue}{\left(t - 1\right)} \cdot \log a - b}}{y} \]
                                  4. rem-exp-logN/A

                                    \[\leadsto \frac{x \cdot e^{\left(t - 1\right) \cdot \log \color{blue}{\left(e^{\log a}\right)} - b}}{y} \]
                                  5. lower-log.f64N/A

                                    \[\leadsto \frac{x \cdot e^{\left(t - 1\right) \cdot \color{blue}{\log \left(e^{\log a}\right)} - b}}{y} \]
                                  6. rem-exp-log95.1

                                    \[\leadsto \frac{x \cdot e^{\left(t - 1\right) \cdot \log \color{blue}{a} - b}}{y} \]
                                5. Applied rewrites95.1%

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

                                if 1.15e66 < y

                                1. Initial program 100.0%

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

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

                                    \[\leadsto \frac{x \cdot e^{\color{blue}{\left(y \cdot \log z + -1 \cdot \log a\right)} - b}}{y} \]
                                  2. *-commutativeN/A

                                    \[\leadsto \frac{x \cdot e^{\left(\color{blue}{\log z \cdot y} + -1 \cdot \log a\right) - b}}{y} \]
                                  3. lower-fma.f64N/A

                                    \[\leadsto \frac{x \cdot e^{\color{blue}{\mathsf{fma}\left(\log z, y, -1 \cdot \log a\right)} - b}}{y} \]
                                  4. lower-log.f64N/A

                                    \[\leadsto \frac{x \cdot e^{\mathsf{fma}\left(\color{blue}{\log z}, y, -1 \cdot \log a\right) - b}}{y} \]
                                  5. mul-1-negN/A

                                    \[\leadsto \frac{x \cdot e^{\mathsf{fma}\left(\log z, y, \color{blue}{\mathsf{neg}\left(\log a\right)}\right) - b}}{y} \]
                                  6. lower-neg.f64N/A

                                    \[\leadsto \frac{x \cdot e^{\mathsf{fma}\left(\log z, y, \color{blue}{-\log a}\right) - b}}{y} \]
                                  7. rem-exp-logN/A

                                    \[\leadsto \frac{x \cdot e^{\mathsf{fma}\left(\log z, y, -\log \color{blue}{\left(e^{\log a}\right)}\right) - b}}{y} \]
                                  8. lower-log.f64N/A

                                    \[\leadsto \frac{x \cdot e^{\mathsf{fma}\left(\log z, y, -\color{blue}{\log \left(e^{\log a}\right)}\right) - b}}{y} \]
                                  9. rem-exp-log96.2

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

                                  \[\leadsto \frac{x \cdot e^{\color{blue}{\mathsf{fma}\left(\log z, y, -\log a\right)} - b}}{y} \]
                                6. Taylor expanded in y around inf

                                  \[\leadsto \frac{x \cdot e^{\color{blue}{y \cdot \log z}}}{y} \]
                                7. Step-by-step derivation
                                  1. *-commutativeN/A

                                    \[\leadsto \frac{x \cdot e^{\color{blue}{\log z \cdot y}}}{y} \]
                                  2. lower-*.f64N/A

                                    \[\leadsto \frac{x \cdot e^{\color{blue}{\log z \cdot y}}}{y} \]
                                  3. lower-log.f6488.6

                                    \[\leadsto \frac{x \cdot e^{\color{blue}{\log z} \cdot y}}{y} \]
                                8. Applied rewrites88.6%

                                  \[\leadsto \frac{x \cdot e^{\color{blue}{\log z \cdot y}}}{y} \]
                              3. Recombined 3 regimes into one program.
                              4. Final simplification91.6%

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

                              Alternative 7: 86.6% accurate, 1.4× speedup?

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

                                1. Initial program 100.0%

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

                                  \[\leadsto \frac{x \cdot e^{\color{blue}{t \cdot \log a} - b}}{y} \]
                                4. Step-by-step derivation
                                  1. *-commutativeN/A

                                    \[\leadsto \frac{x \cdot e^{\color{blue}{\log a \cdot t} - b}}{y} \]
                                  2. lower-*.f64N/A

                                    \[\leadsto \frac{x \cdot e^{\color{blue}{\log a \cdot t} - b}}{y} \]
                                  3. rem-exp-logN/A

                                    \[\leadsto \frac{x \cdot e^{\log \color{blue}{\left(e^{\log a}\right)} \cdot t - b}}{y} \]
                                  4. lower-log.f64N/A

                                    \[\leadsto \frac{x \cdot e^{\color{blue}{\log \left(e^{\log a}\right)} \cdot t - b}}{y} \]
                                  5. rem-exp-log91.7

                                    \[\leadsto \frac{x \cdot e^{\log \color{blue}{a} \cdot t - b}}{y} \]
                                5. Applied rewrites91.7%

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

                                if -3.2999999999999998 < b < 6.8e21

                                1. Initial program 96.7%

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

                                  \[\leadsto \frac{\color{blue}{x \cdot e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}}{y} \]
                                4. Step-by-step derivation
                                  1. exp-sumN/A

                                    \[\leadsto \frac{x \cdot \color{blue}{\left(e^{y \cdot \log z} \cdot e^{\log a \cdot \left(t - 1\right)}\right)}}{y} \]
                                  2. associate-*r*N/A

                                    \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
                                  3. lower-*.f64N/A

                                    \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
                                  4. lower-*.f64N/A

                                    \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right)} \cdot e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                  5. *-commutativeN/A

                                    \[\leadsto \frac{\left(x \cdot e^{\color{blue}{\log z \cdot y}}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                  6. exp-to-powN/A

                                    \[\leadsto \frac{\left(x \cdot \color{blue}{{z}^{y}}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                  7. lower-pow.f64N/A

                                    \[\leadsto \frac{\left(x \cdot \color{blue}{{z}^{y}}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                  8. exp-prodN/A

                                    \[\leadsto \frac{\left(x \cdot {z}^{y}\right) \cdot \color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                  9. lower-pow.f64N/A

                                    \[\leadsto \frac{\left(x \cdot {z}^{y}\right) \cdot \color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                  10. rem-exp-logN/A

                                    \[\leadsto \frac{\left(x \cdot {z}^{y}\right) \cdot {\color{blue}{a}}^{\left(t - 1\right)}}{y} \]
                                  11. lower--.f6481.4

                                    \[\leadsto \frac{\left(x \cdot {z}^{y}\right) \cdot {a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
                                5. Applied rewrites81.4%

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

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

                              Alternative 8: 73.5% accurate, 2.4× speedup?

                              \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{e^{-b}}{y} \cdot x\\ \mathbf{if}\;b \leq -7 \cdot 10^{+111}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 5.6 \cdot 10^{-281}:\\ \;\;\;\;\frac{\frac{{z}^{y} \cdot x}{y}}{a}\\ \mathbf{elif}\;b \leq 2.15 \cdot 10^{+55}:\\ \;\;\;\;\frac{{a}^{\left(t - 1\right)} \cdot x}{y}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                              (FPCore (x y z t a b)
                               :precision binary64
                               (let* ((t_1 (* (/ (exp (- b)) y) x)))
                                 (if (<= b -7e+111)
                                   t_1
                                   (if (<= b 5.6e-281)
                                     (/ (/ (* (pow z y) x) y) a)
                                     (if (<= b 2.15e+55) (/ (* (pow a (- t 1.0)) x) y) t_1)))))
                              double code(double x, double y, double z, double t, double a, double b) {
                              	double t_1 = (exp(-b) / y) * x;
                              	double tmp;
                              	if (b <= -7e+111) {
                              		tmp = t_1;
                              	} else if (b <= 5.6e-281) {
                              		tmp = ((pow(z, y) * x) / y) / a;
                              	} else if (b <= 2.15e+55) {
                              		tmp = (pow(a, (t - 1.0)) * x) / y;
                              	} 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 = (exp(-b) / y) * x
                                  if (b <= (-7d+111)) then
                                      tmp = t_1
                                  else if (b <= 5.6d-281) then
                                      tmp = (((z ** y) * x) / y) / a
                                  else if (b <= 2.15d+55) then
                                      tmp = ((a ** (t - 1.0d0)) * x) / y
                                  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 = (Math.exp(-b) / y) * x;
                              	double tmp;
                              	if (b <= -7e+111) {
                              		tmp = t_1;
                              	} else if (b <= 5.6e-281) {
                              		tmp = ((Math.pow(z, y) * x) / y) / a;
                              	} else if (b <= 2.15e+55) {
                              		tmp = (Math.pow(a, (t - 1.0)) * x) / y;
                              	} else {
                              		tmp = t_1;
                              	}
                              	return tmp;
                              }
                              
                              def code(x, y, z, t, a, b):
                              	t_1 = (math.exp(-b) / y) * x
                              	tmp = 0
                              	if b <= -7e+111:
                              		tmp = t_1
                              	elif b <= 5.6e-281:
                              		tmp = ((math.pow(z, y) * x) / y) / a
                              	elif b <= 2.15e+55:
                              		tmp = (math.pow(a, (t - 1.0)) * x) / y
                              	else:
                              		tmp = t_1
                              	return tmp
                              
                              function code(x, y, z, t, a, b)
                              	t_1 = Float64(Float64(exp(Float64(-b)) / y) * x)
                              	tmp = 0.0
                              	if (b <= -7e+111)
                              		tmp = t_1;
                              	elseif (b <= 5.6e-281)
                              		tmp = Float64(Float64(Float64((z ^ y) * x) / y) / a);
                              	elseif (b <= 2.15e+55)
                              		tmp = Float64(Float64((a ^ Float64(t - 1.0)) * x) / y);
                              	else
                              		tmp = t_1;
                              	end
                              	return tmp
                              end
                              
                              function tmp_2 = code(x, y, z, t, a, b)
                              	t_1 = (exp(-b) / y) * x;
                              	tmp = 0.0;
                              	if (b <= -7e+111)
                              		tmp = t_1;
                              	elseif (b <= 5.6e-281)
                              		tmp = (((z ^ y) * x) / y) / a;
                              	elseif (b <= 2.15e+55)
                              		tmp = ((a ^ (t - 1.0)) * x) / y;
                              	else
                              		tmp = t_1;
                              	end
                              	tmp_2 = tmp;
                              end
                              
                              code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(N[Exp[(-b)], $MachinePrecision] / y), $MachinePrecision] * x), $MachinePrecision]}, If[LessEqual[b, -7e+111], t$95$1, If[LessEqual[b, 5.6e-281], N[(N[(N[(N[Power[z, y], $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision] / a), $MachinePrecision], If[LessEqual[b, 2.15e+55], N[(N[(N[Power[a, N[(t - 1.0), $MachinePrecision]], $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision], t$95$1]]]]
                              
                              \begin{array}{l}
                              
                              \\
                              \begin{array}{l}
                              t_1 := \frac{e^{-b}}{y} \cdot x\\
                              \mathbf{if}\;b \leq -7 \cdot 10^{+111}:\\
                              \;\;\;\;t\_1\\
                              
                              \mathbf{elif}\;b \leq 5.6 \cdot 10^{-281}:\\
                              \;\;\;\;\frac{\frac{{z}^{y} \cdot x}{y}}{a}\\
                              
                              \mathbf{elif}\;b \leq 2.15 \cdot 10^{+55}:\\
                              \;\;\;\;\frac{{a}^{\left(t - 1\right)} \cdot x}{y}\\
                              
                              \mathbf{else}:\\
                              \;\;\;\;t\_1\\
                              
                              
                              \end{array}
                              \end{array}
                              
                              Derivation
                              1. Split input into 3 regimes
                              2. if b < -7.0000000000000004e111 or 2.1499999999999999e55 < b

                                1. Initial program 100.0%

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

                                  \[\leadsto \frac{x \cdot e^{\color{blue}{-1 \cdot b}}}{y} \]
                                4. Step-by-step derivation
                                  1. mul-1-negN/A

                                    \[\leadsto \frac{x \cdot e^{\color{blue}{\mathsf{neg}\left(b\right)}}}{y} \]
                                  2. lower-neg.f6485.4

                                    \[\leadsto \frac{x \cdot e^{\color{blue}{-b}}}{y} \]
                                5. Applied rewrites85.4%

                                  \[\leadsto \frac{x \cdot e^{\color{blue}{-b}}}{y} \]
                                6. Step-by-step derivation
                                  1. lift-/.f64N/A

                                    \[\leadsto \color{blue}{\frac{x \cdot e^{-b}}{y}} \]
                                  2. lift-*.f64N/A

                                    \[\leadsto \frac{\color{blue}{x \cdot e^{-b}}}{y} \]
                                  3. associate-/l*N/A

                                    \[\leadsto \color{blue}{x \cdot \frac{e^{-b}}{y}} \]
                                  4. *-commutativeN/A

                                    \[\leadsto \color{blue}{\frac{e^{-b}}{y} \cdot x} \]
                                  5. lower-*.f64N/A

                                    \[\leadsto \color{blue}{\frac{e^{-b}}{y} \cdot x} \]
                                  6. lower-/.f6485.4

                                    \[\leadsto \color{blue}{\frac{e^{-b}}{y}} \cdot x \]
                                7. Applied rewrites85.4%

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

                                if -7.0000000000000004e111 < b < 5.6000000000000001e-281

                                1. Initial program 96.9%

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

                                  \[\leadsto \color{blue}{\frac{x \cdot e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}{y}} \]
                                4. Step-by-step derivation
                                  1. exp-sumN/A

                                    \[\leadsto \frac{x \cdot \color{blue}{\left(e^{y \cdot \log z} \cdot e^{\log a \cdot \left(t - 1\right)}\right)}}{y} \]
                                  2. associate-*r*N/A

                                    \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
                                  3. associate-/l*N/A

                                    \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                  4. lower-*.f64N/A

                                    \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                  5. lower-*.f64N/A

                                    \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right)} \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                  6. *-commutativeN/A

                                    \[\leadsto \left(x \cdot e^{\color{blue}{\log z \cdot y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                  7. exp-to-powN/A

                                    \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                  8. lower-pow.f64N/A

                                    \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                  9. lower-/.f64N/A

                                    \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \color{blue}{\frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                  10. exp-prodN/A

                                    \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                  11. lower-pow.f64N/A

                                    \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                  12. rem-exp-logN/A

                                    \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{\color{blue}{a}}^{\left(t - 1\right)}}{y} \]
                                  13. lower--.f6474.0

                                    \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
                                5. Applied rewrites74.0%

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

                                  \[\leadsto \frac{x \cdot {z}^{y}}{\color{blue}{a \cdot y}} \]
                                7. Step-by-step derivation
                                  1. Applied rewrites71.2%

                                    \[\leadsto \frac{x}{y} \cdot \color{blue}{\frac{{z}^{y}}{a}} \]
                                  2. Step-by-step derivation
                                    1. Applied rewrites76.5%

                                      \[\leadsto \frac{\frac{x \cdot {z}^{y}}{y}}{a} \]

                                    if 5.6000000000000001e-281 < b < 2.1499999999999999e55

                                    1. Initial program 97.7%

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

                                      \[\leadsto \color{blue}{\frac{x \cdot e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}{y}} \]
                                    4. Step-by-step derivation
                                      1. exp-sumN/A

                                        \[\leadsto \frac{x \cdot \color{blue}{\left(e^{y \cdot \log z} \cdot e^{\log a \cdot \left(t - 1\right)}\right)}}{y} \]
                                      2. associate-*r*N/A

                                        \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
                                      3. associate-/l*N/A

                                        \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                      4. lower-*.f64N/A

                                        \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                      5. lower-*.f64N/A

                                        \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right)} \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                      6. *-commutativeN/A

                                        \[\leadsto \left(x \cdot e^{\color{blue}{\log z \cdot y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                      7. exp-to-powN/A

                                        \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                      8. lower-pow.f64N/A

                                        \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                      9. lower-/.f64N/A

                                        \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \color{blue}{\frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                      10. exp-prodN/A

                                        \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                      11. lower-pow.f64N/A

                                        \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                      12. rem-exp-logN/A

                                        \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{\color{blue}{a}}^{\left(t - 1\right)}}{y} \]
                                      13. lower--.f6477.0

                                        \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
                                    5. Applied rewrites77.0%

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

                                      \[\leadsto \frac{x \cdot {z}^{y}}{\color{blue}{a \cdot y}} \]
                                    7. Step-by-step derivation
                                      1. Applied rewrites63.9%

                                        \[\leadsto \frac{x}{y} \cdot \color{blue}{\frac{{z}^{y}}{a}} \]
                                      2. Taylor expanded in y around 0

                                        \[\leadsto \frac{x \cdot e^{\log a \cdot \left(t - 1\right)}}{\color{blue}{y}} \]
                                      3. Step-by-step derivation
                                        1. Applied rewrites77.1%

                                          \[\leadsto \frac{{a}^{\left(t - 1\right)} \cdot x}{\color{blue}{y}} \]
                                      4. Recombined 3 regimes into one program.
                                      5. Final simplification79.5%

                                        \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -7 \cdot 10^{+111}:\\ \;\;\;\;\frac{e^{-b}}{y} \cdot x\\ \mathbf{elif}\;b \leq 5.6 \cdot 10^{-281}:\\ \;\;\;\;\frac{\frac{{z}^{y} \cdot x}{y}}{a}\\ \mathbf{elif}\;b \leq 2.15 \cdot 10^{+55}:\\ \;\;\;\;\frac{{a}^{\left(t - 1\right)} \cdot x}{y}\\ \mathbf{else}:\\ \;\;\;\;\frac{e^{-b}}{y} \cdot x\\ \end{array} \]
                                      6. Add Preprocessing

                                      Alternative 9: 71.6% accurate, 2.4× speedup?

                                      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{e^{-b}}{y} \cdot x\\ \mathbf{if}\;b \leq -2.16 \cdot 10^{+111}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 5.6 \cdot 10^{-281}:\\ \;\;\;\;\frac{{z}^{y}}{a} \cdot \frac{x}{y}\\ \mathbf{elif}\;b \leq 2.15 \cdot 10^{+55}:\\ \;\;\;\;\frac{{a}^{\left(t - 1\right)} \cdot x}{y}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                      (FPCore (x y z t a b)
                                       :precision binary64
                                       (let* ((t_1 (* (/ (exp (- b)) y) x)))
                                         (if (<= b -2.16e+111)
                                           t_1
                                           (if (<= b 5.6e-281)
                                             (* (/ (pow z y) a) (/ x y))
                                             (if (<= b 2.15e+55) (/ (* (pow a (- t 1.0)) x) y) t_1)))))
                                      double code(double x, double y, double z, double t, double a, double b) {
                                      	double t_1 = (exp(-b) / y) * x;
                                      	double tmp;
                                      	if (b <= -2.16e+111) {
                                      		tmp = t_1;
                                      	} else if (b <= 5.6e-281) {
                                      		tmp = (pow(z, y) / a) * (x / y);
                                      	} else if (b <= 2.15e+55) {
                                      		tmp = (pow(a, (t - 1.0)) * x) / y;
                                      	} 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 = (exp(-b) / y) * x
                                          if (b <= (-2.16d+111)) then
                                              tmp = t_1
                                          else if (b <= 5.6d-281) then
                                              tmp = ((z ** y) / a) * (x / y)
                                          else if (b <= 2.15d+55) then
                                              tmp = ((a ** (t - 1.0d0)) * x) / y
                                          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 = (Math.exp(-b) / y) * x;
                                      	double tmp;
                                      	if (b <= -2.16e+111) {
                                      		tmp = t_1;
                                      	} else if (b <= 5.6e-281) {
                                      		tmp = (Math.pow(z, y) / a) * (x / y);
                                      	} else if (b <= 2.15e+55) {
                                      		tmp = (Math.pow(a, (t - 1.0)) * x) / y;
                                      	} else {
                                      		tmp = t_1;
                                      	}
                                      	return tmp;
                                      }
                                      
                                      def code(x, y, z, t, a, b):
                                      	t_1 = (math.exp(-b) / y) * x
                                      	tmp = 0
                                      	if b <= -2.16e+111:
                                      		tmp = t_1
                                      	elif b <= 5.6e-281:
                                      		tmp = (math.pow(z, y) / a) * (x / y)
                                      	elif b <= 2.15e+55:
                                      		tmp = (math.pow(a, (t - 1.0)) * x) / y
                                      	else:
                                      		tmp = t_1
                                      	return tmp
                                      
                                      function code(x, y, z, t, a, b)
                                      	t_1 = Float64(Float64(exp(Float64(-b)) / y) * x)
                                      	tmp = 0.0
                                      	if (b <= -2.16e+111)
                                      		tmp = t_1;
                                      	elseif (b <= 5.6e-281)
                                      		tmp = Float64(Float64((z ^ y) / a) * Float64(x / y));
                                      	elseif (b <= 2.15e+55)
                                      		tmp = Float64(Float64((a ^ Float64(t - 1.0)) * x) / y);
                                      	else
                                      		tmp = t_1;
                                      	end
                                      	return tmp
                                      end
                                      
                                      function tmp_2 = code(x, y, z, t, a, b)
                                      	t_1 = (exp(-b) / y) * x;
                                      	tmp = 0.0;
                                      	if (b <= -2.16e+111)
                                      		tmp = t_1;
                                      	elseif (b <= 5.6e-281)
                                      		tmp = ((z ^ y) / a) * (x / y);
                                      	elseif (b <= 2.15e+55)
                                      		tmp = ((a ^ (t - 1.0)) * x) / y;
                                      	else
                                      		tmp = t_1;
                                      	end
                                      	tmp_2 = tmp;
                                      end
                                      
                                      code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(N[Exp[(-b)], $MachinePrecision] / y), $MachinePrecision] * x), $MachinePrecision]}, If[LessEqual[b, -2.16e+111], t$95$1, If[LessEqual[b, 5.6e-281], N[(N[(N[Power[z, y], $MachinePrecision] / a), $MachinePrecision] * N[(x / y), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.15e+55], N[(N[(N[Power[a, N[(t - 1.0), $MachinePrecision]], $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision], t$95$1]]]]
                                      
                                      \begin{array}{l}
                                      
                                      \\
                                      \begin{array}{l}
                                      t_1 := \frac{e^{-b}}{y} \cdot x\\
                                      \mathbf{if}\;b \leq -2.16 \cdot 10^{+111}:\\
                                      \;\;\;\;t\_1\\
                                      
                                      \mathbf{elif}\;b \leq 5.6 \cdot 10^{-281}:\\
                                      \;\;\;\;\frac{{z}^{y}}{a} \cdot \frac{x}{y}\\
                                      
                                      \mathbf{elif}\;b \leq 2.15 \cdot 10^{+55}:\\
                                      \;\;\;\;\frac{{a}^{\left(t - 1\right)} \cdot x}{y}\\
                                      
                                      \mathbf{else}:\\
                                      \;\;\;\;t\_1\\
                                      
                                      
                                      \end{array}
                                      \end{array}
                                      
                                      Derivation
                                      1. Split input into 3 regimes
                                      2. if b < -2.16000000000000008e111 or 2.1499999999999999e55 < b

                                        1. Initial program 100.0%

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

                                          \[\leadsto \frac{x \cdot e^{\color{blue}{-1 \cdot b}}}{y} \]
                                        4. Step-by-step derivation
                                          1. mul-1-negN/A

                                            \[\leadsto \frac{x \cdot e^{\color{blue}{\mathsf{neg}\left(b\right)}}}{y} \]
                                          2. lower-neg.f6485.4

                                            \[\leadsto \frac{x \cdot e^{\color{blue}{-b}}}{y} \]
                                        5. Applied rewrites85.4%

                                          \[\leadsto \frac{x \cdot e^{\color{blue}{-b}}}{y} \]
                                        6. Step-by-step derivation
                                          1. lift-/.f64N/A

                                            \[\leadsto \color{blue}{\frac{x \cdot e^{-b}}{y}} \]
                                          2. lift-*.f64N/A

                                            \[\leadsto \frac{\color{blue}{x \cdot e^{-b}}}{y} \]
                                          3. associate-/l*N/A

                                            \[\leadsto \color{blue}{x \cdot \frac{e^{-b}}{y}} \]
                                          4. *-commutativeN/A

                                            \[\leadsto \color{blue}{\frac{e^{-b}}{y} \cdot x} \]
                                          5. lower-*.f64N/A

                                            \[\leadsto \color{blue}{\frac{e^{-b}}{y} \cdot x} \]
                                          6. lower-/.f6485.4

                                            \[\leadsto \color{blue}{\frac{e^{-b}}{y}} \cdot x \]
                                        7. Applied rewrites85.4%

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

                                        if -2.16000000000000008e111 < b < 5.6000000000000001e-281

                                        1. Initial program 96.9%

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

                                          \[\leadsto \color{blue}{\frac{x \cdot e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}{y}} \]
                                        4. Step-by-step derivation
                                          1. exp-sumN/A

                                            \[\leadsto \frac{x \cdot \color{blue}{\left(e^{y \cdot \log z} \cdot e^{\log a \cdot \left(t - 1\right)}\right)}}{y} \]
                                          2. associate-*r*N/A

                                            \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
                                          3. associate-/l*N/A

                                            \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                          4. lower-*.f64N/A

                                            \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                          5. lower-*.f64N/A

                                            \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right)} \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                          6. *-commutativeN/A

                                            \[\leadsto \left(x \cdot e^{\color{blue}{\log z \cdot y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                          7. exp-to-powN/A

                                            \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                          8. lower-pow.f64N/A

                                            \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                          9. lower-/.f64N/A

                                            \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \color{blue}{\frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                          10. exp-prodN/A

                                            \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                          11. lower-pow.f64N/A

                                            \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                          12. rem-exp-logN/A

                                            \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{\color{blue}{a}}^{\left(t - 1\right)}}{y} \]
                                          13. lower--.f6474.0

                                            \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
                                        5. Applied rewrites74.0%

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

                                          \[\leadsto \frac{x \cdot {z}^{y}}{\color{blue}{a \cdot y}} \]
                                        7. Step-by-step derivation
                                          1. Applied rewrites71.2%

                                            \[\leadsto \frac{x}{y} \cdot \color{blue}{\frac{{z}^{y}}{a}} \]

                                          if 5.6000000000000001e-281 < b < 2.1499999999999999e55

                                          1. Initial program 97.7%

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

                                            \[\leadsto \color{blue}{\frac{x \cdot e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}{y}} \]
                                          4. Step-by-step derivation
                                            1. exp-sumN/A

                                              \[\leadsto \frac{x \cdot \color{blue}{\left(e^{y \cdot \log z} \cdot e^{\log a \cdot \left(t - 1\right)}\right)}}{y} \]
                                            2. associate-*r*N/A

                                              \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
                                            3. associate-/l*N/A

                                              \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                            4. lower-*.f64N/A

                                              \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                            5. lower-*.f64N/A

                                              \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right)} \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                            6. *-commutativeN/A

                                              \[\leadsto \left(x \cdot e^{\color{blue}{\log z \cdot y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                            7. exp-to-powN/A

                                              \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                            8. lower-pow.f64N/A

                                              \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                            9. lower-/.f64N/A

                                              \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \color{blue}{\frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                            10. exp-prodN/A

                                              \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                            11. lower-pow.f64N/A

                                              \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                            12. rem-exp-logN/A

                                              \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{\color{blue}{a}}^{\left(t - 1\right)}}{y} \]
                                            13. lower--.f6477.0

                                              \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
                                          5. Applied rewrites77.0%

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

                                            \[\leadsto \frac{x \cdot {z}^{y}}{\color{blue}{a \cdot y}} \]
                                          7. Step-by-step derivation
                                            1. Applied rewrites63.9%

                                              \[\leadsto \frac{x}{y} \cdot \color{blue}{\frac{{z}^{y}}{a}} \]
                                            2. Taylor expanded in y around 0

                                              \[\leadsto \frac{x \cdot e^{\log a \cdot \left(t - 1\right)}}{\color{blue}{y}} \]
                                            3. Step-by-step derivation
                                              1. Applied rewrites77.1%

                                                \[\leadsto \frac{{a}^{\left(t - 1\right)} \cdot x}{\color{blue}{y}} \]
                                            4. Recombined 3 regimes into one program.
                                            5. Final simplification77.6%

                                              \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.16 \cdot 10^{+111}:\\ \;\;\;\;\frac{e^{-b}}{y} \cdot x\\ \mathbf{elif}\;b \leq 5.6 \cdot 10^{-281}:\\ \;\;\;\;\frac{{z}^{y}}{a} \cdot \frac{x}{y}\\ \mathbf{elif}\;b \leq 2.15 \cdot 10^{+55}:\\ \;\;\;\;\frac{{a}^{\left(t - 1\right)} \cdot x}{y}\\ \mathbf{else}:\\ \;\;\;\;\frac{e^{-b}}{y} \cdot x\\ \end{array} \]
                                            6. Add Preprocessing

                                            Alternative 10: 71.7% accurate, 2.4× speedup?

                                            \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{e^{-b}}{y} \cdot x\\ \mathbf{if}\;b \leq -2.16 \cdot 10^{+111}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq -2.2 \cdot 10^{-191}:\\ \;\;\;\;\frac{{z}^{y} \cdot x}{a \cdot y}\\ \mathbf{elif}\;b \leq 2.15 \cdot 10^{+55}:\\ \;\;\;\;\frac{{a}^{\left(t - 1\right)} \cdot x}{y}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                            (FPCore (x y z t a b)
                                             :precision binary64
                                             (let* ((t_1 (* (/ (exp (- b)) y) x)))
                                               (if (<= b -2.16e+111)
                                                 t_1
                                                 (if (<= b -2.2e-191)
                                                   (/ (* (pow z y) x) (* a y))
                                                   (if (<= b 2.15e+55) (/ (* (pow a (- t 1.0)) x) y) t_1)))))
                                            double code(double x, double y, double z, double t, double a, double b) {
                                            	double t_1 = (exp(-b) / y) * x;
                                            	double tmp;
                                            	if (b <= -2.16e+111) {
                                            		tmp = t_1;
                                            	} else if (b <= -2.2e-191) {
                                            		tmp = (pow(z, y) * x) / (a * y);
                                            	} else if (b <= 2.15e+55) {
                                            		tmp = (pow(a, (t - 1.0)) * x) / y;
                                            	} 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 = (exp(-b) / y) * x
                                                if (b <= (-2.16d+111)) then
                                                    tmp = t_1
                                                else if (b <= (-2.2d-191)) then
                                                    tmp = ((z ** y) * x) / (a * y)
                                                else if (b <= 2.15d+55) then
                                                    tmp = ((a ** (t - 1.0d0)) * x) / y
                                                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 = (Math.exp(-b) / y) * x;
                                            	double tmp;
                                            	if (b <= -2.16e+111) {
                                            		tmp = t_1;
                                            	} else if (b <= -2.2e-191) {
                                            		tmp = (Math.pow(z, y) * x) / (a * y);
                                            	} else if (b <= 2.15e+55) {
                                            		tmp = (Math.pow(a, (t - 1.0)) * x) / y;
                                            	} else {
                                            		tmp = t_1;
                                            	}
                                            	return tmp;
                                            }
                                            
                                            def code(x, y, z, t, a, b):
                                            	t_1 = (math.exp(-b) / y) * x
                                            	tmp = 0
                                            	if b <= -2.16e+111:
                                            		tmp = t_1
                                            	elif b <= -2.2e-191:
                                            		tmp = (math.pow(z, y) * x) / (a * y)
                                            	elif b <= 2.15e+55:
                                            		tmp = (math.pow(a, (t - 1.0)) * x) / y
                                            	else:
                                            		tmp = t_1
                                            	return tmp
                                            
                                            function code(x, y, z, t, a, b)
                                            	t_1 = Float64(Float64(exp(Float64(-b)) / y) * x)
                                            	tmp = 0.0
                                            	if (b <= -2.16e+111)
                                            		tmp = t_1;
                                            	elseif (b <= -2.2e-191)
                                            		tmp = Float64(Float64((z ^ y) * x) / Float64(a * y));
                                            	elseif (b <= 2.15e+55)
                                            		tmp = Float64(Float64((a ^ Float64(t - 1.0)) * x) / y);
                                            	else
                                            		tmp = t_1;
                                            	end
                                            	return tmp
                                            end
                                            
                                            function tmp_2 = code(x, y, z, t, a, b)
                                            	t_1 = (exp(-b) / y) * x;
                                            	tmp = 0.0;
                                            	if (b <= -2.16e+111)
                                            		tmp = t_1;
                                            	elseif (b <= -2.2e-191)
                                            		tmp = ((z ^ y) * x) / (a * y);
                                            	elseif (b <= 2.15e+55)
                                            		tmp = ((a ^ (t - 1.0)) * x) / y;
                                            	else
                                            		tmp = t_1;
                                            	end
                                            	tmp_2 = tmp;
                                            end
                                            
                                            code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(N[Exp[(-b)], $MachinePrecision] / y), $MachinePrecision] * x), $MachinePrecision]}, If[LessEqual[b, -2.16e+111], t$95$1, If[LessEqual[b, -2.2e-191], N[(N[(N[Power[z, y], $MachinePrecision] * x), $MachinePrecision] / N[(a * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.15e+55], N[(N[(N[Power[a, N[(t - 1.0), $MachinePrecision]], $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision], t$95$1]]]]
                                            
                                            \begin{array}{l}
                                            
                                            \\
                                            \begin{array}{l}
                                            t_1 := \frac{e^{-b}}{y} \cdot x\\
                                            \mathbf{if}\;b \leq -2.16 \cdot 10^{+111}:\\
                                            \;\;\;\;t\_1\\
                                            
                                            \mathbf{elif}\;b \leq -2.2 \cdot 10^{-191}:\\
                                            \;\;\;\;\frac{{z}^{y} \cdot x}{a \cdot y}\\
                                            
                                            \mathbf{elif}\;b \leq 2.15 \cdot 10^{+55}:\\
                                            \;\;\;\;\frac{{a}^{\left(t - 1\right)} \cdot x}{y}\\
                                            
                                            \mathbf{else}:\\
                                            \;\;\;\;t\_1\\
                                            
                                            
                                            \end{array}
                                            \end{array}
                                            
                                            Derivation
                                            1. Split input into 3 regimes
                                            2. if b < -2.16000000000000008e111 or 2.1499999999999999e55 < b

                                              1. Initial program 100.0%

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

                                                \[\leadsto \frac{x \cdot e^{\color{blue}{-1 \cdot b}}}{y} \]
                                              4. Step-by-step derivation
                                                1. mul-1-negN/A

                                                  \[\leadsto \frac{x \cdot e^{\color{blue}{\mathsf{neg}\left(b\right)}}}{y} \]
                                                2. lower-neg.f6485.4

                                                  \[\leadsto \frac{x \cdot e^{\color{blue}{-b}}}{y} \]
                                              5. Applied rewrites85.4%

                                                \[\leadsto \frac{x \cdot e^{\color{blue}{-b}}}{y} \]
                                              6. Step-by-step derivation
                                                1. lift-/.f64N/A

                                                  \[\leadsto \color{blue}{\frac{x \cdot e^{-b}}{y}} \]
                                                2. lift-*.f64N/A

                                                  \[\leadsto \frac{\color{blue}{x \cdot e^{-b}}}{y} \]
                                                3. associate-/l*N/A

                                                  \[\leadsto \color{blue}{x \cdot \frac{e^{-b}}{y}} \]
                                                4. *-commutativeN/A

                                                  \[\leadsto \color{blue}{\frac{e^{-b}}{y} \cdot x} \]
                                                5. lower-*.f64N/A

                                                  \[\leadsto \color{blue}{\frac{e^{-b}}{y} \cdot x} \]
                                                6. lower-/.f6485.4

                                                  \[\leadsto \color{blue}{\frac{e^{-b}}{y}} \cdot x \]
                                              7. Applied rewrites85.4%

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

                                              if -2.16000000000000008e111 < b < -2.19999999999999998e-191

                                              1. Initial program 97.3%

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

                                                \[\leadsto \color{blue}{\frac{x \cdot e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}{y}} \]
                                              4. Step-by-step derivation
                                                1. exp-sumN/A

                                                  \[\leadsto \frac{x \cdot \color{blue}{\left(e^{y \cdot \log z} \cdot e^{\log a \cdot \left(t - 1\right)}\right)}}{y} \]
                                                2. associate-*r*N/A

                                                  \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
                                                3. associate-/l*N/A

                                                  \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                4. lower-*.f64N/A

                                                  \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                5. lower-*.f64N/A

                                                  \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right)} \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                6. *-commutativeN/A

                                                  \[\leadsto \left(x \cdot e^{\color{blue}{\log z \cdot y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                7. exp-to-powN/A

                                                  \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                8. lower-pow.f64N/A

                                                  \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                9. lower-/.f64N/A

                                                  \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \color{blue}{\frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                10. exp-prodN/A

                                                  \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                                11. lower-pow.f64N/A

                                                  \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                                12. rem-exp-logN/A

                                                  \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{\color{blue}{a}}^{\left(t - 1\right)}}{y} \]
                                                13. lower--.f6470.8

                                                  \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
                                              5. Applied rewrites70.8%

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

                                                \[\leadsto \frac{x \cdot {z}^{y}}{\color{blue}{a \cdot y}} \]
                                              7. Step-by-step derivation
                                                1. Applied rewrites68.1%

                                                  \[\leadsto \frac{x}{y} \cdot \color{blue}{\frac{{z}^{y}}{a}} \]
                                                2. Step-by-step derivation
                                                  1. Applied rewrites73.0%

                                                    \[\leadsto \frac{x \cdot {z}^{y}}{a \cdot \color{blue}{y}} \]

                                                  if -2.19999999999999998e-191 < b < 2.1499999999999999e55

                                                  1. Initial program 97.2%

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

                                                    \[\leadsto \color{blue}{\frac{x \cdot e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}{y}} \]
                                                  4. Step-by-step derivation
                                                    1. exp-sumN/A

                                                      \[\leadsto \frac{x \cdot \color{blue}{\left(e^{y \cdot \log z} \cdot e^{\log a \cdot \left(t - 1\right)}\right)}}{y} \]
                                                    2. associate-*r*N/A

                                                      \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
                                                    3. associate-/l*N/A

                                                      \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                    4. lower-*.f64N/A

                                                      \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                    5. lower-*.f64N/A

                                                      \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right)} \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                    6. *-commutativeN/A

                                                      \[\leadsto \left(x \cdot e^{\color{blue}{\log z \cdot y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                    7. exp-to-powN/A

                                                      \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                    8. lower-pow.f64N/A

                                                      \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                    9. lower-/.f64N/A

                                                      \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \color{blue}{\frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                    10. exp-prodN/A

                                                      \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                                    11. lower-pow.f64N/A

                                                      \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                                    12. rem-exp-logN/A

                                                      \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{\color{blue}{a}}^{\left(t - 1\right)}}{y} \]
                                                    13. lower--.f6477.6

                                                      \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
                                                  5. Applied rewrites77.6%

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

                                                    \[\leadsto \frac{x \cdot {z}^{y}}{\color{blue}{a \cdot y}} \]
                                                  7. Step-by-step derivation
                                                    1. Applied rewrites67.8%

                                                      \[\leadsto \frac{x}{y} \cdot \color{blue}{\frac{{z}^{y}}{a}} \]
                                                    2. Taylor expanded in y around 0

                                                      \[\leadsto \frac{x \cdot e^{\log a \cdot \left(t - 1\right)}}{\color{blue}{y}} \]
                                                    3. Step-by-step derivation
                                                      1. Applied rewrites74.4%

                                                        \[\leadsto \frac{{a}^{\left(t - 1\right)} \cdot x}{\color{blue}{y}} \]
                                                    4. Recombined 3 regimes into one program.
                                                    5. Final simplification77.6%

                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.16 \cdot 10^{+111}:\\ \;\;\;\;\frac{e^{-b}}{y} \cdot x\\ \mathbf{elif}\;b \leq -2.2 \cdot 10^{-191}:\\ \;\;\;\;\frac{{z}^{y} \cdot x}{a \cdot y}\\ \mathbf{elif}\;b \leq 2.15 \cdot 10^{+55}:\\ \;\;\;\;\frac{{a}^{\left(t - 1\right)} \cdot x}{y}\\ \mathbf{else}:\\ \;\;\;\;\frac{e^{-b}}{y} \cdot x\\ \end{array} \]
                                                    6. Add Preprocessing

                                                    Alternative 11: 73.7% accurate, 2.5× speedup?

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

                                                      1. Initial program 100.0%

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

                                                        \[\leadsto \frac{x \cdot e^{\color{blue}{-1 \cdot b}}}{y} \]
                                                      4. Step-by-step derivation
                                                        1. mul-1-negN/A

                                                          \[\leadsto \frac{x \cdot e^{\color{blue}{\mathsf{neg}\left(b\right)}}}{y} \]
                                                        2. lower-neg.f6485.4

                                                          \[\leadsto \frac{x \cdot e^{\color{blue}{-b}}}{y} \]
                                                      5. Applied rewrites85.4%

                                                        \[\leadsto \frac{x \cdot e^{\color{blue}{-b}}}{y} \]
                                                      6. Step-by-step derivation
                                                        1. lift-/.f64N/A

                                                          \[\leadsto \color{blue}{\frac{x \cdot e^{-b}}{y}} \]
                                                        2. lift-*.f64N/A

                                                          \[\leadsto \frac{\color{blue}{x \cdot e^{-b}}}{y} \]
                                                        3. associate-/l*N/A

                                                          \[\leadsto \color{blue}{x \cdot \frac{e^{-b}}{y}} \]
                                                        4. *-commutativeN/A

                                                          \[\leadsto \color{blue}{\frac{e^{-b}}{y} \cdot x} \]
                                                        5. lower-*.f64N/A

                                                          \[\leadsto \color{blue}{\frac{e^{-b}}{y} \cdot x} \]
                                                        6. lower-/.f6485.4

                                                          \[\leadsto \color{blue}{\frac{e^{-b}}{y}} \cdot x \]
                                                      7. Applied rewrites85.4%

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

                                                      if -1.55e111 < b < 2.1499999999999999e55

                                                      1. Initial program 97.2%

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

                                                        \[\leadsto \color{blue}{\frac{x \cdot e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}{y}} \]
                                                      4. Step-by-step derivation
                                                        1. exp-sumN/A

                                                          \[\leadsto \frac{x \cdot \color{blue}{\left(e^{y \cdot \log z} \cdot e^{\log a \cdot \left(t - 1\right)}\right)}}{y} \]
                                                        2. associate-*r*N/A

                                                          \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
                                                        3. associate-/l*N/A

                                                          \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                        4. lower-*.f64N/A

                                                          \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                        5. lower-*.f64N/A

                                                          \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right)} \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                        6. *-commutativeN/A

                                                          \[\leadsto \left(x \cdot e^{\color{blue}{\log z \cdot y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                        7. exp-to-powN/A

                                                          \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                        8. lower-pow.f64N/A

                                                          \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                        9. lower-/.f64N/A

                                                          \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \color{blue}{\frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                        10. exp-prodN/A

                                                          \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                                        11. lower-pow.f64N/A

                                                          \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                                        12. rem-exp-logN/A

                                                          \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{\color{blue}{a}}^{\left(t - 1\right)}}{y} \]
                                                        13. lower--.f6475.3

                                                          \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
                                                      5. Applied rewrites75.3%

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

                                                        \[\leadsto \frac{x \cdot {z}^{y}}{\color{blue}{a \cdot y}} \]
                                                      7. Step-by-step derivation
                                                        1. Applied rewrites67.9%

                                                          \[\leadsto \frac{x}{y} \cdot \color{blue}{\frac{{z}^{y}}{a}} \]
                                                        2. Taylor expanded in y around 0

                                                          \[\leadsto \frac{x \cdot e^{\log a \cdot \left(t - 1\right)}}{\color{blue}{y}} \]
                                                        3. Step-by-step derivation
                                                          1. Applied rewrites71.2%

                                                            \[\leadsto \frac{{a}^{\left(t - 1\right)} \cdot x}{\color{blue}{y}} \]
                                                        4. Recombined 2 regimes into one program.
                                                        5. Add Preprocessing

                                                        Alternative 12: 74.1% accurate, 2.5× speedup?

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

                                                          1. Initial program 100.0%

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

                                                            \[\leadsto \frac{x \cdot e^{\color{blue}{-1 \cdot b}}}{y} \]
                                                          4. Step-by-step derivation
                                                            1. mul-1-negN/A

                                                              \[\leadsto \frac{x \cdot e^{\color{blue}{\mathsf{neg}\left(b\right)}}}{y} \]
                                                            2. lower-neg.f6485.4

                                                              \[\leadsto \frac{x \cdot e^{\color{blue}{-b}}}{y} \]
                                                          5. Applied rewrites85.4%

                                                            \[\leadsto \frac{x \cdot e^{\color{blue}{-b}}}{y} \]
                                                          6. Step-by-step derivation
                                                            1. lift-/.f64N/A

                                                              \[\leadsto \color{blue}{\frac{x \cdot e^{-b}}{y}} \]
                                                            2. lift-*.f64N/A

                                                              \[\leadsto \frac{\color{blue}{x \cdot e^{-b}}}{y} \]
                                                            3. associate-/l*N/A

                                                              \[\leadsto \color{blue}{x \cdot \frac{e^{-b}}{y}} \]
                                                            4. *-commutativeN/A

                                                              \[\leadsto \color{blue}{\frac{e^{-b}}{y} \cdot x} \]
                                                            5. lower-*.f64N/A

                                                              \[\leadsto \color{blue}{\frac{e^{-b}}{y} \cdot x} \]
                                                            6. lower-/.f6485.4

                                                              \[\leadsto \color{blue}{\frac{e^{-b}}{y}} \cdot x \]
                                                          7. Applied rewrites85.4%

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

                                                          if -1.6e111 < b < 2.1000000000000001e55

                                                          1. Initial program 97.2%

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

                                                            \[\leadsto \color{blue}{\frac{x \cdot e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}{y}} \]
                                                          4. Step-by-step derivation
                                                            1. exp-sumN/A

                                                              \[\leadsto \frac{x \cdot \color{blue}{\left(e^{y \cdot \log z} \cdot e^{\log a \cdot \left(t - 1\right)}\right)}}{y} \]
                                                            2. associate-*r*N/A

                                                              \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
                                                            3. associate-/l*N/A

                                                              \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                            4. lower-*.f64N/A

                                                              \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                            5. lower-*.f64N/A

                                                              \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right)} \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                            6. *-commutativeN/A

                                                              \[\leadsto \left(x \cdot e^{\color{blue}{\log z \cdot y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                            7. exp-to-powN/A

                                                              \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                            8. lower-pow.f64N/A

                                                              \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                            9. lower-/.f64N/A

                                                              \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \color{blue}{\frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                            10. exp-prodN/A

                                                              \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                                            11. lower-pow.f64N/A

                                                              \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                                            12. rem-exp-logN/A

                                                              \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{\color{blue}{a}}^{\left(t - 1\right)}}{y} \]
                                                            13. lower--.f6475.3

                                                              \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
                                                          5. Applied rewrites75.3%

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

                                                            \[\leadsto \frac{x \cdot e^{\log a \cdot \left(t - 1\right)}}{\color{blue}{y}} \]
                                                          7. Step-by-step derivation
                                                            1. Applied rewrites66.4%

                                                              \[\leadsto \frac{{a}^{\left(t - 1\right)}}{y} \cdot \color{blue}{x} \]
                                                          8. Recombined 2 regimes into one program.
                                                          9. Add Preprocessing

                                                          Alternative 13: 57.2% accurate, 2.6× speedup?

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

                                                            1. Initial program 100.0%

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

                                                              \[\leadsto \frac{x \cdot e^{\color{blue}{-1 \cdot b}}}{y} \]
                                                            4. Step-by-step derivation
                                                              1. mul-1-negN/A

                                                                \[\leadsto \frac{x \cdot e^{\color{blue}{\mathsf{neg}\left(b\right)}}}{y} \]
                                                              2. lower-neg.f6477.8

                                                                \[\leadsto \frac{x \cdot e^{\color{blue}{-b}}}{y} \]
                                                            5. Applied rewrites77.8%

                                                              \[\leadsto \frac{x \cdot e^{\color{blue}{-b}}}{y} \]
                                                            6. Step-by-step derivation
                                                              1. lift-/.f64N/A

                                                                \[\leadsto \color{blue}{\frac{x \cdot e^{-b}}{y}} \]
                                                              2. lift-*.f64N/A

                                                                \[\leadsto \frac{\color{blue}{x \cdot e^{-b}}}{y} \]
                                                              3. associate-/l*N/A

                                                                \[\leadsto \color{blue}{x \cdot \frac{e^{-b}}{y}} \]
                                                              4. *-commutativeN/A

                                                                \[\leadsto \color{blue}{\frac{e^{-b}}{y} \cdot x} \]
                                                              5. lower-*.f64N/A

                                                                \[\leadsto \color{blue}{\frac{e^{-b}}{y} \cdot x} \]
                                                              6. lower-/.f6477.8

                                                                \[\leadsto \color{blue}{\frac{e^{-b}}{y}} \cdot x \]
                                                            7. Applied rewrites77.8%

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

                                                            if -3.2999999999999998 < b < 1.24999999999999994e36

                                                            1. Initial program 96.9%

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

                                                              \[\leadsto \color{blue}{\frac{x \cdot e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}{y}} \]
                                                            4. Step-by-step derivation
                                                              1. exp-sumN/A

                                                                \[\leadsto \frac{x \cdot \color{blue}{\left(e^{y \cdot \log z} \cdot e^{\log a \cdot \left(t - 1\right)}\right)}}{y} \]
                                                              2. associate-*r*N/A

                                                                \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
                                                              3. associate-/l*N/A

                                                                \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                              4. lower-*.f64N/A

                                                                \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                              5. lower-*.f64N/A

                                                                \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right)} \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                              6. *-commutativeN/A

                                                                \[\leadsto \left(x \cdot e^{\color{blue}{\log z \cdot y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                              7. exp-to-powN/A

                                                                \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                              8. lower-pow.f64N/A

                                                                \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                              9. lower-/.f64N/A

                                                                \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \color{blue}{\frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                              10. exp-prodN/A

                                                                \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                                              11. lower-pow.f64N/A

                                                                \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                                              12. rem-exp-logN/A

                                                                \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{\color{blue}{a}}^{\left(t - 1\right)}}{y} \]
                                                              13. lower--.f6476.5

                                                                \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
                                                            5. Applied rewrites76.5%

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

                                                              \[\leadsto \frac{x \cdot {z}^{y}}{\color{blue}{a \cdot y}} \]
                                                            7. Step-by-step derivation
                                                              1. Applied rewrites70.4%

                                                                \[\leadsto \frac{x}{y} \cdot \color{blue}{\frac{{z}^{y}}{a}} \]
                                                              2. Taylor expanded in y around 0

                                                                \[\leadsto \frac{x \cdot e^{\log a \cdot \left(t - 1\right)}}{\color{blue}{y}} \]
                                                              3. Step-by-step derivation
                                                                1. Applied rewrites72.3%

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

                                                                  \[\leadsto \frac{\frac{x}{a}}{y} \]
                                                                3. Step-by-step derivation
                                                                  1. Applied rewrites44.5%

                                                                    \[\leadsto \frac{\frac{x}{a}}{y} \]
                                                                4. Recombined 2 regimes into one program.
                                                                5. Add Preprocessing

                                                                Alternative 14: 31.2% accurate, 9.9× speedup?

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

                                                                  1. Initial program 97.5%

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

                                                                    \[\leadsto \color{blue}{\frac{x \cdot e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}{y}} \]
                                                                  4. Step-by-step derivation
                                                                    1. exp-sumN/A

                                                                      \[\leadsto \frac{x \cdot \color{blue}{\left(e^{y \cdot \log z} \cdot e^{\log a \cdot \left(t - 1\right)}\right)}}{y} \]
                                                                    2. associate-*r*N/A

                                                                      \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
                                                                    3. associate-/l*N/A

                                                                      \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                                    4. lower-*.f64N/A

                                                                      \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                                    5. lower-*.f64N/A

                                                                      \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right)} \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                                    6. *-commutativeN/A

                                                                      \[\leadsto \left(x \cdot e^{\color{blue}{\log z \cdot y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                                    7. exp-to-powN/A

                                                                      \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                                    8. lower-pow.f64N/A

                                                                      \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                                    9. lower-/.f64N/A

                                                                      \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \color{blue}{\frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                                    10. exp-prodN/A

                                                                      \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                                                    11. lower-pow.f64N/A

                                                                      \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                                                    12. rem-exp-logN/A

                                                                      \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{\color{blue}{a}}^{\left(t - 1\right)}}{y} \]
                                                                    13. lower--.f6462.8

                                                                      \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
                                                                  5. Applied rewrites62.8%

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

                                                                    \[\leadsto \frac{x \cdot {z}^{y}}{\color{blue}{a \cdot y}} \]
                                                                  7. Step-by-step derivation
                                                                    1. Applied rewrites50.5%

                                                                      \[\leadsto \frac{x}{y} \cdot \color{blue}{\frac{{z}^{y}}{a}} \]
                                                                    2. Step-by-step derivation
                                                                      1. Applied rewrites47.2%

                                                                        \[\leadsto \frac{{z}^{y}}{\frac{y}{x} \cdot \color{blue}{a}} \]
                                                                      2. Taylor expanded in y around 0

                                                                        \[\leadsto \frac{1}{\frac{y}{x} \cdot a} \]
                                                                      3. Step-by-step derivation
                                                                        1. Applied rewrites36.6%

                                                                          \[\leadsto \frac{1}{\frac{y}{x} \cdot a} \]

                                                                        if 9.9999999999999997e-48 < x

                                                                        1. Initial program 99.5%

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

                                                                          \[\leadsto \color{blue}{\frac{x \cdot e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}{y}} \]
                                                                        4. Step-by-step derivation
                                                                          1. exp-sumN/A

                                                                            \[\leadsto \frac{x \cdot \color{blue}{\left(e^{y \cdot \log z} \cdot e^{\log a \cdot \left(t - 1\right)}\right)}}{y} \]
                                                                          2. associate-*r*N/A

                                                                            \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
                                                                          3. associate-/l*N/A

                                                                            \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                                          4. lower-*.f64N/A

                                                                            \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                                          5. lower-*.f64N/A

                                                                            \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right)} \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                                          6. *-commutativeN/A

                                                                            \[\leadsto \left(x \cdot e^{\color{blue}{\log z \cdot y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                                          7. exp-to-powN/A

                                                                            \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                                          8. lower-pow.f64N/A

                                                                            \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                                          9. lower-/.f64N/A

                                                                            \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \color{blue}{\frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                                          10. exp-prodN/A

                                                                            \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                                                          11. lower-pow.f64N/A

                                                                            \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                                                          12. rem-exp-logN/A

                                                                            \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{\color{blue}{a}}^{\left(t - 1\right)}}{y} \]
                                                                          13. lower--.f6465.8

                                                                            \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
                                                                        5. Applied rewrites65.8%

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

                                                                          \[\leadsto \frac{x \cdot {z}^{y}}{\color{blue}{a \cdot y}} \]
                                                                        7. Step-by-step derivation
                                                                          1. Applied rewrites65.0%

                                                                            \[\leadsto \frac{x}{y} \cdot \color{blue}{\frac{{z}^{y}}{a}} \]
                                                                          2. Taylor expanded in y around 0

                                                                            \[\leadsto \frac{x \cdot e^{\log a \cdot \left(t - 1\right)}}{\color{blue}{y}} \]
                                                                          3. Step-by-step derivation
                                                                            1. Applied rewrites50.7%

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

                                                                              \[\leadsto \frac{\frac{x}{a}}{y} \]
                                                                            3. Step-by-step derivation
                                                                              1. Applied rewrites30.3%

                                                                                \[\leadsto \frac{\frac{x}{a}}{y} \]
                                                                            4. Recombined 2 regimes into one program.
                                                                            5. Add Preprocessing

                                                                            Alternative 15: 30.2% accurate, 14.6× speedup?

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

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

                                                                              \[\leadsto \color{blue}{\frac{x \cdot e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}{y}} \]
                                                                            4. Step-by-step derivation
                                                                              1. exp-sumN/A

                                                                                \[\leadsto \frac{x \cdot \color{blue}{\left(e^{y \cdot \log z} \cdot e^{\log a \cdot \left(t - 1\right)}\right)}}{y} \]
                                                                              2. associate-*r*N/A

                                                                                \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
                                                                              3. associate-/l*N/A

                                                                                \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                                              4. lower-*.f64N/A

                                                                                \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                                              5. lower-*.f64N/A

                                                                                \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right)} \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                                              6. *-commutativeN/A

                                                                                \[\leadsto \left(x \cdot e^{\color{blue}{\log z \cdot y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                                              7. exp-to-powN/A

                                                                                \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                                              8. lower-pow.f64N/A

                                                                                \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                                              9. lower-/.f64N/A

                                                                                \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \color{blue}{\frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                                              10. exp-prodN/A

                                                                                \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                                                              11. lower-pow.f64N/A

                                                                                \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                                                              12. rem-exp-logN/A

                                                                                \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{\color{blue}{a}}^{\left(t - 1\right)}}{y} \]
                                                                              13. lower--.f6463.6

                                                                                \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
                                                                            5. Applied rewrites63.6%

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

                                                                              \[\leadsto \frac{x \cdot {z}^{y}}{\color{blue}{a \cdot y}} \]
                                                                            7. Step-by-step derivation
                                                                              1. Applied rewrites54.8%

                                                                                \[\leadsto \frac{x}{y} \cdot \color{blue}{\frac{{z}^{y}}{a}} \]
                                                                              2. Taylor expanded in y around 0

                                                                                \[\leadsto \frac{x \cdot e^{\log a \cdot \left(t - 1\right)}}{\color{blue}{y}} \]
                                                                              3. Step-by-step derivation
                                                                                1. Applied rewrites60.6%

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

                                                                                  \[\leadsto \frac{\frac{x}{a}}{y} \]
                                                                                3. Step-by-step derivation
                                                                                  1. Applied rewrites35.6%

                                                                                    \[\leadsto \frac{\frac{x}{a}}{y} \]
                                                                                  2. Add Preprocessing

                                                                                  Alternative 16: 30.4% accurate, 14.6× speedup?

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

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

                                                                                    \[\leadsto \color{blue}{\frac{x \cdot e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}{y}} \]
                                                                                  4. Step-by-step derivation
                                                                                    1. exp-sumN/A

                                                                                      \[\leadsto \frac{x \cdot \color{blue}{\left(e^{y \cdot \log z} \cdot e^{\log a \cdot \left(t - 1\right)}\right)}}{y} \]
                                                                                    2. associate-*r*N/A

                                                                                      \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
                                                                                    3. associate-/l*N/A

                                                                                      \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                                                    4. lower-*.f64N/A

                                                                                      \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                                                    5. lower-*.f64N/A

                                                                                      \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right)} \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                                                    6. *-commutativeN/A

                                                                                      \[\leadsto \left(x \cdot e^{\color{blue}{\log z \cdot y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                                                    7. exp-to-powN/A

                                                                                      \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                                                    8. lower-pow.f64N/A

                                                                                      \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                                                    9. lower-/.f64N/A

                                                                                      \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \color{blue}{\frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                                                    10. exp-prodN/A

                                                                                      \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                                                                    11. lower-pow.f64N/A

                                                                                      \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                                                                    12. rem-exp-logN/A

                                                                                      \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{\color{blue}{a}}^{\left(t - 1\right)}}{y} \]
                                                                                    13. lower--.f6463.6

                                                                                      \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
                                                                                  5. Applied rewrites63.6%

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

                                                                                    \[\leadsto \frac{x \cdot {z}^{y}}{\color{blue}{a \cdot y}} \]
                                                                                  7. Step-by-step derivation
                                                                                    1. Applied rewrites54.8%

                                                                                      \[\leadsto \frac{x}{y} \cdot \color{blue}{\frac{{z}^{y}}{a}} \]
                                                                                    2. Taylor expanded in y around 0

                                                                                      \[\leadsto \frac{x}{a \cdot \color{blue}{y}} \]
                                                                                    3. Step-by-step derivation
                                                                                      1. Applied rewrites30.7%

                                                                                        \[\leadsto \frac{x}{a \cdot \color{blue}{y}} \]
                                                                                      2. Step-by-step derivation
                                                                                        1. Applied rewrites33.8%

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

                                                                                        Alternative 17: 31.0% accurate, 19.8× speedup?

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

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

                                                                                          \[\leadsto \color{blue}{\frac{x \cdot e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}{y}} \]
                                                                                        4. Step-by-step derivation
                                                                                          1. exp-sumN/A

                                                                                            \[\leadsto \frac{x \cdot \color{blue}{\left(e^{y \cdot \log z} \cdot e^{\log a \cdot \left(t - 1\right)}\right)}}{y} \]
                                                                                          2. associate-*r*N/A

                                                                                            \[\leadsto \frac{\color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot e^{\log a \cdot \left(t - 1\right)}}}{y} \]
                                                                                          3. associate-/l*N/A

                                                                                            \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                                                          4. lower-*.f64N/A

                                                                                            \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                                                          5. lower-*.f64N/A

                                                                                            \[\leadsto \color{blue}{\left(x \cdot e^{y \cdot \log z}\right)} \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                                                          6. *-commutativeN/A

                                                                                            \[\leadsto \left(x \cdot e^{\color{blue}{\log z \cdot y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                                                          7. exp-to-powN/A

                                                                                            \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                                                          8. lower-pow.f64N/A

                                                                                            \[\leadsto \left(x \cdot \color{blue}{{z}^{y}}\right) \cdot \frac{e^{\log a \cdot \left(t - 1\right)}}{y} \]
                                                                                          9. lower-/.f64N/A

                                                                                            \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \color{blue}{\frac{e^{\log a \cdot \left(t - 1\right)}}{y}} \]
                                                                                          10. exp-prodN/A

                                                                                            \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                                                                          11. lower-pow.f64N/A

                                                                                            \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{{\left(e^{\log a}\right)}^{\left(t - 1\right)}}}{y} \]
                                                                                          12. rem-exp-logN/A

                                                                                            \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{\color{blue}{a}}^{\left(t - 1\right)}}{y} \]
                                                                                          13. lower--.f6463.6

                                                                                            \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
                                                                                        5. Applied rewrites63.6%

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

                                                                                          \[\leadsto \frac{x \cdot {z}^{y}}{\color{blue}{a \cdot y}} \]
                                                                                        7. Step-by-step derivation
                                                                                          1. Applied rewrites54.8%

                                                                                            \[\leadsto \frac{x}{y} \cdot \color{blue}{\frac{{z}^{y}}{a}} \]
                                                                                          2. Taylor expanded in y around 0

                                                                                            \[\leadsto \frac{x}{a \cdot \color{blue}{y}} \]
                                                                                          3. Step-by-step derivation
                                                                                            1. Applied rewrites30.7%

                                                                                              \[\leadsto \frac{x}{a \cdot \color{blue}{y}} \]
                                                                                            2. Add Preprocessing

                                                                                            Developer Target 1: 71.9% accurate, 1.0× speedup?

                                                                                            \[\begin{array}{l} \\ \begin{array}{l} t_1 := {a}^{\left(t - 1\right)}\\ t_2 := \frac{x \cdot \frac{t\_1}{y}}{\left(b + 1\right) - y \cdot \log z}\\ \mathbf{if}\;t < -0.8845848504127471:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;t < 852031.2288374073:\\ \;\;\;\;\frac{\frac{x}{y} \cdot t\_1}{e^{b - \log z \cdot y}}\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
                                                                                            (FPCore (x y z t a b)
                                                                                             :precision binary64
                                                                                             (let* ((t_1 (pow a (- t 1.0)))
                                                                                                    (t_2 (/ (* x (/ t_1 y)) (- (+ b 1.0) (* y (log z))))))
                                                                                               (if (< t -0.8845848504127471)
                                                                                                 t_2
                                                                                                 (if (< t 852031.2288374073)
                                                                                                   (/ (* (/ x y) t_1) (exp (- b (* (log z) y))))
                                                                                                   t_2))))
                                                                                            double code(double x, double y, double z, double t, double a, double b) {
                                                                                            	double t_1 = pow(a, (t - 1.0));
                                                                                            	double t_2 = (x * (t_1 / y)) / ((b + 1.0) - (y * log(z)));
                                                                                            	double tmp;
                                                                                            	if (t < -0.8845848504127471) {
                                                                                            		tmp = t_2;
                                                                                            	} else if (t < 852031.2288374073) {
                                                                                            		tmp = ((x / y) * t_1) / exp((b - (log(z) * y)));
                                                                                            	} 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 = a ** (t - 1.0d0)
                                                                                                t_2 = (x * (t_1 / y)) / ((b + 1.0d0) - (y * log(z)))
                                                                                                if (t < (-0.8845848504127471d0)) then
                                                                                                    tmp = t_2
                                                                                                else if (t < 852031.2288374073d0) then
                                                                                                    tmp = ((x / y) * t_1) / exp((b - (log(z) * y)))
                                                                                                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 = Math.pow(a, (t - 1.0));
                                                                                            	double t_2 = (x * (t_1 / y)) / ((b + 1.0) - (y * Math.log(z)));
                                                                                            	double tmp;
                                                                                            	if (t < -0.8845848504127471) {
                                                                                            		tmp = t_2;
                                                                                            	} else if (t < 852031.2288374073) {
                                                                                            		tmp = ((x / y) * t_1) / Math.exp((b - (Math.log(z) * y)));
                                                                                            	} else {
                                                                                            		tmp = t_2;
                                                                                            	}
                                                                                            	return tmp;
                                                                                            }
                                                                                            
                                                                                            def code(x, y, z, t, a, b):
                                                                                            	t_1 = math.pow(a, (t - 1.0))
                                                                                            	t_2 = (x * (t_1 / y)) / ((b + 1.0) - (y * math.log(z)))
                                                                                            	tmp = 0
                                                                                            	if t < -0.8845848504127471:
                                                                                            		tmp = t_2
                                                                                            	elif t < 852031.2288374073:
                                                                                            		tmp = ((x / y) * t_1) / math.exp((b - (math.log(z) * y)))
                                                                                            	else:
                                                                                            		tmp = t_2
                                                                                            	return tmp
                                                                                            
                                                                                            function code(x, y, z, t, a, b)
                                                                                            	t_1 = a ^ Float64(t - 1.0)
                                                                                            	t_2 = Float64(Float64(x * Float64(t_1 / y)) / Float64(Float64(b + 1.0) - Float64(y * log(z))))
                                                                                            	tmp = 0.0
                                                                                            	if (t < -0.8845848504127471)
                                                                                            		tmp = t_2;
                                                                                            	elseif (t < 852031.2288374073)
                                                                                            		tmp = Float64(Float64(Float64(x / y) * t_1) / exp(Float64(b - Float64(log(z) * y))));
                                                                                            	else
                                                                                            		tmp = t_2;
                                                                                            	end
                                                                                            	return tmp
                                                                                            end
                                                                                            
                                                                                            function tmp_2 = code(x, y, z, t, a, b)
                                                                                            	t_1 = a ^ (t - 1.0);
                                                                                            	t_2 = (x * (t_1 / y)) / ((b + 1.0) - (y * log(z)));
                                                                                            	tmp = 0.0;
                                                                                            	if (t < -0.8845848504127471)
                                                                                            		tmp = t_2;
                                                                                            	elseif (t < 852031.2288374073)
                                                                                            		tmp = ((x / y) * t_1) / exp((b - (log(z) * y)));
                                                                                            	else
                                                                                            		tmp = t_2;
                                                                                            	end
                                                                                            	tmp_2 = tmp;
                                                                                            end
                                                                                            
                                                                                            code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[Power[a, N[(t - 1.0), $MachinePrecision]], $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * N[(t$95$1 / y), $MachinePrecision]), $MachinePrecision] / N[(N[(b + 1.0), $MachinePrecision] - N[(y * N[Log[z], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Less[t, -0.8845848504127471], t$95$2, If[Less[t, 852031.2288374073], N[(N[(N[(x / y), $MachinePrecision] * t$95$1), $MachinePrecision] / N[Exp[N[(b - N[(N[Log[z], $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], t$95$2]]]]
                                                                                            
                                                                                            \begin{array}{l}
                                                                                            
                                                                                            \\
                                                                                            \begin{array}{l}
                                                                                            t_1 := {a}^{\left(t - 1\right)}\\
                                                                                            t_2 := \frac{x \cdot \frac{t\_1}{y}}{\left(b + 1\right) - y \cdot \log z}\\
                                                                                            \mathbf{if}\;t < -0.8845848504127471:\\
                                                                                            \;\;\;\;t\_2\\
                                                                                            
                                                                                            \mathbf{elif}\;t < 852031.2288374073:\\
                                                                                            \;\;\;\;\frac{\frac{x}{y} \cdot t\_1}{e^{b - \log z \cdot y}}\\
                                                                                            
                                                                                            \mathbf{else}:\\
                                                                                            \;\;\;\;t\_2\\
                                                                                            
                                                                                            
                                                                                            \end{array}
                                                                                            \end{array}
                                                                                            

                                                                                            Reproduce

                                                                                            ?
                                                                                            herbie shell --seed 2024332 
                                                                                            (FPCore (x y z t a b)
                                                                                              :name "Numeric.SpecFunctions:incompleteBetaWorker from math-functions-0.1.5.2, A"
                                                                                              :precision binary64
                                                                                            
                                                                                              :alt
                                                                                              (! :herbie-platform default (if (< t -8845848504127471/10000000000000000) (/ (* x (/ (pow a (- t 1)) y)) (- (+ b 1) (* y (log z)))) (if (< t 8520312288374073/10000000000) (/ (* (/ x y) (pow a (- t 1))) (exp (- b (* (log z) y)))) (/ (* x (/ (pow a (- t 1)) y)) (- (+ b 1) (* y (log z)))))))
                                                                                            
                                                                                              (/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y))